Page 1 of 1
Battlefield Bad Company 2 .fbrb Archives
Posted: Wed Feb 03, 2010 4:16 pm
by zeroy
Just a quick note to thank Aluigi for QuickBMS and the fbrb.bms script, it works fine to unpack most of the .fbrb archive in the BFBC2 Beta!
I attached the QuickBMS scripts Aluigi posted in another thread,
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Fri Feb 05, 2010 4:39 pm
by Simon
Sounds really nice trying to unpack that now

Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Fri Feb 05, 2010 5:01 pm
by aluigi
oh I forgot that yesterday I updated the main script because an user reported an error with the file "ondemand_awards-00.fbrb".
the link to the updated script is ever the same:
http://aluigi.org/papers/bms/fbrb.bms
while the following is the technical explanation of the problem (that was not caused by the script, it was an error in the format that specified a gzip file bigger than its real size):
practically each gzip file has a 32bit value at its end specifying the
size of the uncompressed data and so, logically, the script readed it
for calculating how much is the uncompressed size but in the case of the
file you uploaded the size of the archived gzip file was bigger than its
real one and so the latest 32bit value was zero because various bytes
after the location of the correct 32bit field.
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Sun Feb 28, 2010 9:39 am
by nightvison
How can I repack the unpacked files?
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Mon Mar 01, 2010 4:10 pm
by pirateplunder
aluigi
Can you tell me how you got around the problem of the ondemand_awards-00.fbrb - the one (and theres another one) where the given size of the first compressed block is wrong, and then the uncompressed size of the block is of course not returned properly.
I've been developing an unpacker/packer in C# but am completely stuck getting this fbrb to decompress.
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Fri Mar 05, 2010 6:45 am
by nightvison
I use your script, but only on the overlay-00.fbrb file.
The unpacked dirs and files i copy the Output\win32 and i rename the original overlay-00.fbrb to overlay-00.fbrb.bak
and works!
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Sun Mar 07, 2010 11:48 pm
by aluigi
@pirateplunder
I used a simple and basic work-around, because the good way would be the incremental decompression of the data ignoring the size field at the end of the gzip file.
practically I get all the 32 bit fields from the end of the file one by one (so for example first the 32bit field at offset 0x1234, then 0x1233, 0x1232 and so on) and if this value is major than zero and not negative then I use it.
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Wed Apr 14, 2010 8:18 pm
by LukLuk
Hey guys!
I've just found this forum through google and i've successfully unpacked the .fbrb files, thanks man!
I've got one question: I have extracted many soundfiles from the game and wanted to play them, but they are compiled into .res. Does anybody know how to play them, so i can listen or record them?
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Wed Apr 14, 2010 9:12 pm
by Pepper
hcs was trying to figure it out for the pc version, supposedly xbox can already be played with a whole load of steps.
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Fri Apr 16, 2010 5:45 pm
by LukLuk
So there is no way to play them at the moment? =(
Re: Battlefield Bad Company 2 .fbrb Archives
Posted: Mon Aug 02, 2010 10:43 am
by Jurko
Pls help me create or repack .fbrb archive.
Please
