Inori/FuckGalEngine

PackNameTxt

imKota opened this issue · 2 comments

Hello, @Inori!

Inori commented

The script is used to generate a hash table of strings, the hash value is calculated using the original Jananese text.
The script stores [hash_key, translated_string] pairs in the output binary file.

Then during game runtime, the code in MinoriPatch.cpp will calculate the hash of the game's text using the same algorithm as the script does.
This way, we can index the translated strings using hash value, and replace the original Japanese text with the found one.

So if the name is not displayed correctly, there must be hash match errors, possibly you are using wrong translated
name pairs or wrong encodings.
I can't tell you the details because I really don't remember such details after so many years...
You can attach the debugger to see what's going wrong.

Thank you, for the answer.
I ended up writing myself :)