Rinascita6655 Posted 4 hours ago Share Posted 4 hours ago Hello Folks, I've been using this quickbms script to extract a .ini file and reinject it back to the original pak, the batch file are as follows. Quote Extract.bat set curr=%~dp0 "%curr%..\quickbms_4gb_files.exe" -f "*/AILevelData.ini" "%curr%ron.bms" "%curr%pakchunk0-Windows.pak" "%curr%sources" pause Quote Repack.bat set curr=%~dp0 "%curr%..\quickbms_4gb_files.exe" -r -w "%curr%ron.bms" "%curr%pakchunk0-Windows.pak" "%curr%sources" :: enable line below to automatically copy modified pak file (adjust target directory first) ::copy "%curr%pakchunk0-WindowsNoEditor_0_P.pak" "C:\Games\SteamLibrary\steamapps\common\Ready Or Not\ReadyOrNot\Content\Paks" /Y pause The script worked fine ever since the early access stage of the game until the game changed from UE4 to UE5 in this July. The script can unpack the .ini file normally but fails to pack it again, even if I tried to pack it directly after unpacking it ran into this error: Quote offset filesize filename -------------------------------------- < 0000000000000000 0 ReadyOrNot\Config\AILevelData.ini Error: file "ReadyOrNot\Config\AILevelData.ini" the reimport option acts as a reinjector, therefore you cannot insert a file if it's larger than the original for not overwriting the rest of the archive which cannot be loaded correctly: new size: 8834 (35281 uncompressed) old size: 7038 (35281 uncompressed) So far I've also tried repak as well as the official UnrealPak but none of them seemed to work, as they both will result in a different pak size after repacking. Any assistance is highly appreciated. aimod2.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now