Search found 79 matches

by crazyc
Sun Apr 16, 2023 10:43 pm
Forum: M.A.M.E. "Arcade" Cheats
Topic: [mrdrilr2]+ cheats
Replies: 2
Views: 700

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>
by crazyc
Sat Jan 14, 2023 1:05 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

Re: cheat lua plugins

Ask over at the github repo. https://github.com/mamedev/mame/issues
by crazyc
Mon Jan 09, 2023 12:35 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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.
by crazyc
Sun Jan 08, 2023 12:56 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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.
by crazyc
Fri Jan 06, 2023 1:15 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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.
by crazyc
Mon Dec 12, 2022 2:19 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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...
by crazyc
Thu Dec 08, 2022 1:01 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

Re: cheat lua plugins

What do you mean it won't load back in? What does it do when you try to use it?
by crazyc
Mon May 16, 2022 12:21 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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.
by crazyc
Tue May 18, 2021 12:53 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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.
by crazyc
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: 1677

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
by crazyc
Sun Sep 27, 2020 12:22 am
Forum: Cheat Engine Help
Topic: Intel .HEX to cheat converter?
Replies: 4
Views: 2016

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.
by crazyc
Thu Sep 24, 2020 8:22 pm
Forum: Cheat Engine Help
Topic: Intel .HEX to cheat converter?
Replies: 4
Views: 2016

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.
by crazyc
Fri Sep 11, 2020 10:41 pm
Forum: M.A.M.E. "Arcade" Cheat Requests
Topic: auto fire Galaga
Replies: 6
Views: 4240

Re: auto fire Galaga

Heihachi_73 wrote: Fri Sep 11, 2020 10:20 pm MAME has a built-in autofire menu which becomes available when cheats are enabled,
Was removed. You have to use "-plugin autofire" and configure it in the "Plugin options" menu.
by crazyc
Wed Sep 09, 2020 12:54 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

Re: cheat lua plugins

For now I made it a -verbose warning.
by crazyc
Mon Sep 07, 2020 7:38 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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 ...
by crazyc
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: 2371

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&...
by crazyc
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: 2371

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...
by crazyc
Wed May 27, 2020 12:47 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 125
Views: 202986

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.