Search found 57 matches

by crazyc
Tue Sep 10, 2019 3:08 am
Forum: M.A.M.E. "SoftwareList" Cheats
Topic: [gnw_zelda] set clock
Replies: 0
Views: 57

[gnw_zelda] set clock

[{ "desc": "Set clock to current time", "space": { "cpu": { "tag": ":maincpu", "type": "data" } }, "script": { "on": "local lt = os.date('*t') cpu:write_u8(16, lt.min % 10) cpu:write_u8(17, lt.min // 10) local hour = (lt.hour > 12) and (lt.hour - 12) or lt.hour if lt.hour == 0 then hour = 12 end cp...
by crazyc
Thu Mar 21, 2019 1:50 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

Without the hack/modification it doesn't write anything at all be it json, xml or simple (written == false and the Unable to write file message pops up). It doesn't create the subdir. If you make a a800_flop directory under cheat they should be created there. I'll have to fix that sometime. I appre...
by crazyc
Tue Mar 19, 2019 1:55 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

The json cheat format should always be written because it supports everything. Is this for the simple format as the xml format can't work with ram device cheats?
by crazyc
Sun Jan 27, 2019 4:36 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

I've been using the modified lua for about a month and it all works really well (it stopped the silly errors I kept making). I just noticed the latest change to init.lua and figured it might be worthwhile on getting some or all of the changes added to the official - so that I don't have to manually...
by crazyc
Mon Dec 31, 2018 1:47 am
Forum: M.A.M.E. "SoftwareList" Cheats
Topic: [namcons1] cheats
Replies: 2
Views: 73

Re: [namcons1] cheats

Pugsy wrote:
Sat Dec 29, 2018 1:39 am
<!-- bp 4dc98,1,{pc=4dca0;g} <==use in debugger, this will give you Invincibility against ship collisions - how to poke in cheat engine? -->
That is in the ":bios" rom region at the same address. Just fill 4dc98-4dca0 with 0xea which is the 6502 NOP instruction.
by crazyc
Tue Dec 25, 2018 1:18 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

It not a feature or a bug it's really just an artifact of the way it works. The values to save are generated when the search is done and if you want to save in a different format you have to rerun the search (you can use the saved data so that doesn't need to be recreated).
by crazyc
Sun Dec 23, 2018 4:46 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

8808F3E8 can be edited in the memory viewer, whilst 808F3E8 just shows **** and cannot be edited. Yet wp 808F3E8,1,w gets hit and wp 8808F3E8,1,w doesn't. Watchpoints only trigger on physical addresses because the translation occurs in the cpu device before it access is matched and translating the ...
by crazyc
Sun Dec 23, 2018 1:12 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

BTW, I've just noticed in the proper init.lua when you save a 32 bit value, it's ok in the JSON file but in cheat.simple it comes through as nil rather than d, and in the xml it comes through as ppnil rather than ppd (or pd, as pp==p). Fixed at https://github.com/mamedev/mame/commit/48f61988db4e901...
by crazyc
Sun Dec 23, 2018 12:55 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

I'm still having problems getting the "Perform Compare: LHS EXP RHS" to match the LHS, EXP & RHS entries beneath it. It's only a problem when the "Save Current Memory State" line is used and it updates the LHS and/or RHS beneath it won't reflect in the Perform Compare line unless I manually change ...
by crazyc
Sat Dec 22, 2018 2:01 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

BTW: Is there anyway of adding an extra command at the bottom of the cheat finder menu to allow the game to get paused whenever the cheat finder menu is on screen and unpauses when the TAB key is pressed. When using the debugger search pause/unpause is automatic and it was incredibly handy. I added...
by crazyc
Sat Dec 22, 2018 1:45 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 83
Views: 30454

Re: cheat lua plugins

The problem I have is with 2, it displays a line like "Perform Compare : Slot 1 < Slot 2" on the menu which works great if I change the opsel or value fields but it seems to be one update behind if i change the leftop/rightop or execute the "Save Current Memory" line. Is there a way of fixing this,...
by crazyc
Thu Nov 08, 2018 3:05 pm
Forum: M.A.M.E. "Arcade" Cheats
Topic: [xrally] Infinite time
Replies: 2
Views: 181

Re: [xrally] Infinite time

Oops, the first line is supposed to be '<mamecheat version="1">'.
by crazyc
Tue Oct 02, 2018 7:05 pm
Forum: M.A.M.E. "Arcade" Cheats
Topic: [xrally] Infinite time
Replies: 2
Views: 181

[xrally] Infinite time

Code: Select all

<mamecheat version=1>
<cheat desc="Infinite Time">
<script state="run">
<action>maincpu.ppd@a2248=10000</action>
</script>
</cheat>
</mamecheat>
This only works in the lua cheat engine for reasons unclear.
by crazyc
Fri Jul 13, 2018 11:33 pm
Forum: Cheat Engine Help
Topic: Hotkey question
Replies: 13
Views: 691

Re: Hotkey question

I could add support for this but I don't really know how the ui would work to set it to rotate the options with presses or to just set the one selected.
by crazyc
Sat Jul 07, 2018 8:09 pm
Forum: Cheat Engine Help
Topic: Hotkey question
Replies: 13
Views: 691

Re: cheat lua plugins

You might try instead

<cheat desc="P1 Reptile's Scorpion Body Move Set">
<script state="run">
<action>maincpu.pb@0101E030=4</action>
</script>
</cheat>
by crazyc
Tue May 08, 2018 8:47 pm
Forum: Cheat Engine Help
Topic: do cheats that modify the program space memory's rom work with street fighter iii3?
Replies: 9
Views: 686

Re: do cheats that modify the program space memory's rom work with street fighter iii3?

The simm only sets you can use simmx.x.mb where x.x are the slot numbers (in theory, this might not work because of the period in the name) to set a byte in the rom. For the sets with a cdrom, there's no way to edit the simm data with the built in cheat engine. You'd have to use the Lua cheat engine...
by crazyc
Wed May 02, 2018 10:38 pm
Forum: Cheat Engine Help
Topic: do cheats that modify the program space memory's rom work with street fighter iii3?
Replies: 9
Views: 686

Re: do cheats that modify the program space memory's rom work with street fighter iii3?

I can help with the cheat engine part, the encryption is outside my skill set.
by crazyc
Mon Apr 30, 2018 11:38 pm
Forum: Cheat Engine Help
Topic: do cheats that modify the program space memory's rom work with street fighter iii3?
Replies: 9
Views: 686

Re: do cheats that modify the program space memory's rom work with street fighter iii3?

It's worth noting that you should use the standard cheat engine rather than the plugin one, as the o region isn't being poked with that as the Hit Anywhere cheat doesn't work. Fixed. Edit: The opcode space likely won't work for changing the midi data because it's data and opcode space is only valid...
by crazyc
Wed Apr 18, 2018 4:35 am
Forum: M.A.M.E. "SoftwareList" Cheats
Topic: [tgaunt]
Replies: 1
Views: 477

[tgaunt]

Here's two codes for tiger gauntlet. <mamecheat version="1"> <cheat desc="Infinite Life"> <script state="run"> <action>maincpu.pdb@4a=09</action> </script> </cheat> <cheat desc="Walk though walls"> <script state="run"> <action>maincpu.pdb@1c=0f</action> </script> </cheat> </mamecheat>
by crazyc
Mon Feb 05, 2018 1:55 am
Forum: Cheat Engine Help
Topic: Cheats in [flower] (now that driver is rewritten)
Replies: 5
Views: 512

Re: Cheats in [flower] (now that driver is rewritten)

You can try to make a pull request for that if you want I suspect it would not be committed. It'd be simpler to change the cheats and hiscore entry to use "mastercpu" instead.