RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!)

    Scheduled Pinned Locked Moved Ideas and Development
    githubscriptmodulesdevelopment
    545 Posts 42 Posters 268.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.
    • TPRT
      TPR @Folly
      last edited by

      @folly I seem to still be getting an error using your version. Here's what my log file says:

      = = = = = = = = = = = = = = = = = = = = =
      Building 'gsplus' : Apple II/GS emulator v
      = = = = = = = = = = = = = = = = = = = = =

      -- The C compiler identification is GNU 8.3.0
      -- The CXX compiler identification is GNU 8.3.0
      -- Check for working C compiler: /usr/bin/cc
      -- Check for working C compiler: /usr/bin/cc -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: /usr/bin/c++
      -- Check for working CXX compiler: /usr/bin/c++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
      -- Check if the system is big endian
      -- Searching 16 bit integer
      -- Looking for sys/types.h
      -- Looking for sys/types.h - found
      -- Looking for stdint.h
      -- Looking for stdint.h - found
      -- Looking for stddef.h
      -- Looking for stddef.h - found
      -- Check size of unsigned short
      -- Check size of unsigned short - done
      -- Using unsigned short
      -- Check if the system is big endian - little endian
      -- Checking for module 'sdl2'
      -- Found sdl2, version 2.0.10
      -- Checking for module 'freetype2'
      -- Found freetype2, version 22.1.16
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/pi/RetroPie-Setup/tmp/build/gsplus
      Scanning dependencies of target x_readline
      Scanning dependencies of target partls
      Scanning dependencies of target to_pro
      Scanning dependencies of target atbridge
      [ 5%] Building C object bin/CMakeFiles/to_pro.dir/to_pro.c.o
      [ 5%] Building C object bin/CMakeFiles/x_readline.dir/readline.c.o
      [ 5%] Building C object bin/CMakeFiles/partls.dir/partls.c.o
      [ 6%] Building C object bin/atbridge/CMakeFiles/atbridge.dir/aarp.c.o
      /home/pi/RetroPie-Setup/tmp/build/gsplus/src/readline.c:90:10: fatal error: readline/readline.h: No such file or directory
      #include <readline/readline.h>
      ^~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[2]: *** [bin/CMakeFiles/x_readline.dir/build.make:63: bin/CMakeFiles/x_readline.dir/readline.c.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:102: bin/CMakeFiles/x_readline.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      [ 8%] Building C object bin/atbridge/CMakeFiles/atbridge.dir/atbridge.c.o
      [ 10%] Linking C executable partls
      [ 11%] Building C object bin/atbridge/CMakeFiles/atbridge.dir/elap.c.o
      [ 13%] Building C object bin/atbridge/CMakeFiles/atbridge.dir/llap.c.o
      [ 13%] Built target partls
      [ 15%] Building C object bin/atbridge/CMakeFiles/atbridge.dir/pcap_delay.c.o
      /home/pi/RetroPie-Setup/tmp/build/gsplus/src/to_pro.c: In function ‘format_memdisk’:
      /home/pi/RetroPie-Setup/tmp/build/gsplus/src/to_pro.c:370:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
      strncpy((char *)vol_hdr->vol_name, name, strlen(name));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      [ 16%] Building C object bin/atbridge/CMakeFiles/atbridge.dir/port.c.o
      [ 18%] Linking C static library libatbridge.a
      [ 18%] Built target atbridge
      [ 20%] Linking C executable to_pro
      [ 20%] Built target to_pro
      make: *** [Makefile:84: all] Error 2
      /home/pi/RetroPie-Setup/scriptmodules/emulators
      Could not successfully build gsplus - Apple II/GS emulator v (/home/pi/RetroPie-Setup/tmp/build/gsplus/bin/GSplus not found).

      Log ended at: Fri 11 Dec 18:46:43 GMT 2020
      Total running time: 0 hours, 0 mins, 15 secs

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

        EDIT : (22-12-2020) Problem has been solved now in the original fork of @valerino.

        @tpr

        Try to install the package manually.

        sudo apt install libreadline-dev
        

        Then try to reinstall gsplus again.

        TPRT 1 Reply Last reply Reply Quote 1
        • TPRT
          TPR @Folly
          last edited by

          @folly Yay! That seemed to at least build without any errors. Thank you!

          Now I just need to spend some time to see if I can get it running. Do you happen to know what BIOS files I need and what folders they go in?

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

            @tpr

            @roslof said use ROM.01 for the best compatibility.
            Find this file APPLE2GS.ROM and rename it to ROM.01.
            (there is an apple mirror ftp)
            I placed it just in :
            /home/pi/RetroPie/BIOS
            Perhaps you have to select the rom through the menu (F4) and save your config.
            (hopefully it will stick)

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

              @tpr

              I am now trying both ways running apple2gs.

              Through lr-mess I already have Thexder running.

              But not yet in GSplus.
              GSplus needs a .gsp booter file.
              Tried this with thexder but i did not boot Thexder.
              I am still missing the GSOS6.0.1.img harddrive file, perhaps thats why it will not work.
              (EDIT : hardfile is not needed for booting Thexder)

              For those who are also reading this, @roslof discribed a lot about GSplus :
              https://retropie.org.uk/forum/topic/25576/new-scriptmodules-lr-vice-xvic-gsplus-proper-lr-mess-integration/176

              TPRT 2 Replies Last reply Reply Quote 0
              • TPRT
                TPR @Folly
                last edited by

                @folly How did you get it running under lr-mess? I have that installed as well but everytime I load something it freezes when it loads up. Maybe I have the wrong BIOS locations? What are the BIOS locations for the lr-mess version?

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

                  @folly When I use lr-mess-apple2gs it always crashes on this Initializing screen:
                  131361599_371657860807468_607030021260211037_n.jpg

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

                    @tpr said in new scriptmodules (lr-vice-xvic, gsplus, proper lr-mess integration!):

                    @folly How did you get it running under lr-mess? I have that installed as well but everytime I load something it freezes when it loads up. Maybe I have the wrong BIOS locations? What are the BIOS locations for the lr-mess version?

                    I think your BIOS is not fully compatible.
                    check your log :
                    /dev/shm/runcommand.log
                    (after trying)

                    You can read my posts from here, and learn how you can do this :
                    https://retropie.org.uk/forum/topic/25576/new-scriptmodules-lr-vice-xvic-gsplus-proper-lr-mess-integration/270

                    This my last post on how I got it running with lr-mess :
                    https://retropie.org.uk/forum/topic/28345/old-computer-appreciation-thread/1014

                    TPRT 3 Replies Last reply Reply Quote 0
                    • TPRT
                      TPR @Folly
                      last edited by

                      @folly GREAT! Will look at that now. Thank you!

                      1 Reply Last reply Reply Quote 0
                      • TPRT
                        TPR @Folly
                        last edited by

                        @folly I'll look for that apple mirror ftp to grab the BIOS files. What folders should they go in for lr-mess-apple2gs?

                        1 Reply Last reply Reply Quote 0
                        • TPRT
                          TPR @Folly
                          last edited by

                          @folly I was able to get Thexder running in GSplus:
                          thexder.jpg

                          I have the launcher files in /home/pi/RetroPie/roms/apple2gs/
                          and the .2mg files in: /home/pi/RetroPie/roms/apple2gs/[Disk Images]/

                          My BIOS is in: /home/pi/RetroPie/BIOS/apple2gs/

                          I still cannot get it to work with lr-mess-apple2gs

                          Any idea what folder the BIOS should be in for that to work? Nothing I have tried brings it up, and it just keeps crashing on the "Initializing" screen.

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

                            @tpr

                            Nice.

                            If you have it working then should get it working too.
                            Will try tomorrow again.

                            We can try lr-mess later.
                            Perhaps i can help you.

                            EDIT: Tried one more time. Indeed it works with GSplus !!!

                            TPRT 1 Reply Last reply Reply Quote 0
                            • TPRT
                              TPR @Folly
                              last edited by

                              @folly

                              This is what I see in my log after I try to load a game with lr-mess-apple2gs:

                              341s0632-2.bin NOT FOUND (tried in apple2gs)
                              341-0232a.bin NOT FOUND (tried in apple2gs)
                              341-0124a.bin NOT FOUND (tried in apple2gs)
                              341-0728 NOT FOUND (tried in apple2gs)
                              341-0748 NOT FOUND (tried in apple2gs)
                              341-0132-d.e12 NOT FOUND (tried in apple2gs)
                              Fatal error: Required files are missing, the machine cannot be run.

                              I'm not sure what that means or what I am missing.

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

                                @tpr

                                Most are already in MESS 0.151 ROMs .
                                You have to have apple2gs.zip containing those roms in the BIOS directory.
                                341-0132-d.e12 is in apple2ee.zip
                                Use the old 341-0748 from the apple mirror ftp.
                                Repack to zip.

                                Use sha1sum to check the sums.

                                sha1sum *
                                
                                58fbf770d3801a02d0944039829f9241b5279013  341-0124a.bin
                                8e14e85c645187504ec9d162b3ea614a0c421d32  341-0132-d.e12
                                e8744180075182849d431fd8023a52a062a6da76  341-0232a.bin
                                c0f4704233ead14cb8e1e8a68fbd7063c56afd27  341-0737
                                c70576869deec92ca82c78438b1d5c686eac7480  341-0748.bin
                                2784cdd7ac7094b3e494409db3e72b4e6d2d9e81  341-0748.bin -> new <- do not use
                                41d18c36a617ab9dce668445440d34354be0672  341s0632-2.bin
                                34e2443e2ef960a36c047a09ed5a93f471797f89  apple2gs.chr
                                
                                TPRT 1 Reply Last reply Reply Quote 0
                                • TPRT
                                  TPR @Folly
                                  last edited by

                                  @folly THANK YOU! Just got it working. Yep, I was missing files. I had the ROM.01 file but not those others.

                                  I'll test more tomorrow!

                                  TPRT 1 Reply Last reply Reply Quote 0
                                  • TPRT
                                    TPR @TPR
                                    last edited by

                                    Is there a list out there somewhere for what BIOS is needed for all these lr-mess- scripmodules and where those files should be placed? My Googling around has brought up so many different answers and sometimes not correct for these specific modules. For example, my above issue with Apple IIgs. My Googlefu brought up that I needed ROM or ROM.01 in my BIOS directory, but I never found any reference to needing apple2gs.zip in that directory until someone told me about it.

                                    I plan on installing a few more of these scriptmodules and having a list of what BIOS files are needed to get them all running would be very helpful.

                                    Thank you!

                                    DTEAMD 1 Reply Last reply Reply Quote 0
                                    • DTEAMD
                                      DTEAM @TPR
                                      last edited by DTEAM

                                      @tpr
                                      All BIOSes are in the MAME romset. To know the MAME/lr-Mess systems names , see .xml files in the MAME hash folder or use the search tool here

                                      TPRT 2 Replies Last reply Reply Quote 0
                                      • TPRT
                                        TPR @DTEAM
                                        last edited by TPR

                                        @dteam Where is the "MAME Hash" folder? This is what I'm talking about. People keep mentioning things, but don't say where things can be found. I just looked through every single MAME, MESS or lr-mame folder I have on my pi and I don't see a "hash" folder anywhere.

                                        Please help.

                                        1 Reply Last reply Reply Quote 0
                                        • TPRT
                                          TPR @DTEAM
                                          last edited by TPR

                                          @dteam Googling around it looks like I'm supposed to have a "hash" folder in my BIOS folder? This is all I have in my mame folder under BIOS:
                                          131398229_1355733964769700_9198574270058734846_n.jpg

                                          I even just did a "Re-install (from pre-build binary) for lr-mess and it is the same. Obviously I have lr-mess installed as many of the scriptmodules are working.

                                          Is there someplace I can manually download this "hash" folder so I can add it?

                                          Thank you.

                                          DTEAMD Z 2 Replies Last reply Reply Quote 0
                                          • DTEAMD
                                            DTEAM @TPR
                                            last edited by DTEAM

                                            @tpr

                                            In

                                            /opt/retropie/emulators/mame/hash

                                            You don't need this list to run your lr-mess games. It's just as a reference for system names.

                                            TPRT 1 Reply Last reply Reply Quote 1
                                            • 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.