RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Mad Dog McCree with Lightgun support

    Scheduled Pinned Locked Moved General Discussion and Gaming
    lightgundosboxpcsx-rearmedreicastfceumm
    18 Posts 7 Posters 3.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MrLightgun
      last edited by

      OK the game might split opinions down the middle, is it garbage or is it brilliant (I love it!)? I've managed to get Lightgun support working in lr-DosBox, so as well as demonstrating some minor Raspberry Pi Lightgun performance improvements ahead of my Kickstarter I've demonstrated Mad Dog McCree also.

      Please note there is nothing I can do about the terrible video quality of the Mad Dog McCree Dos version or the terrible acting :-)

      This means there will be support for at least 5 major systems:

      Games and systems shown:
      Time Crisis - PSX - lr-pcsx-rearmed
      Confidential Mission - Dreamcast / Naomi - lr-reicast
      Duck Hunt - NES - lr-fceumm
      Terminator 2 - Arcade - Mame
      Mad Dog McCree - Dos - lr-dosbox (new Lightgun support)

      I feel SNES, Sega MasterSystem and Genesis/MegaDrive support should be possible too in the medium term. I'm planning to merge up lr-pcsx-rearmed, lr-reicast and lr-dosbox generic Lightgun support by June.

      The other Amercian Laser Games work as well but have equally terrible Dos video quality.

      My Kickstarter is now live for the Sinden Lightgun (please forgive the shameless plug) for anyone that would like to get involved in the project. All support is very much appreciated.

      Kickstarter Link

      quicksilverQ mediamogulM 2 Replies Last reply Reply Quote 3
      • quicksilverQ
        quicksilver @MrLightgun
        last edited by

        @MrLightgun I think the standalone dosbox does work with lightgun support and should offer much better performance on a pi 3 than the libretro dosbox. @edmaul69 and @mediamogul I believe have successfully done this. Can either of you shed light if this is possible?

        1 Reply Last reply Reply Quote 0
        • mediamogulM
          mediamogul Global Moderator @MrLightgun
          last edited by mediamogul

          @MrLightgun said in Mad Dog McCree with Lightgun support:

          or the terrible acting

          That's too funny! Coincidentally, a friend and I were discussing bad acting just the day before yesterday and we were trying to think of a lower tier than what's found in shows like 'Renegade' and 'Walker Texas Ranger'. We ended up settling on the 'Mad Dog' series and other American Laser games. Of course, I love those games beyond any explanation. It's almost like you're taking part in a community theater production as you play.

          @quicksilver

          @edmaul69 and @mediamogul I believe have successfully done this. Can either of you shed light if this is possible?

          I don't think that I've personally tested any of my light guns with DOSBox, but it should work so long as there is support for standard pointer input devices. This support was only somewhat recently added in RetroArch, which I guess is why lr-dosbox works.

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          1 Reply Last reply Reply Quote 0
          • M
            MrLightgun
            last edited by

            I was a bit vague, when I meant I got the lightgun to work in lr-dosbox, I meant I had to change the code to add it. I had heard that the stand alone version had slightly better performance but I wanted the compatibility of the libretro version. It was also further ahead with the mouse support so was easier to adapt.

            edmaul69E 1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @MrLightgun
              last edited by

              @MrLightgun lightguns work in standalone versions. I use my dolphinbar on it. I have all of the lasergames discs. They work fine. Im not sure what you are saying works better in lr-dosbox as i havent found any issues yet in the standalone version.

              M 1 Reply Last reply Reply Quote 0
              • M
                MrLightgun @edmaul69
                last edited by

                @edmaul69 said in Mad Dog McCree with Lightgun support:

                @MrLightgun lightguns work in standalone versions. I use my dolphinbar on it. I have all of the lasergames discs. They work fine. Im not sure what you are saying works better in lr-dosbox as i havent found any issues yet in the standalone version.

                Hi @edmaul69 when I tested it the mouse control was only relative and not line of sight. Can you confirm?

                edmaul69E 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @MrLightgun
                  last edited by

                  @MrLightgun i apologize for not knowing the terms. Can you please explain

                  mediamogulM 1 Reply Last reply Reply Quote 0
                  • mediamogulM
                    mediamogul Global Moderator @edmaul69
                    last edited by

                    @edmaul69

                    Hey edmaul69. It's been a while. Hope all is well. The skeleton of it is that absolute input devices, such as USB light guns and touchscreens accept pointer coordinates wherever they're input, whereas relative input devices, like a traditional mouse, require that the input location be moved into place based on a starting and ending of movement. This gets cloudy with light gun reticles appearing to behave like relative input on screen, but the reticle is really just being drawn in absolute coordinates as they change.

                    On a touchscreen, emulated software needing relative input often requires the input cursor to be drug into location and sometimes just fails to function outright. If I'm remembering correctly, RetroArch does something interesting in converting absolute to relative on-the-fly and updates movement accordingly as it happens. If you've tried your guns with DOSBox and it's working well, there almost has to be some sort of base-level support for absolute devices, even if the info is being translated in some way. Maybe there's a setting that governs all this?

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    1 Reply Last reply Reply Quote 0
                    • M
                      MrLightgun
                      last edited by

                      Hi @edmaul69

                      It is a suprisingly awkward thing to explain though mediamogul has done a good attempt.

                      Basically when you point your lightgun at the screen is the mouse cursor always in the same identical spot. In other words is it absolute? Or are you actually just moving the cursor around like a mouse with small movements and there is no consistency with the pointer location? If you turned of the crosshair can you play the game or would you completely lose track of where you were pointing?

                      My understanding is that you are just moving the cursor around in small relative movements like a mouse. What I added to lr-dosbox is that the mouse cursor consistently lines up with where you are pointing, therefore you can play without a crosshair and aim as demonstrated in the video. This gives a Lightgun gaming experience as opposed to a mouse or wii remote style experience.

                      I hope that makes sense.

                      edmaul69E mediamogulM 2 Replies Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @MrLightgun
                        last edited by

                        @MrLightgun any chance you can share the lr-dosbox you created?

                        M 1 Reply Last reply Reply Quote 0
                        • mediamogulM
                          mediamogul Global Moderator @MrLightgun
                          last edited by mediamogul

                          @MrLightgun said in Mad Dog McCree with Lightgun support:

                          What I added to lr-dosbox is that the mouse cursor consistently lines up with where you are pointing, therefore you can play without a crosshair and aim as demonstrated in the video. This gives a Lightgun gaming experience as opposed to a mouse or wii remote style experience.

                          I imagine this has to be somewhat serendipitous to your personal play environment, as even absolute coordinates are subjective to the location of the input device where USB light guns are concerned. All the guns I've used personally, as well as the Wiimote/Dolphin Bar combo make use of absolute coordinates. However, based on the technology, their accuracy is dependent on a calibration routine of some kind, either with its own external software, such as the AimTrak options, or within certain games themselves.

                          Since calibration can be undesirable, or even impossible in certain situations, the go-to solution is usually to add the cross-hairs so often seen. For example, Wii games make use of on-screen crosshairs almost exclusively, in what is most like an attempt to streamline the gaming experience. However, there's a few games in the library that allow calibration, as well as the option to turn the crosshairs off. Played this way, the games feel and behave very close to the original skill-based experience we all remember.

                          What would be great is if RetroArch were to implement a uniform calibration option for absolute USB light gun devices. The method to achieve this is already outlined in the AimTrak confonf utility and is fairly straight-forward as far as I can tell. I believe it's really just adjusting the mouse coordinates based on the offset observed from the setup utility. I always meant to look at it more closely, but have yet to find the time.

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MrLightgun @edmaul69
                            last edited by

                            @edmaul69 said in Mad Dog McCree with Lightgun support:

                            @MrLightgun any chance you can share the lr-dosbox you created?

                            Hi @edmaul69, it only works with my Sinden Lightgun so I need to complete the bits to make it use the standard Lightgun API. I've promised on various threads I'm going to complete this and merge/publish by sometime in June, but hopefully sooner. I'm very busy with my Kickstarter till mid May. I hope that won't be too painful a wait.

                            1 Reply Last reply Reply Quote 0
                            • M
                              MrLightgun @mediamogul
                              last edited by

                              @mediamogul said in Mad Dog McCree with Lightgun support:

                              @MrLightgun said in Mad Dog McCree with Lightgun support:

                              What I added to lr-dosbox is that the mouse cursor consistently lines up with where you are pointing, therefore you can play without a crosshair and aim as demonstrated in the video. This gives a Lightgun gaming experience as opposed to a mouse or wii remote style experience.

                              I imagine this has to be somewhat serendipitous to your personal play environment, as even absolute coordinates are subjective to the location of the input device where USB light guns are concerned. All the guns I've used personally, as well as the Wiimote/Dolphin Bar combo make use of absolute coordinates. However, based on the technology, their accuracy is dependent on a calibration routine of some kind, either with its own external software, such as the AimTrak options, or within certain games themselves.

                              Since calibration can be undesirable, or even impossible in certain situations, the go-to solution is usually to add the cross-hairs so often seen. For example, Wii games make use of on-screen crosshairs almost exclusively, in what is most like an attempt to streamline the gaming experience. However, there's a few games in the library that allow calibration, as well as the option to turn the crosshairs off. Played this way, the games feel and behave very close to the original skill-based experience we all remember.

                              What would be great is if RetroArch were to implement a uniform calibration option for absolute USB light gun devices. The method to achieve this is already outlined in the AimTrak confonf utility and is fairly straight-forward as far as I can tell. I believe it's really just adjusting the mouse coordinates based on the offset observed from the setup utility. I always meant to look at it more closely, but have yet to find the time.

                              Hi @mediamogul , absolute coordinates are correctly absolute though as a standard in most implementations in RetroPie, its that's the Lightgun technology is not accurate without repeated calibration which is pretty much the whole point of the Sinden Lightgun, to solve this problem :-)

                              mediamogulM 1 Reply Last reply Reply Quote 0
                              • mediamogulM
                                mediamogul Global Moderator @MrLightgun
                                last edited by

                                @MrLightgun said in Mad Dog McCree with Lightgun support:

                                which is pretty much the whole point of the Sinden Lightgun, to solve this problem

                                Well, paint me purple and call me the Grimace... I want one. I'll have to look into the Kickstarter later tonight.

                                Also, I was just joking about the purple thing. There are no expectations that you actually make good on that request.

                                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  backstander @mediamogul
                                  last edited by

                                  @mediamogul

                                  Also, I was just joking about the purple thing. There are no expectations that you actually make good on that request.

                                  alt text

                                  mediamogulM 1 Reply Last reply Reply Quote 1
                                  • mediamogulM
                                    mediamogul Global Moderator @backstander
                                    last edited by

                                    @backstander

                                    Never has purple been so perfectly personified.

                                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                    1 Reply Last reply Reply Quote 1
                                    • H
                                      hermit
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Chadmon10
                                        last edited by

                                        I know I’m really late to this party but had to say I too love maddog mccree.

                                        I’m about to build a gun4ir in the next weeks in hopes to have a satisfactory gun for it.

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post

                                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.