Page 1 of 17

Gran Turismo 6 Models

Posted: Wed Aug 13, 2014 8:14 pm
by Ferrari formula 1
Well,hello there :)

I've been reading posts here for a year,but only now I have registered my account :roll:

But anyway,I want you guys to take a look at this!
We now can extract GT6.VOL file from Gran Turismo 6

It contains a lot of important things,Like Cars and tracks,so it would be absolutely awesome and amazing,if you can convert them to usual 3D formats! 8D

Since I don't know,how to decrypt data,I leave a link with some examples. [roll]
This archive contains 1 "Premium" (highly detailed) car,one "Standart" car and a racetrack
Also a screenshot of all the extracted folders with files is attached...

I hope you can do something with theese files! :)

Examples:
http://www.mediafire.com/download/82dz6 ... d8/GT6.rar

Re: Gran Turismo 6 Models

Posted: Wed Aug 13, 2014 10:09 pm
by Chipicao
Ferrari formula 1 wrote:We now can extract GT6.VOL file from Gran Turismo 6
How??

Re: Gran Turismo 6 Models

Posted: Thu Aug 14, 2014 9:14 am
by Ferrari formula 1
Chipicao wrote:
Ferrari formula 1 wrote:We now can extract GT6.VOL file from Gran Turismo 6
How??
I found a decrypting programm called GTtool here (post #15)
http://www.ps3hax.net/showthread.php?t= ... post782240
I couldn't really beleive that it works,but it worked on my friend's 32 bit PC! :)
*Just all my PC's are 64 bit*

I'm happy you are here,Chipicao!

Re: Gran Turismo 6 Models

Posted: Thu Aug 14, 2014 9:38 am
by rex1825
...also first time here, thanks to forums 25th anny :), as Ferrari said, it is possible to extract whole game disk now, in fact, I extracted all on my 64bit, win 8.1 with the tool.

But sad thing is, that I have no clue what to do with specific files. From names one can tell what is what, for cars i presume that those are archives that contain mesh and textures, for tracks, there are bunch of files with different extensions, same here, one can tell what they are for thanks to extensions.

We'd apprechiate if someone who knows what he's doing would look into this.

Thanks in advace guys...

Cheers...

Sent from my HTC M7

Re: Gran Turismo 6 Models

Posted: Thu Aug 14, 2014 6:54 pm
by flatz
I'm an author of gttool. Yes, now you can extract GT5/GT6 archives.
Archive's format is a bit complex, they use a custom crypto algorithm and B-trees for file table entries, names, etc. Also they use encryption for some files like sqlite databases, movies, etc. I can decrypt them, however there are some files (like movies and maybe some other files) with keys stored inside the compiled script. Also I've reversed the cache system with such weird naming schema.
I'm not at home at the moment but I'll release my source code tomorrow.
Also I have a little progress on meshes but their format is a complex too and requires some time which I don't have. That's why I've discontinued a work on GT. Maybe we will find some other guys here.

Re: Gran Turismo 6 Models

Posted: Thu Aug 14, 2014 7:07 pm
by Ferrari formula 1
That would be amazing,because i can rip cars only from Gran Turismo 2 and Gran Turismo PSP :)

You did great work by decrypting an archive! :up:

Re: Gran Turismo 6 Models

Posted: Fri Aug 15, 2014 3:25 pm
by flatz
Unfortunately I can't attach it here, so here is the source code and binary: http://zenhax.com/viewtopic.php?f=9&t=76

Re: Gran Turismo 6 Models

Posted: Fri Aug 15, 2014 4:53 pm
by rex1825
flatz wrote:Unfortunately I can't attach it here, so here is the source code and binary: http://zenhax.com/viewtopic.php?f=9&t=76
...thanks man for your effort!

Cheers...

Re: Gran Turismo 6 Models

Posted: Fri Aug 15, 2014 7:13 pm
by Mr.Mouse
What do you mean, you cannot attach it?
gttool_src_bin.7z

Re: Gran Turismo 6 Models

Posted: Fri Aug 15, 2014 7:42 pm
by flatz
Mr.Mouse wrote:What do you mean, you cannot attach it?
gttool_src_bin.7z
There are two keys inside. Is it legal to publish them? :)

Re: Gran Turismo 6 Models

Posted: Fri Aug 15, 2014 9:14 pm
by flatz
To decrypt some encrypted files (like databases from GT5) you can use this snippet:

Code: Select all

	char* data = nullptr;
	uint32_t data_size = -1;
	read_file("system.db", &data, &data_size);
	crypt_segment(data, data_size, 0);
	write_file("system.db.out", data, data_size);
You need to place it just before volume.close(); at main.cpp. Don't forget to include file.h at the top.

Re: Gran Turismo 6 Models

Posted: Sat Aug 16, 2014 1:59 am
by EcheloCross
So far, I can see vertices and faces inside the body_s files.

Image Image Image Image Image Image

I'm not fully parsing the mdl3 info, more of a raw attempt at model extraction. Still looking for UV data.

Re: Gran Turismo 6 Models

Posted: Sat Aug 16, 2014 4:36 am
by Ferrari formula 1
EcheloCross wrote:So far, I can see vertices and faces inside the body_s files.

Image

I'm not fully parsing the mdl3 info, more of a raw attempt at model extraction. Still looking for UV data.
My God this is amazing! :eek:

I guess there are some meshes like glass,bosy and others? :)

You rock! :D

Re: Gran Turismo 6 Models

Posted: Sat Aug 16, 2014 7:54 am
by flatz
EcheloCross wrote:So far, I can see vertices and faces inside the body_s files.

Image

I'm not fully parsing the mdl3 info, more of a raw attempt at model extraction. Still looking for UV data.
Well done! There are also shaders parameters, bone hierarchy, materials and many other data, it can be a pain to extract them all. :)
By the way here is a decrypted system.db from GT5: http://rghost.ru/57494655
It is a SQLite database inside PDIPREAL container, you need to remove the header of 0x200 bytes and cut everything after 0x188200 because it is "decrypted" zeroes (an encrypted file have a padding of all zeroes after this offset).

Re: Gran Turismo 6 Models

Posted: Sat Aug 16, 2014 10:56 am
by PseT
Hello,

Question probably stupid, but how to read the file is in ISO GT6?
Is it possible to extract the circuits? Red Bull Ring and Mount Panorama interests me