[Theme] gpiOS (based on gameOS) Pegasus front end theme modified for Retroflag Gpi case
-
A tour of the new gpiOS Pegasus front end theme made specifically for Retroflag Gpi.
Install and Usage guide: https://sinisterspatula.github.io/RetroflagGpiGuides/Pegasus
Github Repository: https://github.com/SinisterSpatula/pegasus-theme-gpiOS
Gpi Case Users group: https://www.facebook.com/groups/GPiUsers/
Original Theme "gameOS" by PlayingKarrde - modified by SinisterSpatulaFull Disclosure: I am a newbie at QML/QT/Pegasus and I merely modified the gameOS theme to look friendlier to the small screen for the Gpi case, so I may not have the expertise to help with issues but will try my best.
[Features added]
Settings menu - press Select button.
Switchable Grid artwork [Box Art, Screenshot, Wheel Art, Cartridge, 'Steam Tile']
Switchable Background Art [Default image, FanArt, Screenshot, Solid Color]
Switchable Background solid color
Switchable Highlight/accent color
Description Scrolling Speed.
Pop-out Alphabetical Jump menu (Jump the game grid to the letter of your choice). - press Y button, and A to confirm.
Last Played Games (limited to 50, but adjustable in the theme code: theme.qml around line 28)
Favorite Games (Dynamically updates when you add or remove a favorite game).So many options to get the look that YOU want.
-
@AndersHP it's ready for you if you want to give it a try :)
-
@SinisterSpatula I saw your modifications done to
multi-switch
. I think I'll add this as extra function and will later rewrite the same commands. Insteads of--ES-RESTART
a command like--PG-RESTART
and--PG-PID
As kind of autodection it will ask the PIDs of ES and PG and can then decide which system to use ;)
-
@cyperghost fantastic! :D Thank you so much!
-
So cool, and it's looking very promising.
I'll let you know when I've given it a whirl :) -
Revised a lot of the Platform logo's today. Also added TG16/Genesis option to the settings menu. Disabled the close menu on left/right press on the Platform menu.
-
@SinisterSpatula
Since I'm not owning a RetroFlag GPi but a Kite Curcuit Sword build, I cannot find the safe shutdown script you mention.However, I found the cs_shutdown.sh file in /opt/ folder, and it looks like this:
#!/bin/bash # Get ES pid ES_PID=`pidof emulationstation` if [[ $ES_PID != "" ]] ; then echo "ES_PID: $ES_PID" # Touch the shutdown file touch /tmp/es-shutdown chown pi:pi /tmp/es-shutdown # Tell ES to terminate kill -s SIGTERM $ES_PID echo "ES has been asked to shutdown" else echo "Could not find ES PID ($ES_PID)" sudo shutdown -h now & fi
Should I just replace the following line:
kill -s SIGTERM $ES_PID
with something else?
You mention crcerror shutdown script, but I don't know if this would work with my build, or what it would do differently than the above...Can you help?
-
@AndersHP Well my script terminates the emulators before initiating a shutdown. So there is a chance that SRM saves and gamelist metadata is saved properly. That's the only difference. And yes it would work with your build ... if you want
-
@cyperghost
So you are crerror?I'm no coder so I cannot tell what the scripts does. Should I completely delete the cs_shutdown.sh script and add yours or? Can you see what the script on my build does?
-
I was missing some modifications to multiswitch.sh, I updated the install and usage guide. (Before it would have just killed pegasus and stayed stuck on the terminal, sorry about that). Once Cypherghost updates the safeshutdown repo (to handle both ES & Pegasus) we would just use that instead.
-
@AndersHP said in [Theme] gpiOS (based on gameOS) Pegasus front end theme modified for Retroflag Gpi case:
So you are crerror?
Yes that's me
Can you see what the script on my build does?
If you are still using ES than your script would be just
/opt/cs_shutdown.sh
#!/bin/bash ES_PID=$(pidof emulationstation) if [[ -n $ES_PID ]]; then bash /path/to/multi_switch.sh --es-poweroff else sudo shutdown -h now & fi
-
@cyperghost
Not using ES, the point in this thread is to use Pegasus....? -
@AndersHP Ah then you need to change the code in multi_switch. Like @SinisterSpatula did. Instead of searching the PID of emulationstation you search for pegasus. His modifications are posted here ...
If I've time I will add this to multi_switch, too. -
Updated some platform logos:
Also added alternate "Favourites", you'll need to rename favourites.svg to favorites.svg manually if you want to use it:
-
So, I finally got around to getting this up and running, and it looks pretty good!
I really like the easy tweaking of the settings menu. And the performance of the theme is really good!However, if I could make a request...?
I would really like for the grid view to look like Pegasus does. Really close boxarts with no text, and automatic scaling between portrait and landscape. But maybe it's more a matter of tweaking the Pegasus original theme..Edit: Oops.. There's no audio in games when this theme is activated. No problems when I switch back to Pegasus Grid theme...?
-
@SinisterSpatula
Any tips to get audio in games? :-O -
@SinisterSpatula
I am using this theme on my pc. I have made adjustments for it to work better for my screen size. I really like this theme, but I am having one issue. Some of my games are not showing the preview option (video) even though there is a video there and the video works in other themes. Most of the game videos are working fine. Please help. -
@SinisterSpatula said in [Theme] gpiOS (based on gameOS) Pegasus front end theme modified for Retroflag Gpi case:
Anyone know where to download gameOS / Pegasus sd image for Retroflag GPi?
-
@SinisterSpatula Hi I just saw this thread and I think Pegasus is awesome. But I do have some things to ask if you figure it out yet.
Can we change Pegasus boot loading? and making the boot to silent boot. And also when we launch games can we hide the command text?
-
@joharibk hiding the boot text has nothing to do with Pegasus and this Pegasus Theme, even less.
Maybe you need to follow this tutorial of how to hide the boot text
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.