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.

Tales of Zestiria FILEHEADER.TOFHDB/TLFILE.TLDAT

Featured Replies

  • Author
  • Localization

aluigi, posted Sun Nov 22, 2015 7:58 am (9980)


Maybe you should not use a quickbms version released 4 years ago... maybe...
  • Author
  • Localization

Shinkun, posted Mon Nov 30, 2015 12:16 am (10207)


=/ Well is it possible to get an updated version?
  • Author
  • Localization

aluigi, posted Mon Nov 30, 2015 8:56 am (10212)


http://quickbms.aluigi.org

Which is exactly the first result on Google when you search quickbms, and the website was written even in the quickbms header that you pasted.
  • Author
  • Localization

shadow_lonely, posted Mon Jan 04, 2016 1:40 am (10694)


Nameless32 wrote:
aluigi wrote:
Let's try to convert the script to the second category, open the script with a text editor and replace the following:
Code:
            putvarchr MEMORY_FILE TSIZE 0
            log MEMORY_FILE 0 0
            append
            for x = 0                 getarray CHUNK_ZSIZE 0 x
                clog MEMORY_FILE OFFSET CHUNK_ZSIZE CHUNK_SIZE 1
                math OFFSET CHUNK_ZSIZE
            next x
            append
            log NAME 0 TSIZE MEMORY_FILE
with:
Code:
            log NAME 0 0
            append
            for x = 0                 getarray CHUNK_ZSIZE 0 x
                clog NAME OFFSET CHUNK_ZSIZE CHUNK_SIZE 1
                math OFFSET CHUNK_ZSIZE
            next x
            append

You don't need to reextract, just use it in reimport mode and let me know if it works (both reimporting and in-game)



Thank You Very much, now it's working reimport and in-game...
you made again a new " miracle " :D

\o/

Quote:
# Tales of Xillia / Zestiria / Tales of the Abyss (script 0.1.1)
# script from Chrrox http://forum.xentax.com/viewtopic.php?p=59251#p59251
# updated and rewritten by aluigi
# script for QuickBMS http://quickbms.aluigi.org

get EXT extension

string TMP p "FILEHEADER.%s" EXT
open FDSE TMP 0 EXISTS
if EXISTS == 0
string TMP p "FILEHEADER.%s" "TOFHDB"
open FDSE TMP 0
set EXT string "TLDAT"
endif

string TMP p "TLFILE.%s" EXT
open FDSE TMP 1

endian big

get DUMMY long # 0x9ae71c1a
get DUMMY long
get DUMMY long
get HASHES long
endian guess HASHES
get HASH_SIZE long
get ZERO long
get DUMMY long
get FILES long
get DUMMY_SIZE long
get ZERO long
for i = 0 get HASH_KEY long
get HASH_VALUE long
next i
for i = 0 get SIZE longlong
get ZSIZE longlong
get OFFSET longlong
get HASH long
getdstring EXT 8
get DUMMY long

string NAME p= "%s/." EXT # autoguess

if ZSIZE == SIZE
log NAME OFFSET SIZE 1
else
endian save CURRENT_ENDIAN
endian little
goto OFFSET 1
get TLZC long 1
get TVER long 1
get TZSIZE long 1
get TSIZE long 1
if TVER == 0x0201 # Tales of the Abyss
comtype deflate
getdstring DUMMY 8 1
savepos OFFSET 1
clog NAME OFFSET TZSIZE TSIZE 1
else
comtype MSF # lzma_0
getdstring DUMMY 9 1
get CHUNK_SIZE long 1

xmath CHUNKS "TSIZE / CHUNK_SIZE"
xmath TMP "CHUNKS * CHUNK_SIZE"
if TMP != TSIZE
math CHUNKS 1
endif
for x = 0 get CHUNK_ZSIZE short 1
putarray 0 x CHUNK_ZSIZE
next x
savepos OFFSET 1

log NAME 0 0
append
for x = 0 getarray CHUNK_ZSIZE 0 x
clog NAME OFFSET CHUNK_ZSIZE CHUNK_SIZE 1
math OFFSET CHUNK_ZSIZE
next x
append

endif
if CURRENT_ENDIAN != 0
endian big
endif
endif
next i



Schedar wrote:
Hi guys!!! Im new in this comunity!! Well, I want tell us that I?m spanish, and Im sorry if my english is not very good.

OK, this post is for ask help of this community for can decrypt the audio files of this game for I can do the dubbed to spanish.

In this game exist 2 folders: PK0 and PK1. PK0 is the folder to japanese language, PK1 is to english language. Into de PK0 are the files (FILEHEADER.TOFHDB (10.270kb) and TLFILE.TLDAT (3,5gb.) ) I have succes of decrypt the "TLFILE.TLDAT" and I obtain a lot of folders, and between all of them only 2 folders have files that have a weight than I think if possible are the audios files, BUT all files are .DAT and I don?t encounter the way to obtain this audios in a habitual format.

Somebody can help me??

Thanks


i'm not sure, but i think, if in the " FILEHEADER.TOFHDB " you rename the entries of audio 1 to audio 2 and vice-versa ?
the game will read "audio 2" thinking he is the "audio 1".


But about text, do you know something? Thanks!
  • Author
  • Localization

sigroon365, posted Wed Feb 17, 2016 6:25 pm (11497)


Hi, all. I just replace 'MEMORY_FILE' to 'i' and then I am able to reimport several files, however there are some problems. After reimporting, the ZSIZE of the files are smaller than the original files. As a result, when the game reads the files it causes error. Is there a way to solve this problems? Is it right to use 'comtype MSF'...?

I tried to use my tricky method for reimporting but it doesn't solve the above problems.
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.