Code: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
RAGE Security Tool.rar
*Sorry, zipped the wrong one initially. Re-uploaded