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

    How-to Guide: Atari ST and STe Computing on the Raspberry Pi with RetroPie’s Hatari Emulator

    Scheduled Pinned Locked Moved Help and Support
    21 Posts 12 Posters 28.4k 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.
    • G
      GrethTom @RetroResolution
      last edited by

      @RetroResolution No problem at all buddy, feel free to use my info directly.

      R 1 Reply Last reply Reply Quote 0
      • R
        RetroResolution @GrethTom
        last edited by

        @GrethTom Thanks; I've just adjusted my system to load save states - works like a charm. I just tweaked things slightly to run in hatari compatible mode with borders - I run a lot of demoscene productions!
        I'm updating the guide now.
        Thanks again for the brilliant tip

        If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

        RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

        1 Reply Last reply Reply Quote 1
        • R
          RetroResolution
          last edited by RetroResolution

          Three updates to the guide on 28/29th April:

          Added sections for:

          • Atari ST / STe Specific Keys
          • Hatari Keyboard Shortcuts
          • Direct Loading Save States From Emulation Station

          If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

          RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

          1 Reply Last reply Reply Quote 1
          • R
            RetroResolution
            last edited by

            Another update to the guide on May 2nd:

            Hatari's in-built video capture

            I've now worked out how to resolve the AVI Recording : failed to open file error when trying to use Hatari's in-built video capture. The solution requires editing Retropie's emulator configuration entries.

            The updated guide covers the available codecs, editing the config, has some observations regarding codecs and impact on the emulator, amongst other items.

            Direct link to the updated section: Screen Capture Options

            If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

            RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

            1 Reply Last reply Reply Quote 0
            • P
              Pyjamarama
              last edited by

              Ι opened up the hatari.cfg because I am trying to find a way to map F12 to my XBOX 360 pad (xboxdrv).

              Is that possible or I am fighting a loosing battle? :)

              If yes, how can I find the pad button codes?

              That is part of the Joystick0 part of hatari.cfg which works like a dream

              nKeyCodeUp = 1073741906
              nKeyCodeDown = 1073741905
              nKeyCodeLeft = 1073741904
              nKeyCodeRight = 1073741903
              nKeyCodeFire = 1073742052
              

              This is the part with the keyboard shortcuts

              [ShortcutsWithModifiers2]
              keyOptions = 111
              keyFullScreen = 102
              keyMouseMode = 109
              keyColdReset = 99
              keyWarmReset = 114
              keyScreenShot = 103
              keyBossKey = 105
              keyCursorEmu = 106
              keyFastForward = 120
              keyRecAnim = 97
              keyRecSound = 121
              keySound = 115
              keyPause = 0
              keyDebugger = 1073741896
              keyQuit = 113
              ...
              

              I want to find the 10 digit number to put in the keyQuit

              Thank you

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

                @Pyjamarama said in How-to Guide: Atari ST and STe Computing on the Raspberry Pi with RetroPie’s Hatari Emulator:

                I am trying to find a way to map F12 to my XBOX 360 pad (xboxdrv)... I want to find the 10 digit number to put in the keyQuit.

                'keyQuit' is listed as being the SDL key code 113. Checking against the reference list here, you'll find it being the letter 'Q'. However, Hatari requires it's hotkeys to use the 'ALTGR' (or 'Right Alt') modifier. So, if you're looking to add that to an xboxdrv command, it would like:

                --ui-buttonmap back+start=KEY_RIGHTALT+KEY_Q
                

                Seeing as how 'back' normally stands in for 'select' in xboxdrv, this mapping keeps with the convention of using the 'start' and 'select' buttons together to exit a program like is seen in RetroArch, but you could also map to a single button as well.

                Edit: The SDL code for 'F12' can also be found on that reference link above and is 1073741893.

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

                1 Reply Last reply Reply Quote 0
                • S
                  sroweuk
                  last edited by

                  I've just tried to install Hatari but I cannot get it to run. I have the correct TOS but i cannot even get the Hatari config window to come up. I have set the emulator up to be "hatari-compatible", but when I check the runcommand.log file, it reports
                  "Parameters:
                  Executing: /opt/retropie/emulators/hatari/bin/hatari --confirm-quit 0 --statusbar 0 --zoom 1 -w --compatible 1 --timer-d 0 --borders 0 "/home/pi/RetroPie/roms/atarist/tos-2.06-uk.rom"
                  /opt/retropie/emulators/hatari/bin/hatari: error while loading shared libraries: libcapsimage.so.5: cannot open shared object file: No such file or directory"

                  I have tried both the binary install, as well as the source install. However, it does not appear to be copying the libcapsimage.so.5.1 file to my pi, as I cannot find it anywhere.

                  I have also tried doing this manually; built the shared file and copied it to the Hatari install directory, but still receive the same error.

                  Pi Model: 2 B
                  RetroPie Version Used: 4.1
                  Built From: Pre made SD Image on RetroPie website
                  USB Devices connected: WiFi Network, Wireless mouse, wired keyboard
                  Controller used: none
                  Error messages received: None on screen. Error in runcommand.log as above
                  Log found in /dev/shm/runcommand.log (if relevant): as above
                  Guide used: Power Without the Price: Atari ST and STe Computing on the Raspberry Pi with RetroPie’s Hatari Emulator
                  File:
                  Emulator: Hatari
                  Attachment of config files:
                  How to replicate the problem: As above

                  1 Reply Last reply Reply Quote 0
                  • A
                    Andreas77 @RetroResolution
                    last edited by

                    @RetroResolution
                    This is great, thank you. I was having some issues before I read this.
                    Cheers.

                    1 Reply Last reply Reply Quote 0
                    • F
                      fumanxu
                      last edited by

                      Hi
                      I 'm strugling with the same problem. In my case is a retropie with a gpi case, which at the end, is like a raspberry connected to a xbox 360 controller (retropie identifies the controler within the case as x360). My problem is that I'm not able to create the initial configuration (to map buttons, select the tos image, etc) since I cannot connect a keyboard to launch F12.

                      Please, could you give me details how you achieved to configure f12?

                      1 Reply Last reply Reply Quote 0
                      • M
                        michel30
                        last edited by

                        So for my understating.

                        You want the F12 key somewhere under a key under the controller for xbox 360?

                        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.