Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Sen no Kiseki (PS3) .dat file compression

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
taezou
ultra-n00b
Posts: 8
Joined: Wed Sep 25, 2013 9:21 pm

Sen no Kiseki (PS3) .dat file compression

Post by taezou »

Earlier today, I posted a thread in the game archive discussion forum about trying to figure out the archive file format for this game. After a lot of tinkering and experimentation (I'm pretty new at this), I managed to figure it out. Unfortunately, the resulting files are definitely lightly compressed. The original archive's header contains two file sizes for each file, one for the compressed file contained in the archive, and one for the uncompressed file. When viewing the files in a hex editor with Shift-JIS support, it's easy to see that certain characters are missing in some strings. These files contain the game's script/event data.

Here's the beginning of one such file.

Image

Here's an example of missing characters (highlighted)

Image

The compressed size of this file is 28382 bytes, and according to the .pkg it was stored in, the uncompressed file is 39439 bytes. I just have no idea what kind of compression method is being used.
If any additional information or data is necessary, I'll be happy to oblige.
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Sen no Kiseki (PS3) .dat file compression

Post by albert1905 »

Hi. Since I'm not a programmer, I can't help you but..
Are those archive files different from ao no kikeki or zero no kiseki..?
What does missing character mean..? I can't understand.

You mean the character code, like #00xxF(ロイド・バニングス)..?
taezou
ultra-n00b
Posts: 8
Joined: Wed Sep 25, 2013 9:21 pm

Re: Sen no Kiseki (PS3) .dat file compression

Post by taezou »

The file format looks like it may be similar to Zero/Ao once decompressed, but I need to figure out the compression first.

As for missing characters, in that case, what's missing is "した。" if I recall correctly, although I'd have to check again when I get home.
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Sen no Kiseki (PS3) .dat file compression

Post by albert1905 »

taezou wrote:The file format looks like it may be similar to Zero/Ao once decompressed, but I need to figure out the compression first.

As for missing characters, in that case, what's missing is "した。" if I recall correctly, although I'd have to check again when I get home.
Hmm.. I see..
That problems also occur in another files. (magic.tbl or book00.dat., etc)
For example, there are so many missing arts name in magic.tbl.
Post Reply