libretro / vice-libretro

Versatile Commodore 8-bit Emulator
GNU General Public License v2.0
40 stars 70 forks source link

Files not autolaunching if special characters exist in path #453

Closed vagrant-17 closed 2 years ago

vagrant-17 commented 2 years ago

eg. I have a .prg file I'm trying to launch from this location; "01. Fancy Rats - Stary Licheń Song/stary_lichen_song.prg"

It fails with unknown filetype error in log. When I remove the special character from path; "01. Fancy Rats - Stary Lichen Song/stary_lichen_song.prg" it launches fine.

I have special characters enabled in frontend options.

sonninnos commented 2 years ago

Weird, since D64 files do work from such paths, but PRGs don't. Of course when I last time fixed non-ascii paths, I did not test PRGs..

CRTs also work.

vagrant-17 commented 2 years ago

Strange! I can't confirm if PRGs have ever worked from such paths, it could be the first time I've tried to run such case

sonninnos commented 2 years ago

I narrowed it down to the VFS addition, as in it works if VFS is disabled (by building with make NO_LIBRETRO_VFS=1)..

Indeed odd that no other file format does the same stat checking, but I'll sort it out shortly.

Edit: Okeydokey, created a wrapper for it and it seems to be working fine. I'll push after some more testing.