Snes9x 1.53 and command-line: Not loading roms with accents

If you're having problems with Snes9x, or think you've found a bug, this is the place to be.
Post Reply
Solid One
Snes9x White Belt
Posts: 1
Joined: Fri Mar 14, 2014 5:50 pm

Snes9x 1.53 and command-line: Not loading roms with accents

Post by Solid One »

I'm having a issue on Snes9x. On Windows 7, using emulator latest version (1.53), I can't load roms from command-line if there's accents on the rom filename or path.

The example below works fine:

Code: Select all

snes9x -fullscreen "c:\Emulacao\SNES\Super Metroid.smc"
But the ones aren't:

Code: Select all

snes9x -fullscreen "c:\Emulação\SNES\Super Metroid.smc"
snes9x -fullscreen "c:\Emulacao\SNES\Super Metróide.smc"
On the first example, there is a directory called "Emulação" (accents bolded).
On the second one, there is a rom called "Super Metróide.smc".

It's happening only on Windows. On Ubuntu, it seems to be working fine.

I suspect it's a bug on emulator. Anyone know of a solution or workaround to this issue, besides stripping accents from path or rom filenames? I have a few emulation frontends that will partially break if I strip accents from these directories.
User avatar
OV2
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Re: Snes9x 1.53 and command-line: Not loading roms with acce

Post by OV2 »

I've fixed this in the latest testbuild: http://www.s9x-w32.de/dl/testbuilds/sne ... 032014.zip
Post Reply