[Theme] gameOS for Pegasus
-
@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.
-
@PlayingKarrde
I've checked the marquees and basically all of them have 547(or 544)x400 pixels so somewhat a 4:3 ratio. I guess you use "Wheel" as logo so the Zelda logo for example? https://www.screenscraper.fr/gameinfos.php?gameid=2138&action=onglet&zone=gameinfosmedias So your wheel files are mostly 2:1 if it comes to ratio? Anyway I don't care if the fallback means the logos are a bit smaller / zoomed out to fit your box if some art is shown at all ;-) -
@5schatten I think there's still some confusion over what a marquee is by default. If you look here https://www.screenscraper.fr/gameinfos.php?plateforme=8&gameid=37424 this is what is considered a marquee. In your setup you have boxart set to marquee since UXS lets you change the type of art for each designation but this causes issues since I can't account for every possible combination.
What I think you are asking for is to have boxart be the art for the grid. You are correct that the boxart for SNES is close to 4:3 but it's actually rare for this to be the case. Most boxart is vertical (including japanese SNES) and there would be a lot of cropping going on here.
Anyway I'll try it and see if I can get it working first. Default marquees may actually not look too bad (but will only show for arcade I think) and would cover your case also.
-
@PlayingKarrde
If you can push some stuff to a test branch I would pull & report how it fit's for my actual usecase. Anyway from my understanding Pegaus should be able to resize the boxes in your grid depending of the actual image size? Or does it resize the images so they fit within the grid box borders? -
[deleted]
-
@PlayingKarrde
Well I thinkered a bit and added https://github.com/muldjord/skyscraper to my builds but still there is no wheel included. It downloads them and you can use them to merge wheels to a preview but the standard artwork output still lacks wheel file. So is it possible that https://www.skraper.net/ downloads and provides a quite non-standard set? -
@PlayingKarrde
would you have gameOS v0.4 to download? because v0.5 does not work in pegasus 10 and I can't open the newer version of pegasus, it says that it is missing the dll libssl-1_1 and libcrypto-1_1. -
@demetriosp that's a bug on my side, will try to fix it tomorrow!
-
Update: Build fixed!
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.