GARbro
GARbro copied to clipboard
NOeSIS II - Incorrect file names encoding
VNDB: https://vndb.org/v31281 Developer: Heavy Industry (南极重工) Engine: ONScripter Extension: .nsa
Some files in arc.nsa have Chinese names, and GARbro mistakenly handling its as a Japanese names; some examples:

Tried also extract files through onscrtools, but it seems it can't handle Chinese names correctly too:

Modify code
var name = file.ReadCString();
to
var name = file.ReadCString(Encoding.GetEncoding(936));
in here It should work. Of course, this is a temporary solution.
Just checked it with the newer version of this game. And yep, it works:
Same for the extracted files (I put folder with them in the onscrtools folder for the sake of convenience):
But when I built software in Visual Studio, it complained about the lack of "perl" in the Console. It's not critical?