tommitytom / RetroPlug

A frontend for the SameBoy GameBoy emulator, with a focus on music creation. It runs standalone and can be used as an audio plugin (VST) in your favourite DAW!
MIT License
304 stars 15 forks source link

Project files cannnot load that has a path included 2-byte characters #14

Open sdhizumi opened 4 years ago

sdhizumi commented 4 years ago

I cannot load a project file from D:\GB関連\lsdj\saves\test.retroplug . "関連" are Japanese Kanji.

In the project file, "GB関連" are transformed to "GB関係". This charactors HEX code is "47 42 E9 96 A2 E4 BF 82". ("47 42 E9 96" are "GB".) I don't know what the character code of this. For example, UTF-8's "GB関連" HEX code is "47 42 E9 96 A2 E9 80 A3". That wrong code is not a Shift-JIS too.

Finally I can load this project file after I remove 2-byte characters from the file used HEX Editor and fixed the file places. Can you add multi byte support for project file?

tommitytom commented 4 years ago

This will be fixed in upcoming version 0.3.0 :)

tommitytom commented 3 years ago

This should be fixed in v0.3.0, please test and let me know if it works :)