A way to find missing Artwork inside folders
-
Hi guys, I am using Skyscraper, great tool, but I like to use my own resized artwork downloaded from the internet, my question is, is there a way to "audit" my artwork folders to know if there is something missing like videos, logos, boxart, etc (like the HyperDetective tool for Hyperspin) ? the artwork I found sometimes has a different name compared with the rom's name, and there are systems with hundreds of games, checking in ES if each game has video/logo/boxart is a very time consuming job, thanks in advance my friends !!!!!
-
@nightkiller05 https://github.com/muldjord/skyscraper/blob/master/docs/CLIHELP.md#--cache-reportmissingall-textual-artwork-media-or-resource1resource2
Ex.:
Skyscraper -p snes --cache report:missing=video
-
@sleve_mcdichael Thanks for the quick answer, I have a basic question, where can I execute that command? all I obtain in CLI is a error message
pi@retropie:~ $ Skyscraper -p snes --cache report:missing=video -bash: Skyscraper: command not found pi@retropie:~ $ pi@retropie:~ $ sudo Skyscraper -p snes --cache report:missing=video sudo: Skyscraper: command not found pi@retropie:~ $ cd /opt/retropie/supplementary/skyscraper/ pi@retropie:/opt/retropie/supplementary/skyscraper $ Skyscraper -p snes --cache report:missing=video -bash: Skyscraper: command not found pi@retropie:/opt/retropie/supplementary/skyscraper $ sudo Skyscraper -p snes --cache report:missing=video sudo: Skyscraper: command not found pi@retropie:/opt/retropie/supplementary/skyscraper $
I assume that I can't use Skyscraper via CLI for some reason, but I can use it calling retropie-setup via cli first:
sudo ./RetroPie-Setup/retropie_setup.sh
Then I go to - C Configuration Tools -> 230 Skyscraper and thats it, I don't know why I cant use it via CLI, help me please
-
@nightkiller05
According to the documentation page:
https://retropie.org.uk/docs/Scraper/#using-skyscraper
The path should be/opt/retropie/supplementary/skyscraper/Skyscraper
so you were really close.The reason it wouldn't work is because the operating system is only configured to look in certain folders for executable scripts/programs. So you either have to launch them from the folder where they actually are, reference them with an absolute path, or add a new location to your configuration.
-
@YFZdude is right, you need to use the full path to
Skyscraper
. Also, do not usesudo
withSkyscraper
, it will not work correctly. -
See:
NOTE! If you've installed Skyscraper through the RetroPie-Setup script, it is recommended to create a symbolic link to the executable. Do this by running
sudo ln -s /opt/retropie/supplementary/skyscraper/Skyscraper /usr/local/bin/Skyscraper
. This will allow you to just typeSkyscraper
when running it from command line.As mentioned, don't run it as
sudo
, that will make everything it does be owned by super-user "root," and then regular user "pi" is going to have a hard time. (If you already have done this, you can probably fix the permissions with asudo chown -R pi:pi <directory>
on the~/.skyscraper/cache
and~/.emulationstation
directories. If you have set it to use theroms
dir for gamelists or media files, do thechown
command on~/RetroPie/roms
too.) -
@yfzdude said in A way to find missing Artwork inside folders:
@nightkiller05
According to the documentation page:
https://retropie.org.uk/docs/Scraper/#using-skyscraper
The path should be/opt/retropie/supplementary/skyscraper/Skyscraper
so you were really close.Skyscraper
(big "S") is the executable./opt/retropie/supplementary/skyscraper
(little "s") is the right directory, where the executable livesThe only reason it didn't work when they tried it from there is because executables in Linux (unless they are in the system path) need to be prefaced by a full or relative path, including
./
if it's in the current directory.pi@retropie:~ $ cat test.sh #! /bin/bash echo It Works!! pi@retropie:~ $ test.sh -bash: test.sh: command not found pi@retropie:~ $ ./test.sh It Works!! pi@retropie:~ $
So you either have to launch them from the folder where they actually are, reference them with an absolute path, or add a new location to your configuration.
(Or symlink the executable in your system path, as recommended in Skyscraper's help docs.)
-
@sleve_mcdichael @mitu @YFZdude Thank you guys for all your kindly help, check this out:
I don't have a skyscraper folder inside /opt/retropie/supplementary/skyscraper folder:
pi@retropie:/opt/retropie/supplementary/skyscraper $ ls -l total 3688 -rw-r--r-- 1 root root 849 Dec 14 01:27 aliasMap.csv -rw-r--r-- 1 root root 881 Dec 14 01:27 artwork.xml -rw-r--r-- 1 root root 2561 Dec 14 01:27 artwork.xml.example1 -rw-r--r-- 1 root root 292 Dec 14 01:27 artwork.xml.example2 -rw-r--r-- 1 root root 668 Dec 14 01:27 artwork.xml.example3 -rw-r--r-- 1 root root 498 Dec 14 01:27 artwork.xml.example4 -rw-r--r-- 1 root root 4911 Dec 14 01:27 config.ini.example -rw-r--r-- 1 root root 5329 Dec 14 01:27 hints.txt drwxr-xr-x 2 root root 4096 Dec 14 01:27 import -rw-r--r-- 1 root root 35141 Dec 14 01:27 LICENSE -rw-r--r-- 1 root root 2005590 Dec 14 01:27 mameMap.csv -rw-r--r-- 1 root root 3037 Dec 14 01:27 priorities.xml.example -rw-r--r-- 1 root root 16702 Dec 14 01:27 README.md drwxr-xr-x 2 root root 4096 Dec 14 01:27 resources -rw-r--r-- 1 root root 279 Jan 15 16:08 retropie.pkg -rwxr-xr-x 1 root root 1121724 Dec 14 01:27 Skyscraper -rw-r--r-- 1 root root 342796 Dec 14 01:27 tgdb_developers.json -rw-r--r-- 1 root root 187547 Dec 14 01:27 tgdb_publishers.json pi@retropie:/opt/retropie/supplementary/skyscraper $
Thats a little weird, but then I saw the las post from @sleve_mcdichael about execute the command with "./" and worked like a charm:
pi@retropie:/opt/retropie/supplementary/skyscraper $ ./Skyscraper -p atari2600 -s screenscraper --cache report:missing=all ------------------------------------------- Running Skyscraper v3.6.16 by Lars Muldjord ------------------------------------------- Platform: 'atari2600' Scraping module: 'screenscraper' Input folder: '/home/pi/RetroPie/roms/atari2600' Game list folder: '/home/pi/RetroPie/roms/atari2600' Covers folder: '/home/pi/RetroPie/roms/atari2600/covers' Screenshots folder: '/home/pi/RetroPie/roms/atari2600/screenshots' Wheels folder: '/home/pi/RetroPie/roms/atari2600/wheels' Marquees folder: '/home/pi/RetroPie/roms/atari2600/marquees' Cache folder: 'cache/atari2600' Fetching limits for user 'NIGHTKILLER05', just a sec... Setting threads to 1 as allowed for the supplied user credentials. Reading and parsing quick id xml, please wait... Done! Reading and parsing resource cache, please wait... Done! Successfully parsed 8830 resources! Resource cache stats for selected platform: 'screenscraper' module Titles : 661 Platforms : 661 Descriptions : 657 Publishers : 644 Developers : 549 Ages : 205 Tags : 641 Ratings : 314 ReleaseDates : 637 Covers : 656 Screenshots : 660 Wheels : 660 Marquees : 660 Videos : 657 Creating report(s) for resource type(s): title platform description publisher developer players ages tags rating releasedate cover screenshot wheel marquee video 667 compatible files found for the 'atari2600' platform! Creating file id list for all files, please wait............. Report filename: '/opt/retropie/configs/all/skyscraper/reports/report-atari2600-missing_title-20220126.txt' Assembling report, please wait............. Done! 6 file(s) is/are missing the 'title' resource.
Thank you my friends !!!!
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.