arcusmaximus / VNTranslationTools

Tools for translating visual novels
MIT License
296 stars 45 forks source link

About encoding #128

Closed xd2333 closed 1 year ago

xd2333 commented 1 year ago

Thanks for making these tools.What's the encoding when insert?Can I specify the encoding?

Cosetto commented 1 year ago

Depend on the engine but mostly shift-jis, you can't change encoding of game's script because the game won't work if you change it

xd2333 commented 1 year ago

Since generally in us this is done by modifying the game program to make the text display properly with modifyed encodeing, I would like to ask how to modify the inserted encoding. I'm not very good at C#, can you provide a basic idea about how to add this feature so I can try to change it myself?thanks

Cosetto commented 1 year ago

There's no need, vntextpatch has a function called sjistunnelencoding which will output ext_sjis.bin when you insert the text has chracters which is not supported by shift-jis. Place ext_ext.bin, a proxy(.dll which the game prefers), and a .ttf/.otf font to support your language in the game folder, it will help displaying non-supporting characters in the game.

xd2333 commented 1 year ago

hi, I'v tryed vntextproxy in the catsystem2 game アマカノ2 ~Perfect Edition~ with version.dll, but the game crash at the begaining before windows show.can you fix it or how can i debug it?thanks