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

    lr-mame 2010 and 7z format

    Scheduled Pinned Locked Moved Help and Support
    lr-mame2010 7z
    20 Posts 3 Posters 1.7k 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.
    • P
      pindapoe @mitu
      last edited by

      @mitu Thanks for your answer, I´m running the roms from mame-libretro folder instead arcade folder as yours.

      Would you mind to post your config in es_systems file?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @pindapoe
        last edited by mitu

        @pindapoe I have a stock es_systems.cfg, without any modifications. I see that the mame-libretro folder doesn't have .7z as registered extension, but that shouldn't be an issue if you modified it and added the extension - it looks like your issue is with launching the game.

        P 1 Reply Last reply Reply Quote 0
        • P
          pindapoe @mitu
          last edited by

          @mitu I tried again, just put the fresh Retropie 4.6 image, connect to wifi, updated Retropie Setup to 4.6.7, downloaded lr-mame-2010, and put the 7z files in the arcade folder this time and got this:

          Parameters: 
          Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/1942.7z" --verbose --appendconfig /dev/shm/retroarch.cfg
          [INFO] RetroArch 1.8.5 (Git 8bcd74b)
          [INFO] Redirecting save file to "/home/pi/RetroPie/roms/arcade/1942.srm".
          [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/arcade/1942.state".
          [INFO] === Build =======================================
          [INFO] Capabilities:  NEON VFPv3 VFPv4
          [INFO] Built: Apr 20 2020
          [INFO] Version: 1.8.5
          [INFO] Git: 8bcd74b
          [INFO] =================================================
          [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so"
          [INFO] [Overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/MAME 2010/MAME 2010.cfg.
          [INFO] [Overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/MAME 2010/arcade.cfg.
          [INFO] [Overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/MAME 2010/1942.cfg.
          [INFO] [Environ]: SET_VARIABLES.
          [INFO] [Remaps]: remap directory: /opt/retropie/configs/arcade/
          [INFO] Redirecting save file to "/home/pi/RetroPie/roms/arcade/1942.srm".
          [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/arcade/1942.state".
          [INFO] [Environ]: GET_LOG_INTERFACE.
          [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS".
          [libretro INFO] [MAME 2010] mame.ini found at: /home/pi/RetroPie/roms/arcade//mame2010/ini/mame.ini
          [INFO] Content loading skipped. Implementation will load it on its own.
          [libretro INFO] [MAME 2010] libretro_content_directory: /home/pi/RetroPie/roms/arcade/
          [libretro INFO] [MAME 2010] libretro_system_directory: /home/pi/RetroPie/BIOS/mame2010
          [libretro INFO] [MAME 2010] libretro_save directory: /home/pi/RetroPie/roms/arcade//mame2010
          [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
          [libretro INFO] [MAME 2010] mouse_enable value: enabled
          [libretro INFO] [MAME 2010] skip_nagscreen value: enabled
          [libretro INFO] [MAME 2010] skip_gameinfo value: disabled
          [libretro INFO] [MAME 2010] skip_warnings value: disabled
          [libretro INFO] [MAME 2010] videoapproach1_enable value: disabled
          [INFO] [Environ]: SET_INPUT_DESCRIPTORS:
          [libretro INFO] [MAME 2010] path=/home/pi/RetroPie/roms/arcade/1942.7z gamePath=/home/pi/RetroPie/roms/arcade gameName=1942
          [libretro INFO] [MAME 2010] 1942              "1942 (Revision B)" rot=6 
          [libretro INFO] [MAME 2010] Creating frontend... game=1942
          [libretro INFO] [MAME 2010] Invoking MAME2010 CLI frontend. Parameter count: 17
          [libretro INFO] [MAME 2010] Parameter list: 1942 
          [libretro INFO] [MAME 2010] osd_init starting
          [libretro INFO] [MAME 2010] SOURCE FILE: src/mame/drivers/1942.c
          [libretro INFO] [MAME 2010] PARENT: 0
          [libretro INFO] [MAME 2010] NAME: 1942
          [libretro INFO] [MAME 2010] DESCRIPTION: 1942 (Revision B)
          [libretro INFO] [MAME 2010] YEAR: 1984
          [libretro INFO] [MAME 2010] MANUFACTURER: Capcom
          [libretro INFO] [MAME 2010] Machine screen orientation: VERTICAL 
          [libretro INFO] [MAME 2010] Rotation:1
          [INFO] [Environ]: SET_ROTATION: 1
          [libretro INFO] [MAME 2010] osd_init done
          [libretro INFO] [MAME 2010] game screen w=256 h=224  rowPixels=256
          [libretro INFO] [MAME 2010] Rotation:1
          [INFO] [Environ]: SET_ROTATION: 1
          srb-03.m3 NOT FOUND
          srb-04.m4 NOT FOUND
          srb-05.m5 NOT FOUND
          srb-06.m6 NOT FOUND
          srb-07.m7 NOT FOUND
          sr-01.c11 NOT FOUND
          sr-02.f2 NOT FOUND
          sr-08.a1 NOT FOUND
          sr-09.a2 NOT FOUND
          sr-10.a3 NOT FOUND
          sr-11.a4 NOT FOUND
          sr-12.a5 NOT FOUND
          sr-13.a6 NOT FOUND
          sr-14.l1 NOT FOUND
          sr-15.l2 NOT FOUND
          sr-16.n1 NOT FOUND
          sr-17.n2 NOT FOUND
          sb-5.e8 NOT FOUND
          sb-6.e9 NOT FOUND
          sb-7.e10 NOT FOUND
          sb-0.f1 NOT FOUND
          sb-4.d6 NOT FOUND
          sb-8.k3 NOT FOUND
          sb-2.d1 NOT FOUND
          sb-3.d2 NOT FOUND
          sb-1.k6 NOT FOUND
          sb-9.m11 NOT FOUND
          ERROR: required files are missing, the game cannot be run.
          [libretro ERROR] [MAME 2010] MAME returned an error!
          [ERROR] Failed to load content
          [INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
          [INFO] Unloading game..
          [INFO] Unloading core..
          [libretro INFO] [MAME 2010] retro_deinit called
          [INFO] Unloading core symbols..
          /opt/retropie/supplementary/runcommand/runcommand.sh: line 1264:  1400 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/1942.7z" --verbose --appendconfig /dev/shm/retroarch.cfg
          
          1 Reply Last reply Reply Quote 0
          • P
            pindapoe
            last edited by

            I know it says not found, but the .7z files are there and they are fine, dont have idea why doesnt load it?

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @pindapoe
              last edited by

              How are you compressing the ROMs to 7z ? Did you use a ROM manager ?

              roslofR 1 Reply Last reply Reply Quote 0
              • roslofR
                roslof @mitu
                last edited by roslof

                @mitu said in lr-mame 2010 and 7z format:

                How are you compressing the ROMs to 7z ? Did you use a ROM manager ?

                This is the same issue I'm having (logs state individual files NOT FOUND). Here, using standard 7Zip for Windows. Level 9 compression (not using a ROM manager). The same ROM in 7Z format may work fine with MAME2015 or MAME2016, but not MAME 2010. The ZIP version of the same loads fine w/MAME2010. Weird. I had no idea anybody else was able to use .7Z until today.

                Using a universally compatible ROM "avalnche".

                MAME 2010 (d315183) <--2 releases back from current
                RetroArch 1.8.8 (Standard RetroPie Installation)

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @roslof
                  last edited by

                  @roslof What does 7z l avalnche.7z show ?

                  roslofR 1 Reply Last reply Reply Quote 0
                  • roslofR
                    roslof @mitu
                    last edited by

                    Path = avalnche.7z
                    Type = 7z
                    Physical Size = 4291
                    Headers Size = 199
                    Method = LZMA:16
                    Solid = +
                    Blocks = 1
                    
                       Date      Time    Attr         Size   Compressed  Name
                    ------------------- ----- ------------ ------------  ------------------------
                    1996-12-24 23:32:00 .....         2048         4092  30611.c2
                    1996-12-24 23:32:00 .....         2048               30614.c3
                    1996-12-24 23:32:00 .....         2048               30612.d2
                    1996-12-24 23:32:00 .....         2048               30615.d3
                    1996-12-24 23:32:00 .....         2048               30613.e2
                    1996-12-24 23:32:00 .....         2048               30616.e3
                    ------------------- ----- ------------ ------------  ------------------------
                    1996-12-24 23:32:00              12288         4092  6 files
                    
                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by mitu

                      @roslof said in lr-mame 2010 and 7z format:

                      Method = LZMA:16

                      that's different from my test ROM, which had

                      Method = LZMA2:21

                      Can you re-pack the file using the 7z on your RetroPie installation ? Just

                      unzip "$HOME/RetroPie/roms/mame-libretro/avalnche.zip" -d /tmp/avalnche
                      pushd /tmp/avalnche
                      7z a avalnche.7z *
                      cp avalnche.7z "$HOME/RetroPie/roms/mame-libretro"
                      popd
                      
                      roslofR 1 Reply Last reply Reply Quote 0
                      • roslofR
                        roslof @mitu
                        last edited by roslof

                        @mitu I'll do that, but I did figure out that using method LZMA2 instead of LZMA works... :| EDIT. This was incorrect. I had the emulator set for lr-mame...

                        Neither LZMA nor LZMA2 generated from either 7-Zip or the Pi's 7z launch for me with MAME2010.

                        FWIW, here is the output for the Pi .7z:

                        Listing archive: avalnche.7z
                        
                        --
                        Path = avalnche.7z
                        Type = 7z
                        Physical Size = 4295
                        Headers Size = 203
                        Method = LZMA2:12k
                        Solid = +
                        Blocks = 1
                        
                           Date      Time    Attr         Size   Compressed  Name
                        ------------------- ----- ------------ ------------  ------------------------
                        1996-12-24 23:32:00 ....A         2048         4092  30611.c2
                        1996-12-24 23:32:00 ....A         2048               30612.d2
                        1996-12-24 23:32:00 ....A         2048               30613.e2
                        1996-12-24 23:32:00 ....A         2048               30614.c3
                        1996-12-24 23:32:00 ....A         2048               30615.d3
                        1996-12-24 23:32:00 ....A         2048               30616.e3
                        ------------------- ----- ------------ ------------  ------------------------
                        1996-12-24 23:32:00              12288         4092  6 files
                        
                        roslofR 1 Reply Last reply Reply Quote 0
                        • roslofR
                          roslof @roslof
                          last edited by roslof

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator
                            last edited by

                            @roslof using the same ROM (avalnche) I get the same error (files missing). Seems it's not fully .7z compliant or some compression parameters are different between the ROMs.

                            roslofR 1 Reply Last reply Reply Quote 0
                            • roslofR
                              roslof @mitu
                              last edited by roslof

                              @mitu said in lr-mame 2010 and 7z format:

                              @roslof using the same ROM (avalnche) I get the same error (files missing). Seems it's not fully .7z compliant or some compression parameters are different between the ROMs.

                              Yes, something funky. Same ROM files work perfectly fine as a ZIP. But this also seems to be the case for all ROMs for me... Well, at least all the ones I've ever tested (maybe 30-40?).

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                pindapoe @roslof
                                last edited by

                                I guess some bug is around this, not sense to me what is going on with .7z files

                                1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator
                                  last edited by

                                  I've looked at the libretro core repository, it doesn't seem to be supporting .7z. We'll update the docs accordingly, I was about to refactor the MAME page anyway.
                                  I found out why my test was working - I traced the core and it actually picked up the .zip file instead of the .7z, once I removed the original .zip, it stopped working.

                                  P 1 Reply Last reply Reply Quote 1
                                  • P
                                    pindapoe @mitu
                                    last edited by pindapoe

                                    @mitu Thanks for looking at it, keeping the files in zip format :)

                                    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.