nunuhara / alice-tools

Tools for extracting/editing files from AliceSoft games.
GNU General Public License v2.0
127 stars 19 forks source link

How to choose lanaguage coding in Rance10 #68

Open KingStomach opened 1 month ago

KingStomach commented 1 month ago

I use

alice-tools\alice ain edit --jaf mod.jaf --jam mod.jam -o out/Rance10.ain Rance10.ain

to edit code in Rance10.ain. The file mod.jaf and mod.jam is UTF-8 and Rance10.ain is GBK. So I try to use --output-encoding GBK --input-encoding UTF-8, but it always alert:

mod.jaf:22: error: Function '锛淬偒銉笺儔涓€瑕? can't be overridden because it doesn't exist in: override void锛淬偒銉笺儔涓€瑕?int fg) { ... }

It seems the text in mod.jaf has been interpreted as GBK.