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

    Some "compiling from source" emulators crashing

    Scheduled Pinned Locked Moved Help and Support
    ppssppretroarchretroarch rguiretropie setupdrastic
    22 Posts 5 Posters 5.0k 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.
    • darkniorD
      darknior @dankcushions
      last edited by

      @dankcushions said in Some "compiling from source" emulators crashing:

      @darknior said in Some "compiling from source" emulators crashing:

      What is the option i must activate for the blue menu if i want to try it on my PI3 and make a feedback on the forum please ?

      menu_driver = "xmb"
      to use the 'green menu', it's
      menu_driver = "rgui"

      WOW thanks a lot, i see this option but not understand it lol

      Life is game, just play it !

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @darknior
        last edited by

        @darknior there are some strange errors at the end of that log, but i don't know if they're a problem.

        retropie is hard-coded to build version v1.6.7 of retroarch (we don't get the latest nightly because it can break the various patches that we apply, but this does get updated regularly). is that's what you see when you open the menu? in which case, it's working as intended.

        darkniorD 1 Reply Last reply Reply Quote 1
        • darkniorD
          darknior @dankcushions
          last edited by

          @dankcushions Ok fine, if it is normal i understand the reason.
          Why not hide the RETROARCH source code update ? Because like we must respect the Team choice, the BINARY update is enough.

          Life is game, just play it !

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @darknior
            last edited by

            @darknior said in Some "compiling from source" emulators crashing:

            @dankcushions Ok fine, if it is normal i understand the reason.
            Why not hide the RETROARCH source code update ? Because like we must respect the Team choice, the BINARY update is enough.

            i don't know that the binary is ALWAYS updated at the same time as the script. plus it is one binary for all pi models (or maybe two, one for rpi1/0, one for rpi2/3, i forget), so you miss out on the unique compiler flags for the pi3, which may give a (probably unmeasurable) performance boost.

            plus for me, it is easier to edit the retorach.sh file to make it build the latest nightly, which is useful for testing things. i don't want that to be hidden away.

            darkniorD 1 Reply Last reply Reply Quote 1
            • darkniorD
              darknior
              last edited by

              For NP2PI

              It crash at the end when it not found a directory

              https://gist.github.com/Darknior/eb3af61fb461366a9a41f52c290043fe

              Life is game, just play it !

              dankcushionsD 1 Reply Last reply Reply Quote 0
              • darkniorD
                darknior @dankcushions
                last edited by

                @dankcushions Why my RETROARCH install crash ? Maybe i don't have the last one :(

                Life is game, just play it !

                1 Reply Last reply Reply Quote 0
                • darkniorD
                  darknior
                  last edited by

                  For LR-Hatari

                  Log started at: mercredi 23 août 2017, 14:01:44 (UTC+0200)
                  
                  RetroPie-Setup version: 4.2.18 (ce4bf43)
                  System: Linux retropie 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 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 "https://github.com/libretro/hatari.git" "/home/pi/RetroPie-Setup/tmp/build/lr-hatari"
                  Clonage dans '/home/pi/RetroPie-Setup/tmp/build/lr-hatari'...
                  patching file Makefile.libretro
                  Hunk #1 FAILED at 132.
                  1 out of 1 hunk FAILED -- saving rejects to file Makefile.libretro.rej
                  patching file src/floppy_ipf.c
                  Archive:  /tmp/tmp.WMTevcaTlg/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
                  lr-hatari patch /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-hatari/01_libcapsimage.diff failed to apply
                  
                  Log ended at: mercredi 23 août 2017, 14:01:49 (UTC+0200)
                  Total running time: 0 hours, 0 mins, 5 secs
                  

                  Life is game, just play it !

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @darknior
                    last edited by

                    @darknior said in Some "compiling from source" emulators crashing:

                    For NP2PI

                    It crash at the end when it not found a directory

                    https://gist.github.com/Darknior/eb3af61fb461366a9a41f52c290043fe

                    i think there's an error with the script here - i have a fix in mind and will look into this

                    1 Reply Last reply Reply Quote 0
                    • dankcushionsD
                      dankcushions Global Moderator @darknior
                      last edited by

                      @darknior for lr-hatari, i guess the retropie patch isn't working on the latest source code. paging @BuZz!

                      BuZzB 1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators @dankcushions
                        last edited by

                        @dankcushions I'll sort both issues. np2pi broke after I changed a build path the other day. the other is due to makefile changes upstream. But don't recommend lr-hatari emulator really.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 1
                        • BuZzB
                          BuZz administrators
                          last edited by BuZz

                          @darknior regarding the retroarch errors - Looks like you have a corrupt git checkout of the shaders - you should remove /opt/retropie/configs/all/retroarch/shaders and re-install retro-arch. Corruption could point to sdcard problems.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 1
                          • N
                            NowArrivingHere
                            last edited by NowArrivingHere

                            I am also having issues with both np2pi and Commander Genius crashing while the installation script is running. I will place my relevant log files and error messages below.

                            Raspberry Pi 3B (not overclocked)
                            RetroPie 4.2.16
                            RetroPie installed on top of Raspbian
                            2.4A power supply

                            np2pi:

                            Could not successfully install NEC PC-9801 emulator
                            /home/pi/RetroPie-Setup/tmp/build/np2pi/np2pi/bin/np2 not found
                            

                            Log file: https://pastebin.com/3q1Uk7Ad

                            Commander Genius (shows as installed because it worked months ago, but updating currently fails and this has left cgenius unable to run):

                            Could not successfully install Commander Genius - Modern Interpreter for the Commander Keen Games (Vorticon and Galaxy Games)
                            /home/pi/RetroPie-Setup/tmp/build/cgeneius/vfsroot/games not found
                            

                            Log file: https://pastebin.com/7Dn0hGnQ

                            EDIT: Thank you BuZz! np2pi installation is now working for me.

                            1 Reply Last reply Reply Quote 1
                            • darkniorD
                              darknior
                              last edited by

                              Thanks @BuZz i have update NP2PI and LR-Hatari without any problem.
                              Do you write to not use lr-hatari because the original hatari emulator is better like ever ?

                              I always have my problem with RETROARCH :(

                              You are real for the SHADER directory, it was root access i don't know why ? I have change it for pi.
                              But now it is my retroarch.cfg it don't like and crash the update :(

                              install -m644 docs/retroarch-cg2glsl.6 /opt/retropie/emulators/retroarch/share/man/man6
                              install -m644 media/retroarch.svg /opt/retropie/emulators/retroarch/share/pixmaps
                              « /home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch.cfg » -> « /opt/retropie/emulators/retroarch/retroarch.cfg »
                              /home/pi
                              /opt/retropie/emulators/retroarch /home/pi
                              
                              = = = = = = = = = = = = = = = = = = = = =
                              Configuring 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
                              = = = = = = = = = = = = = = = = = = = = =
                              
                              error: bad index file sha1 signature
                              fatal: index file corrupt
                              fatal: Reference has invalid format: 'refs/remotes/origin/rpi
                              '
                              error: bad index file sha1 signature
                              fatal: index file corrupt
                              error: bad index file sha1 signature
                              fatal: index file corrupt
                              Copying new default configuration to /opt/retropie/configs/all/retroarch.cfg.rp-dist
                              /home/pi
                              Error running 'git pull' - returned 1
                              Error running 'git submodule update --init --recursive' - returned 1
                              
                              Log ended at: jeudi 24 août 2017, 14:44:20 (UTC+0200)
                              Total running time: 0 hours, 7 mins, 8 secs
                              

                              I try many things but nothing works for me :(
                              I read there you write to remove the CONFIG dir and install again RETROARCH but it is impossible, i work so many days on my configs ...
                              https://retropie.org.uk/forum/topic/9147/default-all-retroarch-cfg

                              I have try to remove the retroarch.cfg and expect it will create a new one but it crash too :(
                              Maybe if some one can share his file with me, i will use it to update and after i will update settings with mine.

                              Thanks

                              Life is game, just play it !

                              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.