cheat lua plugins
Re: cheat lua plugins
hello
Excuse me cause i think a lot of person ask for this but don't find the way to make it possible
Is there a way to apply a cheat when we launch a rom
here's an example for a Lightgun cabinet for disable flash when we shoot
Operation wolf :
<cheat desc="Stop Screen Flashing on Shooting">
<script state="on">
<action>temp0 =maincpu.mb@001131</action>
</script>
<script state="run">
<action>maincpu.mb@001131=02</action>
</script>
<script state="off">
<action>maincpu.mb@001131=temp0 </action>
</script>
</cheat>
thanks
Excuse me cause i think a lot of person ask for this but don't find the way to make it possible
Is there a way to apply a cheat when we launch a rom
here's an example for a Lightgun cabinet for disable flash when we shoot
Operation wolf :
<cheat desc="Stop Screen Flashing on Shooting">
<script state="on">
<action>temp0 =maincpu.mb@001131</action>
</script>
<script state="run">
<action>maincpu.mb@001131=02</action>
</script>
<script state="off">
<action>maincpu.mb@001131=temp0 </action>
</script>
</cheat>
thanks
cheat finder problem in sms
In sms, cheat finder doesn't pick up work ram in maincpu.
- boot mame with sms (eg mame sms alexkidd)
- go to plugin options → cheat finder
- check "cpu or ram". You can select ":sms_vdp, videoram" only. Not ":maincpu, program".
jman
my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
Re: cheat lua plugins
I may have found a bug in LUA plugin.
Info at https://www.mamecheat.co.uk/forums/view ... 031#p28031
Info at https://www.mamecheat.co.uk/forums/view ... 031#p28031
Re: cheat lua plugins
Was fixed and no problem in the latest MAME.fedekrum wrote:I may have found a bug in LUA plugin.
Problem is at plugins/cheatfind/init.lua - Line 308.jman wrote:In sms, cheat finder doesn't pick up work ram in maincpu.
Code: Select all
for num, entry in pairs(space.map.entries) do
if entry.write.handlertype == "ram" then
ram[#ram + 1] = {
offset = entry.address_start & space.address_mask,
size = (entry.address_end & space.address_mask) - (entry.address_start & space.address_mask) }
if space.shift > 0 then
ram[#ram].size = ram[#ram].size >> space.shift
elseif space.shift < 0 then
ram[#ram].size = ram[#ram].size << -space.shift
end
end
end
If you remove or comment out "entry.write.handlertype == "ram", cheatfind picks up work ram in maincpu and searchable.
But unnecessary entries are reserved at the same time.
jman
my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
-
- Posts: 0
- Joined: Sat Oct 05, 2024 9:50 pm
Re: cheat lua plugins
https://preview.redd.it/cannot-find-set ... 43cea6f284 Is there a way I can have this option using cheats for Mam0270???