Search found 79 matches
- Sun Apr 16, 2023 10:43 pm
- Forum: M.A.M.E. "Arcade" Cheats
- Topic: [mrdrilr2]+ cheats
- Replies: 2
- Views: 706
Re: [mrdrilr2]+ cheats
Here's to unlock the extra stage without the complex code entry <mamecheat version="1"> <cheat desc="Unlock Extra Stage"> <script state="on"> <action>maincpu.pb@80282c72=maincpu.pb@80282c72|20</action> </script> </cheat> </mamecheat>
- Sat Jan 14, 2023 1:05 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
Ask over at the github repo. https://github.com/mamedev/mame/issues
- Mon Jan 09, 2023 12:35 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
A plugin starts before anything is loaded. You need to use register_start to get a callback once the emulation starts.
- Sun Jan 08, 2023 12:56 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
> [MAME]> manager.machine.devices[":maincpu"].spaces["program"].install_read_tap(0x2000,0x2fff,"test",foo())
foo() is calls foo and install_read_tap gets the return value from foo() (nil) as the tap callback function.
foo() is calls foo and install_read_tap gets the return value from foo() (nil) as the tap callback function.
- Fri Jan 06, 2023 1:15 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
What are you trying to do? That's beyond the scope of cheats but luaengine supports adding taps which can allow you to get a callback when a memory region is accessed.
- Mon Dec 12, 2022 2:19 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
Does it work if you put pce_cd/fraycd instead? If it doesn't try that with this patch: diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index 896fc1e101b..bc581b42b35 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -92,17 +92,21 @@ function cheat.startplugin() local i...
- Thu Dec 08, 2022 1:01 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
What do you mean it won't load back in? What does it do when you try to use it?
- Mon May 16, 2022 12:21 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
I was hoping that wouldn't happen but thankfully it's not a big problem. Screen height is a property now so changing screen:height() to screen.height should fix it.
- Tue May 18, 2021 12:53 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
Lua cheats are part of the cheat package. If you use the plugin they will be listed in the Plugins-Cheats menu otherwise they are ignored.
- Wed Mar 17, 2021 8:11 pm
- Forum: M.A.M.E. "SoftwareList" Cheat Requests and Bug Reports
- Topic: List of cheat xml parameters loaded in mame229 gets stuck in the last parameter
- Replies: 2
- Views: 1986
Re: List of cheat xml parameters loaded in mame229 gets stuck in the last parameter
Get https://raw.githubusercontent.com/mamed ... t/init.lua and put it int your plugins/cheat folder.
- Fri Jan 01, 2021 7:57 pm
- Forum: M.A.M.E. "Arcade" Cheats
- Topic: [pacman]+ HotKey for "Finish this level Now" w/0.227 doesnt work
- Replies: 3
- Views: 1368
Re: [pacman]+ HotKey for "Finish this level Now" w/0.227 doesnt work
This was fixed after release. Get https://raw.githubusercontent.com/mamed ... at_xml.lua and put it in your plugins/cheat directory.
- Sun Oct 04, 2020 3:35 pm
- Forum: Cheat Engine Help
- Topic: HELP!! CHEATS NOT WORKING----NO OFF/OFF SWITCH, JUST CODE'S DESCRIPTION!!!!!!!!!!!
- Replies: 2
- Views: 1695
Re: HELP!! CHEATS NOT WORKING----NO OFF/OFF SWITCH, JUST CODE'S DESCRIPTION!!!!!!!!!!!
Sega cd rom cheats don't make sense. I don't know the old cheat format but I suspect the two latter ones are ram cheats in the sega cd address space, maybe use segacd:segacd_68k
- Sun Sep 27, 2020 12:22 am
- Forum: Cheat Engine Help
- Topic: Intel .HEX to cheat converter?
- Replies: 4
- Views: 2046
Re: Intel .HEX to cheat converter?
Interesting. You could write a script for the lua plugin that would load the hex patches directly but the result would only be usable with the plugin, otherwise there isn't any existing mame feature to convert intel hex files to xml cheats.
- Thu Sep 24, 2020 8:22 pm
- Forum: Cheat Engine Help
- Topic: Intel .HEX to cheat converter?
- Replies: 4
- Views: 2046
Re: Intel .HEX to cheat converter?
As far as I know there's nothing like that anywhere. I'd like to know what you are trying to do though because I'm not sure what kind of cheats you could get from a hex object file.
- Fri Sep 11, 2020 10:41 pm
- Forum: M.A.M.E. "Arcade" Cheat Requests
- Topic: auto fire Galaga
- Replies: 6
- Views: 4279
Re: auto fire Galaga
Was removed. You have to use "-plugin autofire" and configure it in the "Plugin options" menu.Heihachi_73 wrote: ↑Fri Sep 11, 2020 10:20 pm MAME has a built-in autofire menu which becomes available when cheats are enabled,
- Wed Sep 09, 2020 12:54 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
For now I made it a -verbose warning.
- Mon Sep 07, 2020 7:38 pm
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
Is it possible to change the way it works so that it looks for a match using the 32K block size first (58ef,d8ef,158ef,1d8ef etc) and then falls back to a 8K block size (18ef, 38ef, 58ef, 78ef etc) if it can't find a compare value match on the 32k block size. Sure, this isn't hard. What to do with ...
- Wed Aug 19, 2020 2:00 am
- Forum: Cheat Engine Help
- Topic: [ssf2t] how to make a Breakpoint debug cheat work with xml?
- Replies: 5
- Views: 2407
Re: [ssf2t] how to make a Breakpoint debug cheat work with xml?
[{ "script":{ "on":"maincpu.bpset(0x470e, function() cpup:write_u8(0xff84b6, 2) cpup:write_u8(0xff84b8, 1) end)" "off":"" }, "desc":"P1 Infinite throw range", "space":{ "cpup":{ "type":"program&...
- Sat Aug 15, 2020 12:48 am
- Forum: Cheat Engine Help
- Topic: [ssf2t] how to make a Breakpoint debug cheat work with xml?
- Replies: 5
- Views: 2407
Re: [ssf2t] how to make a Breakpoint debug cheat work with xml?
The lua cheat engine supports breakpoints (https://github.com/mamedev/mame/blob/b29288964f074dd08d47c08c35463c2a4a1186dd/plugins/cheat/init.lua#L63 https://github.com/mamedev/mame/blob/b29288964f074dd08d47c08c35463c2a4a1186dd/plugins/cheat/init.lua#L295) with 2 caveats 1. the debugger must be enable...
- Wed May 27, 2020 12:47 am
- Forum: Cheat Related Announcements
- Topic: cheat lua plugins
- Replies: 125
- Views: 204047
Re: cheat lua plugins
This isn't possible in a general way. It is potentially possible for all the software on a particular hardware platform in lua but not with the cheat engine or finder.