[Theme] gameOS for Pegasus
-
@5schatten Hmm unfortunately your metadata would need to comply with the Pegasus standards (hence why I suggest Skraper.net to scrape). If it works in EmulationStation though I feel like it should work here too. @fluffypillow could you confirm that?
As for what I'm using, it's simply the game preview video and the clear logo. If it doesn't find the video it will look for the screenshot. If it doesn't find the logo it will use text for the title.
-
@PlayingKarrde Well I've tried Skraper.net but IMHO it's some what bloated a bit,& UXS scrapes fine & both use screescraper.fr as source afaik.
Here ist a sample of my gamelist.xml https://pastebin.com/NVpQmnwc I've double checked it and Emulationstaion shows the image, marquee & video and also the pegasus standard/included theme grid works fine. Your theme runs fine too beside the fact that it only shows text as the name of the game and shows no preview image although it plays the video in the backgroud once you've selected it and also shows the screeshot in the details page. Just the "grid view" is an empty field on dark boxes with game names ;-) -
@PlayingKarrde @5schatten yes, EmulationStation assets are supported, including marquees, but in addition to that, Pegasus also supports the "clear logo" asset type. That's what is used in this theme at the moment, which is why you don't see the marquees.
If I remember correctly, you can use USX too to download the logos, the option to choose the assets should be in one of the menus. Then if you place the logo files under
/.emulationstation/downloaded_images/
(eg./.emulationstation/downloaded_images/nes/Contra (U)-logo.png
), it should be picked up by Pegasus. -
@fluffypillow Thanks for the reply, I totally sh** the bed, and I meant to ask the question to @PlayingKarrde , but the compliment for the frontend and theme still goes to both of you!
-
Hey @PlayingKarrde you mentioned the theme isn't designed for the latest version of pegasus. Will it not work at all? What version of pegasus should I grab?
As far as the asset type required for the game tiles, I already have video previews, and I have logos. So does your theme automatically put them together, or do I have to create them in the Skraper app?
-
@fluffypillow
Well you can somewhat configure the assets types but I did not see any clean logo in the menu. https://i.imgur.com/ZX5AJId.pngAs I said before my current setup works with all ES themes and Pegasus Grid & Pegasus ES2-Simple so IMHO it should work out of the box with GameOS too. It's probably nice to support additional logos & assets types but it would make sense to pick up existing assets without reworking them for a single Theme while all others already work ¯|__(ツ)_/¯
-
@5schatten "wheel" should be the clear logo, while the "wheel carbon/steel" is the logo over some background.
-
@fluffypillow you can chose which kind of visual is downloaded but actually all are saved as "marquee" so it's probably some kind of widespread standard for ES
-
@5schatten There shouldn't be any reason to do anything special for my theme if it works in others. The problem might be that UXS downloads the clear logos as marquee and Pegasus may not be picking that up as an option? They are downloaded as "wheel" for me also (sorry should have mentioned that before) but not marquee. I don't believe the other themes you mentioned use the clear logo which is why you're not seeing any issues there.
I will try downloading UXS and seeing how it handles files.
@simbz23 The latest version of Pegasus has updated how it handles game collections and I haven't had time to update the theme yet. It won't work at all I'm afraid. I forget exactly when the update occured but try Alpha 10 (https://github.com/mmatyas/pegasus-frontend/releases) and if that doesn't work Alpha9 for sure will work. I will look into updating the theme today though so if I manage to get it done it may just be worth holding on for a bit.
-
@PlayingKarrde personally I don't care what your themes uses as long as there is a "fallback" option ;-) So if you could add something like if [ ! -f wheel ]; then image=marquee would be great :D I have no insight why UXS uses the marquee option as standard but several ES themes display the marquee in one way or another. If yours would pick up the marquee too your theme would work out of the box with ES assets because everything else is in place.
@simbz23 this commit https://github.com/mmatyas/pegasus-frontend/commit/3ab18e026c0c639ddae9f7dd79740bd963d93faf works fine with gameOS
-
@5schatten It actually does have a couple of fall back options, but I think the issue is possibly with what Pegasus is looking for as the fallback options.
I've spent a couple of hours trying to update the theme for the latest Pegasus updates but it's unfortunately broken in so many places and the changes seem pretty far reaching. I'm going to have to wait for @fluffypillow to update the theme documentation as I don't have time to dig through it and figure it out right now. Hopefully once I get my head around the new changes better updating the rest of it will be straight forward.
-
@PlayingKarrde no problem -> take your time!
-
OK sorry for the long delay on getting this up to date but it should now work with the latest build of Pegasus. This will break on older builds though so make sure you have the latest version of both Pegasus and GameOS.
There's a chance that there will be some bugs due to areas I've missed when updating however, so please let me know if anything seems amiss.
-
@PlayingKarrde
I've updated pegasus and some themes today and looks like gameOS v0.5 works with the latest dev release but of course it still doesn't pick up my images as previews. -
@5schatten Yep didn't expect it would. I'll download UXS now and try and see what is going on.
-
So I've taken a look into it but I can't seem to find any reason it isn't working other than what has already been stated above. UXS has limited items it can download it seems and you can change what those are. My theme uses the Pegasus metadata as standard. As I said above it uses the logo first, then uses text if it can't find it. The background for the thumbnails uses the screenshot and will play the video if it exists and is highlighted. I can't really add specific fallback options for metadata coming from UXS since I use Pegasus for getting the metadata and am already using all the possible fallbacks there.
I really think the issue is using UXS since it won't allow you to use all the metadata required for this theme (you can download them but you will have to replace something else that is also required). @fluffypillow mentioned it in this post.
Ultimately, this theme requires more metadata to work than the other themes for Pegasus. It's unfortunate that other scrapers don't use more information as standard but it is what it is. So unfortunately I think if you want to use this theme you'll need to follow the steps I outline in the Metadata section in the original post. Sorry about that.
-
@5schatten said in [Theme] gameOS for Pegasus:
Your theme runs fine too beside the fact that it only shows text as the name of the game and shows no preview image although it plays the video in the backgroud once you've selected it and also shows the screeshot in the details page. Just the "grid view" is an empty field on dark boxes with game names ;-)
Just before I totally give up on this, would you be able to post some screen shots? The logos missing is likely due to what I said in my last post but the screenshots missing in the grid view when they show in the details view is most bizarre.
Also if you could post your lastrun.log that would also be helpful.
-
UXS is relatively fine for downloading things, just that the files themselves might need some renaming or moving around to fit for a particular frontend -- in this case renaming wheel/marquee/etc. to logo if one wants to use them as logos.
@PlayingKarrde I think this is where you select the logo to display, right? You can add
assets.marquee
as an additional fallback if you wish, though I'm not sure how that would look.marquee
is not the clear logo after all. -
@PlayingKarrde
Have a look at these pictures https://imgur.com/a/Q7fc8TnIn the first you can see how ES & theme Carbon handles the fanart. It shows a video preview (ignore the swapped red/blue colors that's because a somewhat faulty RPi MMAL patch for VLC ) & the marquee on top. The second picture shows the standard Pegasus theme Grid and this shows the image art as preview. In your theme the preview image so either marquee or "image" is missing but once you hover over a game the preview video is still shown. If you select a certain game the image preview is shown too.
So basically all your theme has to do is pick up the marquee or image if no clear logo is available and show it in the grid view as Pegasus Grid does. :-)
-
@5schatten ah ok thanks for the photos. That cleared it up. Your mix art is set as boxart which is why it shows up where it does in gameOS. It appears your have your boxart marked as marquee in this scenario and you have no screenshots or game logo. That would account for it all.
I attempted to include marquee as a fallback but it seems to break things so I need to look into why before being able to push that change. I'm not convinced it will still look good though as the grid items aren't designed to fit box art (and by default marquees aren't boxart so for most other people it might look very bad). Still, I'll do some tests and see if I can get it going.
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.