Author Topic: Artworks aka flyers not displaying  (Read 11195 times)

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Artworks aka flyers not displaying
« on: January 20, 2019, 04:02:13 PM »
I have this weird problem in my latest install where artworks no longer display. The snaps videos play fine and all the files are in their proper folders yet instead I get a no image available message. I'm using Windows 7 pro.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #1 on: January 20, 2019, 06:02:30 PM »
Which layout are you using? Where are your images stored? Post your emulator.cfg for the system you're using.

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #2 on: January 20, 2019, 07:33:25 PM »
I'm using Game Station as the theme. The pc is on Windows 7, i3 7350k, ATI HD 6450, 8gb ram on an asrock mother board.

The images are stored in the attract mode folder scraps/mame/flyers

All other parts of the scraps folder is working (marquee, snaps and wheels I believe they are called).

When I had set it up on my other computer it worked without a problem.

Sorry if this sounds incredibly newbish but what is a emulator.cfg?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #3 on: January 20, 2019, 08:19:47 PM »
The file that represents the emulator/system your trying to use in \attractmode\emulators\<system_name>.cfg. Also post your \attractmode\attract.cfg file.

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #4 on: January 20, 2019, 09:27:48 PM »
Thank you for the explanation. I found the file and am attaching it.

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #5 on: January 20, 2019, 09:37:29 PM »
So now instead of having "no image available" displayed I'm now getting something else, what looks like a bunch of angled horizontal lines, something that looks like a monitor getting an image in the wrong resolution (this is on the lcd by the way). Only a few flyers are appearing correctly and they seem to be the very low res ones like wonder boy in monster land and such.

EDIT: Scratch that, now after quitting and restarting I'm getting the "no image available" message again. :(

This doesn't happen on my other pc so I'm not sure what I did wrong here.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #6 on: January 20, 2019, 09:50:39 PM »
Thank you for the explanation. I found the file and am attaching it.

This file doesn't contain a "flyer" artwork field. You need to add this to your file. You can use the GUI, Configure-->Emulators-->mame-->Add Artwork-->Artwork Name=flyer and Artwork Path=C:\attract-v2.5.1-win64\scraper\mame\flyer (or whatever your path is).

You can also manually replace the contents of your mame.cfg with my suggestion below (verify the paths are correct). I tweaked a few things.

Your current file
Code: [Select]
# Generated by Attract-Mode v2.5.1
#
executable           C:\mame\mame64.exe
args                 [name]
workdir              C:\attract-v2.5.1-win64\.
rompath              C:\mame\roms/
romext               .zip;.7z
system               Arcade
info_source          listxml
artwork    marquee         $HOME/mame/marquee
artwork    snap            $HOME/mame/video;$HOME/mame/snap

My suggested new file
Code: [Select]
# Generated by Attract-Mode v2.5.1
#
executable           C:\mame\mame64.exe
args                 [name]
workdir              C:\mame
rompath              C:\mame\roms
romext               .zip;.7z
system               Arcade
info_source          listxml
artwork    flyer     C:\attract-v2.5.1-win64\scraper\mame\flyer
artwork    marquee   C:\attract-v2.5.1-win64\scraper\mame\marquee
artwork    snap      C:\attract-v2.5.1-win64\scraper\mame\snap
« Last Edit: January 20, 2019, 09:53:51 PM by progets »

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #7 on: January 20, 2019, 10:09:21 PM »
Thank you so much. So I went ahead and copied everything exactly as you presented it but unfortunately it still won't display the images. Not sure if this is relevant or what not but I also find that compared to my other PC the navigation is very slow. I'm wondering if I shouldn't try reducing the resolution of the images, maybe it's not able to keep up. The gpu on the groovymame pc is an ATI HD6450. cpu is an i3 7350k but I'm not sure whether that matters in this matter.

Here's the current mame.cfg I don't think I missed anything but just in case.

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #8 on: January 20, 2019, 10:17:24 PM »
So it looks like once it encounters an artwork it can display it does so (like I can see Shadow Force) and after that it will display other ones with scribbled horizontal lines of different colors. It looks like it can mostly see the ones that are around or under 1mb in size.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #9 on: January 20, 2019, 10:20:00 PM »
Confirm that you your flyer artwork is in C:\attract-v2.5.1-win64\scraper\mame\flyer and the file names match your rom names.

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #10 on: January 20, 2019, 10:48:44 PM »
Yes I did. So turns out when I reduce the resolution of the images, to say 600 vertical pixels, the file size is also reduced dramatically and at this point it appears I am able to display them properly. I guess I'll just have to do that for each one of them, it probably shouldn't matter on the crt anyway but I'm surprised this step is necessary.

One thing that surprises me is how slow the navigation is, going up or down between each game has a lag, perhaps one or sometimes even 2 seconds to load up the next one. Is that normal behavior with older gpus like the HD 6450?
« Last Edit: January 20, 2019, 11:15:59 PM by Neil »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #11 on: January 20, 2019, 11:15:49 PM »
You might want to test with different layouts before converting your flyers. Some layouts are made for 4:3 while other are made for 16:9. There are also parameters in the layout.nut files that can call for a true aspect ratio for an image vs. an altered aspect ratio to fit into a specific space.

Converting your images is an option and can be done in an automated batch job with a free program to make things easy if that's the option you take.
« Last Edit: January 20, 2019, 11:53:12 PM by progets »

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #12 on: January 21, 2019, 11:03:30 AM »
Thank you. Is there a way to tell what resolutions different layouts are compatible with? I'm wondering whether Game station might be incompatible with 640x480 and that might be causing the issue I have on the crt.

Meanwhile the artwork problem is solved with the lower size files, but browsing is still quite slow and I'm not sure what to do to improve that, perhaps I will have to stick with basic on the groovymame pc.

rand0m

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #13 on: January 21, 2019, 08:49:48 PM »
Neil if flyers have taken you long to collect and are in excellent form (clear, large resolution and without color distortion) then keeping originals in some archive (zipped) is what I'll recommend. Create copies in shorter resolution for AM (many batch apps available).

You can try mipmap to improve browsing speed. In the layout where instructions for flyers are, add the line:

flyers.mipmap = true;

"flyers" should be replaced with whatever you are calling flyers locally.

Neil

  • Full Member
  • ***
  • Posts: 46
    • View Profile
Re: Artworks aka flyers not displaying
« Reply #14 on: January 21, 2019, 11:42:49 PM »
Thank you so much! That alleviated the sluggishness big time when testing on the lcd. :)
Now I've migrated to the crt so I'm just having to figure out how to get Attract Mode working there (currently just giving me a black screen with white lines flying around) but that's a different matter I'm currently inquiring about in the "emulator" section. Hopefully I can get it working eventually.