blueminder / flycast-dojo

A fork of Flycast, a multiplatform Sega Dreamcast, Naomi and Atomiswave emulator. Intended for netplay and quality of life improvements for training & online tournament play
http://flycast.dojo.ooo
GNU General Public License v2.0
207 stars 15 forks source link

Special characters in folder path = can't boot game through command line #47

Closed WAZAAAAA0 closed 7 months ago

WAZAAAAA0 commented 7 months ago

Trying to launch a game that's in a folder path with special symbols in it directly through command line parameters will fail.

Tested on Win10 and Win11.

Affects both the old dojo-0.5.8 284946ba5 (Fightcade edition) and the new dojo-6.11 ec8590fc5.

COMMAND LINE EXAMPLES: C:\ÅÅÅ\flycast-dojo-6.11\flycast.exe -config dojo:GameEntry=dc_doa2_le fails and quits C:\BBB\flycast-dojo-6.11\flycast.exe -config dojo:GameEntry=dc_doa2_le game starts successfully

blueminder commented 7 months ago

I just put in a fix for Unicode file path handling for JSON and it's running through the CI now. I just tested it locally. As soon as the build is finished, I'll shoot out the next prerelease.

https://github.com/blueminder/flycast-dojo/commit/07c87ce43dafa4611e2157b525851b83ac24b623

blueminder commented 7 months ago

Fixed in Dojo 6.12