hnnewgames wrote:
Oops guys, who can create a tool to facilitate the editing of the texts of this game, a friend of mine will be very happy, he intends to translate this game into Brazilian Portuguese
Hi, test this script, you can use
reimport2 for import text back
Code:
idstring "#LNG"
get unknow long
get text_num long
get skip byte
math skip - 1
get NAME basename
STRING NAME + ".txt"
getdstring zero skip
for i = 0 < text_num
getdstring ID 32
get OFFSET long
getdstring zero_textnum 12
Slog NAME OFFSET -1
next i
edit: I forgot to remove some unused parts, now I remove them