The Forum is up for sale: XeNTaX Forum looking for new owner
Battlefield 3 Decryptor
Battlefield 3 Decryptor
Probably not good for a first post but there is no introduction forum so might as well get posting instead of lurking. I reversed the game and figured out the encryption used on the BF3 resources with the 0x00D1CE00 header magic. Just run it once on the file to decrypt it, and once again to re-encrypt it. The crypto is just a simple XOR encryption with a per-file key and a constant.
Source is included. Compile for linux with "gcc -Os bf3decrypt.c -o bf3decrypt"
Source
https://github.com/mojobojo/PublicXboxS ... 3decrypt.c
Source is included. Compile for linux with "gcc -Os bf3decrypt.c -o bf3decrypt"
Source
https://github.com/mojobojo/PublicXboxS ... 3decrypt.c
Last edited by mojobojo on Mon Mar 10, 2014 3:47 pm, edited 2 times in total.
Re: Battlefield 3 Decryptor
I have no idea what about these files and whatnot. I just want to know the weapon files, so I have a noob question. What did it do, me clicking on the bf3decrypt.exe? A cmd window popped up and then disappeared right away. =S Also, could you post the numbers? Thanks!mojobojo wrote:Probably not good for a first post but there is no introduction forum so might as well get posting instead of lurking. I reversed the game and figured out the encryption used on the BF3 resources with the 0x00D1CE00 header magic. Just run it once on the file to decrypt it, and once again to re-encrypt it. The crypto is just a simple XOR encryption with a per-file key and a constant.
Source is included. Compile for linux with "gcc -Os bf3decrypt.c -o bf3decrypt"
http://dl.dropbox.com/u/45861203/bf3decrypt.zip
Re: Battlefield 3 Decryptor
How do I use this tool? I want to translate the game and I'm running after opening the files from BF3.
- General Shepherd
- ultra-n00b
- Posts: 3
- Joined: Wed Nov 02, 2011 10:21 pm
- Location: Brasil
- Contact:
Re: Battlefield 3 Decryptor
You can't run it just clicking on the exe file. Open the console, go to the folder where is the bf3decrypt.exe, then type:panz0r wrote: I have no idea what about these files and whatnot. I just want to know the weapon files, so I have a noob question. What did it do, me clicking on the bf3decrypt.exe? A cmd window popped up and then disappeared right away. =S Also, could you post the numbers? Thanks!
bf3decrypt [input file] [output file]
Obviously, change the [input file] and [output file] for the correct names of the files that you're trying to open.
Re: Battlefield 3 Decryptor
The toc and sb files are not too useful. They basically just group things together and have some payload. However the general format is used in more places. I outlined the basic file format here: https://github.com/mitsuhiko/frostbite2 ... ter/READMEOrangeC wrote:Works great decrypting the toc files, what about using these to extract the sb files contents?
The same repository has a parser for these files and the code for decrypting and some other things we already found.
- Evin
- ultra-veteran

- Posts: 347
- Joined: Sat Aug 05, 2006 2:04 pm
- Location: Hungary
- Has thanked: 2 times
- Been thanked: 160 times
- Contact:
Re: Battlefield 3 Decryptor
If you install the Python, you can run the .py files. No compiled .py file.
-
seanpual123
- ultra-n00b
- Posts: 1
- Joined: Thu Nov 10, 2011 11:52 am
- Contact:
