Retropie namingconvention question.
-
Hi, I was wondering if there is a special naming convention for roms in retropie, I noticed that my "no intro" romset is having some problems in retropie. The namingconvention I use is "no intro" and corresponds to the naming convention in HyperSpins database. Most games will launch fine, but I have noticed that "Mike Tyson's Punch-Out!! (Japan, USA) (Rev A)" doesn't work, it will not load. However, if I rename the rom to just Mike Tyson Punch Out it will load without a hitch. So, I guess there is something wrong with the name, maybe roms aren't allowed to have more then two "(" or maybe it's the exclamation mark. If anyone can ched some light on this I would apr it.
Cheers -
Need more information - https://retropie.org.uk/forum/topic/3/read-this-first - which version of RetroPie, which emulator, etc etc.
-
Alright, lets see here...
I use raspberry Pi 3 Version B
I use RetroPie 3.8
Emulation Station 2.0.1.A
Built From: (SD Image installed on MicroSD 128 gb)
Snes USB controller connected
No error messages pops up, just seems like it tries to open the rom (black screen) then goes back to retropie.
Guide used: https://github.com/retropie/retropie-setup/wiki/First-Installation
File: ~/RetroPie/roms/nes/Mike Tyson's Punch-Out!! (Japan, USA) (Rev A)
Emulator: The default one? I have not installed any emulators, but I did ad the disksys.rom bios just to be safe.
Config files have not been altered in any way, fresh install. -
The emulator can be found by pressing a button during launch to access the runcommand menu - https://github.com/retropie/retropie-setup/wiki/runcommand
Please post the contents of
/tmp/runcommand.log
when launching fails.You might want to try the latest image - https://retropie.org.uk/forum/topic/2106/4-0-rc1-images-are-available-for-testing
I renamed a Punch Out rom to the exact name you had that failed and it still loaded - Please give the full filename though - you don't mention if it is a zip or extracted .nes file. (I tried both however)
-
Thank you for answering, must be frustrating with people like me who know nothing about this.
Anyway, I got the log file:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 804: 993 Aborted /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg "/home/pi/RetroPie/roms/nes/Mike Tyson's Punch-Out!! (Japan, USA) (Rev A).zip" --appendconfig /tmp/retroarch.cfg
I tried changing the emulator as you suggested, nestopia was able to open the rom but then the controller stoped working as a result. I tried to reconfigure the controller but looks like nestopia did not like my snes controller. Edit: The controller will not work in any system now, maybe the install is corrupt or something? It worked before...
-
Please edit
/opt/retropie/configs/nes/emulators.cfg
changing the linelr-fceumm="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM%"
to
lr-fceumm="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg %ROM% --verbose"
and post the output again after launching - also please can you show me it launching when renamed.
the output will be more - please use markdown to style the log in a codeblock (as I have done). (three backticks around the log - see http://commonmark.org/help/)
-
Ok, I changed the line and it works, did not get an error in the runcommand.log this time, and the controller works again too it seems. Show? Like a video?
-
The line just outputs more debugging information - it should make no difference to anything else.
Did you change the emulator back to lr-fceumm ? I suspect not as the log would be full of data with the change above.
-
Nope, still using nestopia, I could switch back and try fceumm, one moment.
Edit, ok, so I switched back to fceumm and checked the log file, here is what come out:RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Features:
Built: Apr 25 2016
RetroArch [INFO] :: Version: 1.3.3
RetroArch [INFO] :: Git: 8e9c967
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: [CPUID]: Features:
RetroArch [INFO] :: Config: appending config "/tmp/retroarch.cfg"
RetroArch [INFO] :: Config: loading config from: /opt/retropie/configs/nes/retroarch.cfg.
RetroArch [INFO] :: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so"
RetroArch [INFO] :: Overrides: no core-specific overrides found at /opt/retropie/configs/nes/FCEUmm/FCEUmm.cfg
RetroArch [INFO] :: Overrides: no game-specific overrides found at /opt/retropie/configs/nes/FCEUmm/Mike Tyson's Punch-Out!! (Japan, USA) (Rev A).cfg
RetroArch [INFO] :: Environ SET_VARIABLES.
RetroArch [INFO] :: Remaps: core name: FCEUmm
RetroArch [INFO] :: Remaps: game name: Mike Tyson's Punch-Out!! (Japan, USA) (Rev A)
RetroArch [INFO] :: Remaps: remap directory: /opt/retropie/configs/nes/
RetroArch [INFO] :: Remaps: no game-specific remap found at /opt/retropie/configs/nes/FCEUmm/Mike Tyson's Punch-Out!! (Japan, USA) (Rev A).rmp
RetroArch [INFO] :: Remaps: no core-specific remap found at /opt/retropie/configs/nes/FCEUmm/FCEUmm.rmp
RetroArch [INFO] :: Environ GET_LOG_INTERFACE.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [libretro INFO] :: Frontend supports RGB565 - will use that instead of XRGB1555.
RetroArch [INFO] :: Environ PERFORMANCE_LEVEL: 5.
RetroArch [INFO] :: Content loading skipped. Implementation will load it on its own.
RetroArch [INFO] :: Environ SET_INPUT_DESCRIPTORS:
RetroArch [INFO] :: RetroPad, User 1, Button "B (bottom)" => "B"
RetroArch [INFO] :: RetroPad, User 1, Button "Y (left)" => "Turbo B"
RetroArch [INFO] :: RetroPad, User 1, Button "Select" => "Select"
RetroArch [INFO] :: RetroPad, User 1, Button "Start" => "Start"
RetroArch [INFO] :: RetroPad, User 1, Button "D-Pad Up" => "D-Pad Up"
RetroArch [INFO] :: RetroPad, User 1, Button "D-Pad Down" => "D-Pad Down"
RetroArch [INFO] :: RetroPad, User 1, Button "D-Pad Left" => "D-Pad Left"
RetroArch [INFO] :: RetroPad, User 1, Button "D-Pad Right" => "D-Pad Right"
RetroArch [INFO] :: RetroPad, User 1, Button "A (right)" => "A"
RetroArch [INFO] :: RetroPad, User 1, Button "X (up)" => "Turbo A"
RetroArch [INFO] :: RetroPad, User 1, Button "L" => "(FDS) Disk Side Change"
RetroArch [INFO] :: RetroPad, User 1, Button "R" => "(FDS) Insert/Eject Disk"
RetroArch [INFO] :: RetroPad, User 1, Button "R2" => "(VSSystem) Insert Coin"
RetroArch [INFO] :: RetroPad, User 2, Button "B (bottom)" => "B"
RetroArch [INFO] :: RetroPad, User 2, Button "Y (left)" => "Turbo B"
RetroArch [INFO] :: RetroPad, User 2, Button "Select" => "Select"
RetroArch [INFO] :: RetroPad, User 2, Button "Start" => "Start"
RetroArch [INFO] :: RetroPad, User 2, Button "D-Pad Up" => "D-Pad Up"
RetroArch [INFO] :: RetroPad, User 2, Button "D-Pad Down" => "D-Pad Down"
RetroArch [INFO] :: RetroPad, User 2, Button "D-Pad Left" => "D-Pad Left"
RetroArch [INFO] :: RetroPad, User 2, Button "D-Pad Right" => "D-Pad Right"
RetroArch [INFO] :: RetroPad, User 2, Button "A (right)" => "A"
RetroArch [INFO] :: RetroPad, User 2, Button "X (up)" => "Turbo A"
RetroArch [INFO] :: RetroPad, User 3, Button "B (bottom)" => "B"
RetroArch [INFO] :: RetroPad, User 3, Button "Y (left)" => "Turbo B"
RetroArch [INFO] :: RetroPad, User 3, Button "Select" => "Select"
RetroArch [INFO] :: RetroPad, User 3, Button "Start" => "Start"
RetroArch [INFO] :: RetroPad, User 3, Button "D-Pad Up" => "D-Pad Up"
RetroArch [INFO] :: RetroPad, User 3, Button "D-Pad Down" => "D-Pad Down"
RetroArch [INFO] :: RetroPad, User 3, Button "D-Pad Left" => "D-Pad Left"
RetroArch [INFO] :: RetroPad, User 3, Button "D-Pad Right" => "D-Pad Right"
RetroArch [INFO] :: RetroPad, User 3, Button "A (right)" => "A"
RetroArch [INFO] :: RetroPad, User 3, Button "X (up)" => "Turbo A"
RetroArch [INFO] :: RetroPad, User 4, Button "B (bottom)" => "B"
RetroArch [INFO] :: RetroPad, User 4, Button "Y (left)" => "Turbo B"
RetroArch [INFO] :: RetroPad, User 4, Button "Select" => "Select"
RetroArch [INFO] :: RetroPad, User 4, Button "Start" => "Start"
RetroArch [INFO] :: RetroPad, User 4, Button "D-Pad Up" => "D-Pad Up"
RetroArch [INFO] :: RetroPad, User 4, Button "D-Pad Down" => "D-Pad Down"
RetroArch [INFO] :: RetroPad, User 4, Button "D-Pad Left" => "D-Pad Left"
RetroArch [INFO] :: RetroPad, User 4, Button "D-Pad Right" => "D-Pad Right"
RetroArch [INFO] :: RetroPad, User 4, Button "A (right)" => "A"
RetroArch [INFO] :: RetroPad, User 4, Button "X (up)" => "Turbo A"
RetroArch [INFO] :: Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS".
RetroArch [libretro INFO] :: Loading /tmp/retroarch/Mike Tyson's Punch-Out!! (Japan, USA) (Rev A).nes...RetroArch [libretro INFO] :: PRG ROM: 8 x 16KiB
RetroArch [libretro INFO] :: CHR ROM: 16 x 8KiB
RetroArch [libretro INFO] :: ROM CRC32: 0x2c818014
RetroArch [libretro INFO] :: ROM MD5: 0x5bc7fac06e58fda15fd981fd03572c34
RetroArch [libretro INFO] :: Mapper #: 9
RetroArch [libretro INFO] :: Mapper name: MMC2
RetroArch [libretro INFO] :: Mirroring: Horizontal
RetroArch [libretro INFO] :: Battery-backed: No
RetroArch [libretro INFO] :: Trained: No
RetroArch [libretro INFO] ::
RetroArch [INFO] :: Environ GET_VARIABLE fceumm_palette:
RetroArch [INFO] :: asqrealc
RetroArch [INFO] :: Environ GET_VARIABLE fceumm_nospritelimit:
RetroArch [INFO] :: disabled
RetroArch [INFO] :: Environ GET_VARIABLE fceumm_overclocking:
RetroArch [INFO] :: disabled
/opt/retropie/supplementary/runcommand/runcommand.sh: line 804: 1212 Aborted /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fceumm/fceumm_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg "/home/pi/RetroPie/roms/nes/Mike Tyson's Punch-Out!! (Japan, USA) (Rev A).zip" --verbose --appendconfig /tmp/retroarch.cfg -
Yes please. I am tring to debug lr-fceumm with you :-)
-
Alright, there you go :-)
-
I would like the output of the
runcommand.log
as before with it not loading, and then loading when renamed as you mentioned. You can put the log on pastebin.com or similar.When I said "show me it launching when renamed". I mean show me the log after it has successfully launched when you renamed the rom as you mentioned earlier. Not a video ;-)
-
Ok, so this is with the rom renamed:
<script src="//pastebin.com/embed_js/ECcjyLet"></script>
-
Just to register a naming convention related issue in RetroPie (actually in emulationstation):
Based on RetroArch user requests (this forum, libretro forum) and on a personal taste, I was doing some changes in the RetroArch code for a screenshot naming feature (my Pull Request at RetroArch github)
To make my tests I named a ROM with this filename
really 'weird' %%ROM%% name%s%y%m.nes
.When I try to launch this ROM in emulationstation it "freezes", I'm (almost) pretty sure that it is an emulationstation limitation. How can I know it?
- the runcommand dialog isn't shown;
- the
htop
command shows only some emulationstation processes for the userpi
; - if I hit ctrl+c it kills emulationstation and goes to the bash prompt;
- if I execute the runcommand from the prompt to load this ROM, RetroArch starts correctly.
Command used to start from the prompt:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes ~/RetroPie/roms/nes/really\ \'weird\'\ %%ROM%%\ name%s%y%m.nes
Should I register it in the RetroPie's github issues?
[EDIT: I think not. It's an emulationstation issue.] -
Might be related to the fact ES uses %ROM% as a "TAG" which gets replaced, but please open an issue on the RetroPie ES github page and I will look into it at some point.
-
@Ristul sorry for the late reply - I was unable to reproduce your issue on my system, but I noticed your retroarch is not up to date so I can only suggest you update to the latest retropie and see if that resolves it.
-
@BuZz No problem, I will update to 4.0 as soon as it is released.
-
It is out :)
-
But isn't that the beta only?
-
@Ristul No, RetroPie 4 Final is now linked from here:
https://retropie.org.uk/download/
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.