- Script to autoconfigure the buttons using Retroarch configuration
- Ability to define joysticks numbers
- You can configure second axis ID
This is a port of Atari800 with focus on emulating Atarin 5200 that adds:
- Full Joystick support for RetroPie
- Menu navigation using joystick
- Joystick Button configuration: trigger1, trigger 2 (Moon Patrol and H.E.R.O.!), asterisk and hash.
- Supports hat and axis for joysticks
- Use second analog stick in first as second player stick: Robotron and Space Dungeon!!!
SELECT + START to exit emulator
SELECT + * (X): Emulator Menu
SELECT + # (Y): Reset
Use joystick to navigate the emulator MENU plus Trigger 1 (A) to accept and Trigger 2 (B) to go back.
Hint: If the emulator asks for Cart type select one of these using joystick + trigger 1:
- Two chip 16 KB 5200 cartridge <- for 16KB roms (games)
- Standard 32 KB 5200 cartridge <- for 32KB roms (games)
- Bounty Bob 40 KB 5200 cartridge <- for the great Bounty Bob strikes back! game
New parameters in /home/pi/.atari800.cfg :
SDL_JOY_0_SELECT=8 <-- button ID
SDL_JOY_0_START=9 <-- button ID
SDL_JOY_0_TRIGGER1=1 <-- button ID
SDL_JOY_0_TRIGGER2=2 <-- button ID
SDL_JOY_0_ASTERISK=0 <-- button ID
SDL_JOY_0_HASH=3 <-- button ID
Use jstest application to get the button IDs for your joystick.
Compiled and tested on RETROPIE 3.6 using a RPI2:
Replace atari800 in /opt/retropie/emulators/atari800/bin/ with the new generated executable
Check emulators.cfg for recommended configuration
sudo cp atari800 atari800.original
sudo wget https://github.com/jfroco/atari800-rpi/blob/master/atari800?raw=true -O atari800
sudo chmod +x atari800
I was trying the Atari 5200 emulator in RetroPie, and one thing that bugged me was that the second button (trigger) of the gamepad is the shift key... not a joystick button...so I couldn't play my favorite Atari 5200 game: Moon Patrol!!! (it uses two buttons: fire and jump), another thing was that my Hori PS3 mini fighting stick didn't work as the stick is registered as a hat not axis... and the last thing... I had to use the keyboard to start (F4) a game and to leave the game (F9)...
So... I pick my Language C book and after a couple of hours I added all this features to a new version of Atari800...
1.- New config file
Edit your /home/pi/.atari800.cfg to add this new parameters:
SDL_JOY_USE_HAT=1 <= If you want to use a stick with hat instead of axis
SDL_JOY_0_SELECT=8 <= button id for Select (use jstest to get the button id)
SDL_JOY_0_START=9 <= button id for Start (use jstest to get the button id)
SDL_JOY_0_TRIGGER1=2 <= button id for Trigger1 (use jstest to get the button id)
SDL_JOY_0_TRIGGER2=1 <= button id for Trigger2 (use jstest to get the button id)
Press SELECT+START to exit the emulator (go back to EmulationStation)
2.- Replace executable
Replace old executable with new one :
** This is not valid anymore **
sudo mv atari800 atari800.original
sudo wget https://dl.dropboxusercontent.com/u/4281970/atari800/src/bin/atari800
sudo chmod +x atari800
3.- Change the cart-type
I recommend using 32KB roms (games) and set the cart-type in emulators.cfg
Use this line:
atari800="/opt/retropie/emulators/atari800/bin/atari800 -5200 -cart-type 4 -cart %ROM%"
If the cart is the wrong type you will have to select the right one.
This is a beta version so I really need your feedback...
Map # and % to gamepad buttons
Implement second player
Analog controls? => Not sure yet..