Announcing Pegasus Frontend
-
I couldn't get any games to show up in the windows version. Steam games automatically showed up. I'm probably doing it wrong, even after reading the documentation. I'd like better examples. I converted my
gamelist.xml
from my pi tometadata.txt
and made agame-dirs.txt
that it doesn't care to see. I'm not sure howcollections.txt
work and did it like the example but got nothing as well.I also tried the windows version of ES to see if that might get me anything but Pegasus will only see that in a specific place and even then it tells me it can't parse
es_systems.cfg
or something but I'd rather not use this method..seems like extra work. -
@darksavior That's
game_dirs.txt
, with an underscore; fixing that should solve the collection/metadata loading. But yeah, providing some actual example configs would be a good idea. -
What is the effect of adding this package to a RetroPie Raspberry pie already running emulation station? Do you just not see emulation station any more and this front end replaces it? If so is there any way to “go back” or switch between them easily or at that point do you have to reload a backup image/fresh install? Thanks! (Looks very nice by the way, which is why I might want to try it, but on the other hand I finally have a 128gb setup that I can “just play” for the last month or two and am a bit worried about screwing that up).
-
I see there is a front end chooser and that you can edit a certain file to run Pegasus automatically but I didn’t see instructions on how to do that or what you need to do in that file to change back to emulation station running automatically. Also seems from some posts (though hard to read all 700) that if you change front ends you might need to change the locations of RomS and their metadata so that is the sort of thing I am getting at - once you download this how hard from a practical standpoint is it to switch back and forth or “go back” to the ES version even with the front end chooser or editing of the startup file? Thanks - I am sure this is a noob question.
-
@bjretro The RetroPie installer will just download the release for your device -- it doesn't change your settings, so ES2 will start the next time you boot too. You'll be able to launch Pegasus from the terminal then. If you want to change which frontend to start automatically on boot, you can either edit the autorun file manually, or use the frontend chooser that does this for you (and can do the installation as well) -- you can find it here, or in the first post too.
If you already have Emulationstation set up, Pegasus will automatically (try to) detect your games, metadata and assets, no configuration needed. The ES2 files will not be changed, only read. If you want to use Pegasus without ES, then you can do that too, Pegasus' own file format is documented here, and the asset detection is described here (I should move this to the documentation site too).
-
@bjretro It's a good question. Pegasus only "installs" by getting placed on the sd card and nothing else changes. So, EmulationStation still runs as normal, and to test Pegasus, you have to quit ES and type the code mentioned in #1 under Retropie Package. If you like Pegasus and would like your Pi to boot directly into this frontend instead of EmulationStation, add the code in the autostart.sh, also mentioned there.
I have not tinkered with the frontend chooser, as I only use Pegasus now, but I'm using gamelist and metadata the default places (as Universal XML Scraper does) and this works in both frontends.
My suggestion is; give it a whirl, you can always go back to ES. Me, I'm staying with Pegasus.
Edit: Ah, @fluffypillow - beat me to it :)
-
And another update for the week, Pegasus now keeps track of play times (except it's not displayed on the main theme yet, but that will be added later). I've also updated the list of changelogs of the first post.
-
@fluffypillow I just wanted to say thank you for the dedication. The professionalism of the regularity of updates and documentation is top notch, and frankly, something that is amazing for a free piece of software. UX and design aesthetics are top-notch as well. I'm looking forward to making this my main launcher. I really hope this becomes the standard frontend for RetroPie in the future. Kudos!
-
@jonathandownin You're welcome :)
-
@jonathandownin
I second this.
And people shouldn't be scared off by the fact that you call it "alpha" versions. This frontend is more stable than EmulationStation as far as I'm concerned. -
Thanks, it means a lot :)
Also I've just added a visible play time counter to the main theme, you can check it on the game details panel. There's a bug though, the value will only update when Pegasus is (re)started -- fixing this will need some minor structural changes, but if that's done, it'll also pave the way for achievement support.
-
Hello All. I'm quite impressed after the installation of Pegasus from experimental. It works beautifully. What a fluid, fast and clear frontend. Thanks to @fluffypillow for this amazing piece of software.
Now I understand this is alpha but is there a better official way to report issues? Or should I just post anything in there?
I have issue with my "gamelist.xml" export/import. The outcome being for Pegasus to not display image/description of games. This is output from "lastrun.log". I'm running Retropie 4.4.2 on a Pi3b+.
Found locale 'American English' (`en`) Found locale 'español de España' (`es`) Found locale 'français' (`fr`) Found locale 'magyar' (`hu`) Found locale 'magyar (rovás)' (`hu-Hung`) Locale set to 'American English' (`en`) Found theme 'Pegasus Grid [built-in]' (`:/themes/pegasus-grid/`) Theme set to 'Pegasus Grid [built-in]' (`:/themes/pegasus-grid/`) ES2: found `/home/pi/.emulationstation/es_systems.cfg` ES2: found `/home/pi/.emulationstation/gamelists/psx/gamelist.xml` ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: found `/home/pi/.emulationstation/gamelists/segacd/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/megadrive/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/amiga/gamelist.xml` ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: found `/home/pi/.emulationstation/gamelists/sega32x/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/mame-libretro/gamelist.xml` ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: found `/home/pi/.emulationstation/gamelists/nes/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/mastersystem/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/fba/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/neogeo/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/snes/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/pcengine/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/pcecd/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/retropie/gamelist.xml` ES2: found `/home/pi/.emulationstation/gamelists/scummvm/gamelist.xml` ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: Expected '#' or '[a-zA-Z]', but got ' '. ES2: found `/home/pi/.emulationstation/gamelists/n64/gamelist.xml` Data files loaded in 5230ms 6164 games found qrc:/themes/pegasus-grid/layer_platform/PlatformCard.qml:73:5: QML Image: Cannot open: qrc:/themes/pegasus-grid/assets/logos/mame-libretro.svg qrc:/themes/pegasus-grid/layer_platform/PlatformCard.qml:73:5: QML Image: Cannot open: qrc:/themes/pegasus-grid/assets/logos/pcecd.svg Executing command: `/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes "/home/pi/RetroPie/roms/nes/1942 (Japan, USA).zip"` Process 1220 started ---------------------------------------- The external program `/opt/retropie/supplementary/runcommand/runcommand.sh` has crashed ---------------------------------------- The external program has crashed on exit, with exit code 15
After some digging I found out thanks to the conversion tool here that possibly the special character "&" (ampersand) is messing up with the frontend. This character in the description or anywhere in the "gamelist.xml" file generates those errors. I do not want to amend all my "gamelist.xml" files. Is there a way to bypass this please?
Another feedback is that I got a mix of vertically as well as horizontally-oriented box cases. Best showcase of this is with the NES. Japanese games mostly come with vertically-oriented boxes whereas rest of the world, cases were horizontal. It doesn't look that good with the default theme (which I truly love btw). I don't know how to explain this better but it's like having some "holes" in the pictures wall.
I'll post in this space should I have more feedback by default. Please keep on the good work this is brilliant.
Thank you
-
@nemo93 glad you like it :)
is there a better official way to report issues? Or should I just post anything in there?
Yeah the thread might've got a bit too long for bug tracking. You can report issues on GitHub; I also tend to create entries for the stuff that's mentioned here in the forum too.
the special character "&" (ampersand) is messing up with the frontend
Yes, the XML specification does not allow
&
in the text:The ampersand character (&) and the left angle bracket (<) MUST NOT appear in [text sections]. If they are needed [in text sections], they MUST be escaped using either numeric character references or the strings "&" and "<" respectively.
I'd prefer to avoid frontend-specific hacks in the code; most text editors support mass text replace across multiple files (eg. Notepad++, Sublime, or even plain
sed
), so this should be relatively easy to fix in the files themselves. If a scraper generated this file for you, you might want to report this as an issue for the devs.It doesn't look that good with the default theme
Yeah, mixed cases tend to look ugly with the current layout, but I'm not sure yet what would be the best way to solve that (maybe by cropping portraits?). This one also has an issue report here.
-
A huge internal update has just landed, where I've redesigned the way everything is loaded, and also optimized the memory and CPU usage. In practice this means play time (and in the future, achievements) now update correctly when you return to Pegasus from a game. It may improve the loading times too.
Now this affects pretty much everything that loads, games, assets, ES2 support, favorites... While most things are tested in Pegasus, there may always be unexpected cases, so please report if anything's missing.
I've also made a new loading screen:
(The progress bar is not particularly accurate yet, but that can be improved later)
Also I'll be away for a few days, so there might be no new updates this week. After that, the next area I'll likely work on is improving the gamepad support and the settings menu, and some documentation. (also feel free to remind me if you think I've forget to add something promised before, and it doesn't have an issue either)
-
Great work again, love the new loading screen :)
I should really go back to working on themes, just haven't had the time to finish them off.
-
@fluffypillow
yeah, I love the loading screen also, the splash of colors is really nice.Also tried the --silent option, it really looks almost completely seamless now, great job!!
If I should comment on one little thing, when booting games, the terminal (including whatever's left of code there) is still shown for a second - if this could get eliminated, you're completely there!
Also, I tried to provoke the segmentation fault I get when fast scrolling through games but couldn't - seems like you got that sorted, brilliant, brilliant work!
Last thing; I still cannot get into runcommand menus, nomatter when or what I tap, it just boots the game. So, to change emulator etc, I still have to use EmulationStation.
-
@fluffypillow
The new loading screen is incredible, but it seems to me that it is not in high definition, because here on the screen fullhd the image seems to be blurred.But anyway great work!
-
@fluffypillow Any update on the usb keyboard not working when loading retropie-setup or anything else from within Pegasus?
-
the terminal (including whatever's left of code there) is still shown for a second
Hmm, not sure how much control I have over that -- it's already the launched program's "territory". As a workaround, you could try running
clear
when the system boots (eg. by adding it before Pegasus in/opt/retropie/configs/all/autostart.sh
), or editingruncommand
itself (/opt/retropie/supplementary/runcommand/runcommand.sh
, I think) to callclear
first.segmentation fault
Good to hear it works, and thanks :)
I still cannot get into runcommand menus
and @Darksavior: couldn't fix that yet, sorry :/ I haven't found out the exact cause of this bug yet, but I'll keep trying, and dig deeper in the low-level platform code.
@honorio96 sure, this could be improved. I've mainly tested on 720p, but I can add bigger/smaller logo images for other resolutions.
-
thanks @fluffypillow for your clear explanations. I did learn something! Indeed after the replacement of every "&" characters it's all fine. Therefore I'm now using your frontend as default. Do you mind if I share some further issues/feedback in this space?
- Mixed cases/boxarts. Sounds like cropping is the straightforward answer here. Perhaps for some cases you can rotate them left or right and on hovering rotate them back to their original view. Not sure I'm clear but anyhow it shouldn't be a good fit for all cases. For SNES the Japanese covers will need cropping as rotation here won't help.
Sound. Depending on video snaps/previews sometimes sound can be low/loud. Any chance to have an option to control sound volume? Even better would be a volume limiter to not go above a specific level.Marquees. Despite having them in my ES2 gamelist.xml files they don't show up. I'm using tag <marquee> and all files are present. Not sure what's going wrong.Players count. Like #3. I have the <players> tag in my ES2 xml but nothing show up in Pegasus.Genre. Same as #3 and #4. The <genre> tag is there but none appears in Pegasus.Rating. Same as #3, #4 and #5.- Video previews. Possible to play these only once? To have an option to play them in a loop or not would be nice.
Fullscreen. I'm not sure but it seems that Pegasus UI is a bit zoomed-in. The selector on top with the different systems looks a bit cropped. It might be just an impression but definitely the systems selector on top doesn't look the same as in your preview from your 1st post. I didn't have any screen issue with ES2.- Logos. In the logs (lastrun) I can see that "mame-libretro" and "pcecd" are not recognized hence their logos don't show up in the systems selector. For "mame-libretro" I'm not sure as I'm using standard from Retropie I guess if I rename everything with "mame" it should work but that sounds a bit tedious :) For "pcecd" this is a system I've added myself and I'd be happy to have a logo for it as well. It's the PC Engine CDROM.
Favorites. I'm not sure where the favorites are located. I can see a favorites.txt in the Pegasus config dir but that's all. To have something similar to ES2 where you have a "new" system created with your favorites games listed would be nice.On-sceen help. I was a bit lost without indication the first time I tried the frontend. To have some indications in a form of a bottom bar like ES2 where various buttons+description would be nice. I was always hitting the "start" button of my X360 controller to access the options screen (I'm used to ES2 definitely!) but with Pegasus this button launches the games! Such help would ease the transition from ES2 to Pegasus.Jump-to-letter and filters. Not sure how to use these. The "Y"/yellow button on my X360 does nothing.Updates. I'm using Retropie and I can only update Pegasus "from binary". Not sure how to get the latest release with your latest commits. For instance how to get the playtime tracking you just added on week 67?Hidden tag. I'd like some items from gamelist.xml to not show up in the UI (eg. bioses). I'm using the <hidden> tag today but perhaps there's another way to do that.- Games order. File name sorting is working. Awesome \o/ However I do see weird ordering on some occasions. For instance,
Gun Force 2 (Geo Storm)
is sorted beforeGun Force: Battle Fire Engulfed Terror Island
. OrMacross II (Super Dimension Fortress)
beforeMacross (Super Spacefortress)
. Another example would be with the Street "Alphas" whereStreet Fighter Alpha: Warriors' Dreams (Street Fighter Zero)
is sorted last afterStreet Fighter Alpha 2 (Street Fighter Zero 2)
andStreet Fighter Alpha 3 (Street Fighter Zero 3)
. Last example with SF3 same as SFA you've gotStreet Fighter III: New Generation
after 2nd and 3rd Strike. These are the actual names I'm using in my gamelist along with the tag <name>. I don't mention it because I know this is rather complicated but the Mortal Kombats are not sorted properly as well. I suspect this is due to theII
(double i) instead of a number in the title. Perhaps something could be done by mixing name with release date together? That way you're sure Mortal Kombat II can't be listed after Mortal Kombat 3. Not sure it works for all situations though. Pegasus config files. I've spent some time to study your collection/metadata files structure. It's brilliant. I'm converting my ES2 files right now. My feedback is that I don't like to have a .txt file in the roms directories. I'd like to keep things tidy. Would it possible to store those files inpegasus-fe
config directory instead? So that everything is kept at the same place :)List wrap. Would it be possible to get back to the top of a game list after pressing the down button from the controller? I mean whenever you get to the bottom of a list (and some lists can be huge like NES with 1000+ games) if you want to go back to the very top of it the only to do that is pressing the trigger several times. It can be tedious with larger lists.In ES2 after launching a game if I press quickly on a button ("X" on X360) I can reach out a "debug" screen where I can change some parameters like emulator type/name, showing games covers, resolutions, etc. Is it a feature of ES2 or something else? I'd be happy to have something similar in Pegasus.
My use case is as follows. There are several MAME versions out there and some games work better with a specific version than other. Whenever a game requires a specific version other than the default "lr-mame2003" I launch this game then hit the "X" button. Finally I do select a specific MAME emulator I'd like to use for that game. I can then see the game and emulator are then added to theemulators.cfg
file under Retropie > configs > all directory.
Thank you again for making this really great frontend.
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.