Runcommand System Splashscreens!
-
@meleu We are overlapping each other with questions and answers xD
-
@hiulit yeah! Hope that it is clear now. :)
If you are really curious, the line that get this input is this:
read -s -t 2 -N 1 key
The meaning of those arguments:
-s
: do not echo the key pressed-t 2
: wait 2 seconds for input-N 1
: get only one char as input and stopkey
: the variable (irrelevant in this case)
-
@hiulit said in Runcommand System Splashscreens!:
Is there any reason why it doesn't work while the image is showing? Just wondering,
I don't know exactly if you last reply was about this question in particular.
But in any case, where can I find this line? Can I play with it? Or is too risky?Thanks again @meleu
-
Not sure if you are comfortable with Linux, etc. But let's try... :-)
Is there any reason why it doesn't work while the image is showing? Just wondering,
The image is shown by a tool named
fbi
. While this tool is running, thatread
can't get input from the keyboard.Initially we tried running
fbi
in background, it would allow theread
to get input while the image is showing, but it seems to bring some issues.But in any case, where can I find this line?
In you system, the file is
/opt/retropie/supplementary/runcommand/runcommand.sh
.The github bersion is here: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/runcommand/runcommand.sh
The line is the 882.
Can I play with it? Or is too risky?
Well, the Raspberry Pi is a tool for learning, right? :-)
My opinion is: you can play with your local runcommand, if you mess something, you can allways reinstall it using the retropie_setup. ;-)
-
@meleu Thanks for this little tutorial. I'll take a look just the fun of learning ;)
-
So now that we know, thanks to @meleu, that in order to access the configuration GUI you have to wait until the image is gone, I have a following question.
@Rookervik, Do you think it would be a good idea to change the sentence Press a button to configure launching options to something like Wait until the image/splashscreen is gone and press a button to configure launching options or Press a button when the image/splashscreen is gone to configure launching options or something like this?
Let me explain myself.
I think Press a button to configure launching options is kind of a misleading message right now because it's telling you to do something but this something doesn't actually work when the message is showing and I get the feeling that people will get frustrated or won't understand why nothing is happening.
At least that's exactly what happened to me :P
Or maybe it could mentioned in the tutorial, as a a warning or something.Anyway, I hope I didn't sound too harsh.
Cheers! -
Question: these PNG's are 480x272 pixels in size. Raspberry Pi outputs in 1080p over HDMI which is 1920x1080 pixels. Does the default launch screen (just text basically) default to the old-school ~320x240 or ~640x480 video game console resolution (i.e. ~240p or ~480i) of the emulator it's launching?
OR, are these very small PNG's meant to be blown-up 400% thus becoming very pixelated? ...just wanted to know before I take the time to install these. It's expected for the video games themselves to be pixelated, but just like the RetroPie menus and such are in HD resolution, if I was going to change my launch screens I would likewise want them to be in a matching resolution (and not pixelated which it looks like they would be with the image specs I've looked at so far).
-
@Dochartaigh Mm, these images are from the Pixel theme - they're meant to be pixellated. If you're not a fan of pixels, you should probably avoid this pack. LOL.
-
@Rookervik said in Runcommand System Splashscreens!:
@Dochartaigh Mm, these images are from the Pixel theme - they're meant to be pixellated. If you're not a fan of pixels, you should probably avoid this pack. LOL.
lol, maybe - I was just looking for some splashscreens to replace the boring text, and somebody else on this forum linked me here!
...but the question still stands, because if you're going for the nice, clean, yet pixelated look (which CAN be cool!), these would look 100 times better if they were at 1080p resolution (again, assuming the splashscreens are in the native Pi's 1080p HDMI resolution...which they very well may not be ;)
-
@Dochartaigh Actually, these look 100% the same stretched to full screen since the fbi program scales just like ES does... nearest neighbor. There is no buffered rendering or anything. It's stretched pixel perfect. So the only thing that would be different with 1080p wallpapers it that it would take longer to load them, and they would fill up more of your drive space.
-
@Rookervik said in Runcommand System Splashscreens!:
Cool. So the splashscreen is at around the same native resolution as most of these consoles and arcade games are in. Good to know. I will load them up! Thanks.
-
@Dochartaigh Well, 480x272 is PSP resolution. So it's a little high for most systems. But the Pi2 can handle PSP games as well. Smaller than that and the themes would have been a little too pixely for me. :D
-
Ok so having a bit of a strange issue,
tried the splash screens on my system and retropie loaded the splash screen but appears on mame (mame2003) to have locked up as soon as the emulator loads,
Checked on the megadrive emu and that appeared to work fine so looks like it is just Mame that has an issue,any ideas
I am running retropie 4.1 on a pi 3
Andy
-
@Andrewpk200 My final burn doesn't work anymore. I don't think the splash screens are causing an issue, but let me try turning it off and see if Final Burn stops crashing on me. For me, mame works and final burn doesn't.
UPDATE: I can't be totally sure, but all the games I've had trouble with FinalBurn locking up the system seem to work now that I deleted the launching.png in the config folder. No troubles at all. All the games work. So I'm thinking there might be some hiccups with a couple systems and the run command splash images. Ooh this makes me excited cause I wasn't looking forward to trying to troubleshoot FinalBurn. Tho I NEVER would have thought it was the runcommand splash doing it. Thanks for mentioning this!
UPDATE 2: [CONFIRMED] Enabling the FinalBurn splash image on the run command causes the system to hang. Hard, too. Can't even SSH in and reboot... have to pull the power.
-
Yep, just a bit of an update myself,
it is just mame on my system that is an issue,
same as above though it does mean a HARD reset once it locks up
i have roms in the neogeo folder using final burn as emu and they seem to work fine,
all console emulators work, just Mamealso, i tried putting a rom in the mame-libretro folder (all my arcade roms live in the arcade folder) and same thing,
going to see if any other the other mame versions have issues
EDIT: have just had a play with some other mame versions,
Mame for all (both lr and non lr versions appear to work,
Mame2010 appears to load but drops straight into the retroarch menu (with out me pressing anything)would really like to see this working on my mame2003 if possible
EDIT 2 so i just ran the setup script and updated retropie fully and it now works!
seems to work on all consoles again and neo geo still seams to work
Andy
-
@Andrewpk200 If it's fixed after an update, it must mean Buzz found the error and took care of it already. I haven't updated to the absolute newest. I like to wait a while (several versions) before I update things.
-
@Rookervik I'm I daring too much... asking if it could be possible to implement runcommand function for PER GAME launch screens ?
I mean just the function, not asking to create the actual screens. -
@UDb23 I think it would be pretty simple. Maybe only one line of code on
runcommand.sh
. But a naming convention is needed.My suggestion is
RetroPie/roms/SYSTEM/images/RomName-lanching.png
(or.jpg
). -
@meleu Sure. I totally agree.
-
@UDb23 It's done. The logic is the same of the system launching images (scraped image takes precedence if "Launch menu art" is on). Just update your RetroPie-Setup script / runcommand and then place the images with the naming convention we talked above. ;-)
I ended up making symbolic links to the cool game related splashscreens. Example, I made symbolic links for all my megaman games pointing to this image:
Pretty cool, huh?! :-)
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.