lr-mame 2010 and 7z format
-
I've never been able to use .7z with 2010, 2003, 2003-Plus or AdvanceMAME.
@mitu are you certain? Perhaps 2010 was recently updated to support 7z? -
Could be something added by the libretro port. Mame 2010 is based on MAME 0.139, while MAME added 7zip/LZMA support in 0.146. The libretro core info shows that it supports 7z.
Nevertheless, I can boot a game in a
.7z
archive without issues: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/galmedes.7z" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.8.8 (Git 9552f87) ... [libretro INFO] [MAME 2010] path=/home/pi/RetroPie/roms/arcade/galmedes.7z gamePath=/home/pi/RetroPie/roms/arcade gameName=galmedes [libretro INFO] [MAME 2010] galmedes "Galmedes (Japan)" rot=6 [libretro INFO] [MAME 2010] Creating frontend... game=galmedes [libretro INFO] [MAME 2010] Invoking MAME2010 CLI frontend. Parameter count: 17 [libretro INFO] [MAME 2010] Parameter list: galmedes [libretro INFO] [MAME 2010] osd_init starting [libretro INFO] [MAME 2010] SOURCE FILE: src/mame/drivers/asuka.c [libretro INFO] [MAME 2010] PARENT: 0 [libretro INFO] [MAME 2010] NAME: galmedes [libretro INFO] [MAME 2010] DESCRIPTION: Galmedes (Japan) [libretro INFO] [MAME 2010] YEAR: 1992 [libretro INFO] [MAME 2010] MANUFACTURER: Visco [libretro INFO] [MAME 2010] Machine screen orientation: VERTICAL [libretro INFO] [MAME 2010] Rotation:1 ...
pi@retropie$ file galmedes.7z galmedes.zip galmedes.7z: 7-zip archive data, version 0.4 galmedes.zip: Zip archive data, at least v2.0 to extract pi@retropie$ 7z t galmedes.7z 7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs LE) Scanning the drive for archives: 1 file, 460455 bytes (450 KiB) Testing archive: galmedes.7z -- Path = galmedes.7z Type = 7z Physical Size = 460455 Headers Size = 241 Method = LZMA2:21 Solid = + Blocks = 1 Everything is Ok Files: 6 Size: 1900544 Compressed: 460455
-
@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?
-
@pindapoe I have a stock
es_systems.cfg
, without any modifications. I see that themame-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. -
@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
-
I know it says not found, but the .7z files are there and they are fine, dont have idea why doesnt load it?
-
How are you compressing the ROMs to 7z ? Did you use a ROM manager ?
-
@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) -
@roslof What does
7z l avalnche.7z
show ? -
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
-
@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 ? Justunzip "$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
-
@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
-
This post is deleted! -
@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. -
@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?).
-
I guess some bug is around this, not sense to me what is going on with .7z files
-
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. -
@mitu Thanks for looking at it, keeping the files in zip format :)
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.