| View previous topic :: View next topic |
| Author |
Message |
Puzzlerf Newbie cheater
Reputation: 0
Joined: 01 Nov 2007 Posts: 18
|
Posted: Wed Nov 07, 2007 3:13 am Post subject: Saving Values? Making Save/Load for a game... |
|
|
I figure I posted this in the wrong forum, so posting it here now.
How would I go about making a program or something that would save the values set on the pointers I've found? So I can save just the values then load them. I'm wanting to make a save feature for a game that doesn't have one. I've found a lot of the pointers I need so far. Hmm? thanks.
From my googling a 'save state' would be awesome, but its not an emulated game.
At the least something that will save the values in CE and then reload them in CE.
Thanks.
_________________
Yeah... I can't spell to save my life... thank god for Mozilla spell checker. |
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Wed Nov 07, 2007 6:01 am Post subject: |
|
|
| Create a file with thoes values?
|
|
| Back to top |
|
 |
Puzzlerf Newbie cheater
Reputation: 0
Joined: 01 Nov 2007 Posts: 18
|
Posted: Wed Nov 07, 2007 1:32 pm Post subject: |
|
|
what do u mean?
_________________
Yeah... I can't spell to save my life... thank god for Mozilla spell checker. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Nov 07, 2007 1:41 pm Post subject: |
|
|
| Puzzlerf wrote: | | what do u mean? |
Create a file of the current values when you close the game, or restart it or when ever you want them to be saved. Then create a load function that will read the files values and write them back to memory.
_________________
- Retired. |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Wed Nov 07, 2007 3:34 pm Post subject: |
|
|
Would an AA script work?
| Code: |
[Enable]
alloc(somecode,256)
RANDOMADDRESS: //Check that it has an opcode before you do this though
call somecode
somecode:
zeopcode //zeopcode is the opcode that was in RANDOMADDRESS
pushad //You can just do push eax if you're not doing pointers
mov eax,VALUE //Value for first address
mov [ADDRESS],eax //Address for first value
mov eax,VALUE //next value
mov [ADDRESS],eax //next address
//and on, for as long as you need, for pointers
mov eax,VALUE
mov ecx,[BASEADDRESS] //Base address is the number before the plus
lea ebx,[ecx+OFFSET] //Offset is the number after the plus
mov ebx,eax
popad //pop eax if you did push eax before
ret //so the code can do its natural functions
[Disable]
dealloc(somecode)
RANDOMADDRESS: //The same one from before
OPCODE //The original opcode of the address
|
My AA is a bit rusty, but I think that should work.
You can add that to your table, and save the table using cheat engine. Or if you want, you can just copy it and save it in notepad, then open it back up and put it in when you're ready.
|
|
| Back to top |
|
 |
Puzzlerf Newbie cheater
Reputation: 0
Joined: 01 Nov 2007 Posts: 18
|
Posted: Wed Nov 07, 2007 5:07 pm Post subject: |
|
|
wiccaan, thats what i wanna do, just dunno how. also that it will save the current values on its own.
samuri
hmm... i know jack about AA. i'm a newbie to it. tho from what i gather i'm not too sure.
does that save the value to just a memory region? as i'd like say, save to a txt file, then load it back. i believe i understand the code for the most part. mainly designating the value, just not sure about what goes in Randomaddress.
also i have like 100 pointers. bunch of different things, its a small game, but still alot going on.
_________________
Yeah... I can't spell to save my life... thank god for Mozilla spell checker. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Nov 07, 2007 5:43 pm Post subject: |
|
|
Read into loading/saving XML files or INI files then in your preferred language. With that, use ReadProcessMemory to read the values you want to store from memory. And then write them to your save file.
Then when you load your prog, read the file and use WriteProcessMemory to load them back into memory.
_________________
- Retired. |
|
| Back to top |
|
 |
Puzzlerf Newbie cheater
Reputation: 0
Joined: 01 Nov 2007 Posts: 18
|
Posted: Wed Nov 07, 2007 7:17 pm Post subject: |
|
|
yeah, i can't program software. internet languages sure, but not software.... gerr.
i'm looking into it tho, thanks.
_________________
Yeah... I can't spell to save my life... thank god for Mozilla spell checker. |
|
| Back to top |
|
 |
|