Skyscraper artwork creates duplicate entries
-
Hi!
I have spent some time configuring Skyscraper for scraping my roms, and I like it a lot. However, I have run into a small issue that I don't seem to find any good explanation nor solution for. When creating the artwork for (not all, but many) of my roms the name (wheel?) and the cover art is "duplicated". See the attached picture for reference. It looks like the layers are taken into consideration twice but with some offset.
This is my artwork configuration (using default - which corresponds to what I would like to have):
<?xml version="1.0" encoding="UTF-8"?> <!-- This is the default artwork.xml provided by Skyscraper. More examples can be found in '~/.skyscraper'. Be sure to check the full artwork documentation here: https://github.com/muldjord/skyscraper/blob/master/docs/ARTWORK.md --> <artwork> <output type="screenshot" width="640" height="480"> <layer resource="screenshot" x="20" width="520" height="390" align="center" valign="middle"> <rounded radius="10"/> <stroke width="5"/> </layer> <layer resource="cover" height="250" x="0" y="-10" valign="bottom"> <gamebox side="wheel" rotate="90"/> <shadow distance="5" softness="5" opacity="70"/> </layer> <layer resource="wheel" width="250" x="-10" align="right"> <shadow distance="5" softness="5" opacity="70"/> </layer> </output> <output type="marquee" resource="wheel"/> </artwork>
... but as you can see in the image, there's an additional cover and game title being generated into the resulting image which I would really love to get rid of. The question is.... how? :-/.
I kind of suspect that the cache has been corrupted somehow, but I am far from sure about that.
Things I’ve tried:
- —cache refresh
- Remove the previous media folder and regenerated artwork by typing Skyscraper -p nes.
Pi Model or other hardware: 2 B
Power Supply used: (If using a Pi): 5V 2.5A
RetroPie Version Used: 4.7.1
Built From: Pre made SD Image on RetroPie website (retropie-buster-4.7.1-rpi2_3.img.gz)
USB Devices connected: WiFi + BT Dongle
Controller used: PS3 controller (x2) (Official)
Error messages received: N/A
Verbose log (if relevant): N/A
Guide used: Looked through Skyscraper's github docs
File: N/A
Emulator: N/A
Attachment of config files: See above.
How to replicate the problem: Skyscraper -p nes -
@tomfury it looks like it's using an already-processed artwork and treating that as the "screenshot" layer and applying the processing to it again. Did you import artwork from the "esgamelist (local)" module or anything like that?
-
@sleve_mcdichael Ah yes, I did that when fiddling around with the various scraping options. It makes sense what you say, that must be it.
How do I go about getting rid of these corrupted screenshots? I guess I would have to make the cache “lose” these?
EDIT: Seems the —cache purge option specifying es local option and type screenshot is the way to go. Just need to figure out the syntax. Tomorrow :)
-
@tomfury try:
Skyscraper -p nes --cache purge:m=esgamelist
I do like to occasionally scrape my gamelist to pick up custom textual edits. To keep the artwork separate from this (I use "import" to import local art, and "esgamelist" to handle custom textual data) I add the following to my
~/.skyscraper/config.ini
:[esgamelist] ## import customized ES textual data cacheRefresh="true" unattend="true" videos="false" cacheCovers="false" cacheScreenshots="false" cacheWheels="false" cacheMarquees="false" [import] cacheRefresh="true"
"cacheRefresh" because we always want to pick up the latest edits. "unattend" because it doesn't make much sense to skip existing gamelist entries when the only thing we are reading from is existing gamelist entries (and because I have "unattendSkip" enabled by global default, for everything else.)
[Edit]: yes you could do
--cache purge:m=esgamelist,t=screenshot
but that's also going to keep a duplicate "wheel/marquee" (depending who you ask*) in your cache. I would just purge the whole module then, if you want, re-scrape it for the textual data after adding the above to yourconfig.ini
.*(what EmulationStation calls "marquee" is the transparent-background logo image, that the scraping modules call "wheel art." The scraping modules also have a "marquee" image, that is different, more like a desktop wallpaper type of image. Note how in the artwork xml it makes a "marquee" image [for ES] using the "wheel" resource [from scrapers].)
-
@sleve_mcdichael Thank you. It makes so much sense. I tried purging the esgamelist cache and then re-generated the artwork with Skyscraper. Worked like a charm. I took some inspiration from your settings and applied them myself too.
Finally, a big thank you for taking the time to explain the differences between marquee and wheel. I went close to bananas trying to understand the definitions.
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.