My computer is kinda powerful so I don't know if this code works fast in low-end rigs but at least in my computer the code packs files in just couple of seconds. If it takes too long to pack all your archives you can always make a separate .bat file for every .rfa-file in the archives. Then you can easily pack single files and not all at once.
Things you need:
rfaPack.exe (can be found in the Battlefield Mod Development Toolkit)
notepad.exe (or other text-editor)
Create a YOUR_MOD_NAME.bat file and place it in the same folder as rfaPack.exe
Then just add this in it:
Code: Select all
rfaPack.exe D:\$BF42_mods\MyMod\animations animations "C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\animations.rfa"
rfaPack.exe D:\$BF42_mods\MyMod\bf1942 bf1942"C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\bf1942\game.rfa"
rfaPack.exe D:\$BF42_mods\MyMod\Font Font "C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\Font.rfa"
rfaPack.exe D:\$BF42_mods\MyMod\menu menu"C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\menu.rfa"
rfaPack.exe D:\$BF42_mods\MyMod\objects objects"C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\objects.rfa"
rfaPack.exe D:\$BF42_mods\MyMod\standardmesh standardmesh "C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\standardmesh.rfa"
rfaPack.exe D:\$BF42_mods\MyMod\texture texture "C:\Program Files (x86)\Origin Games\Battlefield 1942\Mods\MyMod\Archives\texture.rfa"
@ECHO OFF
PAUSE
When you double click the file, the program automatically packs your folders without you having to search for the right target patch and all.
This little code will save you a LOT of time. But I still have to warn that you should take copies of your .RFA files from time to time, because if you delete something important from one of your "dev folders" and update your archives, you may not get that important file back.