[galaga] Auto Fire WITH Fire Button Request

This FORUM is ONLY for posting requests for M.A.M.E. arcade cheats. The actual cheats should be posted in the M.A.M.E. "Arcade" Cheats forum. For cheat requests a 'please' would do no harm...
Post Reply
pac_man_fan2
Posts: 62
Joined: Fri Dec 06, 2019 1:49 pm

[galaga] Auto Fire WITH Fire Button Request

Post by pac_man_fan2 »

I see there is already an "Auto Fire" Cheat for Galaga to Auto Fire, but this happens Continuously, with the fire button is pressed or not.
The problem is sometimes you want to control when the Firing is to happen or not.

My request is to have Auto or Continuous firing Only When the Fire button is held down, and not to fire when released.

The Auto-Fire cheat is Galaxian works in this manner, It also works this way in the 20th and 25th Re-Union games (20pacgal and 25pacmano).
These games have the Auto-Fire feature built into them, to be set by the operator with F2 Service Mode, and Auto-Fires only when the Fire button is held down.

Decoding the 20pacgal and 25pacmano is harder than I thought, so I have no idea what I'm looking for.
Any help would be wonderful!
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: [galaga] Auto Fire WITH Fire Button Request

Post by Pugsy »

Quick Question before I look, are you aware or have you tried the autofire plugin?

It's under Plugins on the main menu (along with the plugin cheat engine & plugin cheat finder)

Just change/create plugin.ini to this:-

Code: Select all

#
# PLUGINS OPTIONS
#
cheat                     1
cheatfind                 1
console                   0
data                      1
discord                   0
dummy                     0
gdbstub                   0
hiscore                   0
layout                    0
portname                  0
timer                     0
autofire                  1
It's actually a lot more customisable then making a cheat, as you can change how often the bullets get fired and you set up the autofire button to a separate key. It saves the settings as well, so you don't have to set it everytime you play the game.

It's made autofire/rapid fire cheats irrelevant to a certain degree.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
pac_man_fan2
Posts: 62
Joined: Fri Dec 06, 2019 1:49 pm

Re: [galaga] Auto Fire WITH Fire Button Request

Post by pac_man_fan2 »

Hi , I didn't know about that, seems to be okay, like the hotkey kinda works out too.

But I'd really like to get a cheat on/off, so it works like it is in the 25pacmano game!
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: [galaga] Auto Fire WITH Fire Button Request

Post by Pugsy »

Don't know if it'll work the same as 25pacmano as that has extra code in it to handle this. But this ahould work...

Code: Select all

  <cheat desc="Auto Fire (Hold Fire Down)"> <comment>Turn it OFF on the Name Entry screen</comment>
    <script state="run">
      <action condition="sub2.pb@99B6==00|(sub2.pb@99B6 BAND ~20)">sub2.pw@99B6=0000|(sub2.pw@99B6 BAND ~1515)</action> 
    </script>
  </cheat>  
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
pac_man_fan2
Posts: 62
Joined: Fri Dec 06, 2019 1:49 pm

Re: [galaga] Auto Fire WITH Fire Button Request

Post by pac_man_fan2 »

Thank you for looking into it!

I see what your trying to do, but this looks to run like the standard Autofire cheat, it'll keep firing even if the Button isnt held down :-(
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: [galaga] Auto Fire WITH Fire Button Request

Post by Pugsy »

Odd....


Doesn't work in the standard cheat engine, but it works absolutely fine in the plugin cheat engine.

I'm using the plugin cheat engine mostly at the moment, so never spotted the difference.

I'd suggest you start using the plugin cheat engine....it's got more features as well (hotkeys & cheat.simple loading)
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
pac_man_fan2
Posts: 62
Joined: Fri Dec 06, 2019 1:49 pm

Re: [galaga] Auto Fire WITH Fire Button Request

Post by pac_man_fan2 »

Wow, this is strange, Thanks for looking into it tho!
Post Reply