Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Battlefield 3 PC Beta .SB archives

Read or post about compression. And decompression. Or ask questions how to decompress your files.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Battlefield 3 PC Beta .SB archives

Post by OrangeC »

There isn't any music in the beta or so i haven't found it yet.
redspider
ultra-n00b
Posts: 7
Joined: Sun Jul 11, 2010 3:48 pm

Re: Battlefield 3 PC Beta .SB archives

Post by redspider »

OrangeC wrote:There isn't any music in the beta or so i haven't found it yet.
There is music at the end of the round. 2 different tracks, one for if you loose and one if you win
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Battlefield 3 PC Beta .SB archives

Post by OrangeC »

How long are they?
redspider
ultra-n00b
Posts: 7
Joined: Sun Jul 11, 2010 3:48 pm

Re: Battlefield 3 PC Beta .SB archives

Post by redspider »

OrangeC wrote:How long are they?
I wouldn't say very long as they just loop over and over. I'd say no more than 15-20 seconds each

EDIT:
Here is the "Round Lost" music:
http://www.youtube.com/watch?v=YvrHlKVImfY

EDIT #2:
You can just about hear the round win music in this vid:
http://youtu.be/pU1lloF65Sk?t=43s
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Battlefield 3 PC Beta .SB archives

Post by michalss »

I will upload X360 version very soon...

EDIT :
To bad so far coz that beta is only in GOD format and files cannot be seen.
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Battlefield 3 PC Beta .SB archives

Post by OrangeC »

That wasn't the case for me. It was a normal Xbox live file.
Duck
ultra-n00b
Posts: 2
Joined: Wed Oct 05, 2011 6:41 pm

Post by Duck »

I'm looking for a tool to extract sounds from the .SB archives.

I only have the BF3 beta, I'm not going to buy the game.
salut333
n00b
Posts: 13
Joined: Sat Feb 26, 2011 4:07 pm

Re: Battlefield 3 PC Beta .SB archives

Post by salut333 »

Anyone works on this?
Spy
ultra-n00b
Posts: 2
Joined: Mon Oct 10, 2011 11:41 am

Re: Battlefield 3 PC Beta .SB archives

Post by Spy »

Rick wrote:New obfuscation on .toc is extremely simple.

If the first dword is 0x00CED100 (D1CE) then the file is obfuscated, otherwise it's normal.

Magic data starts at 0x128 and is 257 bytes.
Real data starts at 0x22C until end of file.

Code: Select all

for (int i = 0; i < length; i++)
{
  data[i] = data[i] ^ magic[i % 257] ^ 0x7B;
}
Thanks to this I managed to successfully remove obfuscation, but it will quite hard to interpret data.

I've already dropped this thing and waiting for full game, but I have one question for Rick. Why did you added that 0x7B XOR and how did you figured out that value ? I don't really have much experience with this sort of things, however I do understand them, but I can't figure out why there is that xor 0x7B.
peshkohacka
beginner
Posts: 22
Joined: Wed Jan 21, 2009 11:20 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Battlefield 3 PC Beta .SB archives

Post by peshkohacka »

The actual list of files inside the chunk/bundles is inside the bom.fb2 file. Its an archive (ZIP) that have .rm files for every file in the Data directory, this files seems to be a meta files, describing the files inside the sb/chunk archives. The bom.fb2 archive from the beta can be found here.

The RM files seems to have a name, sha, offset, type,size,decSize,salt and few others.
Orion
ultra-n00b
Posts: 3
Joined: Thu Sep 29, 2011 5:29 pm

Re: Battlefield 3 PC Beta .SB archives

Post by Orion »

Hey, I'm trying to work with the files in the real game now that they've been released. I'm looking through the TOC files - why do you say there are 257 bytes of magic? I only see 256 bytes enclosed between the two bytes 120 (ASCII x).
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Battlefield 3 PC Beta .SB archives

Post by OrangeC »

Any progress on it since the full game is out?
RGGZOR
ultra-n00b
Posts: 5
Joined: Fri Sep 30, 2011 10:38 am

Re: Battlefield 3 PC Beta .SB archives

Post by RGGZOR »

Is there any way to extract images(textures)?
mitsuhiko
ultra-n00b
Posts: 5
Joined: Sat Oct 29, 2011 2:30 pm

Re: Battlefield 3 PC Beta .SB archives

Post by mitsuhiko »

OrangeC wrote:Any progress on it since the full game is out?
This is how far I currently am in regards to reading all the files: https://github.com/mitsuhiko/frostbite2-stuff

The dumpall.py script dumps all the data files that are in the .cas files but that alone does not give you too much. The files are named by their content hashes and the top up at around 110.000 files. So there is still a lot of stuff that needs to be done.

The libsb.py file also has ways to read the actual .sb/.toc files and to decrypt files by themselves. The bom.fb2 file for instance is just a XOR encrypted zip file which contains of more .m files which are of the same format as the .sb/.toc files but I did not manage to read them properly so far. As it seems there are some unimplemented type codes and handling of blobs is wrong.

If someone wants to have a look at that, every help is appreciated.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Battlefield 3 PC Beta .SB archives

Post by OrangeC »

I used both python scripts with both versions 272 and 322 but they don't work on the sb/toc files.

322 gives me a module not found error on string IO import. 277 version does nothing.
Post Reply