Search found 27 matches

by crazyc
Sat Jul 15, 2017 8:12 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

There are changes to cheat/init.lua and luaengine.cpp so unless you can build mame yourself or get a recent build from someone you'll have to wait until the next release.
by crazyc
Fri Jul 14, 2017 3:33 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Now you can set hotkeys similarly to how the input menu works. It doesn't let you set multiple mappings for one cheat (which wouldn't make much sense IMO) [strike]and doesn't currently give feedback when polling except the game freezes for a second[/strike]. Added a popmessage when to press the hotk...
by crazyc
Wed Jul 12, 2017 4:04 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Added to the ui joystick hotkey binding.
by crazyc
Mon Jul 10, 2017 2:20 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

You can set it to a stick by editing the hotkey json file directly. JOYCODE_1_BUTTON1 is the first stick first button, I'll think about how to work that into the UI but it'll currently not be possible to set a key or button by pressing it like the input config.
by crazyc
Fri Jun 30, 2017 6:49 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Made a one bit error, fixed now. Also added the ability to link cheats by replacing the description with a ^.
by crazyc
Tue Jun 20, 2017 3:20 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Based on some lists I could easily convert, here's the giant game genie code list, https://gist.github.com/cracyc/8d29ec0a ... 1ac5206d3a. There are probably some errors but they should mostly work. Just put it in your mame cheat dir and enable the lua cheat plugin.
by crazyc
Tue Jun 13, 2017 8:32 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Added some game genie code support to the simple cheat file format.
by crazyc
Fri Jun 09, 2017 1:54 pm
Forum: Cheat Engine Help
Topic: Z80 port tracing
Replies: 2
Views: 58

Re: Z80 port tracing

"wpi" debugger command.
by crazyc
Fri Jun 09, 2017 1:53 pm
Forum: Cheat Engine Help
Topic: space harrier invisibility doesnt work on current 186
Replies: 6
Views: 125

Re: space harrier invisibility doesnt work on current 186

Feature not a bug, immediate numbers with a leading zero are interpreted as octal now. The plugin doesn't replicate that (and hopefully won't have to).
by crazyc
Sat Jun 03, 2017 12:19 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

I've added support for cheat toggle keys. They can be set using the Set Hotkeys option from the plugin-cheat menu. The keys are saved in a json file in the cheat dir. The menu only allows setting a number plus a modifier for the hotkey but any combination can be added to the json file.
by crazyc
Sat Aug 13, 2016 10:22 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Copy paste error, fixed now.
by crazyc
Wed Jul 20, 2016 1:14 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

A text entry box is not currently doable but I did add a naming feature based on your list. Feel free to suggest more.
by crazyc
Tue Jul 19, 2016 1:58 am
Forum: Cheat Engine Help
Topic: [ddsom] hit anywhere: invalid
Replies: 4
Views: 399

Re: [ddsom] hit anywhere: invalid

It doesn't get reported as invalid for me. Are you using an old cheat archive?
by crazyc
Sun Jul 10, 2016 8:56 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

:vii/10in1:20B9:0003:Infinite Lives ( Lightning Plan ) :mslug:106E93:3C:Infinite Time This should be straightforward except the cpu tag should be included as there are a significant number of drivers with tags other than :maincpu and so the separator can't be a colon. Also the cheatfinder doesn't d...
by crazyc
Mon Jul 04, 2016 2:31 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Here it fixed up, https://gist.github.com/cracyc/388fccf28771a558e0b35e88ec0918c1 . The builtin cheat engine chokes on the memory region though, I'm not sure what the correct syntax is for that. BTW, you seemed (my impression, tell me if I'm wrong) to think that the XML cheats made things too comple...
by crazyc
Sun Jul 03, 2016 9:56 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

The ram cheats working was actually a bug in luaengine. To make them work properly the 8 bit writes need to be 16 bit and the address needs to be divided by 2.

Edit: Rom cheats can work now. The region needs to be ":cartslot:cart:rom" and the multibyte writes need to be byteswapped.
by crazyc
Sun Jul 03, 2016 3:00 pm
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Thanks for pointing it out though as I'd commented out all the vii cheats as they had stopped working in the main cheat engine, didn't realise they worked in the new engine (had to fix the ROM cheats but would have to do that for the xml cheat engine anyway). So another +1 for the plugin cheat engi...
by crazyc
Sun Jul 03, 2016 12:42 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

Kinst cheats point to logical rather than physical addresses which is a bit annoying. Should be able to have a fix soon though. Edit: done, let me know if you see any more (or new) issues. Edit: WRT colons, I'd rather not change that if it's not necessary but I can if it's common. One uncommon const...
by crazyc
Tue Jun 21, 2016 4:02 am
Forum: Cheat Related Announcements
Topic: cheat lua plugins
Replies: 52
Views: 5775

Re: cheat lua plugins

It won't show in the builtin cheat engine only in the cheat plugin (and it does work, just tested it). I added the ability to search shared ram regions of which that range is one (https://github.com/mamedev/mame/blob/59c4af5615097d75db72e1c6bbb47f8b9dcef4aa/src/mame/machine/pgmprot_igs027a_type2.cpp...
by crazyc
Sat May 07, 2016 5:02 am
Forum: Cheat Engine Help
Topic: Quick example of lua cheat finder scripting.
Replies: 0
Views: 350

Quick example of lua cheat finder scripting.

Here's a quick script to illustrate scripting the lua cheat finder. It watches for the "Coin 1" press and shows all ram bytes that increase by one. Might help in finding the credit value. Use with autoboot_script like "mame.exe asteroid -plugin cheatfind -window -autoboot_script credi...

Go to advanced search