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

    retroarch/lr-hatari loads a particular hatari.cfg while starting

    Scheduled Pinned Locked Moved Help and Support
    hatari.cfglr-hatari
    20 Posts 3 Posters 1.3k 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.
    • F
      Folly @JimmyFromTheBay
      last edited by Folly

      @JimmyFromTheBay

      That's very odd indeed.
      Bombs you say, does it pick the wrong tos.img ?

      J 1 Reply Last reply Reply Quote 0
      • J
        JimmyFromTheBay @Folly
        last edited by

        @Folly Ah, yes it does, it's gone back to the default TOS.

        Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

        F 2 Replies Last reply Reply Quote 0
        • F
          Folly @JimmyFromTheBay
          last edited by Folly

          @JimmyFromTheBay

          That is the problem I described earlier.
          The location of the tos.img is "hardcoded".
          It only works once when you are within the gui of lr-hatari and doing a reset.
          On next boot from emulationstation it will revert back to the default even if a different tos.img is in the config file.
          So replace the tos.img with version 206, named tos.img in /BIOS
          Or you can make a game-specific retroarch config for the game.
          Look again in post 9.

          Btw.
          I updated the RetroPie-Setup, now the source install is ok.

          J 1 Reply Last reply Reply Quote 0
          • F
            Folly @JimmyFromTheBay
            last edited by Folly

            @JimmyFromTheBay

            Now I am not sure what all is useful with the game-specific lr-hatari configfile.

            I just tested putting 2 disk in there like this :

            szDiskAZipPath =
            szDiskAFileName = /home/pi/RetroPie/roms/atarist/Arkanoid (1987)(Taito).stx
            szDiskBZipPath =
            szDiskBFileName = /home/pi/RetroPie/roms/atarist/Afterburner (1988)(Activision).st
            

            That works, so that's nice to know.

            With Arkanoid I could not play the game, seems it works with the mouse and pressing 1 to start.
            The mouse only works with tos 1.00, I used the US version creating a game-specific retroarch file to fix this (Arkanoid (1987)(Taito).stx.cfg) :

            system_directory = "/home/pi/RetroPie/BIOS/tos100us
            

            Some disks like this one don't auto-start.
            I found that if you create an AUTO directory on the disk and copy/move the executable to the AUTO directory it will auto-boot.
            I think you can edit this only with the standalone hatari, after that you can use it in lr-hatari again.
            Sadly for Arkanoid it breaks mouse control but for Super Zazai Da! you can use this solution.

            1 Reply Last reply Reply Quote 0
            • J
              JimmyFromTheBay @Folly
              last edited by JimmyFromTheBay

              @Folly said in retroarch/lr-hatari loads a particular hatari.cfg while starting:

              Look again in post 9.

              I must admit I got a bit lost after the .cfg.st.cfg suffix :D

              @Folly said in retroarch/lr-hatari loads a particular hatari.cfg while starting:

              I updated the RetroPie-Setup, now the source install is ok.

              So if I update lr-hatari from source now through the Retropie Setup menu it'll be the fixed version?

              Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

              F 1 Reply Last reply Reply Quote 0
              • F
                Folly @JimmyFromTheBay
                last edited by

                @JimmyFromTheBay said in retroarch/lr-hatari loads a particular hatari.cfg while starting:

                I must admit I got a bit lost after the .cfg.st.cfg suffix :D

                I had some laughter after that sentence of yours ;-)

                Well for now I don't use the lr-hatari configfile anymore, seems I can do without it for most games.
                And if I want to zoom or use a different tos.img I make a retroarch game-specific config now.
                ( only with .st.cfg, which is indeed less confusing :D )

                So if I update lr-hatari from source now through the Retropie Setup menu it'll be the fixed version?

                First update RetroPie-Setup.
                After that you can istall lr-hatari from source.
                It's indeed a better version.

                J 1 Reply Last reply Reply Quote 1
                • J
                  JimmyFromTheBay @Folly
                  last edited by

                  @Folly said in retroarch/lr-hatari loads a particular hatari.cfg while starting:

                  First update RetroPie-Setup.

                  Done.

                  After that you can istall lr-hatari from source.

                  Boo :(

                  hatari.jpg

                  Log:

                  Log started at: Tue 18 Oct 14:29:33 BST 2022
                  
                  RetroPie-Setup version: 4.7.11 (6598a90a)
                  System: rpi4 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
                  
                  = = = = = = = = = = = = = = = = = = = = =
                  Installing dependencies for 'lr-hatari' : Atari emulator - Hatari port for libretro
                  = = = = = = = = = = = = = = = = = = = = =
                  
                  /home/pi/RetroPie-Setup/tmp/build/lr-hatari /home/pi
                  
                  = = = = = = = = = = = = = = = = = = = = =
                  Getting sources for 'lr-hatari' : Atari emulator - Hatari port for libretro
                  = = = = = = = = = = = = = = = = = = = = =
                  
                  git clone --recursive --depth 1 --branch master "https://github.com/libretro/hatari.git" "/home/pi/RetroPie-Setup/tmp/build/lr-hatari"
                  Cloning into '/home/pi/RetroPie-Setup/tmp/build/lr-hatari'...
                  HEAD is now in branch 'master' at commit '1ebf0a0488580ef95c0b28f02223b31813c867c5'
                  patching file Makefile.libretro
                  Hunk #1 succeeded at 235 (offset 10 lines).
                  patching file src/floppy_ipf.c
                  Successfully applied patch: /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-hatari/01_libcapsimage.diff
                  Downloading https://files.retropie.org.uk/archives/spsdeclib_5.1_source.zip to /tmp/tmp.7gCPOd0XGj/spsdeclib_5.1_source.zip ...
                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                   Dload  Upload   Total   Spent    Left  Speed
                  
                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                  100  275k  100  275k    0     0  1473k      0 --:--:-- --:--:-- --:--:-- 1473k
                  Archive:  /tmp/tmp.7gCPOd0XGj/spsdeclib_5.1_source.zip
                    inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/capsimg_source_linux_macosx.zip  
                    inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/capsimg_source_windows.zip  
                    inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/DONATIONS.txt  
                    inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/HISTORY.txt  
                    inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/LICENCE.txt  
                    inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/RELEASE.txt  
                  Archive:  capsimg_source_linux_macosx.zip
                     creating: capsimg_source_linux_macosx/
                     creating: capsimg_source_linux_macosx/CAPSImg/
                    inflating: capsimg_source_linux_macosx/CAPSImg/bootstrap.sh  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsAPI.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsCore.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsFDCEmulator.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsFDCEmulator.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsFile.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsFile.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsFormatMFM.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsFormatMFM.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsImage.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsImage.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsImageStd.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsImageStd.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.aps  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.rc  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj.filters  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj.user  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsLoader.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/CapsLoader.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/config.guess  
                    inflating: capsimg_source_linux_macosx/CAPSImg/config.h.in  
                    inflating: capsimg_source_linux_macosx/CAPSImg/config.sub  
                    inflating: capsimg_source_linux_macosx/CAPSImg/configure  
                    inflating: capsimg_source_linux_macosx/CAPSImg/configure.in  
                     creating: capsimg_source_linux_macosx/CAPSImg/Debug/
                    inflating: capsimg_source_linux_macosx/CAPSImg/Debug/CAPSImg.log  
                     creating: capsimg_source_linux_macosx/CAPSImg/Debug/CAPSImg.tlog/
                    inflating: capsimg_source_linux_macosx/CAPSImg/DiskImage.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/DiskImage.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/DiskImageFactory.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/DiskImageFactory.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/dllmain.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/install-sh  
                    inflating: capsimg_source_linux_macosx/CAPSImg/libcapsimage.map  
                    inflating: capsimg_source_linux_macosx/CAPSImg/LICENSE  
                    inflating: capsimg_source_linux_macosx/CAPSImg/Makefile.in  
                     creating: capsimg_source_linux_macosx/CAPSImg/Release/
                    inflating: capsimg_source_linux_macosx/CAPSImg/Release/CAPSImg.log  
                     creating: capsimg_source_linux_macosx/CAPSImg/Release/CAPSImg.tlog/
                    inflating: capsimg_source_linux_macosx/CAPSImg/resource.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/stdafx.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/stdafx.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/StreamCueImage.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/StreamCueImage.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/StreamImage.cpp  
                    inflating: capsimg_source_linux_macosx/CAPSImg/StreamImage.h  
                    inflating: capsimg_source_linux_macosx/CAPSImg/targetver.h  
                     creating: capsimg_source_linux_macosx/CAPSImg/x64/
                     creating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/
                    inflating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/CAPSImg.log  
                     creating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/CAPSImg.tlog/
                     creating: capsimg_source_linux_macosx/CAPSImg/x64/Release/
                    inflating: capsimg_source_linux_macosx/CAPSImg/x64/Release/CAPSImg.log  
                     creating: capsimg_source_linux_macosx/CAPSImg/x64/Release/CAPSImg.tlog/
                     creating: capsimg_source_linux_macosx/Codec/
                    inflating: capsimg_source_linux_macosx/Codec/CapsDefinitions.h  
                    inflating: capsimg_source_linux_macosx/Codec/CTRawCodec.cpp  
                    inflating: capsimg_source_linux_macosx/Codec/CTRawCodec.h  
                    inflating: capsimg_source_linux_macosx/Codec/CTRawCodecDecompressor.cpp  
                    inflating: capsimg_source_linux_macosx/Codec/DiskEncoding.cpp  
                    inflating: capsimg_source_linux_macosx/Codec/DiskEncoding.h  
                     creating: capsimg_source_linux_macosx/Compatibility/
                    inflating: capsimg_source_linux_macosx/Compatibility/dirent.h  
                     creating: capsimg_source_linux_macosx/Core/
                    inflating: capsimg_source_linux_macosx/Core/BaseFile.cpp  
                    inflating: capsimg_source_linux_macosx/Core/BaseFile.h  
                    inflating: capsimg_source_linux_macosx/Core/BitBuffer.cpp  
                    inflating: capsimg_source_linux_macosx/Core/BitBuffer.h  
                    inflating: capsimg_source_linux_macosx/Core/CommonTypes.h  
                    inflating: capsimg_source_linux_macosx/Core/CRC.cpp  
                    inflating: capsimg_source_linux_macosx/Core/CRC.h  
                    inflating: capsimg_source_linux_macosx/Core/DiskFile.cpp  
                    inflating: capsimg_source_linux_macosx/Core/DiskFile.h  
                    inflating: capsimg_source_linux_macosx/Core/MemoryFile.cpp  
                    inflating: capsimg_source_linux_macosx/Core/MemoryFile.h  
                     creating: capsimg_source_linux_macosx/Debug/
                     creating: capsimg_source_linux_macosx/Device/
                    inflating: capsimg_source_linux_macosx/Device/C2Comm.h  
                     creating: capsimg_source_linux_macosx/LibIPF/
                    inflating: capsimg_source_linux_macosx/LibIPF/CapsAPI.h  
                    inflating: capsimg_source_linux_macosx/LibIPF/CapsFDC.h  
                    inflating: capsimg_source_linux_macosx/LibIPF/CapsForm.h  
                    inflating: capsimg_source_linux_macosx/LibIPF/CapsLib.h  
                    inflating: capsimg_source_linux_macosx/LibIPF/CapsLibAll.h  
                    inflating: capsimg_source_linux_macosx/LibIPF/CapsLibVersion.h  
                    inflating: capsimg_source_linux_macosx/LibIPF/ComLib.h  
                     creating: capsimg_source_linux_macosx/Release/
                     creating: capsimg_source_linux_macosx/x64/
                     creating: capsimg_source_linux_macosx/x64/Debug/
                     creating: capsimg_source_linux_macosx/x64/Release/
                    inflating: capsimg_source_linux_macosx/SPStudio_Dev.sln  
                  /home/pi
                  /home/pi/RetroPie-Setup/tmp/build/lr-hatari /home/pi
                  
                  = = = = = = = = = = = = = = = = = = = = =
                  Building 'lr-hatari' : Atari emulator - Hatari port for libretro
                  = = = = = = = = = = = = = = = = = = = = =
                  
                  checking build system type... armv7l-unknown-linux-gnueabihf
                  checking host system type... armv7l-unknown-linux-gnueabihf
                  checking for gcc... gcc
                  checking whether the C compiler works... yes
                  checking for C compiler default output file name... a.out
                  checking for suffix of executables... 
                  checking whether we are cross compiling... no
                  checking for suffix of object files... o
                  checking whether we are using the GNU C compiler... yes
                  checking whether gcc accepts -g... yes
                  checking for gcc option to accept ISO C89... none needed
                  checking for g++... g++
                  checking whether we are using the GNU C++ compiler... yes
                  checking whether g++ accepts -g... yes
                  checking for a BSD-compatible install... /usr/bin/install -c
                  checking for tar... tar
                  checking for sfd... no
                  checking for fd2inline... no
                  checking for autodoc... no
                  checking how to run the C preprocessor... gcc -E
                  checking for grep that handles long lines and -e... /bin/grep
                  checking for egrep... /bin/grep -E
                  checking for ANSI C header files... yes
                  checking for sys/types.h... yes
                  checking for sys/stat.h... yes
                  checking for stdlib.h... yes
                  checking for string.h... yes
                  checking for memory.h... yes
                  checking for strings.h... yes
                  checking for inttypes.h... yes
                  checking for stdint.h... yes
                  checking for unistd.h... yes
                  checking whether byte ordering is bigendian... no
                  configure: creating ./config.status
                  config.status: creating Makefile
                  config.status: creating config.h
                  rm -f libcapsimage.so.5.1 ../Codec/CTRawCodec.o ../Codec/CTRawCodecDecompressor.o ../Codec/DiskEncoding.o ../Core/BaseFile.o ../Core/BitBuffer.o ../Core/CRC.o ../Core/DiskFile.o ../Core/MemoryFile.o CapsAPI.o CapsFDCEmulator.o CapsFile.o CapsFormatMFM.o CapsImage.o CapsImageStd.o CapsLoader.o DiskImage.o DiskImageFactory.o stdafx.o StreamCueImage.o StreamImage.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Codec/CTRawCodec.cpp -o ../Codec/CTRawCodec.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Codec/CTRawCodecDecompressor.cpp -o ../Codec/CTRawCodecDecompressor.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Codec/DiskEncoding.cpp -o ../Codec/DiskEncoding.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/BaseFile.cpp -o ../Core/BaseFile.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/BitBuffer.cpp -o ../Core/BitBuffer.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/CRC.cpp -o ../Core/CRC.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/DiskFile.cpp -o ../Core/DiskFile.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/MemoryFile.cpp -o ../Core/MemoryFile.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsAPI.cpp -o CapsAPI.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsFDCEmulator.cpp -o CapsFDCEmulator.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsFile.cpp -o CapsFile.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsFormatMFM.cpp -o CapsFormatMFM.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsImage.cpp -o CapsImage.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsImageStd.cpp -o CapsImageStd.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsLoader.cpp -o CapsLoader.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c DiskImage.cpp -o DiskImage.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c DiskImageFactory.cpp -o DiskImageFactory.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c stdafx.cpp -o stdafx.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c StreamCueImage.cpp -o StreamCueImage.o
                  g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11  -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c StreamImage.cpp -o StreamImage.o
                  g++ -shared -Wl,-soname,libcapsimage.so.5 -Wl,--version-script,libcapsimage.map -fPIC ../Codec/CTRawCodec.o ../Codec/CTRawCodecDecompressor.o ../Codec/DiskEncoding.o ../Core/BaseFile.o ../Core/BitBuffer.o ../Core/CRC.o ../Core/DiskFile.o ../Core/MemoryFile.o CapsAPI.o CapsFDCEmulator.o CapsFile.o CapsFormatMFM.o CapsImage.o CapsImageStd.o CapsLoader.o DiskImage.o DiskImageFactory.o stdafx.o StreamCueImage.o StreamImage.o  -o libcapsimage.so.5.1
                  install -d /home/pi/RetroPie-Setup/tmp/build/lr-hatari/lib
                  install libcapsimage.so.5.1 /home/pi/RetroPie-Setup/tmp/build/lr-hatari/lib/libcapsimage.so.5.1
                  cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" 1ebf0a0"\" -funroll-loops -ffast-math -fomit-frame-pointer -O3 -fsigned-char -D__LIBRETRO__ -fno-builtin -fPIC -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-common/include -I./libretro/libretro-common/include/compat/zlib -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o libretro/uae-cpu-pregen/cpudefs.o libretro/uae-cpu-pregen/cpudefs.c
                  cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" 1ebf0a0"\" -funroll-loops -ffast-math -fomit-frame-pointer -O3 -fsigned-char -D__LIBRETRO__ -fno-builtin -fPIC -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-common/include -I./libretro/libretro-common/include/compat/zlib -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o libretro/uae-cpu-pregen/cpuemu.o libretro/uae-cpu-pregen/cpuemu.c
                  cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" 1ebf0a0"\" -funroll-loops -ffast-math -fomit-frame-pointer -O3 -fsigned-char -D__LIBRETRO__ -fno-builtin -fPIC -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-common/include -I./libretro/libretro-common/include/compat/zlib -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o libretro/uae-cpu-pregen/cpustbl.o libretro/uae-cpu-pregen/cpustbl.c
                  cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" 1ebf0a0"\" -funroll-loops -ffast-math -fomit-frame-pointer -O3 -fsigned-char -D__LIBRETRO__ -fno-builtin -fPIC -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-common/include -I./libretro/libretro-common/include/compat/zlib -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/uae-cpu/hatari-glue.o src/uae-cpu/hatari-glue.c
                  cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" 1ebf0a0"\" -funroll-loops -ffast-math -fomit-frame-pointer -O3 -fsigned-char -D__LIBRETRO__ -fno-builtin -fPIC -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-common/include -I./libretro/libretro-common/include/compat/zlib -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/uae-cpu/memory.o src/uae-cpu/memory.c
                  cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" 1ebf0a0"\" -funroll-loops -ffast-math -fomit-frame-pointer -O3 -fsigned-char -D__LIBRETRO__ -fno-builtin -fPIC -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-common/include -I./libretro/libretro-common/include/compat/zlib -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/uae-cpu/newcpu.o src/uae-cpu/newcpu.c
                  src/uae-cpu/newcpu.c:170:10: fatal error: CapsLibAll.h: No such file or directory
                   #include <CapsLibAll.h>
                            ^~~~~~~~~~~~~~
                  compilation terminated.
                  make: *** [Makefile.libretro:242: src/uae-cpu/newcpu.o] Error 1
                  make: *** Waiting for unfinished jobs....
                  Could not successfully build lr-hatari - Atari emulator - Hatari port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-hatari/hatari_libretro.so not found).
                  /home/pi
                  
                  Log ended at: Tue 18 Oct 14:31:22 BST 2022
                  Total running time: 0 hours, 1 mins, 49 secs
                  
                  

                  Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Folly @JimmyFromTheBay
                    last edited by Folly

                    @JimmyFromTheBay

                    I see the same error I had before.
                    It can't find the header files for of capsimg.
                    This package is for supporting .ipf protected disk format in lr-hatari.

                    You logfile contains a version of an older RetroPie-Setup :
                    RetroPie-Setup version: 4.7.11 (6598a90a)

                    Check again if the update of RetroPie-Setup works.
                    You see the latest version when you start RetroPie-Setup ?
                    Schermafbeelding 2022-10-20 om 09.58.54.png
                    Try to update again in the RetroPie-Setup.
                    If the update keeps failing somehow you should backup your old RetroPie-Setup folder and clone RetroPie-Setup from GitHub again.

                    cd
                    git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
                    

                    Then place your 3rd party module-scripts back in the correct place.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JimmyFromTheBay @Folly
                      last edited by JimmyFromTheBay

                      @Folly Ah yes, for some reason it keeps fetching and installing 4.7.11. Tried again just now and it did the same thing. Will see if I can fix it up.

                      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Folly @JimmyFromTheBay
                        last edited by Folly

                        @JimmyFromTheBay

                        I think updating is always a problem when using 3rd party module-scripts, that is probably the reason.

                        Not sure if there is a good fix for this.
                        I suggest you do it like I described earlier.

                        Perhaps putting all 3rd party module-script in the RetroPie-Setup/ext directory like this :
                        /home/pi/RetroPie-Setup/ext/<3rd-party-repository-name>/scriptmodules/<supplementary|emulators|etc>
                        will make updating easier just cutting and pasting only the ext directory in the new RetroPie-Setup.

                        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.