Hello friends.
I found this python script that extracts and reimports .fbrb files used in Battlefiel BC2.
http://www.bfeditor.org/forums/index.ph ... torpacker/
However, at the time of re-import, the script compresses the .fbrb file. Would it be possible for someone with more knowledge to edit it so it does not compress the reimported files? I'm using it for a translation, and the game does not recognize the compressed file.
I tried to use Quickbms, but the .bms script for the respective file does not accept reimportation.
I do not know if this is the right place to post this topic, if it is not, transfer it to the location you have chosen.
Help with python script for .fbrb files from Battlefield Bad Company 2
-
- Posts: 54
- Joined: Sun Nov 12, 2017 12:30 pm
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: Help with python script for .fbrb files from Battlefield Bad Company 2
unless i'm misunderstanding the script, if you set line 16 of the script to 0 (zero) it should skip the compression,
try change this
to this
try change this
Code: Select all
compressionlevel=1
to this
Code: Select all
compressionlevel=0
-
- Posts: 54
- Joined: Sun Nov 12, 2017 12:30 pm
Re: Help with python script for .fbrb files from Battlefield Bad Company 2
Acewell wrote:unless i'm misunderstanding the script, if you set line 16 of the script to 0 (zero) it should skip the compression,
try change thisCode: Select all
compressionlevel=1
to thisCode: Select all
compressionlevel=0
Thanks, you've eliminated the compression.
Now it's the in-game tests. I will report the results as soon as I edit the texts.
Edit. worked perfectly. Thank you very much.