How to add an item retropiemenu (with icon and custom name)?
-
I added 2 custom scripts in .sh format to my retropie menu.
They appear in the menu and work fine. However I would like to put an icon on them too like the other itens on the menu (audio, bluetooh, raspi-config, etc).
How can I do this?There's also another thing that I would like to do:
These scripts that I added are used to skip music and mute bgm. When I click on them, it opens the console for a few seconds, does it's job and returns to retropie. Is it possible to run the script without this window opening? Like clicking on the script, it does it's thing but without opening the console or changing anything on the screen.Thanks in advance,
-
@retropie For the icons, edit your
gamelist.xml
in 'configs/all/emulationstation/gamelists/retropie' and add the image-tag to let your entries point to an image of your choosing, for example:<image>/home/pi/RetroPie/retropiemenu/icons/bluetooth.png</image>
As for your second question: I believe hiding screens can be done by sending them to another (non-existing) screen or something, with a tty-command, but I'm not Linux savvy enough to adequately help you with that.
EDIT: this tutorial may also hold some useful information for what you want
-
@weirdh Thanks, that's exactly what I wanted!
As for my second question seems like it will be a difficult task. -
I added 2 .sh scripts to my retropie menu.
The scripts appear in the menu and work fine, I use them to mute bgm and skip to next track.
However, when I run them the screen gets black (I belive it's the console) for a few seconds and then return to retropie.
Is it possible to avoid this black screen and run the screen without any impact on screen for the user?
I mean, clicking on the script and it just doing it's job without black screen/console/etc, and remaining in retropie screen. -
-
@retropie Pleas don't double post. I've merged your topics.
-
@mitu I made another post because it was a differnt subject.
sorry -
@weirdh I already put console=tty3 some days ago, but it doesn't really hide the console, it just leaves a black screen instead of text.
Actually, I don't really see the console when I run my scripts, I see a black screen. But since, I had console=tty3 I deduced that there would normally be console text instead of a black screen.
It will be difficult to completely hide that console/black screen, maybe it's not even possible.
Anyway, with the icons and detailed names in my scripts, it looks a lot better and 2 or 3 seconds of black screen isn't that bad I guess xD
Thanks!
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.