Previous Thread
Next Thread
Print Thread
Cheat & Debugger - Not able to manually find value #117722 08/25/20 09:18 AM
Joined: Aug 2020
Posts: 3
F
Fstarred Offline OP
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 3
Hello,

I'm not able to find a specific value using debugger on Ikari warriors.

Example:
At maincpu@FDEB there is the ammo value for P1, that when game starts is set to 99.

If I try to find the above value using:
cheatinit
cheatnext eq,99
show 0 cheats.

by typing "cheatlist" it seems like address FDEB is out of range of possible addresses search, so this is why debugger never find that value.

Is there any explanation to this ?

Re: Cheat & Debugger - Not able to manually find value [Re: Fstarred] #117723 08/25/20 09:41 AM
Joined: Aug 2002
Posts: 361
H
Heihachi_73 Offline
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 361
99. Is that in decimal, hex or BCD?

Re: Cheat & Debugger - Not able to manually find value [Re: Fstarred] #117724 08/25/20 10:04 AM
Joined: Aug 2020
Posts: 3
F
Fstarred Offline OP
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 3
Tried with decimal and relative hex value. My guess is that for some reason debugger doesn't search on that memory address range by default (it stops at FC or before, I don't remember perfectly)

Re: Cheat & Debugger - Not able to manually find value [Re: Fstarred] #117737 08/27/20 12:08 PM
Joined: Mar 2001
Posts: 16,575
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,575
That cheat finder is deprecated; you're supposed to use the cheat Lua plugin, which is more capable.

Re: Cheat & Debugger - Not able to manually find value [Re: R. Belmont] #117748 08/29/20 12:26 PM
Joined: Aug 2020
Posts: 3
F
Fstarred Offline OP
Member
OP Offline
Member
F
Joined: Aug 2020
Posts: 3
Ok.

Do you know any doc for Lua debugger ?
The one on the official mame documentation looks a bit poor frown (I'd expect a command to search / write into registers)

Thank you

Last edited by Fstarred; 08/29/20 12:27 PM.
Re: Cheat & Debugger - Not able to manually find value [Re: Fstarred] #117751 08/29/20 03:05 PM
Joined: Jan 2012
Posts: 843
C
crazyc Online Content
Senior Member
Online Content
Senior Member
C
Joined: Jan 2012
Posts: 843
The FDEB is in the tx_videoram region which is as you guessed out of range for the debugger cheatfinder. It's a bad case for the lua finder too because it won't automatically search it although it can be done. Here's a link with some info http://www.mamecheat.co.uk/forums/viewtopic.php?f=2&t=12625 .


Who's Online Now
3 registered members (AaronGiles, AJR, Pernod), 38 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,811
Posts115,967
Members4,914
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3