Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Rise of the Triad (1995) Source Code
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 06-01-2008, 01:27 AM   #1
barev
savegame editing
Hi,

does anyone know how could one edit the rott savegames to change the cheat codes state in a savegame i.e. change the save state so that certain cheats are enabled etc.

The reason for asking this is that I play rott on my PSP, and you can guess that I am unable to input any cheat code as the PSP lacks a real keyboard. I would like to be able to edit my PSP rott savegames to enable the cheats via the save state.

Any suggestions would be appreciated

10x in advance
Last edited by barev; 06-01-2008 at 01:36 AM.
barev is offline  
Old 06-01-2008, 08:53 AM   #2
johndough

johndough's Avatar
Re: savegame editting
You could use a hex editor.
johndough is offline  
Old 06-01-2008, 03:40 PM   #3
barev
Re: savegame editting
Quote:
Originally Posted by johndough View Post
You could use a hex editor.
Yeah, of course but what should I change?
barev is offline  
Old 06-01-2008, 05:55 PM   #4
johndough

johndough's Avatar
Re: savegame editting
Quote:
Originally Posted by barev View Post
Yeah, of course but what should I change?
Anything you want.
Nobody is going to find the data for you.
You'll have to find it yourself.
It's not that hard.
johndough is offline  
Old 06-03-2008, 01:27 PM   #5
barev
Re: savegame editting
OK, I got the overall 'not really willing to help' tone. But after all the savegame format is defined somewhere in the source code, right? I mean it would be kind of hard to just guess which hex address in the file defines the cheat state. I though someone who has already gone through the code or has some insights about the game could help me ...
barev is offline  
Old 06-03-2008, 03:52 PM   #6
The Stinger
Guest
Re: savegame editting
It's kind of hard to change anything with a hex editor, if you don't have a clue what you are doing.
What do you want to change actually?
If it's health, armor, weapons or any other stats, you could use a value finder while you are playing the game.
 
Old 06-03-2008, 07:02 PM   #7
johndough

johndough's Avatar
Re: savegame editting
Quote:
Originally Posted by barev View Post
OK, I got the overall 'not really willing to help' tone. But after all the savegame format is defined somewhere in the source code, right? I mean it would be kind of hard to just guess which hex address in the file defines the cheat state. I though someone who has already gone through the code or has some insights about the game could help me ...
So if I don't do it all for you I'm "not really willing to help?"
Well, that's kind of rude. I gave you advice. The only advice I could think of. Nobody else was even responding to you.
I bet virtually all the people that write easy to use save game editors found the data manually by trial and error in a hex editor.
johndough is offline  
Old 06-12-2008, 12:23 PM   #8
barev
Re: savegame editting
No offense on anyone not being able to help me. I just expected some constructive help like go check file '...' in the source code where the save game format is defined or try searching for '...' in the savegame file. I know the change can be made with a hex editor but doing trial an error by just randomly changing some bytes doesn't seem like the best way of doing this.
barev is offline  
Old 06-12-2008, 06:23 PM   #9
TerminX

TerminX's Avatar
Re: savegame editting
Make 3 savegames right after one another, the first without cheats and the second and third with cheats enabled. Isolate which bytes changed between savegame 1 and 2 and see which of the bytes that changed between saves 1 and 2 are still the same between saves 2 and 3. It's not really a matter of randomly changing things.
TerminX is offline  
Old 06-13-2008, 09:19 PM   #10
Shadow Master

Shadow Master's Avatar
Re: savegame editting
In my copy of ROTT, DIPSTICK and CHOJIN don't seem to have a true/false value in saved games, but rather in the game's internal state part that is not dumped to them. i.e. Any saved game that I load in the same session of ROTT will have those cheats enabled, and likewise, if I restart ROTT, no saved game will have them. Of course I haven't checked the source code yet.
__________________
You're master of no shadows! -- Steve
Duke Nukem Forever!

[My website | Public Commander Keen Forum | The Commander Keen Wiki]
Shadow Master is offline  
Old 06-18-2008, 02:03 PM   #11
barev
Re: savegame editting
Quote:
Originally Posted by TerminX View Post
Make 3 savegames right after one another, the first without cheats and the second and third with cheats enabled. Isolate which bytes changed between savegame 1 and 2 and see which of the bytes that changed between saves 1 and 2 are still the same between saves 2 and 3. It's not really a matter of randomly changing things.
Good idea TerminX but actually if I could enable the cheats on my PSP I wouldn't need to edit the savegame, right? I'll try this on the PC though, maybe that could shed some light on the issue.

Quote:
Originally Posted by Shadow Master View Post
In my copy of ROTT, DIPSTICK and CHOJIN don't seem to have a true/false value in saved games, but rather in the game's internal state part that is not dumped to them. i.e. Any saved game that I load in the same session of ROTT will have those cheats enabled, and likewise, if I restart ROTT, no saved game will have them. Of course I haven't checked the source code yet.
That was one of my concerns. I'll have to check your theory and will write the results in the thread. 10x for the suggestion.
barev is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:14 PM.

Page generated in 0.19233704 seconds (100.00% PHP - 0% MySQL) with 16 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.