Haven (2020) LocalizationData.dat
-
- Posts: 47
- Joined: Sun Jun 02, 2019 10:40 pm
Haven (2020) LocalizationData.dat
I need help to export and import.
Need a tool for game localization.
Need a tool for game localization.
-
- Posts: 47
- Joined: Sun Jun 02, 2019 10:40 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Haven (2020) LocalizationData.dat
Even if the format is already covered, I made a script trying to figure out the format from scratch:
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.
Code: Select all
# 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.
-
- Posts: 47
- Joined: Sun Jun 02, 2019 10:40 pm
Re: Haven (2020) LocalizationData.dat
ty for your helps.
working fine.
working fine.
-
- Posts: 106
- Joined: Wed Jun 17, 2020 1:12 pm
Re: Haven (2020) LocalizationData.dat
aluigi wrote:Even if the format is already covered, I made a script trying to figure out the format from scratch:Code: Select all
# 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: Select all
quickbms.exe -G -w -r -r -r
Code: Select all
- 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
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Haven (2020) LocalizationData.dat
Try the beta of quickbms, I'm currently working with it:
https://aluigi.org/beta/quickbms_exe.zip
https://aluigi.org/beta/quickbms_exe.zip
-
- Posts: 561
- Joined: Tue Oct 13, 2015 1:26 pm
Re: Haven (2020) LocalizationData.dat
Haven DAT Tool
By Delutto
See Readme.txt for instructions.Notes: Based on file samples and not tested ingame.
By Delutto
See Readme.txt for instructions.Notes: Based on file samples and not tested ingame.
-
- Posts: 47
- Joined: Sun Jun 02, 2019 10:40 pm
Re: Haven (2020) LocalizationData.dat
Delutto wrote:Haven DAT Tool
By Delutto
See Readme.txt for instructions.Haven_DAT_Tool_By_Delutto.7zNotes: Based on file samples and not tested ingame.
Ty, Delutto.
But there is game crash.
-
- Posts: 561
- Joined: Tue Oct 13, 2015 1:26 pm
Re: Haven (2020) LocalizationData.dat
There's nothing wrong, my tool recreate the file structure perfectly.JesWhite wrote:Ty, Delutto.
But there is game crash.
I suppose that is a bundle asset recreation error.
If you are using the UnityEx paid version, report this problem to developer, it's your right.
-
- Posts: 106
- Joined: Wed Jun 17, 2020 1:12 pm
Re: Haven (2020) LocalizationData.dat
Delutto wrote:There's nothing wrong, my tool recreate the file structure perfectly.JesWhite wrote:Ty, Delutto.
But there is game crash.
I suppose that is a bundle asset recreation error.
If you are using the UnityEx paid version, report this problem to developer, it's your right.
I imported file without changing anything, and checked if there is any difference with python.There is no even one different character.
-
- Posts: 47
- Joined: Sun Jun 02, 2019 10:40 pm
Re: Haven (2020) LocalizationData.dat
Delutto wrote:There's nothing wrong, my tool recreate the file structure perfectly.JesWhite wrote:Ty, Delutto.
But there is game crash.
I suppose that is a bundle asset recreation error.
If you are using the UnityEx paid version, report this problem to developer, it's your right.
i fixed now.
ty so much.
Working fine for me.