cqjjjzr / LCSELocalizationTools

Tools to translate Virtual Novels(Galgame)/TAVG written by LC-ScriptEngine.
Apache License 2.0
20 stars 0 forks source link

Error: #4

Open silverbulletgrz opened 4 years ago

silverbulletgrz commented 4 years ago

Sorry I'm coming back with another issue. I'm just not very good with this kind of thing.

As seen in the screen cap, I'm getting some kind of error, but the message doesn't say much. I had downloaded the .jar file, moved it into the game directory (C:\Program Files (x86)\BaseSon\koihime) and the run java -jar .\LCSEPackageUtility-rv1.jar --unpack --list lcsebody1.lst --package lcsebody1 -o -d "C:\Games" (C:\Games is an empty folder).

image

Sorry for repeatedly bugging you about these issues.

cqjjjzr commented 4 years ago
  1. The "??????" is Chinese characters that fail to be shown in your console. You need to install Chinese fonts in order to display them correctly.

  2. According to the stack trace, the encrypt key used in your game may differ from the one tested by me. You need to open the lcsebody1.lst and probe the new key (for keyIndex you can just check the byte at offset 0x02 or 0x03), then change the keyIndex and keySNX in LCSEPackage.kt, recompile and run. I originally want to make these keys configurable, but unfortunely currently I have no time to do that :( Sorry for the inconvenience.

silverbulletgrz commented 4 years ago

Ahh alright I'll do that. I'm pretty sure I have Chinese fonts installed since I read it as well, but I'll fix it. I'll do what you described. Thanks for the swift response.