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

    XBOXDRV Guidance Needed

    Scheduled Pinned Locked Moved Help and Support
    xboxdrv
    106 Posts 3 Posters 32.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.
    • hansolo77H
      hansolo77
      last edited by hansolo77

      @mediamogul I think I might have it, at least for Player 1... I'm not sure what I did.. I followed all the steps. It just works now. GRR. I wish I knew what I changed to make it work. I will say, once I finally had it, I had to go back in and change the ABS mapping to X1/etc instead of dpad_x. But aside from that, I don't know what I did. :( Maybe it was rebooting after adding that change to the /etc/udev/rules.d/99-xboxdrv.rules. I actually have mine configured as

      SUBSYSTEM=="input", ATTRS{name}=="Microsoft X-Box 360 pad - Keyboard Emulation", GROUP="users", MODE="0666", ENV{ID_INPUT_KEYBOARD}="1"
      SUBSYSTEM=="input", ATTRS{name}=="NES Pad (xboxdrv) - Keyboard Emulation", GROUP="users", MODE="0666", ENV{ID_INPUT_KEYBOARD}="1"
      

      When I read the bit at the bottom of it, saying it was dependent on the use of --mimic-xpad, I had a feeling I needed to add my OWN device name to the list as well. Maybe that's wrong, can you confirm?

      In any case, here's my working "prototype":

      #!/bin/bash
      sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
          --evdev /dev/input/event3 \
          --detach-kernel-driver \
          --device-name "NES Pad (xboxdrv)" \
          --evdev-absmap ABS_X=x1,ABS_Y=y1 \
          --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
          --dpad-only \
          --ui-axismap x1=KEY_LEFT:KEY_RIGHT,y1=KEY_UP:KEY_DOWN \
          --ui-buttonmap start=KEY_T,back=KEY_E,b=KEY_B,a=KEY_A \
      &
      "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _SYS_ "nes" "/home/pi/RetroPie/roms/nes/Bubble Bobble (USA).zip"
      sudo killall xboxdrv
      

      Stage 2 will be finding out how to make it work with 2 controllers (and figuring out how to add the player2 keyboard inputs).

      Also, I'm still getting that error:

      xboxdrv: /usr/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = Controller; typename boost::detail::sp_member_access<T>::type = Controller*]: Assertion `px != 0' failed.
      

      Who's Scruffy Looking?

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

        @hansolo77 said in XBOXDRV Guidance Needed:

        I think I might have it

        Nice!

        Maybe it was rebooting after adding that change to the /etc/udev/rules.d/99-xboxdrv.rules

        I'd put money on that being what solved the issue.

        I had a feeling I needed to add my OWN device name to the list as well.

        Once you customized your device name, it was the right thing to do.

        Also, I'm still getting that error

        This I'm not sure about, as I've never seen it come up before. Does the error still come up when triggered from /opt/retropie/configs/all/runcommand-onstart.sh like your previous 'Streets of Rage Remake' mapping?

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

        hansolo77H 1 Reply Last reply Reply Quote 0
        • hansolo77H
          hansolo77 @mediamogul
          last edited by

          @mediamogul said in XBOXDRV Guidance Needed:

          Does the error still come up when triggered from /opt/retropie/configs/all/runcommand-onstart.sh like your previous 'Streets of Rage Remake' mapping?

          Good question. I'll have to check this when I get home tonight. I didn't want to add this config to the onstart yet as I still want to get a Player 2 map working as well first. It's not discussed in the RetroPie wiki, so I'll have to look over at the official documentation. A quick glance makes me think I have to run the driver in daemon mode. But if I go further down the list, I see:

          If you want to use multiple wired controllers you need to start multiple instances of the xboxdrv driver and append the -i argument to select the appropriate controller like this:

          $ xboxdrv -i 1
          

          So does that mean, in my script, I basically have it say xboxdrv -i 1 (and then all the cfg) ending in the &, and then the next line be xboxdrv -i 2 (and all the 2nd controller mapping) and then the command to launch the game? Will the driver still properly unload itself with 2 instances like that?

          Also, I noticed that after rebooting, and then remapping the keyboard in ES, it actually changed the button mappings in the retroarch.cfg at the top of the file, rather than down at the bottom where I had added the lines you provided (I set it back to the way it was before). So do I simply add those player 2 lines right below where the modified keys for player 1 are listed?

          Lastly, is there any way that you know of that can make RetroArch not pop up an alert message saying that "so & so controller isn't configured"? Since I created a device name, it shows up like that now every time RetroArch starts. It's not there very long, but it's a little distracting.

          Thanks!

          Who's Scruffy Looking?

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

            @hansolo77 said in XBOXDRV Guidance Needed:

            A quick glance makes me think I have to run the driver in daemon mode.

            I don't believe that applies when using the -evdev functions of xboxdrv. You can just append a second command to the first using a semicolon.

            it actually changed the button mappings in the retroarch.cfg at the top of the file, rather than down at the bottom

            If you're saying that these entries are listed twice, they shouldn't be. To my recollection, I had to add the player 2 entries, but the player 1 entries should already be there and shouldn't be duplicated.

            Lastly, is there any way that you know of that can make RetroArch not pop up an alert message

            I believe the entry that controls that is:

            # Enable usage of OSD messages.
            # video_font_enable = true
            

            You'll need to uncomment the second line there and of course change true to false.

            Edit: It should be noted that this will eliminate all onscreen text, making visual feedback for features like RetroAchievements nonexistent as well.

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

            hansolo77H 1 Reply Last reply Reply Quote 0
            • hansolo77H
              hansolo77 @mediamogul
              last edited by

              @mediamogul said in XBOXDRV Guidance Needed:

              Edit: It should be noted that this will eliminate all onscreen text, making visual feedback for features like RetroAchievements nonexistent as well.

              That's Ok.. I'll just keep it then.

              I'm still lost on how to do the the 2-controller thing. Can you give me an example of one you're using?

              Who's Scruffy Looking?

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

                @hansolo77 said in XBOXDRV Guidance Needed:

                Can you give me an example of one you're using?

                I actually don't automate my mappings. I launch a series of player 1 and player 2 scripts that I keep in the RetroPie menu that are organized by system. I do this because I have several dozen controllers that I might want to make use of at any time and that particular scenario just doesn't lend itself to automation. That being said, I have automated a smaller group of two player controller mappings for friends and family. Using your mapping from above twice as an example, adding a second player can be accomplished by combining two mappings into one command that should look something like:

                if [ "$1" = "sorr" ]
                then
                sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                    --evdev /dev/input/by-id/usb-©Microsoft_Xbox_360_Wireless_Receiver_for_Windows_E1594E70-event-joystick \
                    --detach-kernel-driver \
                    --silent \
                    --force-feedback \
                    --deadzone-trigger 15% \
                    --deadzone 4000 \
                    --mimic-xpad \
                    --dpad-as-button \
                    --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RX=x2,ABS_RY=y2,ABS_Z=lt,ABS_RZ=rt \
                    --evdev-keymap BTN_SOUTH=a,BTN_EAST=b,BTN_NORTH=x,BTN_WEST=y,BTN_TL=lb,BTN_TR=rb,BTN_THUMBL=tl,BTN_THUMBR=tr,BTN_MODE=guide,BTN_SELECT=back,BTN_START=start,BTN_TRIGGER_HAPPY3=du,BTN_TR$
                    --ui-buttonmap x=KEY_X,a=KEY_C,b=KEY_V,lb=KEY_A,Y=KEY_S,rb=KEY_D \
                    --ui-buttonmap guide=KEY_B,start=KEY_ENTER,back=KEY_ESC \
                    --ui-buttonmap du=KEY_UP,dd=KEY_DOWN,dl=KEY_LEFT,dr=KEY_RIGHT \
                    & ; \
                sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                    --evdev /dev/input/by-id/usb-©Microsoft_Xbox_360_Wireless_Receiver_for_Windows_E1594E70-event-joystick \
                    --detach-kernel-driver \
                    --silent \
                    --force-feedback \
                    --deadzone-trigger 15% \
                    --deadzone 4000 \
                    --mimic-xpad \
                    --dpad-as-button \
                    --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RX=x2,ABS_RY=y2,ABS_Z=lt,ABS_RZ=rt \
                    --evdev-keymap BTN_SOUTH=a,BTN_EAST=b,BTN_NORTH=x,BTN_WEST=y,BTN_TL=lb,BTN_TR=rb,BTN_THUMBL=tl,BTN_THUMBR=tr,BTN_MODE=guide,BTN_SELECT=back,BTN_START=start,BTN_TRIGGER_HAPPY3=du,BTN_TR$
                    --ui-buttonmap x=KEY_X,a=KEY_C,b=KEY_V,lb=KEY_A,Y=KEY_S,rb=KEY_D \
                    --ui-buttonmap guide=KEY_B,start=KEY_ENTER,back=KEY_ESC \
                    --ui-buttonmap du=KEY_UP,dd=KEY_DOWN,dl=KEY_LEFT,dr=KEY_RIGHT \
                    &
                fi
                
                

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

                1 Reply Last reply Reply Quote 0
                • hansolo77H
                  hansolo77
                  last edited by

                  Thanks for that. It helps to have a visual aide to see what exactly I need to do. You were saying to add a semicolon, but I didn't know where. So the only thing I would need to do, since both controllers are identified exactly the same, is just change the event# for the 2nd controller? Seems simple enough. I'll have a go with this tomorrow after work. Tonight's adventure dealt with installing a new Mausberry circuit in my Sega Genesis hub (and then finding out it doesn't quite work right). GRRR

                  Who's Scruffy Looking?

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

                    @hansolo77 said in XBOXDRV Guidance Needed:

                    Tonight's adventure dealt with installing a new Mausberry circuit in my Sega Genesis hub (and then finding out it doesn't quite work right). GRRR

                    Yeah, I've been following that off and on. It looks like a great project. I hope it works out.

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

                    1 Reply Last reply Reply Quote 0
                    • hansolo77H
                      hansolo77
                      last edited by

                      I've been working (at my job) so much, I'm really exhausted today. It's my day off, and I don't feel like messing with this ANY today. :( Kinda bummed about that. I can confirm now though that my Sega build is complete so woohoo there! I worked on that a bit last night to fix the power problem I was having. So now I'm free to further dive into the abyss of XBOXDRV. :)

                      I'm going to try and find some time to mess with this maybe tomorrow after work. I'm working early so I'll be home earlier to work on it.

                      Who's Scruffy Looking?

                      1 Reply Last reply Reply Quote 0
                      • hansolo77H
                        hansolo77
                        last edited by

                        So I decided to try and spend maybe like 10-20 minutes on this just now. Here is my script:

                        #!/bin/bash
                        sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                            --evdev /dev/input/event3 \
                            --detach-kernel-driver \
                            --device-name "NES Pad Player 1 (xboxdrv)" \
                            --evdev-absmap ABS_X=x1,ABS_Y=y1 \
                            --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
                            --dpad-only \
                            --ui-axismap x1=KEY_LEFT:KEY_RIGHT,y1=KEY_UP:KEY_DOWN \
                            --ui-buttonmap start=KEY_T,back=KEY_E,b=KEY_B,a=KEY_A \
                        & ; \
                        sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                            --evdev /dev/input/event4 \
                            --detach-kernel-driver \
                            --device-name "NES Pad Player 2 (xboxdrv)" \
                            --evdev-absmap ABS_X=x1,ABS_Y=y1 \
                            --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
                            --dpad-only \
                            --ui-axismap x1=KEY_G:KEY_H,y1=KEY_I:KEY_J \
                            --ui-buttonmap start=KEY_NUM9,back=KEY_NUM0,b=KEY_M,a=KEY_K \
                        &
                        "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _SYS_ "nes" "/home/pi/RetroPie/roms/nes/Bubble Bobble (USA).zip"
                        sudo killall xboxdrv
                        

                        But when I run it, I get an error:

                        ./test.sh: line 11: syntax error near unexpected token `;'
                        ./test.sh: line 11: `& ; \'
                        

                        Are you sure about that semicolon?

                        Who's Scruffy Looking?

                        1 Reply Last reply Reply Quote 0
                        • hansolo77H
                          hansolo77
                          last edited by hansolo77

                          Ok, so I figured out one thing.... Adding the "Player #" text into the --device-name caused nothing to work anymore. Then I remembered about the /etc/udev/rules.d/99-xboxdrv.rules entry I had to make, so I went back and added the "Player #" bit to the name, and then it started working. Then I added a line for Player 2, and setup the script. At first it wasn't working, still giving me that syntax error. For testing, I just ran the Player 2 part of the script in the terminal by itself, just to get that controller working. I had the remap key wrong. There is nothing named "KEY_NUM0", etc. I had to go back and call up the xboxdrv --help-key to find the equivalent. It's actually "KEY_KP0". So I fixed that, then ran it. It ran fine. I then exited and ran the the entire script without the ; \ on the first & line. It works! So I don't know, maybe I'm using a newer version of the driver? But here is my test.sh file that works perfectly with the selected ROM:

                          #!/bin/bash
                          sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                              --evdev /dev/input/event3 \
                              --detach-kernel-driver \
                              --device-name "NES Pad Player 1 (xboxdrv)" \
                              --evdev-absmap ABS_X=x1,ABS_Y=y1 \
                              --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
                              --dpad-only \
                              --ui-axismap x1=KEY_LEFT:KEY_RIGHT,y1=KEY_UP:KEY_DOWN \
                              --ui-buttonmap start=KEY_T,back=KEY_E,b=KEY_B,a=KEY_A \
                          &
                          sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
                              --evdev /dev/input/event4 \
                              --detach-kernel-driver \
                              --device-name "NES Pad Player 2 (xboxdrv)" \
                              --evdev-absmap ABS_X=x1,ABS_Y=y1 \
                              --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
                              --dpad-only \
                              --ui-axismap x1=KEY_G:KEY_H,y1=KEY_I:KEY_J \
                              --ui-buttonmap start=KEY_KP9,back=KEY_KP0,b=KEY_M,a=KEY_K \
                          "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _SYS_ "nes" "/home/pi/RetroPie/roms/nes/Bubble Bobble (USA).zip"
                          sudo killall xboxdrv
                          

                          So now all I have to do is add this to the onstart script for RetroPie's launching, and it should work! Man I'm whooped. Going to eat dinner and then hit the hay. Next console is going to be that blasted Atari800 emulator. Then I'll do the Sega Genesis systems. I don't have any other dedicated controllers.

                          Who's Scruffy Looking?

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

                            @hansolo77 said in XBOXDRV Guidance Needed:

                            I then exited and ran the the entire script without the ; \ on the first & line. It works!

                            Nice job! I thought I remembered it needing the semicolon, but I guess not. I'll have to remember that for the future.

                            Next console is going to be that blasted Atari800 emulator.

                            I was most pleased to get this one up and running myself. Between the 800 and the console 5200 there are some really great titles. Many of the basic arcade conversions, while not as graphically impressive, have a more polished and comfortable feel to the controls.

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

                            1 Reply Last reply Reply Quote 0
                            • hansolo77H
                              hansolo77
                              last edited by hansolo77

                              Yeah it's weird, after looking at it again, it doesn't even have the 2nd & symbol. Originally, it was at the end of the first xboxdrv command, and before the command to launch the game. I kept it in there between the 2 xboxdrv commands like you said, and just took out the ; \ bit, and it worked. So maybe that first & isn't needed either? Might be worth some further testing.


                              I'm going to try it myself, but do I need to start the 2nd "entry" into the onstart script after the fi bit? So it would essentially look like this:

                              if [ "$1" = "system 1" ]
                              then
                                blah blah xboxdrv stuff
                              &
                              fi
                              
                              if [ "$1" = "system 2" ]
                              then
                                blah blah xboxdrv stuff again for the other system
                              &
                              fi
                              

                              etc? Or would I need to enclose the entire list of if's inside the fi field? To make it look like this:

                              if [ "$1" = "system 1" ]
                              then
                                blah blah xboxdrv stuff
                              &
                              if [ "$1" = "system 2" ] ### or maybe not a 2nd if here? ###
                              then
                                blah blah xboxdrv stuff again for the other system
                              &
                              fi
                              

                              I'm going to try the first one, first.

                              Who's Scruffy Looking?

                              1 Reply Last reply Reply Quote 0
                              • hansolo77H
                                hansolo77
                                last edited by

                                Looks like the first entry was the correct one. So now, using XBOXDRV, I have a fully working onstart script that allows me to play not only Streets of Rage Remix with my Xbox Controller (and fully exit the game) but I can now also "hot plug" in an NES controller if I want to play with those classic controllers. The XBOX controller still works in NES as a default Player 1 (through the RetroPad's xpad driver) and then the NES controllers are controlled via keyboard emulation through XBOXDRV. I did it this way so I could have multiple player 1 controllers working, since the way RetroArch configures the autoconfigure settings, there would be no way to accomplish this. Here is the working script for that:

                                # the line below is needed to use the joystick selection by name method
                                bash "/opt/retropie/supplementary/joystick-selection/js-onstart.sh" "$@"
                                
                                if [ "$1" = "sorr" ]
                                then
                                sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1 \
                                    --evdev /dev/input/by-id/usb-©Microsoft_Xbox_360_Wireless_Receiver_for_Windows_E1594E70-event-joystick \
                                    --detach-kernel-driver \
                                    --silent \
                                    --force-feedback \
                                    --deadzone-trigger 15% \
                                    --deadzone 4000 \
                                    --mimic-xpad \
                                    --dpad-as-button \
                                    --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RX=x2,ABS_RY=y2,ABS_Z=lt,ABS_RZ=rt \
                                    --evdev-keymap BTN_SOUTH=a,BTN_EAST=b,BTN_NORTH=x,BTN_WEST=y,BTN_TL=lb,BTN_TR=rb,BTN_THUMBL=tl,BTN_THUMBR=tr,BTN_MODE=guide,BTN_SELECT=back,BTN_START=start,BTN_TRIGGER_HAPPY3=du,BTN_TRIGGER_HAPPY4=dd,BTN_TRIGGER_HAPPY1=dl,BTN_TRIGGER_HAPPY2=dr \
                                    --ui-buttonmap x=KEY_X,a=KEY_C,b=KEY_V,lb=KEY_A,Y=KEY_S,rb=KEY_D \
                                    --ui-buttonmap guide=KEY_B,start=KEY_ENTER,back=KEY_ESC \
                                    --ui-buttonmap du=KEY_UP,dd=KEY_DOWN,dl=KEY_LEFT,dr=KEY_RIGHT \
                                    -- \
                                &
                                fi
                                
                                if [ "$1" = "nes" ]
                                then
                                sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1 \
                                    --evdev /dev/input/event3 \
                                    --detach-kernel-driver \
                                    --device-name "NES Pad Player 1 (xboxdrv)" \
                                    --evdev-absmap ABS_X=x1,ABS_Y=y1 \
                                    --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
                                    --dpad-only \
                                    --ui-axismap x1=KEY_LEFT:KEY_RIGHT,y1=KEY_UP:KEY_DOWN \
                                    --ui-buttonmap start=KEY_T,back=KEY_E,b=KEY_B,a=KEY_A \
                                &
                                sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1 \
                                    --evdev /dev/input/event4 \
                                    --detach-kernel-driver \
                                    --device-name "NES Pad Player 2 (xboxdrv)" \
                                    --evdev-absmap ABS_X=x1,ABS_Y=y1 \
                                    --evdev-keymap BTN_TRIGGER=a,BTN_THUMB=b,BTN_THUMB2=back,BTN_TOP=start \
                                    --dpad-only \
                                    --ui-axismap x1=KEY_G:KEY_H,y1=KEY_I:KEY_J \
                                    --ui-buttonmap start=KEY_KP9,back=KEY_KP0,b=KEY_M,a=KEY_K \
                                &
                                fi
                                

                                Like I said earlier, my next step is getting my original Atari Joysticks to work inside the Atari800 emulator. Getting the stick recognized inside the emulator just wouldn't work. I can even make the XBOX controller work with it. I think this is due to the way the emulator is programmed. The Streets of Rage game only excepted input from whatever was connected to /dev/input/js0 which in my particular case is a wireless keyboard/mouse dongle. So by simply moving the Atari Sticks to js0 and js1, that should be all that's needed. But if moving them doesn't fix it, I'll have to try remapping them inside an XBOXDRV command.

                                @mediamogul - What was the method you were able to use to make it work in your case?

                                Who's Scruffy Looking?

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

                                  @hansolo77 said in XBOXDRV Guidance Needed:

                                  Getting the stick recognized inside the emulator just wouldn't work.

                                  Yeah, there are a few emulators that try to map the joystick for you and if it doesn't work, you have to look for outside options.

                                  What was the method you were able to use to make it work in your case?

                                  For the Atari800 emulator, I have a two player key-map setup for the default software assignments, including the 12 button 5200 keypads which are mapped to the right joysticks. I also threw in a toggle function to where you can switch the left joysticks to a mouse-mapping for analog paddle, trackball and mouse-based games.

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

                                  1 Reply Last reply Reply Quote 0
                                  • hansolo77H
                                    hansolo77
                                    last edited by

                                    Woot! Got Atari800 working, and using $2 = atari800 in the onstart script. This now works with the Atari 5200 and the Atari 800. Next up: mapping the joysticks to work with the Atari 2600/7800/ST.

                                    :)

                                    Question to @mediamogul - Do you have an occasional hiccup with the Atari800 emulator not recognizing the keyboard when you boot it up through XBOXDRV? I've had maybe 1 in 3 boots where the keyboard is dead and I have to hit F9 to exit the emulator and try again. It's pretty annoying, especially when you have to use the keyboard to select what size ROM you have in the 5200 system. Also, I noticed in like the Frogger 2 game, I can't move unless I press the fire button, was it always like that? In Galaxian on the 800 system, I couldn't get the joystick to work right (it was left/right reversed) unless I set it to play 2 players. Any idea what that's all about?

                                    Thanks again!

                                    Who's Scruffy Looking?

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

                                      @hansolo77 said in XBOXDRV Guidance Needed:

                                      Do you have an occasional hiccup with the Atari800 emulator not recognizing the keyboard when you boot it up through XBOXDRV?

                                      I believe that's all tied into a bug found in the Atari800 emulator itself. After almost any setting is altered from the Atari800 GUI and saved, it will corrupt the configuration file and cause these types of issues. If this is the case, you'll need to delete the current configuration file and allow the program to generate a new one to regain stability. Once recreated, you can still alter any settings you wish from an external solution such as nano without issue.

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

                                      1 Reply Last reply Reply Quote 0
                                      • hansolo77H
                                        hansolo77
                                        last edited by

                                        Thanks for that. I'll try doing that. It's too bad RetroArch never established any kind of open-source port of an emulator for these systems.

                                        Who's Scruffy Looking?

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

                                          @hansolo77

                                          I think they're currently working on an Atari800 core, but I might be mistaken. There are ups and downs to RetroArch cores though. If you look at their implementation of Stella for example, it lacks the capability to play many 2600 games, due to a lack of keypad, paddle and trackball support. I'm sure they'll get around to adding all that some day, but until then I'll be using the standalone version with bonus Mindlink support.

                                          mindlink

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

                                          1 Reply Last reply Reply Quote 0
                                          • hansolo77H
                                            hansolo77
                                            last edited by

                                            LOL!!! "My head hurts from playing with my eyebrows".

                                            Got Atari 2600 and Atari 7800 working now too. Since they're both RetroArch, their configurations were the same. :) :) :) Next up.. ST.

                                            Who's Scruffy Looking?

                                            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.