aluigi wrote:
Even if the format is already covered, I made a script trying to figure out the format from scratch:
Code:
# Haven (2020) LocalizationData.dat
get STRINGS long
for i = 0 < STRINGS
callfunction GET_STRING 1 # can be ""
callfunction GET_STRING 1
if NAME != ""
get NUM long
for x = 0 < NUM
callfunction GET_STRING 1
callfunction GET_STRING 1
next x
get NUM long
if NUM != 0
for x = 0 < NUM
callfunction GET_STRING 1
next x
else
callfunction GET_STRING 1
endif
endif
next i
get NUM long
for x = 0 < NUM
callfunction GET_STRING 1
next x
startfunction GET_STRING
get NAMESZ long
slog "" -1 NAMESZ
padding 4
endfunction
In theory the reimport3 mode of quickbms should allow the reimporting.
reimport3 is a special mode that must be manually activated:
quickbms.exe -G -w -r -r -r
Just for testing.
Export succesfly but there are more lines than python script (100k)
My reimport3.bat
Code:
quickbms.exe -G -w -r -r -r
Code:
- error in src\file.c line 1965: dumpa_slog()
Error: No such file or directory
Last script line before the error or that produced the error:
31 slog "" -1 NAMESZ
reimport does not work