Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Haven (2020) LocalizationData.dat

Featured Replies

  • Author
  • Localization

JesWhite, posted Fri Feb 12, 2021 8:58 am (62144)


I need help to export and import.
Need a tool for game localization.
  • Author
  • Localization

aluigi, posted Sun Feb 14, 2021 9:13 am (62182)


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.
  • Author
  • Localization

JesWhite, posted Sun Feb 14, 2021 9:45 am (62190)


ty for your helps.
working fine.
  • Author
  • Localization

yusuf2020, posted Sun Feb 14, 2021 9:50 am (62192)


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
  • Author
  • Localization

Delutto, posted Wed Feb 24, 2021 1:20 am (62463)


Haven DAT Tool
By Delutto

See Readme.txt for instructions.Notes: Based on file samples and not tested ingame.

Haven_DAT_Tool_By_Delutto.7z

  • Author
  • Localization

JesWhite, posted Wed Feb 24, 2021 9:41 am (62466)


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.
Image
  • Author
  • Localization

Delutto, posted Mon Mar 01, 2021 3:26 am (62571)


JesWhite wrote:
Ty, Delutto.
But there is game crash.
There's nothing wrong, my tool recreate the file structure perfectly.
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.
  • Author
  • Localization

yusuf2020, posted Mon Mar 01, 2021 7:25 am (62575)


Delutto wrote:
JesWhite wrote:
Ty, Delutto.
But there is game crash.
There's nothing wrong, my tool recreate the file structure perfectly.
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.
  • Author
  • Localization

JesWhite, posted Mon Mar 01, 2021 7:38 am (62577)


Delutto wrote:
JesWhite wrote:
Ty, Delutto.
But there is game crash.
There's nothing wrong, my tool recreate the file structure perfectly.
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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.