scratchminer / Index-OS

A custom launcher for the Panic Playdate
https://scratchminer.github.io/Index-OS-Website/
34 stars 0 forks source link

Some games launcher card images not displayed #9

Closed R0M4N0F5K7 closed 10 months ago

R0M4N0F5K7 commented 1 year ago

Some games launcher card images are not displayed and the launcher falls back to just display a black card with the game title. The games are 'Simorgh', 'PlayGB' and 'aliens ate my boyfriend'. Reinstalling didn't fix it. In original OS they are displayed.

scratchminer commented 1 year ago

I can't reproduce this issue. Can you please check the game bundle's pdxinfo file, to see if imagePath points to the correct place?

stuffbyrae commented 1 year ago

i think it's games that point to a specific image for their launcher card data rather than a folder that causes it? within my sideload library, it happens with smolitaire and ash K's pomodoro timer (both free on itch for testing purposes) - pomodoro points to "cover" for its image (the card image is 'cover.pdi', located at the root), and smolitaire points to "launch/beta-card.png" for its imagepath, and the card is located at...well, take a guess LOL. any other game in my library points to the folder that the card is in rather than the image itself, and all of those render just fine it's worth taking a look at snak from the season and seeing if that has the issue too, cuz i believe it has the same "point straight to the image" approach

stuffbyrae commented 1 year ago

snak well that's quite the wrench? snak does use the same sorta deal - imagepath=card ; the actual image is at card.pdi on the root, yet it works. is it something to do with sideloading? edit: oh, derp, it's because pomodoro's using "cover" as its name for some dumb reason. changing that one's filename to "card" makes it work just fine even on the root

scratchminer commented 10 months ago

I found the problem. It's here in game.lua. I'll push a fix