u3shit / neptools

Modding tools for Neptunia games. *Note*: I'm migrating away from github, see one of the mirrors instead: https://gitgud.io/neptards/neptools or https://git.neptards.moe/neptards/neptools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STCM Editor Corrupting gbin

marcussacana opened this issue · comments

I'm trying import back the text to a .gbin str, and for some reason the genareted file only contains few lines instead the all text, the input file for example is 15kb, the output 6kb
Sample.7z.zip

Original File:
image

Result File:
image

―――――――――――――――――――――――――――――――――――――――― 10000
Io
―――――――――――――――――――――――――――――――――――――――― 10001
Estou tão preocupada.
―――――――――――――――――――――――――――――――――――――――― 10001
Io
―――――――――――――――――――――――――――――――――――――――― 10002

Oh shit, multiple lines have the same id. This will require some format changes. What game is this even?

Since it looks like you already use some random parameters, I've added a new parameter, --simple-ids. This will change how the ids are calculated, so multiple lines won't end up with conflicting ids. However you'll have to manually fix up old txt files (I hope you don't have too much of them)

It's from Moero Chronicles

However you'll have to manually fix up old txt files (I hope you don't have too much of them)

Isn't a problem, Thank you.
the test build don't finished yet, but I supose you already tested and is fixed, then i will close the issue, thank you :)