View Full Version : Rage checksum fixer
oscar193
10-07-2011, 02:17 AM
First post.. been lurking a while. Anyway, I reversed the checksum for rage gamesaves and made a little app. It works for all files inside the save con apart from instance*.rage files which require decompression first.
Quick look at the source is here: http://pastebin.com/ZTpnjKpJ
Binaries and full source here: http://dl.dropbox.com/u/37569004/ragecrc.zip
It's a console app but usage is simple: ragecrc.exe <save file>
http://kinkwazhere.com/images/c8e71c.png
BrayWyatt
10-07-2011, 02:40 AM
great work
69bigplayer69
10-07-2011, 02:46 AM
now we need the other part :)
69bigplayer69
10-07-2011, 02:51 AM
just edit inventor then drag and drop?
Resigner
10-07-2011, 02:52 AM
Nice Oscar, your the man for the job. Hopefully, you could teach me more about powerpc. thumbs up :D See ya on aim!
Also, guys I actually might attend on making the flow blown out editor; but in the mean time just use the Oscars app and this one on my thread (http://www.360haven.com/forums/showthread.php?6649-Rage-Decompress-Compress-Application).
69bigplayer69
10-07-2011, 03:02 AM
its not opening for me just appears the dissapear? or i am just blind and tried
Resigner
10-07-2011, 03:04 AM
its not opening for me just appears the dissapear? or i am just blind and tried
1) Open CMD prompt
2) Drag oscars app into cmd prompt.
3) follow the format above.
4) Enjoy?
69bigplayer69
10-07-2011, 03:05 AM
was miss cmd lol been a long time.
mojobojo
10-07-2011, 04:03 AM
I was waiting to release a tool because nate was working on an editor but oh well you beat me to it lol. You can simplify your source majorly though. Its literally just 4 little endian unsigned ints xored together. The shifting can be simplified into this.
unsigned int A = (md5[15] << 24) | (md5[14] << 16) | (md5[13] << 8) | md5[12];
unsigned int B = (md5[11] << 24) | (md5[10] << 16) | (md5[9] << 8) | md5[8];
unsigned int C = (md5[7] << 24) | (md5[6] << 16) | (md5[5] << 8) | md5[4];
unsigned int D = (md5[3] << 24) | (md5[2] << 16) | (md5[1] << 8) | md5[0];
unsigned int hash = A ^ B ^ C ^ D;
dorkusrex
10-07-2011, 04:25 AM
For the instance file do I use the fixer on the decompressed file or on the recompressed file after editing?
EDIT:ANYONE?
Crazy07
10-07-2011, 05:51 AM
Ok seriously someone needs to post the exact procedure on how to successfully mod your save with out corrupting it. Like which tool to use when and also which file to actually mod. Like is it instance****.rage or is it inventory.rage . I have tried a number of different ways and so far all I've done is corrupt the save or my edits had no effect.
Resigner
10-07-2011, 06:38 AM
It's not that hard...just extract your inventory with the numbers on it. Drag it to the decompress, once you are done editing save it, then drag the file into compress. Finally use the checksum fixer and go online. Another thing I'd like to mention is that it will compress/decompress right but it doesn't do it correctly for most saves. The compress/decompress must be coded again in order to work again.
Randomhobo
10-07-2011, 07:07 AM
It's not that hard...just extract your inventory with the numbers on it. Drag it to the decompress, once you are done editing save it, then drag the file into compress. Finally use the checksum fixer and go online. Another thing I'd like to mention is that it will compress/decompress right but it doesn't do it correctly for most saves. The compress/decompress must be coded again in order to work again.
My inventory file doesn't have numbers. I have inventory.rage. The only file with numbers is my instance file which is instance1851.rage.
I am able to open my inventory.rage in HxD and view it without decompressing it, and if I do try to run your decompresser on it then it the decompresser crashes.
Deus Ex
10-07-2011, 07:20 AM
I have that same problem thanks for the checksum but i cant use it anyways the Decompress thing keeps crashing on me.
I wish there whas an Editor like dead island.
Resigner
10-07-2011, 07:48 AM
I'm going to do what Nate suggested me to do. Instead of using deflate, I'm going to use the other method. I'll fix the application and post up again, but please give it time. I'll try my best to get it done and give you guys the best editor out there, because programming can be easy but at the same time it can be very difficult; especially when your program may contain errors/bugs.
oscar193
10-07-2011, 09:40 AM
My inventory file doesn't have numbers. I have inventory.rage. The only file with numbers is my instance file which is instance1851.rage.
I am able to open my inventory.rage in HxD and view it without decompressing it, and if I do try to run your decompresser on it then it the decompresser crashes.
inventory.rage isn't compressed, you can open it in HxD, edit it and then fix the checksum. The only file you would need to decompress is the instance****.rage.
Crazy07
10-07-2011, 10:16 AM
I can consistently mod my save now but nothing ever actually does anything. BTW I'm just trying to mod my money and my race certificates. And I know the locations of the values but it seems that there just not sticking for some reason, any ideas?
Br0lly86
10-07-2011, 03:27 PM
Ok... I'm one of the new people to Hex Editing, so how about you make a step by step tutorial on what to change & where to look to find what needs to be changed... Include pics for each step plz... Also include so hex-values for the money... Because I don't really know what I'm doing... Sorrry but like I said I'm new to Hex Editing...
Br0lly86
10-07-2011, 03:38 PM
I just need to be directed in the right direction in the Hex Editor, I found the "inventory/currency/currency_unit"... So now I just need to know what to do now that I've found it... If anyone would help it'd be much appreciated... Also I will give "Thanks" with the "Thank" button...
dorkusrex
10-07-2011, 04:02 PM
inventory.rage isn't compressed, you can open it in HxD, edit it and then fix the checksum. The only file you would need to decompress is the instance****.rage.
Ok do I use the fixer on the decompressed file or the recompressed file, after editing?
Br0lly86
10-07-2011, 04:24 PM
Ok do I use the fixer on the decompressed file or the recompressed file, after editing?
So do you know where to change values for the money? If so would you plz let me know
dorkusrex
10-07-2011, 04:53 PM
So do you know where to change values for the money? If so would you plz let me know
To find values write down total from game, use hexdecimal converter to convert that number from decimal to hex(hex workshop has a integrated one BASE CONVERTER IN TOOLS), then use serch function to find hex value near what you are looking for(i.e inventory/currency/currency_unit) then use converter to convert same way to get your new value and change to that then save and exit.
But I have yet to get a save to work I think you have to change money and cert. in the instance****.rage file for it to stick. And I cannot figure out how to fix that file because every time I edit it it won't load. Have tried using RESIGNER's app or Packzip/Offzip for compression/Decompression.
EDIT: Also has anyone noticed after selecting a save device the game says loading profile (now I know that could be just for settings) but could some data be in your profile? Just a suggestion.
Any suggestions from the PROS?
Br0lly86
10-07-2011, 06:26 PM
I don't have "HW"... I'm using "Hex Editor Neo"... I have "$385"... I have no idea what I'm doing
dorkusrex
10-07-2011, 06:36 PM
I don't have "HW"... I'm using "Hex Editor Neo"... I have "$385"... I have no idea what I'm doing
Search for hex value 00000181 that is hex for 385. But if you are editing the inventory file you are wasting your time, I have edited several values to no avail, No change. I believe everything is in the instance****.rage file and editing it so far only corrupts my save.
oscar193
10-07-2011, 08:14 PM
To find values write down total from game, use hexdecimal converter to convert that number from decimal to hex(hex workshop has a integrated one BASE CONVERTER IN TOOLS), then use serch function to find hex value near what you are looking for(i.e inventory/currency/currency_unit) then use converter to convert same way to get your new value and change to that then save and exit.
But I have yet to get a save to work I think you have to change money and cert. in the instance****.rage file for it to stick. And I cannot figure out how to fix that file because every time I edit it it won't load. Have tried using RESIGNER's app or Packzip/Offzip for compression/Decompression.
EDIT: Also has anyone noticed after selecting a save device the game says loading profile (now I know that could be just for settings) but could some data be in your profile? Just a suggestion.
Any suggestions from the PROS?
I've made some batch files for offzip/packzip which will decompress and compress the instance file with the proper windowbits value: http://dl.dropbox.com/u/37569004/rageunzip.rar
Just drag your save onto the correct .bat file. Strangely the instance file doesn't seem to have a checksum so you can just decompress, edit, recompress and it should work. I can't test them at the moment but I don't see why they wouldn't work. As for the profile settings, if you could upload your GPD then someone could take a look.
dorkusrex
10-07-2011, 08:22 PM
I've made some batch files for offzip/packzip which will decompress and compress the instance file with the proper windowbits value: http://dl.dropbox.com/u/37569004/rageunzip.rar
Just drag your save onto the correct .bat file. Strangely the instance file doesn't seem to have a checksum so you can just decompress, edit, recompress and it should work. I can't test them at the moment but I don't see why they wouldn't work. As for the profile settings, if you could upload your GPD then someone could take a look.
Could you explain how I use them?
Edit Never mind See edit
damienx45
10-07-2011, 08:25 PM
3253 heres my save incase anyone wants to try and make a editor
dorkusrex
10-07-2011, 08:32 PM
I've made some batch files for offzip/packzip which will decompress and compress the instance file with the proper windowbits value: http://dl.dropbox.com/u/37569004/rageunzip.rar
Just drag your save onto the correct .bat file. Strangely the instance file doesn't seem to have a checksum so you can just decompress, edit, recompress and it should work. I can't test them at the moment but I don't see why they wouldn't work. As for the profile settings, if you could upload your GPD then someone could take a look.
Doesn't work here is what i get
C:\Users\James\Desktop\Rage Edit\rageunzip>cd "C:\Users\James\Desktop\Rage Edit\
rageunzip\"
C:\Users\James\Desktop\Rage Edit\rageunzip>offzip -a -z -15 ""C:\Users\James\Des
ktop\Rage Edit\rageunzip\instance1851.rage"" .\ 0
Offset file unzipper 0.3.3
by Luigi Auriemma
e-mail:
[email protected]
web: aluigi.org
Error: recheck your options, C:\Users\James\Desktop\Rage is not valid
C:\Users\James\Desktop\Rage Edit\rageunzip>move /Y .\00000000.dat ""C:\Users\Jam
es\Desktop\Rage Edit\rageunzip\instance1851.rage".decompressed"
The syntax of the command is incorrect.
C:\Users\James\Desktop\Rage Edit\rageunzip>pause
Press any key to continue . . .
oscar193
10-07-2011, 08:55 PM
Doesn't work here is what i get
It's because there's spaces in the path, rename the folder "Rage Edit" to something like "RageEdit".
dorkusrex
10-07-2011, 09:12 PM
I've made some batch files for offzip/packzip which will decompress and compress the instance file with the proper windowbits value: http://dl.dropbox.com/u/37569004/rageunzip.rar
Just drag your save onto the correct .bat file. Strangely the instance file doesn't seem to have a checksum so you can just decompress, edit, recompress and it should work. I can't test them at the moment but I don't see why they wouldn't work. As for the profile settings, if you could upload your GPD then someone could take a look.
Ok used batch files and decompressed and compressed fine, injected back to save rehashed resigned, but save still won't load.
EDIT also here is gpd:
http://www.gamefront.com/files/20865344/425307EC_gpd
slyfuldragon
10-07-2011, 10:45 PM
That might be because there might be a hash on the save itself as well (checksum) or a different hash within the instance6220.rage file
dorkusrex
10-08-2011, 12:31 AM
Well I'm tired of trying guess I'll wait for someone else.
Br0lly86
10-08-2011, 03:42 PM
Is it possible that maybe they both need to be edited to show the same thing? Like making the money & stuff match on both?
dorkusrex
10-08-2011, 07:32 PM
Is it possible that maybe they both need to be edited to show the same thing? Like making the money & stuff match on both?
I tried editing both inventory and instance to match NO DICE. I think Slyfuldragon is correct on the Check.
oscar193
10-08-2011, 11:20 PM
Ok used batch files and decompressed and compressed fine, injected back to save rehashed resigned, but save still won't load.
EDIT also here is gpd:
http://www.gamefront.com/files/20865344/425307EC_gpd
I tried editing both inventory and instance to match NO DICE. I think Slyfuldragon is correct on the Check.
Have you tried just decompressing then compressing without editing anything? That would tell us if the compression is the problem or if there's an extra check on the file. Also, there isn't any save data in that GPD.
kill_seth
10-08-2011, 11:41 PM
After decompressing I can't find anything, then again I didn't go though all the data files.
dorkusrex
10-09-2011, 12:28 AM
Have you tried just decompressing then compressing without editing anything? That would tell us if the compression is the problem or if there's an extra check on the file. Also, there isn't any save data in that GPD.
No But will try it.
dorkusrex
10-09-2011, 12:38 AM
No But will try it.
Okay Did as you said decompressed, made no changes, compressed, injected, resigned. No Load!!!
Must be the compression??
Calintz20
10-09-2011, 05:45 PM
First post.. been lurking a while. Anyway, I reversed the checksum for rage gamesaves and made a little app. It works for all files inside the save con apart from instance*.rage files which require decompression first.
Quick look at the source is here: http://pastebin.com/ZTpnjKpJ
Binaries and full source here: http://dl.dropbox.com/u/37569004/ragecrc.zip
It's a console app but usage is simple: ragecrc.exe <save file>
http://kinkwazhere.com/images/c8e71c.png
After I put the ragecrc.exe file in comand prompt it his usage: ragecrc.exe <save file>
what do I need to do now I tryed just droping in the fie but thats not it, cand someone please help.
c4b00s3
10-09-2011, 06:36 PM
protip: the checksum for the instance file ISN'T in the instance file itself.
feudalnate
10-09-2011, 09:16 PM
An even more professional tip: instance####.rage is NOT hashed.
The problem everyone is having is because the app(s) being used for inflating/deflating the data and the STFS app(s) that are being used to overwrite the old data are not going about it properly.
Hashed data:
details.game
game_small.png
inventory.rage
Compressed (no hash) data:
instance####.rage
Unsecured (no hash/compression) data:
425307EC.gpd (63E83FFF/63E83FFE/63E83FFD)
c4b00s3
10-09-2011, 09:27 PM
the instance file does have a hash..
dorkusrex
10-09-2011, 09:43 PM
the instance file does have a hash..
If so why not help in making a fixer?
al52025
10-09-2011, 09:47 PM
i cant seem to get any of this to work. i was considering reburning the modded iso to play with ammo and cash
69bigplayer69
10-10-2011, 07:23 AM
yes! thx god got it!
BANGEM
10-10-2011, 03:43 PM
i cant get the checksum program to work for me i drop the rage exe in and then my file but nothing happens?
gamer4life1983
10-10-2011, 05:59 PM
i cant get the checksum program to work for me i drop the rage exe in and then my file but nothing happens?
open your command window.
drag the fixer into the command window
(make sure your inventory file is on desktop)
_desktop\inventory.rage
hit enter, voila
the underscore is supposed to be a space by the way
BANGEM
10-10-2011, 06:45 PM
open your command window.
drag the fixer into the command window
(make sure your inventory file is on desktop)
_desktop\inventory.rage
hit enter, voila
the underscore is supposed to be a space by the way
thanks bro much appreciated
willielunchmeat
11-12-2011, 08:23 PM
The full source link is dead. Can anyone help?
Thanks.
Bomfungk
01-09-2012, 09:26 PM
thanks for this, can't download yet but will have fun with it!
JohnQDoe
11-03-2012, 12:23 PM
Hi,
Source is unavailable now, can you repost it, that would be kind of you!
Regards,
JQD.
Viper187
05-10-2017, 09:15 PM
ugh. Is there anything that can still fix the checksum for this game or documentation on it? Fucking dead links are getting old.
vBulletin Solutions, Inc. All rights reserved.