Jump to content
LaunchBox Community Forums

UNIVERSAL MAME LUA SCRIPT FOR STATE OUTPUTS (DESIGNED FOR LIGHT GUNS)


Recommended Posts

Posted

I just wanted to share my project with everyone that aims to add light gun force feedback to a bunch more MAME games via LUA script and is compatible with Mamehooker and Hook Of The Reaper (preference is to use HOTR as that is what I'm personally more familiar with).

It operates under a universal script I made that has enough settings to be useful for any game, so the community can use it and add support for more games, which I can add into future releases.

The list of supported games is available in the "Progress Notes" text file on GitHub, and in the release description. Please read the GitHub readme for more details.

It's still in the final beta testing phase, but it should be finalised very soon. I hope the community finds it useful.

https://github.com/djGLiTCH/MAME-LUA-SCRIPT-STATE-OUTPUTS

  • Like 2
Posted

Thanks for your work. Now i use co pilot to understand all this. He told me that i need a special Version of mame to let the recoil work. He made this message for me 

Quick question for the HOTR users here:
>  
> I’m looking for the HOTR‑compatible MAME build (0.250 or 0.253) that includes the output_lua plugin and the scripts folder.  
>  
> Specifically the version that has:
>  
> - plugins/output_lua/  
> - scripts/*.lua (Duck Hunt, Point Blank, Area 51, etc.)  
> - support for -output lua  
> - recoil / hit‑rumble events for HOTR  
>  
> I’ve already tried several packs (RetroBat, Sinden builds, MAMEGUN, 0.259LG, etc.), but none of them include the HOTR plugin.  
>  
> I only need the standalone MAME folder (around 200–300 MB), not a full pack.  
>  
> If anyone has the HOTR‑MAME 0.250 or 0.253 build and could share it with me, I’d really appreciate a DM.  
>  
> Thanks in advance!

Do you know if this is wat u really need to let mame work?

Posted

No worries, hope you enjoy it.

Not all games/ROMs in MAME require these LUA scripts to enable recoil/rumble in light gun games, only some.

What you need is any version of MAME, but I always recommend the latest version (currently 0.285), a tool called Hook Of The Reaper (HOTR), which is needed to communicate between games and your light guns to control recoil/rumble/etc, and then my files, which enable support for games/ROMs in MAME that don't typically support recoil/rumble.

To install my scripts, you just need to copy the relevant files into the relevant MAME and HOTR folders, which are already in the correct folder location in the downloaded file. Hope this helps.

Posted

Thanks for your reply! Co pilot is saying that the lua scripts will only work if i have a Version of mame with the output_lua plugin. Or is co pilot wrong in this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...