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

    Need help with 5200 emulator setup (controller not working + other issue)

    Scheduled Pinned Locked Moved Help and Support
    52005200 controlssn30pro+
    12 Posts 3 Posters 1.6k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Do you have the BIOS files for Atari5200 installed ? That might be the reason you get a crash while running the ROM with lr-atari800.
      For the 2nd situation, kat5200 is a standalone emulator, not a libretro core, so any of the Hotkey shortcuts are not present - they're specific to RetroArch and libretro based emulators (lr-).

      1 Reply Last reply Reply Quote 0
      • riverR
        river
        last edited by river

        I believe I have the correct BIOS installed in the right place.

        pi@retropie:~/RetroPie $ ll BIOS/
        total 92K
        lrwxrwxrwx 1 pi pi    8 Sep  4 21:08 5200.rom -> 5200.ROM
        -rw-rw-rw- 1 pi pi 2.0K Jan 26  2000 5200.ROM
        -rw-r--r-- 1 pi pi 2.0K Mar  7  1997 atari5200.rom
        -rw-r--r-- 1 pi pi 8.0K Mar 10  1996 ATARIBAS.ROM
        -rw-r--r-- 1 pi pi  10K Jun 21  1999 Atariosa.rom
        -rw-r--r-- 1 pi pi  10K Sep  4 19:06 ATARIOSB.ROM
        -rw-r--r-- 1 pi pi  16K Mar 10  1996 ATARIXL.ROM
        -rw-r--r-- 1 pi pi 8.0K Sep  4 18:30 fast.bin
        drwxr-xr-x 3 pi pi 4.0K Apr 28 01:09 fbneo/
        drwxr-xr-x 3 pi pi 4.0K Apr 28 01:10 mame2003/
        drwxr-xr-x 2 pi pi 4.0K Apr 28 01:10 palettes/
        -rw-r--r-- 1 pi pi 8.0K Sep  4 18:30 skip.bin
        -rw-r--r-- 1 pi pi 8.0K Sep  4 18:30 system.bin
        

        There are actually a couple there as I wasn't sure which was correct, and I even symlinked 5200.ROM to 5200.rom in case the capitalization was the issue (I saw it both ways in various places as I tried to solve this myself; however, I don't think that's applicable here as the setup docs list atari5200.rom as the correct BIOS, and I think the other is used with kat5200).

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          Can you check the \\retropie\configs\all\retroarch-core-options.cfg file and see what value is atari800_system set to ? If it's not 5200, then change it to 5200 and see if the game boots.

          1 Reply Last reply Reply Quote 0
          • riverR
            river
            last edited by

            That value didn't even exist (nothing at all in that file about atari800), so I added atari800_system = "5200" and tried again. Same error.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by mitu

              Can you post your $HOME/.atari800.cfg file ?
              I've tried the game (Choplifter) and it runs fine. Even if the core options set the Atari system as 400/800 (atari800_system) by default, the emulator starts and I can go into RGUI Options and add an override for this ROM with 5200 as emulated system, thus making the game playable at the next start of the emulator (lr-atari800).

              1 Reply Last reply Reply Quote 0
              • riverR
                river
                last edited by

                Atari 800 Emulator, Version 3.1.0
                ROM_OS_A_NTSC=
                ROM_OS_A_PAL=
                ROM_OS_B_NTSC=
                ROM_OS_AA00R10=
                ROM_OS_AA00R11=
                ROM_OS_BB00R1=
                ROM_OS_BB01R2=
                ROM_OS_BB02R3=
                ROM_OS_BB02R3V4=
                ROM_OS_CC01R4=
                ROM_OS_BB01R3=
                ROM_OS_BB01R4=
                ROM_OS_BB01R59=
                ROM_OS_BB01R59A=
                ROM_5200=/home/pi/RetroPie/BIOS/atari5200.rom
                ROM_5200_A=
                ROM_BASIC_A=
                ROM_BASIC_B=
                ROM_BASIC_C=
                ROM_XEGAME=
                ROM_400/800_CUSTOM=
                ROM_XL/XE_CUSTOM=
                ROM_5200_CUSTOM=
                ROM_BASIC_CUSTOM=
                ROM_XEGAME_CUSTOM=
                OS_400/800_VERSION=AUTO
                OS_XL/XE_VERSION=AUTO
                OS_5200_VERSION=AUTO
                BASIC_VERSION=AUTO
                XEGS_GAME_VERSION=AUTO
                H1_DIR=
                H2_DIR=
                H3_DIR=
                H4_DIR=
                HD_READ_ONLY=1
                PRINT_COMMAND=lpr %s
                SCREEN_REFRESH_RATIO=1
                MACHINE_TYPE=Atari 400/800
                RAM_SIZE=48
                DEFAULT_TV_MODE=NTSC
                MOSAIC_RAM_NUM_BANKS=0
                AXLON_RAM_NUM_BANKS=0
                ENABLE_MAPRAM=0
                DISABLE_BASIC=1
                ENABLE_SIO_PATCH=0
                ENABLE_SLOW_XEX_LOADING=0
                ENABLE_H_PATCH=0
                ENABLE_P_PATCH=0
                ENABLE_NEW_POKEY=1
                STEREO_POKEY=0
                BUILTIN_BASIC=0
                KEYBOARD_LEDS=0
                F_KEYS=0
                BUILTIN_GAME=0
                KEYBOARD_DETACHED=0
                1200XL_JUMPER=0
                CFG_SAVE_ON_EXIT=0
                MIO_ROM=
                BLACK_BOX_ROM=
                PROTO80_ROM=
                CARTRIDGE_FILENAME=
                CARTRIDGE_TYPE=0
                CARTRIDGE_PIGGYBACK_FILENAME=
                CARTRIDGE_PIGGYBACK_TYPE=0
                CARTRIDGE_AUTOREBOOT=1
                CASSETTE_FILENAME=
                CASSETTE_LOADED=0
                CASSETTE_WRITE_PROTECT=0
                RTIME=1
                XEP80_CHARSET=
                AF80_ROM=
                AF80_CHARSET=
                COLOURS_NTSC_SATURATION=0
                COLOURS_NTSC_CONTRAST=0
                COLOURS_NTSC_BRIGHTNESS=0
                COLOURS_NTSC_GAMMA=2.35
                COLOURS_NTSC_HUE=0
                COLOURS_NTSC_GTIA_DELAY=26.8
                COLOURS_NTSC_EXTERNAL_PALETTE=
                COLOURS_NTSC_EXTERNAL_PALETTE_LOADED=0
                COLOURS_NTSC_ADJUST_EXTERNAL_PALETTE=0
                COLOURS_PAL_SATURATION=0
                COLOURS_PAL_CONTRAST=0
                COLOURS_PAL_BRIGHTNESS=0
                COLOURS_PAL_GAMMA=2.35
                COLOURS_PAL_HUE=0
                COLOURS_PAL_GTIA_DELAY=23.2
                COLOURS_PAL_EXTERNAL_PALETTE=
                COLOURS_PAL_EXTERNAL_PALETTE_LOADED=0
                COLOURS_PAL_ADJUST_EXTERNAL_PALETTE=0
                ARTIFACT_NTSC=NONE
                ARTIFACT_PAL=NONE
                ARTIFACT_NTSC_MODE=0
                SCREEN_SHOW_SPEED=0
                SCREEN_SHOW_IO_ACTIVITY=1
                SCREEN_SHOW_IO_COUNTER=0
                SCREEN_SHOW_1200XL_LEDS=1
                FILTER_NTSC_SHARPNESS=-0.5
                FILTER_NTSC_RESOLUTION=-0.1
                FILTER_NTSC_ARTIFACTS=0
                FILTER_NTSC_FRINGING=0
                FILTER_NTSC_BLEED=0
                FILTER_NTSC_BURST_PHASE=0
                SOUND_ENABLED=1
                SOUND_RATE=44100
                SOUND_BITS=16
                SOUND_BUFFER_MS=0
                SOUND_LATENCY=20
                
                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  The config file seems ok.
                  Try updating the lr-atari800 core from source - see https://retropie.org.uk/docs/Updating-RetroPie/#updatinginstalling-individual-packages - then run the emulator with verbose logging enabled. Post the resulting runcommand.log on pastebin.com.

                  1 Reply Last reply Reply Quote 1
                  • riverR
                    river
                    last edited by

                    https://pastebin.com/JYP0Sri0

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      The only difference during initialization from your log for me is:

                      ...
                      [libretro-atari800]: Got size: 336 x 240.
                      WRAP EMU THD
                       0  prg
                       1  /home/pi/RetroPie/roms/atari5200/Choplifter! (USA).a52
                      Using Atari800 config file: /home/pi/.lr-atari800.cfg
                      Created by Atari 800 Emulator, Version 3.1.0
                      ...
                      

                      Looks like the libretro core uses a different config file - but the format is the same as .atari800.cfg. Since the core doesn't log much, I can't see why it doesn't work.

                      As a last resort, try clearing the /home/pi/.lr-atari800.cfg file and see if it gets re-created.

                      1 Reply Last reply Reply Quote 0
                      • riverR
                        river
                        last edited by river

                        Thanks for the help! I'll try that in the morning. (It's nearly 2 AM here and I'm getting too old for this.) 😁

                        Worst-case scenario, I'll dig out another SD card and start from scratch. I've spent a lot of time but don't have a lot to show for it, so not a great loss.

                        Thanks again!

                        1 Reply Last reply Reply Quote 0
                        • hawkeyeulH
                          hawkeyeul
                          last edited by hawkeyeul

                          The quickest way I have found to setup 5200 controls in RetroPi is

                          • open a 5200 game then enter the retro arch quick menu.

                          • From there you want to go down to options. Then set the Atari System to 5200. After that go back to the quick menu.

                          • Now select controls.

                          • Go down to Port 1 Controls and click it.

                          • Change Device Type from RetroPad to Atari Joystick.

                          • Back out to the controls menu.

                            • you may want to set the Device Type to Atari Joystick for
                              Port 2 controls if you're playing 2 player games.
                          • From the Controls menu Save Core Remap File.

                          • Go back to the Quick Menu.

                          • Back out to the main menu.

                          • Open Configuration File and Save Current Configuration.

                          • Back out to the Main Menu and Quit RetroArch.

                          Now your controller should work with 5200 games

                          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.