Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong boxart shown #577

Yaron2019 opened this issue Jul 16, 2019 · 0 comments


Copy link

commented Jul 16, 2019

When using fe.add_artwork() function and the boxart label is not set in the emulator config file, AM will look for the boxart folder in the active layout folder but will present the wrong box.

So if my emulator config file looks like this:

executable E:/Arcade/Attract/apps/RetroArch/retroarch.exe
args -L cores\cap32_libretro.dll "[romfilename]"
rompath E:/Arcade/Attract/apps/AmstradCPC
romext .dsk;.cdt
system Amstrad CPC
artwork boxart $PROGDIR/menu-art/amstradcpc/boxart

And I use this script to load boxart in it's theme layout file:
local boxart = fe.add_artwork("boxart", flx0.005, fly0.47 flw0.18, flh0.5 );

If AM can't find boxart folder in the designated place, it will look for it in the current layout folder and if it finds the boxart folder there, it will show the wrong box.

Screenshot showing 'Double dragon' as selected game but a boxart from a different game (yaba daba doo!):
boxart bug recreation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.