Navigation
>> Portal
>> Forum
>> FAQ




Log in

I forgot my password

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

[ View the whole list ]


Most users ever online was 19 on Fri Jan 20, 2017 10:08 pm
December 2017
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar


Need help with packing .pff file

View previous topic View next topic Go down

Need help with packing .pff file

Post by Blaze on Mon Feb 08, 2016 8:27 am

I'm in the process of preparing the mod for release.  Mod is 2.55GB, but the PFF utility I am using by FwO-Raven fails to create a .pff bigger than 2.00GB. Other utilities are not good enough, I have to select each file to add, and I have over 1,900 files to select, way too time consuming.

Any suggestions?


Last edited by Blaze on Tue Feb 09, 2016 8:32 am; edited 1 time in total
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Mon Feb 08, 2016 1:19 pm

I am unable to create such a big PFF with the utilities I currently have. I am afraid that the mod will be released unpacked if a solution is not found in the following days.
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by tedsmelly on Mon Feb 08, 2016 2:04 pm

I am having the same problem. I have not tried the other PFF utilities as yet.

Does your Install batch file have all the extensions it needs to pack your files.

I understand why our Mod is so big but I don't know how you filled your Mod so big. I have just under 2 gig and that is about 7200 files. Time to tidy up your "Items Def" or remove some items, maybe remove a 100 to 200 meg of terrains.


avatar
tedsmelly
Super Moderator
Super Moderator

Posts : 77
Join date : 2012-12-02
Location : Qld Australia

View user profile http://www.tiocoop.com

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Mon Feb 08, 2016 2:13 pm

The only thing I can do to gain much space is to remove the terrain conversions, and it's something I do not like that much, especially considering that 2DNED contributed so much for it. Time to find an alternative way to make the .pff.
Moreover, I am starting to guess that my mod is the only one that is over 2GB, it seems all other mods are smaller, due to the fact that in my mod there are really so many terrains.

Rest of the mod is just some new skins and a few items, they are not even more than 200MB.
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Mon Feb 08, 2016 2:32 pm

IIRC the AW2 mod for Joint Ops is over 2GB.

Anyway, I don't know what to do. Most likely I'll remove some terrains since I dislike the idea of releasing an unpacked mod. But the terrains were a feature of the mod, what a pity...
If you guys have suggestions, I'd appreciate.
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by Baldo_the_Don on Mon Feb 08, 2016 4:34 pm

Create a new folder in the game folder. Name it NewMod. Move all the files you want in the .pff into this folder, and ONLY the files you want in the .pff. Then press Windows Key and R to open the Run dialog. Search through to the game folder and select the pack.exe. The Run dialog will have something like this in the "Open:" text line:

Code:
"C:\Program Files (x86)\Novalogic\Delta Force Black Hawk Down\PACK.EXE"

Add the following commands:

Code:
"C:\Program Files (x86)\Novalogic\Delta Force Black Hawk Down\PACK.EXE" BlazeMod.pff +NewMod\*.*

When that's ready, click "OK". A run.exe window will open to display the packing progress and will close when it's finished.

The run command tells the pack.exe to take all the files in NewMod folder (regardless of file name or extension. that's what the *.* means) and pack them into a .pff named BlazeMod. You'll find the new .pff in the main game folder. Drag and drop it into the mod folder to prepare it for play.

As long as all the files comply with the 11.3 naming format (example: ElevenChars.txt), there should be no problems. If there is a file with too long of a name, the run.exe window will stop and tell you that. Note the file's name, then press ENTER to continue packing without that file. Try adding the file manually with a .pff tool, or rename the file and edit the mod assets using that file to reflect the change, then repack the .pff.

That's how I pack .pffs.
avatar
Baldo_the_Don
Administrator
Administrator

Posts : 70
Join date : 2012-07-27
Location : Germany

View user profile http://www.youtube.com/BaldotheDon

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Mon Feb 08, 2016 5:29 pm

Same error, it says something like error 131, and mentions offsets, then the window automatically closes.

It seems we are unable to create .pff files which are bigger than 2.097.215 KB, 2.00 GB so to speak.

Damn, later Nova games like Joint Ops have better mod support, a mod can use more than a single .pff, but it's not the case in the old DFBHD.

I really appreciated your help, Baldo. Sadly it seems that most likely I'll have to abandon the idea of having so many terrains in the mod, each terrain takes much space due to the needed colormaps and .cpt files

EDIT: Moreover, the "incomplete" 2.00 GB pff file that I obtained using both Baldo's method and other utilities turned out to be totally corrupt, no files can be seen correctly using the pff extractors.
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by LoneWolf on Mon Feb 08, 2016 11:34 pm

Blaze could you take some terrains out like you said and then do an update for the mod and add the rest of them in the update something like a expansion for the mod?
I don't know if ya can do it like that or not,I don't know anything about modding.


avatar
LoneWolf
Super Admin
Super Admin

Posts : 422
Join date : 2012-07-19
Location : Kentucky.USA

View user profile http://lonewolfs.makeforum.net

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Tue Feb 09, 2016 4:15 am

Unfortunately I can't do it that way. All files must be in the same .pff file, unlike in Joint Ops, where each mod gets a folder and can have multiple .pff files.
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by tedsmelly on Tue Feb 09, 2016 4:34 am

Hey Modsters, home early but wounded. getting old.

Baldo's method should have worked, however I sent Blaze a PM with a link. Hopefully I made it easier with simple steps to create a PFF.


avatar
tedsmelly
Super Moderator
Super Moderator

Posts : 77
Join date : 2012-12-02
Location : Qld Australia

View user profile http://www.tiocoop.com

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Tue Feb 09, 2016 4:36 am

Good news and bad news. 
TedSmelly sent me a different batch file and it did include almost everything, it left out what appears to be 572 MB of files which are not needed in the .pff, these files are .bik video files from the DFBHD CD, which I intend to include in the mod, and thankfully they are not needed in the .pff

Bad news is that the mod is already 2.00 GB, and that means that I may not be able to include the much wanted items in the future. But for now, what I wanted is here. I just need to create an installer and upload it, I'll take my time. Thanks for the support, if I encounter any problems I'll tell you, you guys are a great team!


Last edited by Blaze on Tue Feb 09, 2016 4:38 am; edited 1 time in total
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Tue Feb 09, 2016 4:37 am

Haha, it did, Ted, 'cause your batch, unlike mine one, excluded unuseful .bik files. Those can be included in the installer which can install them in the main game folder.

PS: BTW I saw EE post at a thread at DFReload, I wonder if you can get in touch with him for that thing about .3di item conversions from JO to DFBHD (like that Chinook he converted)
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by tedsmelly on Tue Feb 09, 2016 4:44 am

Sweet, I am glad you are on you way. Let me know if you have any problems making an installer.


I will try and track EE down.


avatar
tedsmelly
Super Moderator
Super Moderator

Posts : 77
Join date : 2012-12-02
Location : Qld Australia

View user profile http://www.tiocoop.com

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Tue Feb 09, 2016 3:56 pm

I had no problems making the installer, but I experienced some bugs and issues due to the fact that I had to convert a lot of .tga skins into the compressed .dds format.  I think I got rid of most of the issues, now I'm remaking the installer with the new .pff.  When mod will be released, be on the lookout for visual oddities and bugs; I did my best to keep it as bug free as possible.
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by tedsmelly on Tue Feb 09, 2016 6:05 pm

Do you mean you changed a lot of TGA's to DDS's., or did you actually compress the DDS's to a smaller size.

Blaze, this is a link to another PFF Editor DOWNLOAD HERE

I have had this PFF3 Utility for ages but never used it. I always used FwO_PFF_7. There is another PFF Utility I know about and I will source it if we need too.


avatar
tedsmelly
Super Moderator
Super Moderator

Posts : 77
Join date : 2012-12-02
Location : Qld Australia

View user profile http://www.tiocoop.com

Back to top Go down

Re: Need help with packing .pff file

Post by Blaze on Wed Feb 10, 2016 4:43 am

I mean I changed a lot of .tga files to .dds, and the .dds file format is just a sort of compressed .tga, in fact image quality is worse and it takes less space (it's like passing from .bmp to .jpg)

Thanks for the link, I had it already
avatar
Blaze
Member
Member

Posts : 372
Join date : 2015-01-08
Age : 22
Location : Directus, Republic of Ustio

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by Drunk on Tue May 31, 2016 9:17 am

How about trying this.....

@echo off
if not exist pack.exe goto nopackfile
for %%f in ( *.3di) do .\pack .\yourmod.pff %%f /FORCE
for %%f in ( *.pcx) do .\pack .\yourmod.pff %%f /FORCE
for %%f in ( *.tga) do .\pack .\yourmod.pff %%f /FORCE
for %%f in ( *.dds) do .\pack .\yourmod.pff %%f /FORCE
for %%f in ( *.def) do .\pack .\yourmod.pff %%f /FORCE
for %%f in ( *.bin) do .\pack .\yourmod.pff %%f /FORCE
goto complete
:nopackfile
echo This program cannot be run without the pack.exe file
echo Please make sure that you put a copy in the same directory
echo as this batch file..there's a copy in your BHD Folder..
pause
goto end
:complete
cls
echo All files have been succesfully packed - installation Complete.
pause 
:end

avatar
Drunk
Member
Member

Posts : 30
Join date : 2015-09-16
Location : Bathurst, New-Brunswick Canada

View user profile

Back to top Go down

Re: Need help with packing .pff file

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum