Criware iwaihime (english steam)
imKota opened this issue · 8 comments
Hello @YuriSizuku!
Is there any way to update the length of the string?
Since after packing the text, everything breaks down if the translated string is longer than the original one.
Game Iwaihime english.
1.m it's english translation
data.zip
binary_text_decode.txt
Sorry to reply late. This is because there are index pointers of text, lengths of text, as well as the jump options in the binary script. If you want to make the text longer, you need to have a future analyze of these opcodes in the script. After that, you can rebuild the index pointer.
Hello, @YuriSizuku!
Thanks for the answer!
Well, that's what I thought. And I tried to do something myself.
○01804|00A405|019○ Noroihime: Curse Princess
Line length: 019 will be 25 in decimal.
I tried changing the line length manually, but it didn't help.
Can't you tell me? I would be very grateful to you.
The third number 019 is the original size of the string. As binary_text.py is a common tool for binary script, this only support for import text no longer than origin. Depending on the game, some can be import longer without modify. As for Iwaihime, you need to modify the length in the binary script. For example, this opcode length (including text) is 6A.
Hello, @YuriSizuku!
Thanks for the answer!Well, that's what I thought. And I tried to do something myself.
○01804|00A405|019○ Noroihime: Curse Princess
Line length: 019 will be 25 in decimal.
I tried changing the line length manually, but it didn't help.Can't you tell me? I would be very grateful to you.
I think you can refer to the https://github.com/mchubby/yetireg_tools to parse opcode. I found that the file structure is very similar to iwaihime.
Game Iwaihime english. 1.m it's english translation data.zip binary_text_decode.txt
Hello, @imKota!. Sorry to interrupt, but I would like to ask if you have the extracted Japanese text of this novel?
@Lorditler, Or like this jap(1).txt.
Encoding Shift-JIS.