Difference between revisions of "Recoil"
| Line 69: | Line 69: | ||
[https://hotr.6bolt.com/ Hook of the Reaper HomePage]<br> |
[https://hotr.6bolt.com/ Hook of the Reaper HomePage]<br> |
||
[https://github.com/6Bolt/Hook-Of-The-Reaper Hook of the Reaper GitHub] <br> |
[https://github.com/6Bolt/Hook-Of-The-Reaper Hook of the Reaper GitHub] <br> |
||
[https://hotr.6bolt.com/pmwiki.php/Tutorial/Tutorial Hook Of The Reaper Tutorial] |
[https://hotr.6bolt.com/pmwiki.php/Tutorial/Tutorial Hook Of The Reaper Tutorial] |
||
<br> |
<br> |
||
Revision as of 10:06, 3 April 2026
External Recoil Support
Recoil Output support was added to Sinden Driver Software in v2.08a please ensure you are using the latest software Sinden Software
Intro
What this means
Sindens are now capable of having the emulator and/or game control the speed and timing of the recoil if you happen to own a Sinden Recoil lightgun. While this allows the recoil to better match the game, this is also dependent on whether the game/emulator supports that functionality.
What's Needed
- Emulator/Program with Output support
- MAME
- DemulShooter
- Output Reading Software
- MAME Hooker
- QMameHook
- Hook of the Reaper (HOTR)
- OutputHooker
- Game Scripts/Settings
LUA Scripting
LUA Info
LUA is a programming language utilised by MAME/Model2Emu and other programs to add customization and functionality
Why Gun Games Need LUA
As the light gun community is already aware, some MAME ROMs/games do not support native state output, which prevents tools like Mamehooker or Hook of The Reaper from understanding game events for force feedback (such as recoil or rumble). In these instances, LUA scripts are needed to enable state outputs (or enhanced state outputs with statistics/counters).
For example, most games will have a memory address for an ammo magazine that decreases with each shot fired, but if there is no ammo magazine in the game then the game logic may increase ammo values with every shot fired infinitely,
so simply changing AMMO_DIRECTION = "increase" will ensure the RECOIL logic correctly triggers in the correct ammo direction. Settings like this help to maximise compatibility across games with little effort being required by the end user in making things work, and will typically only require four key memory addresses:
- Credits
- Game Status* (fallback logic exists if this is missing)
- Ammo
- Life
Downloads and Links
Community LUA Scripts
Thankfully, Argon (Demulshooter dev) provided some sample Mame Model 2 LUA scripts so others could start creating their own LUA scripts and share with the community.
The below scripts are all based on the Mame Model 2 sample files originally provided by Argon (Demulshooter dev) and intended for use with HOTR. The included files are by Argon and FatherOfDucksAndMonkees plus updates to Area51 and Carnevil thanks to DiablosMatrix.
There is a readme file in 2 of the archives so if you have questions please read them
LUA Scripts (Hosted by Thatman84)
djGLiTCH LUA Script Repo Project
Output Software
HOTR
Hook of the Reaper HomePage
Hook of the Reaper GitHub
Hook Of The Reaper Tutorial