Still remember good ol' Robbox? I've got some great news. I have managed to decrypt all of the .rob files, so modding can commence. In the following posts, I will list down what I have.
Robbox Modding Info
(8 posts) (2 voices)-
Posted 14 years ago #
-
Robbox .rob decryption keys
ROBBOX .rob File Table and Decryption Keys (xor)
Path Description Key
set.rob Game Settings 0x00
Data\Maps\Campaign\bdata.rob Bonus Levels 0x00
Data\Maps\Campaign\bindex.rob Bonus Index 0x16
Data\Maps\Campaign\ldata.rob Levels 0x00
Data\Maps\Campaign\lindex.rob Levels Index 0x16
Data\Maps\Campaign\sdata.rob Solutions 0x00
Data\Maps\Campaign\sindex.rob Sol. Index 0x16
Data\Docs\data2.rob String Table 0x21
Data\Docs\runstring2.rob LCD Strings 0x21
Data\Music\mindex.rob Music Index 0x4D
Data\Music\morder.rob Music Order 0x58
Data\Music\mpak.rob .it, packed 0x63
Data\screens\data.rob Win Screen 0x37
Data\Users\profiles.rob User Profiles 0x0B
Data\Users\scores.rob Hi-Scores List 0x16
Note that a key value of 0x00 means that the file is not encrypted.
I recommend using Xor 0.2 (http://aluigi.altervista.org/mytoolz/xor.zip, from http://aluigi.altervista.org/mytoolz.htm) to decrypt the files.
Usage: xor.exe encrypted_filename decrypted_filename key
eg: xor.exe profiles.rob profiles_dec.rob 0x0bPosted 14 years ago # -
*index.rob file format
Pretty simple file. The entire file is made out of the following formatting:
1 byte Size of field
? bytes Field content in ASCII (size determined by previous byte)*index.rob files are used to separate files when packed within a *data.rob or *pak.rob file. Each field determines where the next file starts. to determine a file's size, use the formula <next field>-<current field>. Note that *index.rob files only contain sizes, nothing else, note even filenames.
b/l/sindex.rob: The files are leaded with two fields that says 0. Maybe a pre-game demo or similar was planned?
bindex.rob: It can be seen that there are many repeating fields within the file. Those are used to time the bonus levels. The fields repeat so that you don't get a bonus level with every regular level. This also allows bonus level frequencies to be changed.
mindex.rob: There is a reference to a null byte at the end, and then a field that says 0. Maybe it's some type of a loop?
Posted 14 years ago # -
*pak.rob and *data.rob file formats
There is not much to be said for those files. All they are are individual files squished together with no terminating bytes separating them. Each file is defined by the corresponding *index.rob files.
*data.rob: They are not encrypted.
*pak.rob: The only known file of this kind is encrypted.
mpak.rob: It has a null byte at the very end, referred to by mindex.rob. It may not serve much purpose, though.
Posted 14 years ago # -
morder.rob file format
morder.rob is a simple text file defining what music should be played for each level. It has a basic format of:
<level number>-<music number>.
eg: 05-03You can change the latter to a different number to have that music playing during the level.
Posted 14 years ago # -
Nice one GMMan
Posted 14 years ago # -
.rob En/Decryption Tool
Download here: http://www.mediafire.com/file/ikmmz0xmzmt/rob-en-decrypt.zip
I have made a little tool for encrypting and decrypting Robbox .rob files based on the above table. It's super easy to use. Just extract, and drag the .rob file you want to en/decrypt on to rob-en-decrypt.exe and it will be decrypted to <file>_dec.rob in the same directory as the source file. To encrypt, just drag and drop <file>_dec.rob on to the program and it will be encrypted back.
Source code for both .rob En/Decrypt and Xor 0.2 is included under the Source folder
Technical notes: A single key can be used to both encrypt and decrypt a file. Xor is not as sophisticated as AES or Blowfish and such, so it doesn't have a separate encryption/decryption key and is relatively easy to break into.
Posted 14 years ago # -
Data\Docs Files
All you need to know about those files are on the Robbox English Improvement Project page. Read it. And update your game's English along the way.
Posted 14 years ago #
Reply
You must log in to post.