Join also our Discord channel! Click here.

Battlefield: Bad Company - compressed *.fbrb containers

The Original Forum. Game archives, full of resources. How to open them? Get help here.
AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 633 times

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by AlphaTwentyThree » Sun Nov 29, 2009 8:41 pm

THANKS A LOT LUIGI!!! :D :D :D
So this topic can be closed now I guess 8D
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 633 times

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by AlphaTwentyThree » Tue Dec 01, 2009 4:34 pm

Hm, maybe could update the Xentax wiki? I guess a lot of people are interested in this! ;)
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 633 times

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by AlphaTwentyThree » Sun Dec 06, 2009 8:38 pm

Hi again. I just checked various fbrb archives when extracted and it seems as if there are plenty of files missing. :[ First thing I noticed was that in some command files there were links to music files that weren't extracted. Upon further research and some extractions I saw that only part of the containers are extracted.
For example, when extracting this file: http://www.sendspace.com/file/s4n24j (5.09 MB), only 16.6 KB of data is extracted, whereas this file http://www.sendspace.com/file/qn4ut5 and others aren't extractable at all...
Maybe you could take a look at these files again?
Sorry to bother you after quite a time... :oops:
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 644 times
Contact:

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by aluigi » Mon Dec 07, 2009 1:14 pm

it's obvious that it extract only 16 kb of files, there is a HUGE error showed by quickbms!
why don't you reported it?

anyway the explanation is simply that there are no compressed files in these archives, the ZSIZE field in reality is the SIZE one and the previous SIZE is... don't know.
I have updated the script to version 0.1.2, now everything should ok

ogomez
ultra-n00b
Posts: 4
Joined: Mon Mar 22, 2010 7:34 pm

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by ogomez » Mon Jun 21, 2010 1:56 pm

Hey
I'm trying to extract the streaming_sounds-00.fbrb file... but I'm getting a memory dump error.
Can I extract the contents to a temp folder instead of memory? Because I only have 1.87gb ram...

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 644 times
Contact:

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by aluigi » Sat Jun 26, 2010 11:34 pm


AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 633 times

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by AlphaTwentyThree » Wed Jun 30, 2010 9:06 pm

The contents of this post was deleted because of possible forum rules violation.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 633 times

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by AlphaTwentyThree » Fri Jul 02, 2010 10:18 am

EDIT: I took a look at the source code and the decompressed info and data files. I found out that your NAMESZ variable is actually a type offset. It also states if a file is deleted (the offset holds the string "*deleted*"), so you may want to update the main loop as follows:

Code: Select all

for i = 0 < FILES
    get NAMEOFF long MEMORY_FILE
    get DUMMY long MEMORY_FILE
    get OFFSET long MEMORY_FILE
    get SIZE long MEMORY_FILE
    get XSIZE long MEMORY_FILE
    get TYPEOFF long MEMORY_FILE

    savepos TMP MEMORY_FILE
    math NAMEOFF += NAME_BASE
    goto NAMEOFF MEMORY_FILE
    get NAME string MEMORY_FILE
		math TYPEOFF += NAME_BASE
		goto TYPEOFF MEMORY_FILE
		get TYPE string MEMORY_FILE
		if TYPE == "<non-resource>"
			set TYPE "non-resource"
		endif
		string NAME += "."
		string NAME += TYPE
	goto TMP MEMORY_FILE
	if SIZE != 0
		log NAME OFFSET SIZE MEMORY_FILE2
	endif
next i
It writes the file type behind the .res extension. You can also easily filter out all sounds for example by substituting

Code: Select all

	if SIZE != 0
		if TYPE == "Wave"
			log NAME OFFSET SIZE MEMORY_FILE2
		endif
	endif
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 644 times
Contact:

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by aluigi » Fri Jul 02, 2010 4:00 pm

ah ok, so luckily it's not a bug in the script :)
good so there is nothing to change or would be better to not extract the 0 bytes files?
uhmmm I will think about the idea

Jurko
veteran
Posts: 86
Joined: Fri Jan 22, 2010 2:35 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by Jurko » Mon Jul 26, 2010 7:15 pm

Pls help me create or repack .fbrb archive.
Please :)

User avatar
Gocha
veteran
Posts: 109
Joined: Fri Dec 12, 2008 8:16 pm
Location: Batumi, Georgia, GE
Has thanked: 57 times
Been thanked: 8 times
Contact:

Re: Battlefield: Bad Company - compressed *.fbrb containers

Post by Gocha » Tue Jul 27, 2010 6:56 am

i need to edit voices-speech, how shoud i do that? is there a way for this? can any-one make mercy to me? :roll:
even though bms script extracts some in unknown way sound fbrb archives, i coudnt explore them
My great respect and appreciation for them, who research game files! Special thanks to: aluigi, bacter, DerPlaya, Rick, Turfster, twig, Zench. Sorry if someone is missing in my list, I'll update when I'll notice it again

Post Reply