• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Dreamcast/Naomi Light Gun Games with Dolphinbar on LR-Flycast Help!

Scheduled Pinned Locked Moved Help and Support
lightgundolphinbarlr-flycastdreamcastnaomi
11 Posts 4 Posters 7.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.
  • B
    Buzzle
    last edited by 4 Jul 2020, 10:04

    Hi All,

    I'm really hoping that someone is able to help me with this as I have spent countless hours trying to get this working.
    I have a Raspberry Pi 3B+ running Retropie 4.6.2 with a Mayflash Dolphinbar to use with a Wii controller as a Lightgun.

    This works well for lr-mame2003 for games like Operation wolf, Alien3, Terminator2 etc. I've got it working in lr-pcsx-rearmed for Time Crisis. I've also just set up in lr-fceumm as a proof of concept to get it working with Duck Hunt and Hogan's Alley.

    I really want to get this working for House of the Dead 2 on Dreamcast and some other Naomi games.

    The steps I have followed are below

    • Run HOTD2 in lr-flycast (dreamcast version)

    • Enter retroarch quick menu > options > show light gun settings > On

    • Save Game Options File

    • Go back to Settings > Input > Port 1 Binds

    • Set device type to Light Gun and bind the gun buttons to the buttons on my wiimote. Mouse index is set to 0

    • Save Configuration and restart ROM

    • Go back into the quick menu > options > set light gun crosshairs

    • After several restarts and checking that settings persist, it's still not working

    I've tried this several times over and even rebuilt my retropie image from scratch. I've used different ROMs to make sure that wasn't the issue.

    The dolphinbar is plugged into port 0 on the pi (which is the only port it works in for MAME etc)
    I have tested by running cat /dev/input/mouse0 and moving the wii controller around, which gives me an output.
    I've checked the logs at /dev/shm/runcommand.log and confirmed that the mouse is bound to 0. I've tried every other binding just in case.

    [INFO] [udev]: Mouse #0 (/dev/input/event1).
    [INFO] [udev]: Mouse #1 (/dev/input/js0).
    [INFO] [udev]: Mouse #2 (/dev/input/mouse0).
    [INFO] [udev]: Plugged pad: DragonRise Inc. Generic USB Joystick (121:6)$
    [INFO] [udev]: Pad #0 (/dev/input/event4) supports 0 force feedback effects.
    [INFO] [udev]: Plugged pad: DragonRise Inc. Generic USB Joystick (121:6)$
    [INFO] [udev]: Pad #1 (/dev/input/event3) supports 0 force feedback effects.
    [INFO] [Joypad]: Found joypad driver: "udev".
    [WARN] [udev]: Full-screen pointer won't be available.
    [INFO] [Video]: Found display server: null
    

    If I hold the coin/select button on the arcade stick, it then shows a cursor in the midlle of the screen which to me says it's not taking the mouse coordinates input.

    I've also tested with other Naomi roms but still having the same issue

    I know that there have been several people that have been able to get this to work so hopefully someone can help

    Thanks

    A K 2 Replies Last reply 22 Jul 2020, 10:41 Reply Quote 0
    • A
      andykt76 @Buzzle
      last edited by 22 Jul 2020, 10:41

      @Buzzle not sure if you've seen this on Reddit:

      https://www.reddit.com/r/RetroPie/comments/g1iglz/light_gun_games_update_with_dolphinbar_pi_4/

      I've not attempted this yet, still setting up my RPI4 but will be giving it a go probably next week.

      Let me know if you have any luck...

      1 Reply Last reply Reply Quote 1
      • K
        Krakatoa @Buzzle
        last edited by Krakatoa 22 Jul 2020, 12:15

        @Buzzle I ran into the exact same issue, every time the game restarted the bindings failed to stick. All the other settings remained though.

        The only way I could fix it was to configure the controller each time, which lead to frustration so I sidelined it. If someone has a workaround I would love to know as well.

        I should point out I followed the guide that @andykt76 linked

        1 Reply Last reply Reply Quote 0
        • A
          andykt76
          last edited by 24 Jul 2020, 13:41

          ah yes, finally tried it. Got it working on House of the Dead 2 for Naomi. Can't get settings to stick on reboot. If anyone has solved this please chime in.

          K 1 Reply Last reply 24 Jul 2020, 16:26 Reply Quote 0
          • K
            Krakatoa @andykt76
            last edited by 24 Jul 2020, 16:26

            @andykt76 Same as me I can't get the setting to stick after reboot either.

            1 Reply Last reply Reply Quote 0
            • A
              andykt76
              last edited by 29 Jul 2020, 11:36

              OK I've sussed it out! Settings also saving when relaunching Retroarch (Flycast) - Only tested on House of the Dead 2 so far, will be trying out mappings for the other games when I get time.

              Here's a step by step process of what I did, some of it may not be needed, but it's the process I followed to get it working...

              Stuff needed: Mayflash dolphin-bar, Wiimote (already paired to the bar), another controller (in my case a 8bitdo SN30 Pro) already mapped in Emulation Station. A keyboard.

              Right, let's get started:

              • Boot up your image of Emulation Station
              • Whilst it's booting up, make sure your Mayflash dolphin-bar is set to 1 (everywhere else seems to suggest 2, but 1 works for me)
              • Make sure wiimote led 1 and 2 are lit up (press home and down until they are)
              • On your 8bitdo, press start
              • Click on Configure Controllers
              • Press and hold a button on the wiimote (the screen will show "Keyboard")
              • Map your D-pad on your Wiimote to the up,down,left and right
              • Start - map to button 1
              • Select - map to button 2
              • Button A - map to the home button
              • skip the other mappings by holding down on the d-pad until you get to hotkey
              • Map hotkey to button 2 (same as what you mapped select to, so you can easily quit retroarch by pressing 1 and 2 on the wiimote)
              • Now to Options in Emulation Station
              • Scroll to Emulation>Retroarch and start it
              • using your gamepad, move right one, then down to Input>set menu toggle gamepad combo. Change this to start+select on your 8bitdo
              • Go to input>port 1 binds
              • Scroll down to lightgun
              • Click on Gun trigger and press wiimote trigger
              • Click on gun aux A, click on wiimote "A" button
              • Click on gun start, on wiimote click 1 button
              • Click on gun select, on wiimote click 2 button
              • Then map D-pad controls on wiimote to up/down/left/right
              • Scroll up and click Save Autoconfig
              • Come out of that menu and go left, scroll down to Configuration file
              • Click Save Current Configuration
              • Save it!
              • Exit retroarch
              • In EmulationStation load House of the Dead 2
              • When game starts, enter quick menu (select and start on 8bitdo)
              • Scroll down to controls
              • Go to port 1 controls
              • Change device type to lightgun
              • Click "save game remap file"
              • Exit Retroarch
              • Restart House of the Dead 2
              • Press button 2 on your wiimote to add coins
              • Press button 1 to start
              • Kill Zombies!
              K 1 Reply Last reply 29 Jul 2020, 12:02 Reply Quote 0
              • K
                Krakatoa @andykt76
                last edited by Krakatoa 29 Jul 2020, 12:02

                @andykt76 Thanks, I'd given up trying to get this working. I'll try out tonight. Hopefully it works with Noami and Atomiswave games as well.

                A 1 Reply Last reply 29 Jul 2020, 14:44 Reply Quote 0
                • A
                  andykt76 @Krakatoa
                  last edited by 29 Jul 2020, 14:44

                  @Krakatoa found that my target reciticule was sticking when firing, so tried remapping the controls again with the dolphin bar in mode 2. Works much better and the controls survive a reboot, so think I've nailed it. Now to get two guns working at the same time...

                  K 1 Reply Last reply 29 Jul 2020, 22:52 Reply Quote 1
                  • K
                    Krakatoa @andykt76
                    last edited by Krakatoa 29 Jul 2020, 22:52

                    @andykt76 Well I tried and now this time I can't get retropie to register the A button or the trigger on the wii mote. At first I thought it was because I had a keyboard plugged in but it wasn't that. So I'm going to give up again, its just not worth the hassle.

                    Got it working, thanks for the help.

                    A 1 Reply Last reply 31 Jul 2020, 16:32 Reply Quote 0
                    • A
                      andykt76 @Krakatoa
                      last edited by andykt76 31 Jul 2020, 16:32

                      @Krakatoa If you are interested, I got other systems working too

                      PS1 games:

                      SSH into \home\RetroPie-Setup\scriptmodules\libretrocores\

                      Find lr-pcsx-rearmed.sh

                      Open it with Notepad ++

                      Change the section to be like this:
                      function sources_lr-pcsx-rearmed() {gitPullOrClone "$md_build" github.com/SindenLightgun/pcsx_rearmed.git}

                      Now go into EmulationStation, or SSH into your box (sudo /home/pi/RetroPie-Setup/retropie_setup.sh)
                      Go into Options>RPSETUP
                      Manage packages>Manage main packages>lr-pcsx-rearmed>Remove
                      Then do an update from source.
                      Now when you launch PS1 games, go into Quick Menu, then in Options select Pad 1 Type = guncon

                      When that has finished then you load lr-pcsx-rearmed as your emulator as usual. Then on the menu under options you can change Pad 1 Type to "guncon".

                      Tested on Elemental Gearbolt, Time Crisis I and II and it works well. However, some games are not working, Die Hard/Die Hard 2, Lethal Enforcers I and II.

                      For NES,
                      got into Retroarch Quick Menu
                      Change Port 1 binds device type to "Zapper"
                      Map Wiimote buttons same as on Dreamcast example
                      In Quick Menu, enable "lightgun settings"
                      then go to Options and change Zapper Mode to "Touchscreen"
                      save configs and restart

                      For SNES, similar to NES, but when launching a game, when the splashscreen for NES comes up, press the button on your controller to bring up the launch menu
                      Change the emulator for the rom to "lr-SNES9x"
                      When Retroarch loads, go to main menu inputs
                      Go to Port 2 Binds
                      Select SuperScope
                      Map trigger, alt fire like before
                      In Quick Menu, check lightgun mode "touchscreen"

                      Master System, same as NES
                      Port 1 - MS Light Phasrer
                      In Quick menu turn on show cross hair
                      touchscreen mode
                      save game mappings

                      Megadrive/Genesis:
                      Set port 2 binds to "MD Menacer"
                      Same settings elsewhere (i.e. touchscreen)

                      Still not bad progress!

                      A 1 Reply Last reply 26 Aug 2021, 18:19 Reply Quote 3
                      • A
                        adman2008 @andykt76
                        last edited by 26 Aug 2021, 18:19

                        @andykt76 great tutorial thank you for doing this. I followed your steps for the PS1 lightgun setup and now I’m stuck on the guncon calibration screen in time crisis. I can’t seem to get it to move past this step, any suggestions or did I take misstep?

                        Thanks!

                        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.

                          This community forum collects and processes your personal information.
                          consent.not_received