[PS Vita] CLANNAD translation .dat and other files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
felixsrg
Posts: 1
Joined: Thu Sep 24, 2020 7:48 pm

[PS Vita] CLANNAD translation .dat and other files

Post by felixsrg »

Hello everyone, first time poster here.

I 've been taking a look inside CLANNAD for PS Vita to better understand its file structure but after decrypting its content, I've located pretty much all the files necessary for a full translation.

eboot.bin
imgcg.tbl
imgcg00.pak
imgscr.tbl
imgscr00.pak
imgsys.tbl
imgsys00.pak

In this case, .tbl work as a table of contents as of what the .pak files contain, this part is easy, but after extracting the .pak files, I've found myselft with the scripts contained inside .dat files, this ones I haven't been able to access or extract.

After lurking around a little bit, I've seen a full professional-looking Russian translation exists so there should be a "tool kit" or something to access all the files to create a noNPdrm translation patch.

So, my question is, does anybody know of this tool kit or knows how I can open this .dat files to start? Thank you very much in advance.

EDIT: Added one of the .DAT files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS Vita] CLANNAD translation .dat and other files

Post by aluigi »

It looks like a sequence of 16bit fields.
Unclassified
Posts: 1
Joined: Wed Oct 14, 2020 4:23 pm

Re: [PS Vita] CLANNAD translation .dat and other files

Post by Unclassified »

Upon using https://github.com/RikuKH3/prot_tblpak extracting imgscr.tbl + pak comes up with 244 of .psb and .dat files, majority being .psb

This is the case for a majority of games on the PS vita published by prototype ltd, just the main tbl and pak is a different name per game example being psvscr.tbl

The link provides the 1st psb file when unpacked, for anyone interested in looking into it.

https://drive.google.com/file/d/17v7x_7 ... GAQku/view

Using a hex editor like wxMEdit or any notepad tool that supports the SHIFT-JIS encoding lets you see the script contained in the decoded text.