Boot to rom using lr-mame2003-plus
-
@mahoneyt944 Unfortunately not. You can however copy the file after you run the game, if you have a keyboard:
cp /dev/shm/runcommand.log $HOME/RetroPie/roms
and you'll find the file in your
roms
folder. -
@mitu I'll try later but I believe it has to do with specifying the emulator. When I just put arcade it's not selecting Mame 2003 plus when my selected rom is one that uses Mame 2003 plus. However if I keep the same command line but change the rom to one that uses mame2003(my default emulator) it works perfectly.
-
@mitu my log only says this:
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003-plus/mame2003_plus_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/tron2.zip
" --appendconfig /dev/shm/retroarch.cfg -
@mahoneyt944 The log shows the ROM is started with mame2003-libretro, so I don't know why you say it's using Mame2003.
-
@mitu well it doesn't actually load. it just goes to the dos like "putty" screen. if I change tron2.zip to cclimber.zip it loads crazy climber on mame 2003 just fine. log shows this
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/cclimber.zip
" --appendconfig /dev/shm/retroarch.cfg -
@mahoneyt944 I'm sorry, but I'm not following - are you asking how to run a the ROM with the specific emulator from the command line or you're just reporting that
tron
doesn't work with Mame2003-plus ? -
@mitu I have tron working though normal boot up in ES using mame2003plus. all my other roms use mame2003(default emulator). all my roms are in the arcade folder. I wanted to edit my autostart.sh file to boot to rom. when I declare a rom that uses mame2003, the boot to rom is working fine. when I specify tron2.zip as the rom which uses mame2003plus, it will not boot to the rom using a autostart.sh command line.
so this line boots fine
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade ~/RetroPie/roms/arcade/cclimber.zipwhere this line will not
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade ~/RetroPie/roms/arcade/tron2.zip -
@mahoneyt944 said in Boot to rom using lr-mame2003-plus:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade ~/RetroPie/roms/arcade/tron2.zip
The runcommand you're using is the same command line that Emulationstation starting when you launch the game. You can see it in the ES log file -
~/.emulationstation/es_log.txt
.
However, you can see a more detailed log by choosing Start with verbose logging from the Runcommand launch menu (the file is the same) and looking at the possible errors there. -
@mitu yeah I don't understand why. when I boot through es the es log shows this
lvl2: Attempting to launch game...
lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade /home/pi/RetroPie/roms/arcade/tron2.zip
lvl2: Creating surface...
lvl2: Created window successfully.when I copy below to my autostart.sh file it doesn't load to the game I just goes to "thepi@retropie:~ $" command screen.
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade /home/pi/RetroPie/roms/arcade/tron2.zipbut if I change the rom to cclimber.zip using the same command it boots to rom just fine
-
@mitu how can I use that log option while using boot to rom in my autostart file? There's no time to go into the menu when booting up. It goes right to the command line screen.
-
@mahoneyt944 Are you running the command over SSH or from a keyboard plugged-in ? If you're running it over SSH, the prompt will appear in the SSH session, not on the TV/Monitor screen.
-
@mahoneyt944 btw you can use backticks ` around single code lines or three above and below code blocks for easier reading. Else underscores will be translated as markdown / styling.
SYS
Vs
_SYS_
-
@mitu I just put the boot to rom command in the autostart.sh file and reset the pi. I'm still new to the pi.
-
@BuZz idk what mark down styling is or when I'd want to use or not use it.
-
@mahoneyt944 I don't understand - does your PI system reset after you added that line or you just let me know that you've added the line and then restart the system ?
As @buzz explained, it's easier to add your script/commands surrounded by```
, so that they become easier to read and they're automatically formatted by the forum. -
@mitu I use:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade /home/pi/RetroPie/roms/arcade/cclimber.zip
in my autostart.sh (boot to rom) and it works. Then I change it to:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade /home/pi/RetroPie/roms/arcade/tron2.zip
and it doesn't work. Tron works when booting from es but won't load if I try boot from rom using my autostart.sh I noted that any rom that uses my default arcade emulator ( Mame 2003) works when using boot to rom via the autostart.sh .....only Tron, which uses Mame2003plus will not load using this method .
-
Unless you're able to provide a detailed log file for RetroArch (via Runcommand), I can't help you further. There's no need to re-repeat your command line over and over.
I advise you to exit Emulationstation, then launch the command line - like it's written in the autostart script- , use the launch menu (press any key during launching dialog) to enable verbose logging, get the
/dev/shm/runcommand.log
file and upload it to pastebin.com. -
@mitu well I'm at a loss now. I exited es like you said typed the same command line I've been trying and it boots to Tron just fine. I enabled verbose loging but it was successful so idk if that's going to help since it's not logging the error since it wasn't launched from the autostart file..... It seems the only time the command doesn't work is through autostart.sh otherwise it works as intended. https://pastebin.com/rNgn9vt2
-
not looked into this but it could be autostart is running as root try
sudo -u pi /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS arcade /home/pi/RetroPie/roms/arcade/cclimber.zip
-
@grant2258 ok I added the sudo -u pi part and was able to boot into verbose logging heres the file with error: https://pastebin.com/Jn7782aU
still didn't boot with sudo command added.
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.