muldjord / skyscraper

Powerful and versatile game scraper written in c++
GNU General Public License v3.0
489 stars 128 forks source link

Couldn't calculate cache id of rom file #342

Open skippa opened 2 years ago

skippa commented 2 years ago

I should first explain my use case to understand if this is really a bug or me using it wrong...

I'm wanting to scrape cover art for my ROM's that I have in an SD card for a handheld emulator (Anbernic RG350 to be exact). I've got folders for each platform ie ROMS/GBA (gameboy advance), ROMS/MD (megadrive) etc. I just need coverart files that will be named [ROM filename].png

Roms are named as follows:

002 Pokemon Leaf Green.gba
003.Crash Bandicoot2.gba
003 Pokemon Mystery Dungeon-Red Rescue Team.gba
004 Super Mario Adv.gba

I've run this inside the ROMS/GBA folder:

Skyscraper -p gba -s openretro -i /home/xxxxx/retroarch/sdcard/ROMS/GBA

Output as follows:


------------------------------------------
Running Skyscraper v3.7.5 by Lars Muldjord
------------------------------------------
Platform:           'gba'
Scraping module:    'openretro'
Input folder:       '/home/cmskipsey/retroarch/sdcard/ROMS/GBA'
Game list folder:   '/home/cmskipsey/retroarch/sdcard/ROMS/GBA'
Covers folder:      '/home/cmskipsey/retroarch/sdcard/ROMS/GBA/media/covers'
Screenshots folder: '/home/cmskipsey/retroarch/sdcard/ROMS/GBA/media/screenshots'
Wheels folder:      '/home/cmskipsey/retroarch/sdcard/ROMS/GBA/media/wheels'
Marquees folder:    '/home/cmskipsey/retroarch/sdcard/ROMS/GBA/media/marquees'
Cache folder:       'cache/gba'

DID YOU KNOW: If you have all of your roms on an external harddrive, you can set the 'inputFolder' option in the '[main]' section of '/home/USER/.skyscraper/config.ini'. Then it will always use this location as the base path for all platforms.

Forcing 1 thread to accomodate limits in the OpenRetro API

Reading and parsing quick id xml, please wait... Done!
Reading and parsing resource cache, please wait... Done!
Successfully parsed 0 resources!

Looking for optional 'priorities.xml' file in cache folder... Found!
Priorities loaded successfully!

Starting scraping run on 305 files using 1 threads.
Sit back, relax and let me do the work! :)

Couldn't calculate cache id of rom file '002 Pokemon Leaf Green.gba', please check permissions and try again, now exiting...
``

Skyscraper seems more aimed at being run from a raspberry pie with RetroPie running - does that mean I shouldn't use it for my use case?
muldjord commented 2 years ago

Hi, Skyscraper is very much aimed at RetroPie, but can be used on a normal Ubuntu install as well without issue. The use case in question does not seem like an obscure use-case to me, so it should work.

Two things I note: