RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Wii remote for use a gun

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.2rasperry pi3dolphin barlight guncontoller
    44 Posts 7 Posters 26.5k 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.
    • dankcushionsD
      dankcushions Global Moderator @mediamogul
      last edited by

      @mediamogul

      I took for granted that it might not be necessary. I'll try that this evening as well. I take it that the same goes for all the other cores I'm testing with.

      i can't speak for the other cores, but certainly the latest RA and mame2003 SHOULD enable multiple mice to be used. previously it worked ok with one. i'm not sure about pointer vs absolute devices and changes around those in other corees - that's a bit of creep from what this github issue is about, but maybe that code has changed also.

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

        Tonight, I focused on lr-mame2003 running 'Terminator 2'. I compiled the latest 2003 nightly and tested both udev and linuxraw as the input drivers. All combinations came with the same results as last night. The two standard mice will not function at the same time, despite the 'mouse index' setting. Each mouse would operate on it's own, so long as it occupied the mouse0 assignment from the system.

        The same holds true with the dolphinBar, except it never registers movement, only clicks when it's occupying the mouse0 assignment from the system. I'll post to the github thread linked above sometime tomorrow, but I'll make sure to only mention the mouse index situation, as it looks like absolute coordinates will be a separate issue.

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

        dankcushionsD 1 Reply Last reply Reply Quote 1
        • dankcushionsD
          dankcushions Global Moderator @mediamogul
          last edited by

          @mediamogul can you please post your /opt/home/pi/RetroPie/configs/all/retroarch-core-options.cfg? specifically i'm checking to see that the mame2003-mouse_device setting is set to 'mouse' rather than pointer.

          FYI it looks like they've closed the issue here: https://github.com/libretro/RetroArch/issues/4775

          but i'm not sure anyone tested it using pi + udev + raspbian, etc. you may have found a bug!

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

            @dankcushions

            Ah nice, I forgot about that setting.

            mame2003-mouse_device = "mouse"
            

            Would that affect the multiple mouse feature, or just the absolute coordinates?

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

            dankcushionsD 1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator @mediamogul
              last edited by

              @mediamogul said in Wii remote for use a gun:

              @dankcushions

              Ah nice, I forgot about that setting.

              mame2003-mouse_device = "mouse"
              

              Would that affect the multiple mouse feature, or just the absolute coordinates?

              it just makes sure that it listens for a mouse device (ie, standard USB mouse), and following these changes, multiple mice, in theory! it definitely works with one mouse.

              BTW you need to make sure you're using a game that understands a mouse device. my test case was always centipede. i didn't test terminator 2 - best to stick with centipede IMO.

              if you change the mouse_device to "pointer" mame2003 should understand any recognised absolute devices, but i believe previously the UDEV driver had difficulty with them. absolute devices aren't really covered in these changes AFAIK. best to leave those for the moment.

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

                @dankcushions

                best to stick with centipede IMO.

                Shouldn't I be testing with a game that would support two mice, or do you just mean for testing pointer devices?

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

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

                  Above, it was thought that better support for pointer devices would come as a side-effect from the recent addition of multiple mouse support for RetroArch. This would have directly related to this thread, but since it isn't the case, it's probably best to continue this discussion here where it's not so off topic.

                  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
                    masterful @BGallagherLA
                    last edited by masterful

                    @BGallagherLA Hi there yes it's paired to the dolphin bar. Plugged into the usb of the pi3.
                    Sorry it's taken a long time to respond I have been off line so to speak

                    B 1 Reply Last reply Reply Quote 0
                    • M
                      masterful @BGallagherLA
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • B
                        BGallagherLA @masterful
                        last edited by

                        @masterful No, you have to go into Retropie settings and pair the Wiimote to your Pi's built-in Bluetooth, after plugging in the DolphinBar. If you did that, then I don't know... I have never had to calibrate anything in AdvMame 1.4 and it's very accurate (except for maybe one or two games, out of like 50).

                        M 1 Reply Last reply Reply Quote 0
                        • B
                          BGallagherLA
                          last edited by

                          Also, in case anyone is interested, I put a video together a week or so ago, showing how my setup works on Lethal Enforcers and Operation Wolf -

                          1 Reply Last reply Reply Quote 0
                          • M
                            masterful @BGallagherLA
                            last edited by

                            @BGallagherLA
                            Ok that might help. I've been trying to install touchmote software and I don't think that's been helping me.
                            I will pair it with the pi3 Bluetooth then try again.
                            Just compiling a list of 5 games to try.
                            Thanks for all the help

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              BGallagherLA @masterful
                              last edited by

                              @masterful Ah, yeah I don't know what that software is, but as long as you have these games in AdvMame 1.4, you dont have to calibrate anything, except mapping extra buttons on a few games like Operation Wolf, otherwise, trigger works automatically and crosshairs move right away. I have like 50 games that work in this setup, and you can see two that work in the video above, Lethal Enforcers and Operation Wolf. I can get you a full list of the games that work on my setup if you want.

                              mediamogulM edmaul69E 2 Replies Last reply Reply Quote 0
                              • mediamogulM
                                mediamogul Global Moderator @BGallagherLA
                                last edited by

                                @BGallagherLA

                                but as long as you have these games in AdvMame 1.4

                                Same goes for AdvanceMAME 3.5 too.

                                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
                                • edmaul69E
                                  edmaul69 @BGallagherLA
                                  last edited by

                                  @BGallagherLA i too would love a full list. Any chance you could post your config/s for these games. I plan to use advmame only for these games with the dolphinbar so it would save me a lot of time.

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

                                    @mediamogul Is that a new experimental one? Don't believe I have 3.5

                                    mediamogulM 1 Reply Last reply Reply Quote 0
                                    • B
                                      BGallagherLA @edmaul69
                                      last edited by

                                      @edmaul69 No configs needed, and I wouldn't even know where to get the file if I wanted to. All I know is that, if these games are running AdvMame 1.4 (or apparently AdvMame 3.5), no calibration is needed. Literally just plug and play. Only thing you need to do is on games like Operation Wolf is to map the grenade button to the Wiimote, otherwise the trigger acts as both buttons. Anyway, here are all the games that work on AdvMame 1.4:

                                      Alien 3
                                      Bang!
                                      Beast Busters
                                      Blood Bros. (Set 1)
                                      Born To Fight
                                      Bubble Trouble (Japan, Rev C)
                                      Cheyenne
                                      Chiller
                                      Clay Pigeon (Version 2.0)
                                      Crackshot (Version 2.0)
                                      D-Day
                                      Dragon Gun
                                      Ghost Pilots
                                      Ghoul Panic
                                      Laser Ghost (World)
                                      Last Bronx
                                      Lethal Enforcers (11/19/92)
                                      Lethal Enforcers II
                                      Lethal Justice
                                      Line of Fire
                                      Lord of Gun (USA)
                                      Mad Dog McGree
                                      Mechanized Attack
                                      NY Captor
                                      Narc
                                      Ninja Assault
                                      Operation Thunderbolt
                                      Operation Wolf
                                      Polict10 (Police Trainer)
                                      Riot
                                      Shootout
                                      Showdown
                                      Space Gun
                                      Steel Gunner
                                      Terminator 2
                                      The Tin Star
                                      Under Fire
                                      Vs. Duck Hunt
                                      Vs. Freedom Force
                                      Vs. Gunsmoke
                                      Vs. Hogan's Alley
                                      Wanted
                                      Who dun It
                                      Zero Point
                                      Zero Point 2
                                      Zombie Raid

                                      I'm sure there are more, but those are the ones I have found that work. Trying to get Area 51 and Maximum Force to work, but those have CHD files and I cant get those working. Newer games like that, and Time Crisis, dont seem to work well. I can technically get Time Crisis working but on my Pi 2 it SUPER laggy and not even really playable. Hope this helps. Let me know if you have any other questions.

                                      M 1 Reply Last reply Reply Quote 2
                                      • mediamogulM
                                        mediamogul Global Moderator @BGallagherLA
                                        last edited by mediamogul

                                        @BGallagherLA

                                        I believe it's just listed as 'advmame' under the optional installs and is the latest version of AdvanceMAME. The head developer added official Pi support in version 3.2. It runs very well and has hardware accelerated framebuffer support. The latest AdvanceMESS installs alongside it also.

                                        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
                                          masterful @BGallagherLA
                                          last edited by

                                          @BGallagherLA thanks for posting this.
                                          Sorry to ask this. Do you have to nap the buttons in the retropie controller setup for this or do they detect automatically in mame?
                                          I tried to pair my Wii remote in retropie config as a blue tooth device but it did not work.
                                          Thanks

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            BGallagherLA @masterful
                                            last edited by

                                            @masterful It should automatically detect the trigger in AdvMame 1.4 but not anything else. If it doesn't detect the trigger button at the bottom, I don't know... are you on the latest version of RetroPie and AdvMame? This only works on the latest version of AdvMame which came out last year and added light gun support, so you may want to uninstall and reinstall AdvMame to get the latest version. There are some games though like Operation Wolf, where the gun has an additional button for grenades, that you have to map the A button for the grenade. Otherwise, the trigger basically acts as both buttons, and you waste all your grenades right away

                                            M 1 Reply Last reply Reply Quote 0
                                            • 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.