mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

Error loading images with exclamation in bracktes on its name. [!] #630

Closed Ryback2501 closed 4 years ago

Ryback2501 commented 4 years ago

I got errors when loading an image with an exclamation mark in brackets.

Example: Contra III - The Alien Wars (U) [!].jpg

The information about the image is wrong. For example, texture_width and_texture_height are zero.

I'm loading this image as a normal image, not as artwork.

mickelson commented 4 years ago

I can't reproduce here, loading normal images with a exclamation in brackets works for me.

Ryback2501 commented 4 years ago

Hello again and sorry for insisting. Here's more information about the issue:

I'm creating a theme that uses this module. Someone reported me this bug recently. Here's the link to the issue.

Ryback2501 commented 3 years ago

I have uploaded a basic layout.nut code to test the problem. The code is on Pastebin (link here).

To test it, run the layout and check the lat_run.log file. (here there is an example of a test I ran).