English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 12 August 2020, 12:18   #1
fstarred
Registered User

fstarred's Avatar
 
Join Date: Mar 2018
Location: Rome
Posts: 125
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
fstarred is offline  
Old 12 August 2020, 12:32   #2
Galahad/FLT
Going nowhere

Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 47
Posts: 7,756
Quote:
Originally Posted by fstarred View Post
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
Yes. Its called training the game.

You need to find the instructions in the game that directly access the address for lives etc.

Requires coding ability in asm
Galahad/FLT is offline  
Old 12 August 2020, 12:47   #3
fstarred
Registered User

fstarred's Avatar
 
Join Date: Mar 2018
Location: Rome
Posts: 125
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).
fstarred is offline  
Old 12 August 2020, 12:48   #4
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 49
Posts: 4,390
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)
jotd is offline  
Old 12 August 2020, 12:50   #5
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,542
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.
StingRay is offline  
Old 12 August 2020, 12:54   #6
fstarred
Registered User

fstarred's Avatar
 
Join Date: Mar 2018
Location: Rome
Posts: 125
Thank you all for the hints
fstarred is offline  
Old 12 August 2020, 18:51   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,070
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
Toni Wilen is offline  
 


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

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 +2. The time now is 00:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.06789 seconds with 13 queries