MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Heihachi_73
I am the Table!
Reged: 10/29/03
Posts: 1074
Loc: Melbourne, Australia
Send PM
Re: RAM editing, Is this possible in MAME (and if so, how?)
04/24/22 04:58 PM


> For the game Atari Crystal Castles, in the manual, it says if you reset everything,
> paid coins stats are never reset. On PDF page 10 (manual page 1-3), under “GAME
> OVERVIEW” section, in “GAME PLAYFIELD COLOR CHANGES”, it mentions the castles
> changing colors every 100 paid games (which are never reset).
>
> The paid coins info is kept in the X2212's, at locations 4A & 4B.
>
> Would it be possible to edit MAME to change the number of paid coins so that you can
> see impact on castles changing colors? I really don't want to have to manually
> continually rack up 100 credits to see what happens.
>
> If so, how do you go about doing this?

Run MAME with -debug and you can open the memory viewer and manually poke the bytes e.g. click on 4A, and assuming it's a 16-bit value (given that it says 4A and 4B) type a reasonably large number like 0x5555 as a test - don't use FFFF as it will just overflow back to 0 on the next coin, and values above 7FFF (or FF7F depending on endian) might be considered a negative number depending on how it was programmed (think Super Mario 1, where 127 lives + 1 becomes -128 lives and an instant game over if you die).

On a side note, it would be better if a cheat was made for each color variation rather than poking the RAM in the debugger. Assuming a cheat hasn't already been made for it.







Entire thread
Subject Posted by Posted on
* RAM editing, Is this possible in MAME (and if so, how?) joemagiera 04/24/22 04:35 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Heihachi_73  04/24/22 04:58 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/24/22 06:05 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Rotwang  04/24/22 06:20 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/24/22 08:22 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Rotwang  04/24/22 09:08 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/25/22 02:44 AM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) AJR Hacker  04/25/22 07:08 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/25/22 09:48 PM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Sthiryu  04/27/22 03:14 AM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) Rotwang  04/25/22 03:45 AM
. * Re: RAM editing, Is this possible in MAME (and if so, how?) joemagiera  04/25/22 02:28 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 324 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 434