RetroPie forum home
    • 최근
    • 태그
    • 인기
    • Home
    • Docs
    • 등록
    • 로그인

    Development of module-script generator for lr-mess, lr-mame and mame standalone

    예약됨 고정됨 잠김 이동됨 Ideas and Development
    developmentlr-messmamelr-mamescripts
    2.3k 게시물 37 작성자 7.9m 조회수
    게시물 더 불러오는 중
    • 오래된 순
    • 최신 순
    • 가장 많은 투표
    답글
    • 토픽으로 답글
    로그인 후 답글 작성
    이 토픽은 삭제되었습니다. 토픽 관리 권한이 있는 사용자만 볼 수 있습니다.
    • FollyF
      Folly @DTEAM
      마지막 수정자: Folly

      @DTEAM

      Just tested cdimono1 (philips cdi) and it does work on my PI4 and PI5 with the mame 265 stickfreaks binary.

      Will test VIS too, will let you know.

      Edit :
      Tested VIS with "Americas National Parks (1992)(Multicom)(US)" on my PI4 and the shown EXIT buttons in the game do work.
      Which game did you try ?

      DTEAMD 1 답글 마지막 답글 답글 인용 0
      • FollyF
        Folly @DTEAM
        마지막 수정자:

        @DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

        I used mame0.265 binary (line 12) from your script.

        Line 12 is a totally different binary, see here :
        2024-06-03-183022_1920x1080_scrot.png

        If possible then you should use :
        2024-06-03-183036_1920x1080_scrot.png

        1 답글 마지막 답글 답글 인용 0
        • DTEAMD
          DTEAM @Folly
          마지막 수정자: DTEAM

          @Folly

          Links Golf

          For MAME I made a mistake, I used 0.255. It was line 12 on your main download page (Experimental one, at risk ) Sorry. I read too fast. Stupid mistake from me. Sorry for wasting your time.

          The stickfreaks file you have is for a 64bit Raspberry Pi OS

          see :
          https://stickfreaks.com/mame/_README.TXT

          I think I need the "armhf"/"armv7l" version for 32bit Rasbperry Pi OS......
          It doesn't exist for 0.265. He has stopped to share this option with MAME 0.260. With retropie, the official 32 bit binary file stop at 0.264.

          Well, I'll have to go with my Pi5 to continue

          FollyF 1 답글 마지막 답글 답글 인용 1
          • FollyF
            Folly @DTEAM
            마지막 수정자: Folly

            @DTEAM

            Ok now I understand,indeed that binary is for RPI1.
            Indeed the stickfreaks website dropped the 32bits/rpi2 versions.

            The 32 bit's 264 mame binary should still be available from the RetroPie-Setup when you install mame from the original mame module-script.
            It is linked in my script or go to experimental packages and install/update from binary instead of source.

            I have never added that one to my gdrive.
            I will see if I still can.

            DTEAMD 1 답글 마지막 답글 답글 인용 1
            • DTEAMD
              DTEAM @Folly
              마지막 수정자:

              @Folly
              see here
              https://github.com/danmons/mame_raspberrypi_cross_compile/issues/6

              FollyF 1 답글 마지막 답글 답글 인용 0
              • FollyF
                Folly @DTEAM
                마지막 수정자:

                @DTEAM

                I never used cross-compiling but indeed I see some returning news.
                Seems it's best to use a 64bits OS in the future.

                What did strike you the most ?

                DTEAMD 1 답글 마지막 답글 답글 인용 0
                • DTEAMD
                  DTEAM @Folly
                  마지막 수정자: DTEAM

                  @Folly
                  @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                  What did strike you the most ?

                  Not that much. Just the newest additions. 0.264 works well

                  Maybe we are near the end of 32 bit with MAME. I'll do a manual installation of Retropie on my Pi5. I didn't found a recent (0.265 or 0.266) precompiled 32 bit version of MAME

                  FollyF duglorD 3 답글 마지막 답글 답글 인용 1
                  • FollyF
                    Folly @DTEAM
                    마지막 수정자:

                    @DTEAM

                    Let me know if it works for you ;-)
                    And if you want you can share it for my gdrive.

                    1 답글 마지막 답글 답글 인용 1
                    • FollyF
                      Folly @DTEAM
                      마지막 수정자: Folly

                      @DTEAM

                      Good news.
                      I used and almost forgotten way of creating a somewhat cross-compiled 64bits binary for RPI3 on my Apple M1(Bookworm VM) in far less than 2 hours.
                      Nice thing it will work on RPI4 and RPI5 too.
                      Added that 266 binary to the gdrive.

                      See here for more info.
                      I used :

                      sudo __platform=rpi3 ./retropie_packages.sh mame
                      

                      p.s.
                      The Apple M1 is 64bits only, think it's not possible to do it for 32bits.
                      Probably only works when you use a 32bits OS, so on the RPI5 it would be possible with a reasonable speed.

                      Edit 1 :
                      Sadly the mame binary only works in desktop mode on the RPI3 and is of-course also slow.
                      (might be that something has to be changed in the config.txt for the RPI3)
                      For the RPI4 and RPI5 it works in both terminal(lite) and desktop mode.

                      I will probably rename the binary for RPI4 and RPI5 only. (Edit : RPI3 is still in the name, using rpi3dt now [dt=desktop])

                      Edit 2 :
                      Got the binary running in "lite-cli-mode" on the zero2w, rpi3a+ and rpi3b+ when installing zram using this :
                      https://ikarus.sg/using-zram-to-get-more-out-of-your-raspberry-pi/
                      https://github.com/StuartIanNaylor/zram-swap-config

                      Got 100% on apple2 (autoframeskip)
                      kgradius runs on 60% (frameskip 10)

                      conclusion the binary is compiled ok for rpi3.

                      J 1 답글 마지막 답글 답글 인용 1
                      • FollyF
                        Folly
                        마지막 수정자: Folly

                        Wasn't planning to update to 0266 but did it anyway.
                        Among-st others a few new neogeo games have been added.

                        1 답글 마지막 답글 답글 인용 0
                        • J
                          JimmyFromTheBay @Folly
                          마지막 수정자:

                          @Folly Hey amigo. Noticed this and wondered if it might help me run the Sinclair ZX80 on my RPi4 with Buster. I downloaded both versions:

                          lr-mess_0.265_x86_64_BuildBot_gccXX_PC_generic_full_mame

                          and

                          lr-mess_0.265_x86_32_BuildBot_gccXX_PC_generic_full_mame

                          from your Gdrive and installed them in my Downloads folder as before.

                          Then I tried to run lr-mess-system-zx80-cass with this EMULATORS.CFG:

                          lr-mess-system-zx80-cass = "/home/pi/RetroPie-Setup/scriptmodules/run_mess.sh /opt/retropie/emulators/retroarch/bin/retroarch /home/pi/Downloads/lr-mess265/mamemess_libretro.so /opt/retropie/configs/zx80/retroarch.cfg \zx80 /home/pi/RetroPie/BIOS/mame -autoframeskip -ui_active -cass %ROM%"
                          
                          

                          But it fails with this error log:

                          Parameters: 
                          Executing: /home/pi/RetroPie-Setup/scriptmodules/run_mess.sh /opt/retropie/emulators/retroarch/bin/retroarch /home/pi/Downloads/lr-mess265/mamemess_libretro.so /opt/retropie/configs/zx80/retroarch.cfg \zx80 /home/pi/RetroPie/BIOS/mame -autoframeskip -ui_active -cass "/home/pi/RetroPie/roms/zx80/ZX80 4K ROM Kong Loader (Lightning Software, 2010).o" --verbose --appendconfig /dev/shm/retroarch.cfg
                          basename: unrecognized option '--verbose'
                          Try 'basename --help' for more information.
                          [.] parameters dump
                          \t_retroarchbin: /opt/retropie/emulators/retroarch/bin/retroarch
                          \t_messpath: /home/pi/Downloads/lr-mess265/mamemess_libretro.so
                          \t_config: /opt/retropie/configs/zx80/retroarch.cfg (+ /opt/retropie/configs/zx80/retroarch.cfg.add)
                          \t_cfg_directory: /opt/retropie/configs/zx80
                          \t_system: zx80
                          \t_biosdir: /home/pi/RetroPie/BIOS/mame
                          dirname: invalid option -- 'a'
                          Try 'dirname --help' for more information.
                          dirname: invalid option -- 'u'
                          Try 'dirname --help' for more information.
                          dirname: invalid option -- 'c'
                          Try 'dirname --help' for more information.
                          \t_romdir: /home/pi/RetroPie/roms/zx80
                          \t/tmp/mess.cmd content: zx80 -rp "/home/pi/RetroPie/BIOS/mame" -cfg_directory /opt/retropie/configs/zx80 "-autoframeskip" "-ui_active" "-cass" "/home/pi/RetroPie/roms/zx80/ZX80 4K ROM Kong Loader (Lightning Software, 2010).o"
                          rm: cannot remove '/home/pi/RetroPie/roms/zx80/.cmd': No such file or directory
                          rm: cannot remove '/opt/retropie/configs/zx80/tmpconfig.add': No such file or directory
                          [.] launching: /opt/retropie/emulators/retroarch/bin/retroarch --verbose --config /opt/retropie/configs/zx80/retroarch.cfg --appendconfig /opt/retropie/configs/zx80/tmpconfig.add -L /home/pi/Downloads/lr-mess265/mamemess_libretro.so /home/pi/RetroPie/roms/zx80/.cmd
                          [WARN] --libretro argument "/home/pi/Downloads/lr-mess265/mamemess_libretro.so" is neither a file nor directory. Ignoring.
                          [INFO] RetroArch 1.8.8 (Git 9552f87)
                          [INFO] Redirecting save file to "/home/pi/RetroPie/roms/zx80/.srm".
                          [INFO] Redirecting save state to "/home/pi/RetroPie/roms/zx80/.state".
                          [INFO] === Build =======================================
                          [INFO] Capabilities:  NEON VFPv3 VFPv4
                          [INFO] Built: Nov  2 2020
                          [INFO] Version: 1.8.8
                          [INFO] Git: 9552f87
                          [INFO] =================================================
                          [ERROR] Frontend is built for dynamic libretro cores, but path is not set. Cannot continue.
                          [ERROR] Fatal error received in: "init_libretro_symbols()"
                          
                          

                          Am I wasting my time here or should it be possible to get this to work?

                          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.

                          FollyF 1 답글 마지막 답글 답글 인용 0
                          • FollyF
                            Folly @JimmyFromTheBay
                            마지막 수정자: Folly

                            @JimmyFromTheBay

                            Hi friend,
                            You are wasting your time ;-)

                            The binaries you used are for regular AMD/Intel machines running linux and RetroPie on regular PC's.
                            You need the arm/aarch64 variant for running it on a PI4/PI5.
                            On top of that all versions of mame above 264 need Bookworm to run.
                            For lr-mess/lr-mame this could be different as I have not tested this yet, but my guts say it will not work just like with mame.

                            If you want to run it then you need to install Bookworm on your PI4/PI5 and install RetroPie on top of it.
                            It's advised to use a 64bit Bookworm OS and use the aarch64 binary.

                            J FollyF 2 답글 마지막 답글 답글 인용 1
                            • J
                              JimmyFromTheBay @Folly
                              마지막 수정자:

                              @Folly Damn my foolish hopes! 😄

                              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.

                              1 답글 마지막 답글 답글 인용 0
                              • FollyF
                                Folly @Folly
                                마지막 수정자: Folly

                                @JimmyFromTheBay

                                If you want to run it then you need to install Bookworm on your PI4/PI5 and install RetroPie on top of it.
                                It's advised to use a 64bit Bookworm OS and use the aarch64 binary.

                                I can create a new topic about this if needed.

                                Anyone : Is there some demand for this ?

                                J 1 답글 마지막 답글 답글 인용 0
                                • FollyF
                                  Folly
                                  마지막 수정자: Folly

                                  @DTEAM @JimmyFromTheBay @bbilford83

                                  Added the latest lr-mess/lr-mame 266 for Bookworm 64bits aarch64 that works on rpi3+4+5.
                                  On the rpi3(1Gb) it even works without desktop environment and is fast enough, just like the old days.
                                  Tried kgradius from konamih and apple2 with good results.
                                  Running it on rpi3(1Gb) in desktop mode does run but is slow so that is probably a no go.

                                  Edit:
                                  The binaries are full mame and therefor big.
                                  The binaries seems to be too big and will not run on the zero2w and rpi3a+ which only have 512Mb.

                                  J 1 답글 마지막 답글 답글 인용 1
                                  • J
                                    JimmyFromTheBay @Folly
                                    마지막 수정자:

                                    @Folly Fantastic!

                                    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.

                                    FollyF 1 답글 마지막 답글 답글 인용 0
                                    • J
                                      JimmyFromTheBay @Folly
                                      마지막 수정자:

                                      @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                      @JimmyFromTheBay

                                      If you want to run it then you need to install Bookworm on your PI4/PI5 and install RetroPie on top of it.
                                      It's advised to use a 64bit Bookworm OS and use the aarch64 binary.

                                      I can create a new topic about this if needed.

                                      Anyone : Is there some demand for this ?

                                      I'm definitely interested, as there's still no "official" Retropie for the Pi5.

                                      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.

                                      DTEAMD FollyF 2 답글 마지막 답글 답글 인용 1
                                      • DTEAMD
                                        DTEAM @JimmyFromTheBay
                                        마지막 수정자:

                                        @Folly

                                        I installed your script on my Pi 5 and installed MAME 0.266 with it. It works wonderfully.

                                        FollyF 1 답글 마지막 답글 답글 인용 2
                                        • FollyF
                                          Folly @DTEAM
                                          마지막 수정자:

                                          @DTEAM said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                          @Folly

                                          I installed your script on my Pi 5 and installed MAME 0.266 with it. It works wonderfully.

                                          Is it a 64bits OS or 32bits OS.
                                          Did you create your own binary or did you use mine ?

                                          DTEAMD 1 답글 마지막 답글 답글 인용 0
                                          • FollyF
                                            Folly @JimmyFromTheBay
                                            마지막 수정자:

                                            @JimmyFromTheBay said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                            @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                            @JimmyFromTheBay

                                            If you want to run it then you need to install Bookworm on your PI4/PI5 and install RetroPie on top of it.
                                            It's advised to use a 64bit Bookworm OS and use the aarch64 binary.

                                            I can create a new topic about this if needed.

                                            Anyone : Is there some demand for this ?

                                            I'm definitely interested, as there's still no "official" Retropie for the Pi5.

                                            If I have the time then I will have a look.

                                            1 답글 마지막 답글 답글 인용 0
                                            • 첫 게시물
                                              마지막 게시물

                                            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.