Log in

View Full Version : RAGE Security Tool



feudalnate
10-17-2011, 01:35 AM
http://img839.imageshack.us/img839/1632/rscmd.png



Usage: RAGESecurity <option> <input file> <output file>
Options:

/d - Decompress (inflate)
/c - Compress (deflate)
/f - Fix checksum (do not use on instance####.rage)
/v - Validate checksum
/vc - Validate compressed data (instance####.rage)

If output file is not specified then changes will be written directly to input file




/d - Decompress (inflate):
Inflates blocks of data, skipping hashes for proper decompression. For use with instance####.rage only


/c - Compress (deflate):
Deflates data to blocks, creating hashes for proper compression. For use with instance####.rage only


/f - Fix checksum:
Generates and writes variant hash to output file. If output file is not supplied, hash will be written to input file. For use will all RAGE save data except instance####.rage


/v - Validate checksum:
Validates written hash of input file against newly generated hash. For use will all RAGE save data except instance####.rage


/vc - Validate compressed data:
Validates written hashes of deflated blocks of data in input file against newly generated hashes. For use with instance####.rage only



*** Notes ****

• This is a command line application and must be run from Windows command prompt
• # = Wildcard numeric
• Only 1 option is allowed to be specified
• If output file is not specified then input file will be read to memory, processed and written back thus replacing the old data
• Extract data from STFS volume beforehand



Thanks to Mojo for figuring out how the hash is computed, writing code to dump blocks of awesome, and an unfathomable amount of other things he helps out with on a day-to-day basis


3476
*Sorry, zipped the wrong one initially. Re-uploaded

BrayWyatt
10-17-2011, 02:01 AM
great work :)

Echelo
10-17-2011, 02:05 AM
Many thanks for this. Going to integrate it in Rage Save Tool. Maybe we can find some more things to edit now. :)

Hey, is there a good place to get the new PackageIO.dll v0.1.9.0 ?

feudalnate
10-17-2011, 02:31 AM
Hey, is there a good place to get the new PackageIO.dll v0.1.9.0 ?

I zipped the wrong exe in my first upload; just download again and it should work as intended. 1.9 is still a WIP :P It'll be available soon enough

VIP Assasin
10-17-2011, 05:38 AM
Nice find guys, i'm about to take a lil look into it to see anything i can do with it.

Echelo
10-17-2011, 05:39 PM
I found these strings from my instance file. There are probably more strings than this, but its a start. Looks like there is a lot you can edit in the instance file.

http://pastebin.com/8DEVM9GJ

actualmanx
10-18-2011, 03:58 PM
Thanks for this its worked a treat i had a problem with one of the editors i maxed everything and my save would no longer edit but now ive manged to sort it out a bit , a bit more editing in hex and it should work in the editor again . very pleased with the checksum fix