View Full Version : [Release] Inversion Editor
Idlehands88
06-06-2012, 02:05 AM
Hey guys with the help of feudalnate, Jappi88 and Ryo Hazuki I was able to find out the checksum for this game.
How to use:
1. Extract your save from your USB and make a BACKUP
2. Open your save into Horizon and Extract the "saves.cfg" file from the save
3. Open your "saves.cfg" file into the Editor
4. Mod what you want and Save (DO NOT ADD/REMOVE VALUES, ONLY REPLACE)
5. Replace the "save.cfg" file back into your Save
6. Rehash/Resign your save and put your save back on your USB
7. PLAY!
EDITOR:
http://img801.imageshack.us/img801/1702/inversioneditor.png
NOTE: DON'T FORGET TO PRESS THE THANKS BUTTON IF YOU USE THIS!!!!
NOTE 2: DO NOT ADD/REMOVE VALUES, ONLY REPLACE, YOU WILL CORRUPT YOUR SAVE IF YOU DO!!!!
Thanks to feudalnate for PackageIO and for supplying the Checksum Fix code
Thanks to Jappi88 and Ryo Hazuki for helping me with finding out how the checksums were calculated
CloudStrife7x
06-06-2012, 02:07 AM
very great work on this editor Idle and thanks to all others who helped :D
jordanp01
06-06-2012, 02:39 AM
thanks alot for your works guys good job as always
NuBiXx
06-06-2012, 02:42 AM
Thanks much appreciated, not sure what I can edit so I'll just change all 'false' to 'true' and change '0' to '1' :)
Noctis Caelum
06-06-2012, 02:43 AM
very nice work idle
Idlehands88
06-06-2012, 02:47 AM
Thanks much appreciated, not sure what I can edit so I'll just change all 'false' to 'true' and change '0' to '1' :)
You can't change the False's to True because True is 1 letter too short to replace False properly... You can mod Ammo with the Editor :P
thegutta
06-06-2012, 04:04 AM
Awesome work Idle great editor thanks for the share :)
revsix6
06-06-2012, 04:13 AM
Excellent editor, Idle and all the people who helped as well.
doket
06-06-2012, 05:18 AM
thanks a lot, will test this out...
lynnmacer
06-06-2012, 09:13 AM
very great work on this editor Idle
gpgy1161
06-06-2012, 10:51 AM
thanks your good job ~~~
Jappi88
06-06-2012, 11:09 AM
yo idle...i made a tool yesterday ..like real quick... there u should be able to insert values or whatever...the tool will rebuild a new working save.
if u are intressted...pm me and il hand over the source.
kill_seth
06-06-2012, 12:55 PM
Looks like all you have to do is change the value at &H8 to the new size.
Jappi88
06-06-2012, 01:39 PM
Looks like all you have to do is change the value at &H8 to the new size.
and how is that going yo work ? how about u try and let me know the result...
changing a block size has effect on the whole save... so u have to rebuild the whole save...not just changing a size...
i dont feel like explaining in ditails, but its not that easy as u think... welll its actually easy but not easy as just changing the size value.
kill_seth
06-06-2012, 02:10 PM
There are 3 data sets in the save according to how I broke it up. All you have to do is create a new io stream of with all 3 data sets combine. Data 2 would be the new amount of bytes which would be changed by adding more characters to the richtextbox. Then you would just need to change the value at &H8 to match that of the new amount of characters. Then all you have to do is fix all 3 hashes.
Data1 = (0 to &H1C)
Data2 = Ascii Data
Data3 = Bytes after the Ascii Data
I already wrote the codding and it worked just fine for me.
Jappi88
06-06-2012, 02:26 PM
There are 3 data sets in the save according to how I broke it up. All you have to do is create a new io stream of with all 3 data sets combine. Data 2 would be the new amount of bytes which would be changed by adding more characters to the richtextbox. Then you would just need to change the value at &H8 to match that of the new amount of characters. Then all you have to do is fix all 3 hashes.
Data1 = (0 to &H1C)
Data2 = Ascii Data
Data3 = Bytes after the Ascii Data
I already wrote the codding and it worked just fine for me.
and how is combining 3 block is only write lengt @ 8 ? like u said in ur previos post...
and yes its not hard its just basic data handling.
olso u dont have to fix the third check... only the first and secind , the third block remains untouched.
kill_seth
06-06-2012, 02:35 PM
The way I'm doing it is by changing the block that contains the ascii text, which I called Data 2, the length of that block is stored in Data 1 at &H8. So all you have to do is take Data 1 in Bytes, then the new ascii text in Bytes, then Data 3 in Bytes. Once you have those 3 just combine them and then change the length of Data 2, and then just fix the 3 hashes. Yeah I know the 3rd hash is untouched, but I check to make sure it is.
Serious_M
06-06-2012, 04:51 PM
very nice job idle on this edi0tor
feudalnate
06-06-2012, 05:25 PM
Here's a quick class to help you or whoever else. Parses sections, validates and repairs hashes, and fixes section lengths
Simple example:
Imports InversionLib 'Add as ref
Sub OpenEditClose()
'Open extracted file or data
Dim Save as New InversionSave("C:\saves.cfg") 'or pass byte array.. New InversionSave(ExtractedData)
If Not Save.IsValid Then MsgBox("Save has invalid hashes!") 'Validate hashes
RichTextBox1.Text = Save.CFG() 'Display CFG text for editing (changing amount of text doesn't matter)
Save.CFG() = RichTextBox1.Text 'Set edited CFG text
Save.Save("C:\saves.cfg") 'Repair hashes and write data to output file
'or call without parameters to return just the byte array
Dim MySaveData as Byte() = Save.Save()
Save.Dispose() 'Dispose the class and its working data
End Sub
7897
Caboose.
06-07-2012, 08:39 PM
nice work IH. another great tool.
mrsweet
06-08-2012, 09:59 PM
Which values are for the ammo and what would the max limit on ammo be? I tried editing rifle ammo and gravlink ammo but the save was corrupted.
Idlehands88
06-08-2012, 10:07 PM
Which values are for the ammo and what would the max limit on ammo be? I tried editing rifle ammo and gravlink ammo but the save was corrupted.
NOTE 2: DO NOT ADD/REMOVE VALUES, ONLY REPLACE, YOU WILL CORRUPT YOUR SAVE IF YOU DO!!!!
In other words if you have 4 bullets left the max you can change that to is 9. Or if you had 23 bullets left then the max you could change it to is 99. You CAN NOT add/remove numbers/letters from the save (unless you take a number/letter from somewhere else in the save).
So lets say you have 13 bullets left in your Assault rifle, but you don't use your Assault rifle anymore, you can take the "3" away from 13 and put that number on say your Sniper Rifle Ammo. So if you had 10 bullets left for Sniper you could max it to 99 and then add an extra 9 to it because you took away a number from your Assault Rifle (999 max).
mrsweet
06-08-2012, 10:11 PM
Ahh...I figured it was something like that. Thanks for the clarification. :)
BrayWyatt
06-08-2012, 10:12 PM
what can be modded?
Idlehands88
06-08-2012, 10:19 PM
what can be modded?
Pretty much just Ammo and GravLink charges... Health isn't stored on the save (it might, but my disc broke so I can't test anymore)...
BrayWyatt
06-09-2012, 12:19 AM
Pretty much just Ammo and GravLink charges... Health isn't stored on the save (it might, but my disc broke so I can't test anymore)...
does the ammo & gravlink have to modded at every level? like you have to do with modern warfare 2.
Idlehands88
06-09-2012, 12:20 AM
does the ammo & gravlink have to modded at every level? like you have to do with modern warfare 2.
I had to for the tutorial levels, after you escape the prison camp thing I didn't have to mod anything (unless I found a new gun).
BrayWyatt
06-09-2012, 12:24 AM
thx for the info. is the game worth getting? since it $49.99 at gamestop.
Idlehands88
06-09-2012, 12:26 AM
thx for the info. is the game worth getting? since it $49.99 at gamestop.
It was fun, I didn't get a chance to go online and only got half way through the game before my disc broke lol
BrayWyatt
06-09-2012, 12:38 AM
would you recommend it? if you do. ill order a copy. and, pre-order lollipop girl.
feudalnate
06-09-2012, 01:39 AM
NOTE 2: DO NOT ADD/REMOVE VALUES, ONLY REPLACE, YOU WILL CORRUPT YOUR SAVE IF YOU DO!!!!
In other words if you have 4 bullets left the max you can change that to is 9. Or if you had 23 bullets left then the max you could change it to is 99. You CAN NOT add/remove numbers/letters from the save (unless you take a number/letter from somewhere else in the save).
So lets say you have 13 bullets left in your Assault rifle, but you don't use your Assault rifle anymore, you can take the "3" away from 13 and put that number on say your Sniper Rifle Ammo. So if you had 10 bullets left for Sniper you could max it to 99 and then add an extra 9 to it because you took away a number from your Assault Rifle (999 max).
If you used the dll I posted up, you wouldn't have that limitation or have to worry about fixing lengths or hashes ;P
Idlehands88
06-09-2012, 02:08 AM
If you used the dll I posted up, you wouldn't have that limitation or have to worry about fixing lengths or hashes ;P
What dll? I might have missed it.
feudalnate
06-09-2012, 02:18 AM
http://www.360haven.com/forums/showthread.php?14463-Inversion-Editor&p=110904&viewfull=1#post110904
It's attached, you thanked the post I thought you seen it :P
pureIso
06-09-2012, 02:32 AM
What dll? I might have missed it.
Idle you have be caught out, thanking a post without reading it :P hahaha
Idlehands88
06-09-2012, 02:35 AM
http://www.360haven.com/forums/showthread.php?14463-Inversion-Editor&p=110904&viewfull=1#post110904
It's attached, you thanked the post I thought you seen it :P
LOL I saw it but didn't really bother to look at what it was lol. Also I just tried it and it's still doing the same thing. It doesn't fix the Byte count and it writes the third hash inside of the second hash reader area (based on how many bytes I added).
Original (what it should look like):
http://img259.imageshack.us/img259/9152/originalk.png
After (Where the 3rd Hash is writing to after 1 byte is added to 2nd Hash area):
http://img844.imageshack.us/img844/9060/afterqk.png
feudalnate
06-09-2012, 03:10 AM
I thought I had double checked writing and that I compensated for the null termination :\ The lengths were actually getting written, not sure why that was a problem for you
Here's a fix, I made sure everything was being written properly so there shouldn't be any issues. I will send the project itself in a PM and here's the dll for who ever wants it..
7939
willgsxr
06-10-2012, 04:22 PM
I have not tried the editor yet but thanks for the hard work.
Drivium
06-15-2012, 02:13 PM
Maybe I'm retarded, but can you explain briefly how to use this editor? What max values are and specifically which values are good to change. Danka! Great work!!!
mohammdsalim
06-23-2012, 04:02 PM
thanks alot for your works
But my save didn't works with Horizon because I have Save Extension (file) and In the program Horizon Extension (*.cfg*)
Excuse my English is weak
sudeki
06-24-2012, 11:24 PM
could someone show me how to get my ammo and health up with this editor, i have no idea where to look in the .cfg files.thanks................sudeki300
69bigplayer69
06-24-2012, 11:50 PM
i dont think if for that just inf powers
sudeki
06-29-2012, 09:29 PM
would anyone be kind enough to mod my save for me, everytime i try i get the failed to load message when trying to start the game................sudeki300
Vincent Valentine
06-29-2012, 09:34 PM
would anyone be kind enough to mod my save for me, everytime i try i get the failed to load message when trying to start the game................sudeki300
Are you extracting the file that is in the CON file? open your save in Horizon, go to content and extract the file thats inside it.
sudeki
06-29-2012, 09:40 PM
yep im extracting the save.cfg file from the save and using that in the editor, put it back into the save rehashing and resigning with horizon.......................sudeki300
BrayWyatt
07-12-2012, 09:42 PM
if you dont have this game yet. target has it onsale for $39.99.
i just tried to edit my ammo. and, it didnt change at all...
Cleric
07-12-2012, 11:25 PM
Nice guys, good stuff :)
John718
09-09-2012, 01:33 AM
Thanks man for this great editor! The game is not that bad after all! I have fun with it!
verterO
12-13-2013, 07:10 PM
Can't wait to try it.
vBulletin Solutions, Inc. All rights reserved.