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.

[REQ] Tales of Berseria Official version

Featured Replies

  • Author
  • Localization

sigroon365, posted Fri Jan 27, 2017 8:56 am (20445)


aluigi wrote:
The tofhda/tofhdb/tldat files are all encrypted just like with viewtopic.php?f=9&t=3664


Yes it is.. :cry:
  • Author
  • Localization

aluigi, posted Fri Jan 27, 2017 1:06 pm (20449)


I already have the decryption code.
Just checking the last things regarding the handling of the keys which is the most complex part.
  • Author
  • Localization

aluigi, posted Fri Jan 27, 2017 1:08 pm (20450)


In short tofhda is the array of 64bit keys
  • Author
  • Localization

aluigi, posted Fri Jan 27, 2017 2:11 pm (20451)


http://aluigi.org/bms/tales_of_berseria.bms

P.S.: the big files in TOTEXP_P are DDS with a 32bit SIZE field at the beginning (even if the real size of the file may be a bit shorter in some cases).
P.S.2: I don't know why deflate gives error and it's necessary to use deflate_noerror, it's all correct from my side (1:1 copy from the old script).
  • Author
  • Localization

aluigi, posted Fri Jan 27, 2017 2:18 pm (20452)


ah I guess I have found why deflate doesn't work, expect a new version of the script soon.
  • Author
  • Localization

sigroon365, posted Fri Jan 27, 2017 2:20 pm (20453)


aluigi wrote:
http://aluigi.org/bms/tales_of_berseria.bms

P.S.: the big files in TOTEXP_P are DDS with a 32bit SIZE field at the beginning (even if the real size of the file may be a bit shorter in some cases).
P.S.2: I don't know why deflate gives error and it's necessary to use deflate_noerror, it's all correct from my side (1:1 copy from the old script).



Thank you!!!!!!
  • Author
  • Localization

aluigi, posted Fri Jan 27, 2017 2:30 pm (20454)


Script 0.1.1 :D
  • Author
  • Localization

sigroon365, posted Fri Jan 27, 2017 2:57 pm (20455)


aluigi wrote:
Script 0.1.1 :D


Thank you aluigi. I already sent message to you but..
Is it impossible to something like this?

1) Decrypt FILEHEADER.TOFHDB and TLFILE.TLDAT without unpacking. I mean getting FILEHEADER.TOFHDB.dec and TLFILE.TLDAT.dec
2) Encrypt FILEHEADER.TOFHDB.dec and TLFILE.TLDAT.dec into FILEHEADER.TOFHDB and TLFILE.TLDAT

*FILEHEADER.TOFHDA doesn't need for modding. It does not relate with TOFHDB and TLDAT.
  • Author
  • Localization

aluigi, posted Fri Jan 27, 2017 3:22 pm (20456)


TOFHDA is the container of the keys.
I don't think there are ways to use the reimport mode in other ways.

Since the encryption is just a XOR with a dynamic sequence of bytes, I was thinking to something like creating this sequence and then using Filexor or Encryption for the job.
The problem is that the sequence is generated with the input data so the xor key changes with the content of the data/file.
In short, I have already spent time for this stuff, now you need other external solutions if you want to mod the game.
Sorry.
  • Author
  • Localization

sigroon365, posted Fri Jan 27, 2017 4:23 pm (20459)


aluigi wrote:
TOFHDA is the container of the keys.
I don't think there are ways to use the reimport mode in other ways.

Since the encryption is just a XOR with a dynamic sequence of bytes, I was thinking to something like creating this sequence and then using Filexor or Encryption for the job.
The problem is that the sequence is generated with the input data so the xor key changes with the content of the data/file.
In short, I have already spent time for this stuff, now you need other external solutions if you want to mod the game.
Sorry.


Thank you!
External solutions.. well I'm not sure I can deal with it by myself.
And there's one error when I unpacked TLDAT in common folder.
Image
  • Author
  • Localization

sigroon365, posted Sat Jan 28, 2017 9:07 am (20468)


The problem is reimporting..

Image
Image
  • Author
  • Localization

Magilou, posted Mon Jan 30, 2017 9:14 pm (20542)


Anyone knows how to get and open the sound files?
  • Author
  • Localization

AnonBaiter, posted Mon Jan 30, 2017 10:30 pm (20543)


Magilou wrote:
Anyone knows how to get and open the sound files?
Can you elaborate something about these "sound files"?
  • Author
  • Localization

xtreme1, posted Thu Feb 02, 2017 6:07 am (20568)


I'm trying to get the Japanese PS3 versions script working on PC (theoretically the ENG script on PS3 as well). I was able to dump the english script with quickBMS 0.1.1's script. But trying to use that script on the PS3 version obviously doesn't work. I tried tweaking it to work without referencing the TOFHDA but no luck.

Anyone have any ideas how to get the JP version dumped?
  • Author
  • Localization

sigroon365, posted Thu Feb 02, 2017 2:08 pm (20576)


xtreme1 wrote:
I'm trying to get the Japanese PS3 versions script working on PC (theoretically the ENG script on PS3 as well). I was able to dump the english script with quickBMS 0.1.1's script. But trying to use that script on the PS3 version obviously doesn't work. I tried tweaking it to work without referencing the TOFHDA but no luck.

Anyone have any ideas how to get the JP version dumped?


That is different from PC version. Use common tales bms script.
  • Author
  • Localization

xtreme1, posted Fri Feb 03, 2017 8:05 am (20594)


sigroon365 wrote:
xtreme1 wrote:
I'm trying to get the Japanese PS3 versions script working on PC (theoretically the ENG script on PS3 as well). I was able to dump the english script with quickBMS 0.1.1's script. But trying to use that script on the PS3 version obviously doesn't work. I tried tweaking it to work without referencing the TOFHDA but no luck.

Anyone have any ideas how to get the JP version dumped?


That is different from PC version. Use common tales bms script.

Ok so that dumped TOTEXB_D and TOTEXP_P. How can i get this game to read these files? Does it support reading extracted files already or is there a command line argument? Also It doesn't contain a file of TTF's that have the script like Berseria's English quickBMS script dumped.

Xillia says: . 0x435a4c54 . deflate . lzma_dynamic . copy . MSF, and the files are lzma, how can I decrypt them to look at the contents?
  • Author
  • Localization

Dri, posted Sat Feb 04, 2017 7:57 pm (20613)


Hello! Not going to lie, I'm new to all this.

I managed to use your script to extract the files, no problem.

Now what I'm a bit lost about is what to do with all the files I extracted. I'm looking for the image files-- character cut-ins, mugshots, etc. It's my first time ripping a Tales games, so I'm not sure what folder this is traditionally in and what extractor/converter to use for the I presume .dat files.

Any quick pointers?
  • Author
  • Localization

mugwhump, posted Fri Feb 17, 2017 6:54 am (20856)


Apparently Berseria has been cracked by CPY. Would that make it possible to reimport? I'm interested in replacing the music, and perhaps the censored cutscene.
  • Author
  • Localization

sigroon365, posted Mon Feb 20, 2017 7:59 am (20892)


mugwhump wrote:
Apparently Berseria has been cracked by CPY. Would that make it possible to reimport? I'm interested in replacing the music, and perhaps the censored cutscene.


No, god damn CPY. Buy the game for developers.
  • Author
  • Localization

mugwhump, posted Thu Feb 23, 2017 6:22 am (20958)


^I did buy it. But I'd still like to be able to modify it.
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.