Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Help with python script for .fbrb files from Battlefield Bad Company 2

Featured Replies

  • Author
  • Localization

Graveyard, posted Sun Nov 19, 2017 7:50 pm (30131)


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.
  • Author
  • Localization

Acewell, posted Mon Nov 20, 2017 12:04 am (30136)


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
Code:
compressionlevel=1

to this
Code:
compressionlevel=0
  • Author
  • Localization

Graveyard, posted Mon Nov 20, 2017 1:59 am (30137)


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 this
Code:
compressionlevel=1

to this
Code:
compressionlevel=0



Thanks, you've eliminated the compression. :D

Now it's the in-game tests. I will report the results as soon as I edit the texts. 8-)


Edit. worked perfectly. Thank you very much. :P
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.