MameHooker for the GUN4IR

Sdílet
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=

Komentáře • 73

  • @jaybee1584
    @jaybee1584 Před 7 měsíci +5

    That's a fantastic video you did there Brad, very clear and well explained! Thanks for the hardwork!

    • @Brad-D
      @Brad-D  Před 7 měsíci +4

      Thank you!!
      I just want to help everyone get the most out of their GUN4IR's

    • @Blazetv1718
      @Blazetv1718 Před 5 měsíci

      @@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?

  • @MrGTheSpiritAvenger
    @MrGTheSpiritAvenger Před 5 měsíci +2

    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

    • @w00master
      @w00master Před dnem +1

      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

  • @Arcadejunky01
    @Arcadejunky01 Před 7 měsíci +1

    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.

    • @Brad-D
      @Brad-D  Před 7 měsíci +1

      Happy to help!

  • @coryhug8311
    @coryhug8311 Před 7 měsíci +1

    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.)

  • @dr.jeffreywadleigh
    @dr.jeffreywadleigh Před 7 měsíci +1

    Thanks for the video sir. I now feel ready to get started.

  • @Vidal2021
    @Vidal2021 Před 7 měsíci +1

    I'm watching as soon as the live steam is over tonight....

  • @WingburenArcade
    @WingburenArcade Před 7 měsíci

    Damn, you nailed this video boss. Hard to explain such a complicated process but you darn dilledy diddit

  • @CoryB_1980
    @CoryB_1980 Před 7 měsíci +2

    Awesome, thank for this Brad!

  • @quentinbesancenez1427
    @quentinbesancenez1427 Před 7 měsíci +1

    Thanks for the video. Cant wait to try this out.

  • @BigGunArcades
    @BigGunArcades Před 7 měsíci +1

    Well done my friend very clear and inspiring!!

  • @w00master
    @w00master Před 3 dny

    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.

  • @dallasjackson6460
    @dallasjackson6460 Před měsícem

    Thank you for this video, so useful thank you so much.

  • @TheThigoron
    @TheThigoron Před 2 měsíci

    Huh, that Time Crisis 1 (arcade) was missing commands after mame hooker created the file was unexpected. Is that to be expected? O.o

  • @VideoGames-lm2eq
    @VideoGames-lm2eq Před 7 měsíci

    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!

  • @3483maverick
    @3483maverick Před 6 měsíci

    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?

  • @jantran5349
    @jantran5349 Před 7 měsíci

    Quite relevant information for me, but I am waiting for my sinden light gun (in order) and perhaps hoping it works with batocera

  • @Negativecreep0
    @Negativecreep0 Před 7 měsíci +1

    Brad is this a gun from alixpress? Or custom piece

    • @Brad-D
      @Brad-D  Před 7 měsíci +1

      This is a GUN4IR setup installed in a Time Crisis Arcade Gun Shell from RPEG Electronics

  • @joeyjordan1650
    @joeyjordan1650 Před 7 měsíci

    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?

    • @Brad-D
      @Brad-D  Před 7 měsíci +1

      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

    • @joeyjordan1650
      @joeyjordan1650 Před 7 měsíci

      @@Brad-D Ah! That makes sense.

  • @Vidal2021
    @Vidal2021 Před 7 měsíci

    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.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      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

    • @Vidal2021
      @Vidal2021 Před 7 měsíci

      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.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      @@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

    • @Vidal2021
      @Vidal2021 Před 7 měsíci

      Brad, I have it working. I set up all four players recoil and damage in Tomb Raider. Thanks again for the assist.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      @@Vidal2021 what was the problem?

  • @Kryhmak1er
    @Kryhmak1er Před 7 měsíci +1

    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

    • @Brad-D
      @Brad-D  Před 7 měsíci +1

      make sure you are going to the site via and that your browser isn't automatically trying to go via

    • @skmurdah
      @skmurdah Před 7 měsíci +1

      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!

    • @Brad-D
      @Brad-D  Před 7 měsíci +2

      @@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.

    • @skmurdah
      @skmurdah Před 7 měsíci +1

      @Brad-D Good to note! Thanks again, Brad! When I got mine working, it took things to the next level!

  • @Blazetv1718
    @Blazetv1718 Před 5 měsíci

    I’m on windows 11 and how do I get it to work for teknoparrot

  • @thiagocancian2336
    @thiagocancian2336 Před 3 měsíci

    What is that gun??

  • @RetroRalph
    @RetroRalph Před 7 měsíci +1

    First ✊🏻

  • @shakex2191
    @shakex2191 Před 7 měsíci

    Does or can anyone upload a download link? The actual Mamehooker download link/website is down.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      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

    • @shakex2191
      @shakex2191 Před 7 měsíci

      @@Brad-D That worked. Super thanks!

  • @Vidal2021
    @Vidal2021 Před 7 měsíci

    Brad. Can you share o e of your ahks you use for teknoparrot game? Thanks.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      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

    • @Vidal2021
      @Vidal2021 Před 7 měsíci

      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.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      @@Vidal2021
      Just replace the start command from the bat file to a run command for an AHK

    • @Vidal2021
      @Vidal2021 Před 7 měsíci

      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.

    • @Brad-D
      @Brad-D  Před 7 měsíci

      @@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

  • @PangIrving
    @PangIrving Před 5 měsíci

    Can't Find a download link in the MAMEHooker page,browser issue or anyting wrong?😂

    • @Brad-D
      @Brad-D  Před 5 měsíci

      Here is the link but make sure you go via
      Many browsers try to go via automatically
      dragonking.arcadecontrols.com/static.php?page=aboutmamehooker

    • @PangIrving
      @PangIrving Před 5 měsíci

      @@Brad-D Try on another PC and finally get it!It seems be blocked by system before.Thanks for reply.

    • @PangIrving
      @PangIrving Před 5 měsíci

      @@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.

    • @Brad-D
      @Brad-D  Před 5 měsíci

      Experiment with changing the recoil timings found in the outputs drop-down menu of DemulShooter

    • @PangIrving
      @PangIrving Před 5 měsíci

      @@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?

  • @8bitevolushroom312
    @8bitevolushroom312 Před 5 měsíci

    Hello friend, Thanks for this tuto very useful but can you do a deep tuto how to set it up with Sinden Lightgun please?

    • @Brad-D
      @Brad-D  Před 5 měsíci

      I’m sorry but I don’t own or have ever really used Sindens 😢

    • @8bitevolushroom312
      @8bitevolushroom312 Před 5 měsíci

      @@Brad-D Thanks I think now this is not working for sinden, a shame :/

    • @Brad-D
      @Brad-D  Před 5 měsíci +1

      @@8bitevolushroom312 Rumor has it that you can use the same re-shade that works with the Raw Thrills Jurassic Park

    • @8bitevolushroom312
      @8bitevolushroom312 Před 5 měsíci

      @@Brad-Dnot rumors working

  • @raymonddai
    @raymonddai Před 7 měsíci +1

    7th..... damn thats unimpressive

  • @drady4172
    @drady4172 Před 7 měsíci

    Second lol