Author Topic: AttractMode Not Finding Specified Artwork  (Read 3886 times)

Enverex

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
    • xNode - Internet Toolkit
AttractMode Not Finding Specified Artwork
« on: June 17, 2016, 02:48:12 AM »
So I've got my config files generated by an external program I've written so at this point I'm wondering if the syntax for the config files has changed. I'll use Amiga as an example in this situation.

The problem is that, even though the artwork is there, AttractMode doesn't seem to be seeing it.

Here's the relevant section from my .attract/attract.cfg:
Code: [Select]
list    Commodore Amiga
        layout          simulacra
        romlist         Amiga
        filter          All
        filter          Favourites
        rule            Favourite equals 1

And then .attract/emulators/Amiga.cfg:
Code: [Select]
executable           launchWhdLoad
args                 "[romfilename]"
rompath              /mnt/store/Emulation/Games/Commodore - Amiga
romext               .zip
system               Amiga
artwork    flyer           /mnt/store/Emulation/Assets/Commodore_Amiga/Background
artwork    marquee         /mnt/store/Emulation/Assets/Commodore_Amiga/Banner
artwork    snap            /mnt/store/Emulation/Assets/Commodore_Amiga/Box;/mnt/store/Emulation/Assets/RomScan/Commodore_Amiga/Box
artwork    wheel            /home/arcade/.attract/scraper/Amiga/wheel
(wheel being local to attract is correct as Attract Mode has downloaded these and it seems to ignore the existing wheel location, so I've had to set it to use the default folder)

Then a few lines from .attract/romlists/Amiga.txt:
Code: [Select]
1st Division Manager;1st Division Manager;amiga;;1992;Cirrus;Sports;;;;;;;;1st Division Manager;
3D Construction Kit;3D Construction Kit;amiga;;1991;Incentive [New Dimension International];Educational;;;;;;;;3DConstructionKit;
3D Galax;3D Galax;amiga;;1989;;Action;;;;;;;;3D Galax;
3D Pool;3D Pool;amiga;;1989;Aardvark;Sports;;;;;;;;3D Pool;
3D World Tennis;3D World Tennis;amiga;;1992;Simulmondo;Sports;;;;;;;;3D World Tennis;
4D Sports Boxing;4D Sports Boxing;amiga;;1991;Distinctive (D.S.I.);Sports;;;;;;;;4D Sports Boxing;
4D Sports Driving;4D Sports Driving;amiga;;1992;Distinctive (D.S.I.);Racing;1;;;;;;;4D Sports Driving;
4x4 Off Road Racing;4x4 Off Road Racing;amiga;;1989;Epyx, Inc.;Action, Racing , Driving;1;;;;;;;4x 4 Off Road Racing;
5th Gear;5th Gear;amiga;;1990;Micro Wish;Action, Racing , Driving;;;;;;;;5th Gear;
7 Colors;7 Colors;amiga;;1991;Gamos;Strategy;;;;;;;;7 Colors;
9 Lives;9 Lives;amiga;;1990;Frames;Action;;;;;;;;9 Lives;
688 Attack Sub;688 Attack Sub;amiga;;1990;Electronic Arts, Inc.;Simulation;1;;;;;;;688 Attack Sub;

So that's it for AttractMode config files. As far as I can tell it all looks sane. Here's an example of " /mnt/store/Emulation/Assets/Commodore_Amiga/Box":
Code: [Select]
1st Division Manager.jpg
3D Pool.jpg
3D World Tennis.jpg
4D Sports Boxing.jpg
4D Sports Driving.jpg
4th & Inches.jpg
5th Gear.jpg
688 Attack Sub.jpg
7 Colors.jpg
A-Train.jpg
AV8B Harrier Assault.jpg
Aaargh!.jpg
Abandoned Places 2.jpg

So the files are there with the correct names.

But when I browse through the list in AttractMode, it seems to be trying to load generic filenames (one set of failures is listed per game as I scroll through them). This isn't specific to Simulacra as the same thing happened with Nevato.
Code: [Select]
*** Initializing display: 'Commodore Amiga'
 - Loaded master romlist 'Amiga' in 3 ms (1834 entries kept, 0 discarded)
 - Constructed 2 filters in 2 ms (3668 comparisons)
Failed to load image "/home/arcade/.attract/layouts/simulacra/fanart.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/fanart.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/fanart.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/snap.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/snap.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/snap.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/wheel.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/wheel.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/wheel.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/fanart.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/fanart.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/fanart.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/snap.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/snap.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/snap.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/wheel.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/wheel.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/wheel.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/fanart.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/fanart.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/fanart.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/snap.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/snap.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/snap.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/wheel.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/wheel.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/wheel.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/fanart.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/fanart.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/fanart.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/snap.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/snap.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/snap.png
Failed to load image "/home/arcade/.attract/layouts/simulacra/wheel.png". Reason: Unable to open file
Error opening input file: /home/arcade/.attract/layouts/simulacra/wheel.png
ERROR loading video: /home/arcade/.attract/layouts/simulacra/wheel.png

So where am I going wrong here?

xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: AttractMode Not Finding Specified Artwork
« Reply #1 on: June 17, 2016, 03:56:11 AM »
Double check the artwork file paths.

When the artwork isn't found AM looks for default artwork in the layout folder, simulacra doesn't have any default artwork so reports an error.

Have you tried using the built-in scraper?

Enverex

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
    • xNode - Internet Toolkit
Re: AttractMode Not Finding Specified Artwork
« Reply #2 on: June 17, 2016, 04:14:13 AM »
I use different front-ends and already have 180GB of artwork for 23000 games so letting it try and re-scrape everything itself isn't really an option. That said, I did let it scrape the wheel artwork itself and that isn't showing either.

The paths are correct which is why I included a snippet of the folder contents from one of the paths (artwork snap > Box).

xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: AttractMode Not Finding Specified Artwork
« Reply #3 on: June 17, 2016, 05:05:15 AM »
The build in scraper was just a suggestion for testing purposes. If the scraped artwor doesn't show there's something strange going on.

Enverex

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
    • xNode - Internet Toolkit
Re: AttractMode Not Finding Specified Artwork
« Reply #4 on: June 17, 2016, 05:06:25 AM »
Yeah, the wheel artwork isn't showing either (which it downloaded itself) so something dodgy is definitely going on.