Announcing Pegasus Frontend
@andershp Just by taking a glance at your gamelist.xml, your boxart doesn't have
-imageat its end. UXS and sselph's scrapers do
-imageby default. Looking at your ES pic, it looks like you used that combo box art of boxart/screenshot/logo and not the "default" of just box art. Maybe that's the problem. Not sure what else you might've altered so descriptions and the rest of the art aren't showing.
Try what I said in my previous post: Scrape JUST the boxart and not a combo of pics of what you've done.
It might also be a pegasus problem on reading the xml too.
@darksavior Thanks for the screenshots. I renamed the files and gamelist manually to get rid of the -image part. That's all I did. I will try again, following your example more closely, but I don't see what difference it will make, although maybe Pegasus fails because of the code in marquee and video areas in my Gamelist.
BTW: is this the right place to discuss or should I open a new thread if I still cannot get it working?
@AndersHP thanks for the screenshots! Turns out there was a bug in handling the
<path>tag in Pegasus, and so the absolute and $HOME-relative paths didn't match the actual games. Just pushed up the fix, should work fine now in the latest version (
Also a summary of the asset loading, to make it hopefully less confusing.
Pegasus is searching for assets in two places:
[rom directory]/media/, where the role of the files (eg. "game logo") is indicated by the suffix (eg.
-logo). If a file has no suffix (that is, simply [romname].png/jpg), it is assumed to be the front box art (or the video for video files).
-imageis not a recognized suffix (I find it somewhat redundant calling an image file "image"), but you can replace it with whatever you want with any batch renamer tool or the linux
renameprogram (see @Darksavior's nice guide ~10 posts earlier for scraping tips).
if there are no matching files in the
mediadirectory, then the
<marquee>tags of the ES2 gamelist are also checked (again,
<image>is used as the box art). No other/custom tags are checked for assets, and
downloaded_imagesis not scanned either.
@AndersHP Just pushed up the fix, should work fine now in the latest version (
Booya! This totally did the trick! Awesome work.
Although I still cannot get logos to show, unless I copy them to the media folder and rename -marquee to -logo.. Another bug, or should I scrape like @Darksavior does?
@AndersHP no, that's normal, the default theme uses the
-logofiles for logos only. You can rename the files and replace -marquee with -logo in the gamelists, to make it work with both Pegasus and ES.
No big changes this week due to lack of time. I've fixed the ES2 XML parsing bug (above), and also updated the translation files.
Got an excellent Pegasus setup, after running Universal XML Scraper with boxart, "wheel" art and videos. Only thing I had to do, was to rename -marquee images as @fluffypillow mentioned above, and in the same manner rename -marquee references in the gamelists. I used Bulk Rename Utility in the downloaded_images folder and Notepad C++ replace function to do this. Pegasus looks excellent.
A few bugs:
- A few times I have encountered an issue with portrait-boxart previews to suddenly looking square, cutting off the bottom of all images.
- One time I have had Pegasus quit to terminal after I exited a game. Had to do a hard reset. Error message on the screen was "Segmentation fault".
- When exiting Pegasus I have 10-20 error messages saying something like "No volume control". Forgive me as I forget the words exactly.
A few requests:
I'd love for Pegasus to support "page up/down". It takes a long time to scroll in large Collections of games. Maybe a way to scroll through letters also (without having a keyboard attached).Already on the Github, sorry. I love the easy way to filter by favorites, but cannot get around to adding games as favorites. Perhaps this could be done with a buttonpress?Already on the Github, sorry.
- In the more "nice to have" department, I'd like the code to be hidden upon launching a game. In ES it jumps from frontend to launching image directly to the game (and back when exiting). That makes the experience more seamless.
Apart from this, I think I'm about to change my bootup sequence to Pegasus permanently. It's just great! Good Work!
Sorry, no updates this week either (job/other projects). I'll likely have some more time next week though!
After a long day of scraping yesterday (6-7 hours nonstop) I got the temperature warning in upper right corner as I wanted to test the results.
I'm running with video previews but never had the problem before now. Anyone with videopreviews experienced this heat issue in Pegasus?
@AndersHP so far I've only seen that when I tried playing H264 videos on a Pi Zero (poor Pi got quite hot). What kind of device are you using?
@fluffypillow Is Pegasus using vlc or omx player for video snaps?
@fluffypillow I have a new model 3B, RetroPie 4.3.
Will have to test some more...
Having just finished scraping all my systems, I find the black background too black :)
Is there a way to add e.g. one of Tronkyfran's system backgrounds per system, or does it only support the -screenshot asset per rom?
@AndersHP no support for that yet, but it's a good idea! There could be even support for all kind of system-specific assets, like a default box art (eg. cartridge) or background music.
@fluffypillow That and a little theme making tutorial would be my perfect Christmas gift😉😉
@tronkyfran In light of your ES theme, I cannot wait to see your Pegasus theme. So add that to my christmas-list also!
Aand here's the weekly changelog:
- a bunch of very minor optimizations and internal changes (probably unnoticeable)
- player count ranges (eg. 1-4) in ES2's
<player>tag are now properly supported (just noticed this wasn't working)
- experimenting with Steam support: while I can list the installed games, the descriptions and assets would need to be fetched from the web, which will need some further work
- experimenting with a new loading screen: it will show the number of games loaded so far; I plan to close the logo thread this month, and this loading screen will be added after that