Gran Turismo 5/6 archives

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
flatz
Posts: 6
Joined: Fri Aug 15, 2014 6:42 am

Gran Turismo 5/6 archives

Post by flatz »

Hello!

Half year ago I've created a tool to unpack encrypted and compressed archives from both versions of Gran Turismo (5, 6) and yesterday some guys asked me for its source code. So I've decided to release it. However a part of the source code requires some refactoring: https://mega.co.nz/#!OwBXnZ5R!nG8dq3ixN ... 9_rg0l7FrQ

PD use custom file formats, cryptographic algorithms, deflate compression, sqlite database, custom script language called AdHoc (all scripts are already compiled here). If I recall correctly textures use DXT compression and soundtracks are stored in a custom container in the ATRAC3 format, movies are in the PAM format but they are encrypted, I've found a single key for an intro movie, other keys are stored in scripts. Also I've reversed their cache system with such weird naming system (K/H/A3 and so on), you can find all needed functions for them too.

Unfortunately I have no free time to continue this so I hope someone will be more lucky with it. Enjoy!
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Gran Turismo 5/6 archives

Post by Ekey »

Good job! ;)
q-k
Posts: 4
Joined: Fri Aug 08, 2014 9:42 pm

Re: Gran Turismo 5/6 archives

Post by q-k »

Thank you flatz for coding pfdtool :)
Thank you again flatz for sharing your effort on GT5/GT6 :)

I have given up on the btree stuff inside the first zipped file at one point.. It's really intimidating for me to see how easy things can be coded (when looking at your source and judging that I was just blunt re-coding all the PPC code)... :oops:
I've seen 5 different crypt algorithms in GT6 overall. Four of them are two-way, except for the one you've called block-crypt. But calling that specific algo one-way may also result from my "I like to use a calculator" math knowledge :D

If anyone want's to have fun with Academy 2013's PDIPFS files, have a look for CHOLISTAN inside the eboot :lol:
AntonZab
Posts: 461
Joined: Thu Oct 01, 2015 5:03 pm

Re: Gran Turismo 5/6 archives

Post by AntonZab »

flatz wrote:Hello!

Half year ago I've created a tool to unpack encrypted and compressed archives from both versions of Gran Turismo (5, 6) and yesterday some guys asked me for its source code. So I've decided to release it. However a part of the source code requires some refactoring: https://mega.co.nz/#!OwBXnZ5R!nG8dq3ixN ... 9_rg0l7FrQ

PD use custom file formats, cryptographic algorithms, deflate compression, sqlite database, custom script language called AdHoc (all scripts are already compiled here). If I recall correctly textures use DXT compression and soundtracks are stored in a custom container in the ATRAC3 format, movies are in the PAM format but they are encrypted, I've found a single key for an intro movie, other keys are stored in scripts. Also I've reversed their cache system with such weird naming system (K/H/A3 and so on), you can find all needed functions for them too.

Unfortunately I have no free time to continue this so I hope someone will be more lucky with it. Enjoy!


Upload it again. https://mega.co.nz/#!OwBXnZ5R!nG8dq3ixN ... 9_rg0l7FrQ not work
StarGT
Posts: 14
Joined: Tue Mar 17, 2015 7:41 am

Re: Gran Turismo 5/6 archives

Post by StarGT »

who has GT tool for GT6 vol files ? can u send link for it
dimon4ik6565
Posts: 1
Joined: Wed Dec 28, 2016 1:59 pm

Re: Gran Turismo 5/6 archives

Post by dimon4ik6565 »

Please anyone update link.
mmtes
Posts: 1
Joined: Fri Feb 17, 2017 12:46 pm

Re: Gran Turismo 5/6 archives

Post by mmtes »

I contacted with Flatz, and finally found TXS2DDS and Flatz GTTool.

TXS2DDS: https://drive.google.com/file/d/0B6iBcy ... sp=sharing
GTTools: https://drive.google.com/file/d/0B6iBcy ... sp=sharing
p1mclaren
Posts: 1
Joined: Wed Dec 20, 2017 5:05 am

Re: Gran Turismo 5/6 archives

Post by p1mclaren »

Is there a way to get another link? They keep deleting the links. Thanks :lol:
cyberspeed
Posts: 104
Joined: Wed Mar 23, 2016 5:11 am

Re: Gran Turismo 5/6 archives

Post by cyberspeed »

p1mclaren wrote:Is there a way to get another link? They keep deleting the links. Thanks :lol:

gt6.zip
gttool_src_bin.7z
TXS2DDS_1.zip
medwed
Posts: 1
Joined: Sun Sep 22, 2019 1:20 pm

Re: Gran Turismo 5/6 archives

Post by medwed »

Gentlemen! I have already unpacked the game.In which files will I find textures of better quality and how to extract them ? BIG THANKS !