12 August 2020, 12:18 | #1 |
Registered User
Join Date: Mar 2018
Location: Rome
Posts: 173
|
Any way to avoid value change in memory address permanently
I'm currently using WinUAE debugger for finding cheats in game.
Now, suppose I want the address XXXX to have value 99 fixed, so any way I start game I don't need to manually change it on debugger. Is it possible ? PS I'm not sure this is the correct section to post, in case sorry for the mistake |
12 August 2020, 12:32 | #2 | |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
|
Quote:
You need to find the instructions in the game that directly access the address for lives etc. Requires coding ability in asm |
|
12 August 2020, 12:47 | #3 |
Registered User
Join Date: Mar 2018
Location: Rome
Posts: 173
|
Galahad/FLT yes I know how cheating works.
My question is: - once I found the correct address - is there any way to avoid value change of that address each time I start game? To better explain, something similar with mame, where you can store scripts on a xml file that do the stuff automatically (for example force the address value to xx). |
12 August 2020, 12:48 | #4 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
sorry this isn't MAME. But if you have the game running under whdload you can use a trainer or request one
from winuae, use a memwatch (w 0 address 1 W) to see where the address of lives is changed, and NOP the instruction. You can store the script in a text editor to paste it in winuae debugger at game startup (that is: if game is using the same address everytime, which can be false) |
12 August 2020, 12:50 | #5 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
You need to code a patch which loads the game binary using LoadSeg(), apply trainer patches and start the game.
Short version: Requires coding ability in asm as Galahad already pointed out. |
12 August 2020, 12:54 | #6 |
Registered User
Join Date: Mar 2018
Location: Rome
Posts: 173
|
Thank you all for the hints
|
12 August 2020, 18:51 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Memwatch points support it (f "freeze" parameter). It is listed in short debugger help listing (h)
Here is something that probably does what you want: http://eab.abime.net/showthread.php?t=95606 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
List memory address range | solarmon | Coders. Scripting | 2 | 18 December 2019 15:31 |
Permanently mounting Vampire V2 in A600? | voyager_1701e | support.Hardware | 8 | 11 June 2017 10:44 |
Permanently missing entry from Games list [Resolved] | zer0vital | support.FS-UAE | 0 | 04 October 2016 23:44 |
Search and change memory location using action replay | perky416 | New to Emulation or Amiga scene | 3 | 19 August 2015 11:43 |
New HD, HD light permanently on! | girv | support.Hardware | 13 | 07 January 2007 22:09 |
|
|