MameHooker for the GUN4IR
Vložit
- čas přidán 11. 09. 2024
- Get MameHooker here:
dragonking.arca...
Get DemulShooter Here:
github.com/arg...
Read the DemulShooter Wiki Here:
github.com/arg...
And here is my example Mamehooker ini file (for Gunblade NY)
[General]
MameStart=cmo 1 baud=9600_parity=N_data=8_stop=1, cmo 2 baud=9600_parity=N_data=8_stop=1, cmw 1 S6M1x2xM3x0, cmw 2 S6M1x2xM3x0x
MameStop=cmw 1 M1x2M3x0E, cmw 2 M1x2M3x0E, cmc 1, cmc 2
StateChange=
OnRotate=
OnPause=
[KeyStates]
RefreshTime=
[Output]
P1_LmpStart=
P2_LmpStart=
P1_GunMotor=
P2_GunMotor=
P1_Life=
P2_Life=
P1_CtmRecoil=cmw 1 F0x%s%x0xF4x%s%x255
P2_CtmRecoil=cmw 2 F0x%s%x0xF4x%s%x255
P1_Damaged=nll | cmw 1 F1x2x1xF2x%s%x255
P2_Damaged=nll | cmw 2 F1x2x1xF2x%s%x255
Credits=
That's a fantastic video you did there Brad, very clear and well explained! Thanks for the hardwork!
Thank you!!
I just want to help everyone get the most out of their GUN4IR's
@@Brad-Dhey im running windows 11 with teknoparrot trying to get my shooter games to hook for recoil but the mamehooker app isn’t detecting my game when o load it in teknoparrot do I need to have mame system downloaded as well is something I must do in there for it to detect?
For anyone who runs into problems trying to get this setup on windows 11, try NOT checking run in compatibility mode with windows 7 as when I did that mamehooker was finally able to recognize MAME and it worked properly - However you absolutely NEED to click run program in administrator as if you don’t give it administrator privileges it will give you an error.
I also recommend going to the options and setting your MAME path for Driver/Parent Detection as when I did that it usually also helps in getting the program to recognize games
The whole "Administrator Privileges" thing is incorrect as well. It took me an entire weekend to discover this (as well as after chatting with the Gun4IR folks). If your MAME instance (and TP, etc.) are NOT w/ "Administrative Priveileges" - then Mamehooker should NOT be set with Administrative Privileges. All of the apps working together need to be at the same level. If one is at Administrative - then all of them need to be (or vice versa). I opted to not have everything set at Administrative level (feel it's much safer in that manner) and everything FINALLY worked.
Trying to spread the word on this - I literally spent an entire weekend on just trying to get Mamehooker to "see" outputs. LOL
Thank you for this video Brad. I was trying to get this working over the weekend and it didn’t work for me. Well I know why now, I didn’t have a couple of boxes checked. Well done sir.
Happy to help!
Great guide! The one thing I disagree with is making it run as administrator or in Win 7 compatibility mode. I had it running in Windows 10 previously and now have it running in Windows 11 and have not had to run anything as administrator, or in any kind of compatibility mode. That includes mamehooker, demulshooter, and any emulators.
What I do know is that you can't reliably mix administrator and non-administrator modes. That is, you can't have some things run as admin and other things not run as admin. I.e., run mamehooker without admin rights but run the emulator with admin rights, or vice versa. But as long as I don't run anything as admin, I haven't had any issues. (My user account on the PC IS an administrator but I don't do anything to cause User Account Control to trigger and elevate anything to full admin level.)
Thanks for the video sir. I now feel ready to get started.
I'm watching as soon as the live steam is over tonight....
Damn, you nailed this video boss. Hard to explain such a complicated process but you darn dilledy diddit
😂
Awesome, thank for this Brad!
Thanks for the video. Cant wait to try this out.
Well done my friend very clear and inspiring!!
Hey Folks - want to put this comment in to prevent any more frustration and confusion over mamehooker, mame, and lightguns. Every single guide you'll find online will mention that you *must* put Mamehooker in Administration Mode. THIS IS INCORRECT. Let me just repeat that for you to forgo any future frustration, head banging on the wall, why isn't mamehooker seeing my gun and mame? Well that's the reason. If your MAME is NOT in Adminstration mode, then Mamehooker MUST also NOT BE in Adminstration Mode. (and vice versa)
This is a HUGE detail that EVERY single guide out there does not mention. Trust me when I say this - if your mame.exe is NOT adminstration mode, then mamehooker ALSO should NOT be in Adminstration mode. If mame IS in Administration mode, then THAT IS WHEN mamehooker should be as well.
Thank you for this video, so useful thank you so much.
Huh, that Time Crisis 1 (arcade) was missing commands after mame hooker created the file was unexpected. Is that to be expected? O.o
I noticed you have an AHK to Kill Mamehooker. Can you explain what you have that for and share the AHK? Thanks for the great video!
I'm running multiple hard drives with games. Mamehooker is on C drive and not hooking the games when they launch. Does mamehooker have to be downloaded in each drive?
Quite relevant information for me, but I am waiting for my sinden light gun (in order) and perhaps hoping it works with batocera
Brad is this a gun from alixpress? Or custom piece
This is a GUN4IR setup installed in a Time Crisis Arcade Gun Shell from RPEG Electronics
Do you think there's any way mamehooker can make Aimtrak (only has single shot recoil) recoil as it would with an automatic rifle type game?
Alas no 😢
The recoil on Aimtrak is just wired to the trigger
There is no way to send recoil commands to it over the data cable
@@Brad-D Ah! That makes sense.
Does mame have to hook in order for demul to hook? I haven't had any luck with the version of mame on my retro Lizard drive, but I plan to add 0.196 and see if it hooks. Also, on my dedicated light gun pedestal, I can't get show any compatible devices. I have a ledwiz installed. I've also tried plugging in an xbox360 controller, and still nothing. It's likely something simple, but it's not trivial for me.
Mame and Demul(shooter) have nothing to do with each other.
Try mame 0196, make sure you have "output windows" in the mame.ini file and then try to see if Mamehooker hooks your mame games
For games supported by demulshooter, Demulshooter has to hook the game, then mamehooker should hook the outputs coming through demulshooter
Brad, I had some success. There are three versions of mame, on the drive, and one was not set with windows for the output in the ini. I got the ding and speach when I 1st launched op wolf and term2. Still no joy with DemulShooter. I checked the output in the gui was checked and launched some games directly from the ahk, but still nothing. Again it's probably something trivial for you.
@@Vidal2021 for the DemulShooter games, is DemulShooter hooking?
Look at the DemulShooter icon in the system tray and check the color of it.
red means it is still waiting to hook and green means hooked
if it's red, we need to check your DemulShooter execution
if it's green, we need to see if mamehooker hooks the output
open the debug window and see if it shows the game rom/outputs
Brad, I have it working. I set up all four players recoil and damage in Tomb Raider. Thanks again for the assist.
@@Vidal2021 what was the problem?
Thx for this video. Still can't make it work. I don't know why but mamehooker doesn't recognize my GUN4IR. Links to the soft seems down
make sure you are going to the site via and that your browser isn't automatically trying to go via
Your guns won't (and don't need to) show up in the mamehooker software as they are serial devices. Also I found running mamehooker as administrator was preventing it from hooking. Good luck!
@@skmurdah this is a great example how mamehooker can act differently on different people’s set ups. On mine for example, mamehooker will *not* hook unless it’s running as administrator.
@Brad-D Good to note! Thanks again, Brad! When I got mine working, it took things to the next level!
I’m on windows 11 and how do I get it to work for teknoparrot
What is that gun??
First ✊🏻
WINNER! 🤣
Does or can anyone upload a download link? The actual Mamehooker download link/website is down.
it looks like that site's certs are expired. So you can't get there via
I linked it via but your browser is probably putting in front automatically when you click the link
change the URL to start with and you should be able to get to the page
@@Brad-D That worked. Super thanks!
Brad. Can you share o e of your ahks you use for teknoparrot game? Thanks.
Do you mean the TeknoParrot that are supported by Demulshooter?
In those AHK files, I have to reference my copy of demulshooter. And my path, for that will be different from whatever you might have.
Are you just looking to confirm what unique command arguments Demulshooter needs for each game?
If so, you can find them all on their wiki that I linked in the video description, or you can go to the folder where your copy of Demulshooter is, in a command, prompt window, and type
Demulshooter.exe -help
And
DemulshooterX64.exe -help
That will also show you all of the target and ROM options for each game
Brad. Thanks. I found your older video on launching teknoparrot games with a bat file, with launchbox. Just need to write an ahk, in the place of the bat, to start DemulShooter and then the teknoparrot game.
@@Vidal2021
Just replace the start command from the bat file to a run command for an AHK
Brad, my primary goal is to get all of the more recent games, that have outputs to work natively or with DemulShooter. The stand-a-lone games, on Joel's drive, that have a simple start ahk are no issue. TRA was easy and I have it working. But most of the others like, HOTDSD is an example of a game I can't get to work. In teknoparrot tthe setup points to 2 exes. I have no idea how to deal with that. I would have expected he uses DemulShooter for most outside of teknoparrot. I have the basics, but trying to work with, or around , Joel's setups are not easy. Do you have his drive so you can see exactly whaI am speaking about? Thanks again.
@@Vidal2021 DemulShooter is just an add-on tool that allows 2-guns to work and/or get outputs to work.
You will still run the games supported by DemulShooter via their original processes or emulators.
For Teknoparrot games that point to 2 exe's, you only have to worry about that when configuring the Game in the Teknoparrot game settings.
Once it's set there, you can launch the game via Teknoparrot from your AHK with a single command line, then launch DemulShooter with a second command line.
Here's an example (for Transformers)
Type the below into a notepad, then save it as a .ahk file in the same directory as your Teknoparrot UI
#SingleInstance force
run, C:\Demulshooter\DemulShooter.exe -target=ringwide -rom-tha
run, TeknoParrotUI --profile=Transformers.xml
Esc::
Process,Close,DemulShooter.exe
Run,Taskkill /im "DemulShooter.exe" /F
ExitApp
return
In the above example:
- the first line is just a single instance force (always a good ideal for AHK scripts)
- then the DemulShooter Command line for Transformers Human Alliance (be sure to edit that to put in the correct pathway to your local copy of DemulShooter)
- Then the command line telling Teknoparrot to launch Transformers
- Then I have a block at the bottom telling the script to end and shut down DemulShooter and when I hit my Escape key.
NOTE: DemulShooter should self-terminate when the game it has hooked exits, but I put this in just incase the program gets stuck as It does no harm and yif DemulShooter gets stuck on game exit it won't be able to hook any other games
Can't Find a download link in the MAMEHooker page,browser issue or anyting wrong?😂
Here is the link but make sure you go via
Many browsers try to go via automatically
dragonking.arcadecontrols.com/static.php?page=aboutmamehooker
@@Brad-D Try on another PC and finally get it!It seems be blocked by system before.Thanks for reply.
@@Brad-D After 1day struggle I finally hook teknoparrot and get recoil feedback in Operation Ghost.But recoil in 3-shot mode is wired.Unlike the case you show in the video,sometimes it hit 3 times and sometimes hit twice.Recoil in full-auto mode is also unconsistant.
Experiment with changing the recoil timings found in the outputs drop-down menu of DemulShooter
@@Brad-D I tried serveral latency value on that menu but didn't get a good result.Would you like to share your value or it just depand on the recoil module used by the gun?
Hello friend, Thanks for this tuto very useful but can you do a deep tuto how to set it up with Sinden Lightgun please?
I’m sorry but I don’t own or have ever really used Sindens 😢
@@Brad-D Thanks I think now this is not working for sinden, a shame :/
@@8bitevolushroom312 Rumor has it that you can use the same re-shade that works with the Raw Thrills Jurassic Park
@@Brad-Dnot rumors working
7th..... damn thats unimpressive
🤣
Second lol
😂