Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
[Help wanted] How to read game_data.sav file in C#
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Morohara" data-source="post: 471292" data-attributes="member: 93970"><p>Save data for games in majority of cases are saved in hexadecimal so; 1a 6f 45 40 ect.</p><p></p><p>All save editors do is alter the bytes. Let's say a tutorial for a game is 1a and if completed tutorial it would change to a 1b the game would call on the save data and the portion of code and from the byte change it would know the tutorial is completed. A great example of how changing the hex code was a famous voting error.</p><p></p><p>[URL unfurl="true"]https://gizmodo.com/space-weather-can-alter-electronic-voting-machines-1792473286[/URL]</p><p></p><p>Reading that all though nothing to do with what you may be asking but it may aid you in understanding how a single change in a byte can result in a lot of changes. All a save editor does is simply change the byte information which is also how the program cheat engine works all the program does is edit the RAW data. </p><p></p><p>You could use the int.32parse method to alter the hex but you would only get an integer which wouldn't be much of a help to you either. </p><p></p><p>Also depending on the game and its original contents there's something called a checksum, this basically checks byte information to make sure that there isn't any errors in the code and if you get the hash wrong the save data file won't work, which is why there's not really a universal save editor due to each game saving in a different way. (dependant on the console and how the game chooses to save.) I've added a picture of what a checksum might look like, the second picture added is what happens when the original text is altered (one character was changed.)</p><p></p><p>A bruteforce sort of way would be comparing the hex of two saved files but that may be slow and tedious.</p><p></p><p>Hope I helped in your understanding of game save editing.</p></blockquote><p></p>
[QUOTE="Morohara, post: 471292, member: 93970"] Save data for games in majority of cases are saved in hexadecimal so; 1a 6f 45 40 ect. All save editors do is alter the bytes. Let's say a tutorial for a game is 1a and if completed tutorial it would change to a 1b the game would call on the save data and the portion of code and from the byte change it would know the tutorial is completed. A great example of how changing the hex code was a famous voting error. [URL unfurl="true"]https://gizmodo.com/space-weather-can-alter-electronic-voting-machines-1792473286[/URL] Reading that all though nothing to do with what you may be asking but it may aid you in understanding how a single change in a byte can result in a lot of changes. All a save editor does is simply change the byte information which is also how the program cheat engine works all the program does is edit the RAW data. You could use the int.32parse method to alter the hex but you would only get an integer which wouldn't be much of a help to you either. Also depending on the game and its original contents there's something called a checksum, this basically checks byte information to make sure that there isn't any errors in the code and if you get the hash wrong the save data file won't work, which is why there's not really a universal save editor due to each game saving in a different way. (dependant on the console and how the game chooses to save.) I've added a picture of what a checksum might look like, the second picture added is what happens when the original text is altered (one character was changed.) A bruteforce sort of way would be comparing the hex of two saved files but that may be slow and tedious. Hope I helped in your understanding of game save editing. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
[Help wanted] How to read game_data.sav file in C#
Top