Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Tomb Raider (2013) (PC) (PS3) (XBOX) (*.tiger)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Sammie
veteran
Posts: 106
Joined: Wed Apr 25, 2012 12:27 pm
Has thanked: 9 times
Been thanked: 34 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Sammie »

Ekey wrote:Image
Where : 0xAAAAAAAA - It's original hash, 0xBBBBBBBB - Section number
I don't understand your format. Is this a symlink-structure?
When you scan the tiger files you loop through 5492 "link-directorys".
Every link-directory contains a number of sections (howdies symlinks) - or in other words, data-offsets to the original files (the CDRM-Sections).
The CDRM-Sections are sometimes splitted in zlib-compressed data-sections, but that is irrelevant.

While looping through the link-directorys and there sections, the first appearance of the target file (mesh,dds,fsb...) is saved (filename=CDRM-Offset) in the "bigfile.00x"-folder. All other sections linked to the same offset will be skipped. So you have only one Offset-Filename per file.

So what is your 0xAAAAAAAA and 0xBBBBBBBB in this scenario and where should be the unique files stored?
Ekey wrote:So the model in other format, plugin for Noesis that does not support it.
Yes, there are meshes starting with different bytes (c00l's plugin support only 0x06), but there are others starting with 0x04,0x03 and a few others with no specific header (bigfile.001/0x29f99800.mesh)
0x06 = 9555 files
0x04 =233 files
0x03 = 417 files
0x?? = 170 files
---------------
Total 10375 meshes
Axsis wrote:CDRM at offset 0x6BD91800 in bigfile.002.tiger
size: 784580 bytes, uncompressed: 1154664 bytes, i'm sure there is lara model (at least one of them ;)) it's biggest cdrm
You think its Lara, cuz its the biggest cdrm? I don't believe Lara is a 70 MB mesh. Maybe around ~1 MB.
70 MB sounds like a complete scene-file or something else really big. The biggest meshes have a 0x03 starting-byte.

It makes no sense to guess where lara could be. We have to analyze the other mesh-formats, then we will found Lara. ;)
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Ekey »

Sammie wrote:
Ekey wrote:Image
Where : 0xAAAAAAAA - It's original hash, 0xBBBBBBBB - Section number
I don't understand your format. Is this a symlink-structure?
When you scan the tiger files you loop through 5492 "link-directorys".
Every link-directory contains a number of sections (howdies symlinks) - or in other words, data-offsets to the original files (the CDRM-Sections).
The CDRM-Sections are sometimes splitted in zlib-compressed data-sections, but that is irrelevant.

While looping through the link-directorys and there sections, the first appearance of the target file (mesh,dds,fsb...) is saved (filename=CDRM-Offset) in the "bigfile.00x"-folder. All other sections linked to the same offset will be skipped. So you have only one Offset-Filename per file.

So what is your 0xAAAAAAAA and 0xBBBBBBBB in this scenario and where should be the unique files stored?
I know about all struct's TIGER DRM and CDRM files. It's just template pic lol
Sammie
veteran
Posts: 106
Joined: Wed Apr 25, 2012 12:27 pm
Has thanked: 9 times
Been thanked: 34 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Sammie »

Ekey wrote:I know about all struct's TIGER DRM and CDRM files. It's just template pic lol
I know, but what should howfie do with this kind of template-structure?
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by howfie »

cool thx ekey ill look into it soon. took a break for a few days to extract models from metal gear rising :).
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Ekey »

@howfie. Okay. See pm
Axsis
advanced
Posts: 48
Joined: Fri Oct 21, 2011 12:55 pm
Has thanked: 2 times
Been thanked: 26 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Axsis »

Sammie wrote:You think its Lara, cuz its the biggest cdrm? I don't believe Lara is a 70 MB mesh. Maybe around ~1 MB.
70 MB sounds like a complete scene-file or something else really big. The biggest meshes have a 0x03 starting-byte.

It makes no sense to guess where lara could be. We have to analyze the other mesh-formats, then we will found Lara. ;)
where did you see 70 mb? 700kb compressed, 1 mb uncompressed.
and it is not just guess, as i wrote, i parsed through drm structure of laracroft_clean.drm, it have references to 515 cdrm objects, 67 of them are textures (from <100 bytes to >4 mbytes in size) and only 1 object, except textures have size more than 16 kb and type 0x0C, which is "RenderMesh" according to Rick's description of DeusEx3 DRM format description. textures are still 0x05.
anyone tried to load this mesh using current script from C00L12345?
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by howfie »

axsis, in that directory (on mines symlink directory 2878, the textures are indeed lara). haven't checked the model format yet. ekey sent me some code to help me identify names i think so i can rename those folders according to the names he extracted (it contains a mix of some of rick's code and mines). will work on it soon. if you guys want, if c00l's code doesn't work on the mesh file, i can quickly hardcode the model out of there if you want it.
Sammie
veteran
Posts: 106
Joined: Wed Apr 25, 2012 12:27 pm
Has thanked: 9 times
Been thanked: 34 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Sammie »

Okay guys, its correct, thats lara. :D

Image
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by howfie »

cool, how much does c00l's script extract?
Sammie
veteran
Posts: 106
Joined: Wed Apr 25, 2012 12:27 pm
Has thanked: 9 times
Been thanked: 34 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Sammie »

howfie wrote:cool, how much does c00l's script extract?
For Lara I had to remove the bones-part and set to MESH_START manually to 0x6E68 and Lara loads fine.
I think with a little rewrite at the beginning of the script to auto-detect the correct Mesh & Bones-offsets for all mesh-types it could load the other meshes, too.
Maybe c00l can fix this tomorrow and add UV-support. ;)
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by howfie »

oh ok I see, he is having trouble detecting the size of the header before the mesh. the size of the header is actually stored in the file table; i can redo the ripper to strip the headers from the mesh files if you want c00l. i left the headers in there because i thought they might be important (the header information for the texture files were important so i left these in as well, but stripped them from the audio files).
Gh0stBlade
Moderator
Posts: 719
Joined: Mon Jul 05, 2010 8:55 pm
Has thanked: 20 times
Been thanked: 496 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Gh0stBlade »

Can you tell me which file Lara is in so I can investigate this?

Cheers.
Click the thanks button if I helped!
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Ekey »

CDRM header maybe contained about file types? I can not check it now because I do not at home.
C00L12345 wrote:Can you tell me which file Lara is in so I can investigate this?

Cheers.
Axsis wrote:CDRM at offset 0x6BD91800 in bigfile.002.tiger
size: 784580 bytes, uncompressed: 1154664 bytes, i'm sure there is lara model (at least one of them ;))
or here if you lazy :P
Axsis
advanced
Posts: 48
Joined: Fri Oct 21, 2011 12:55 pm
Has thanked: 2 times
Been thanked: 26 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by Axsis »

Ekey wrote:CDRM header maybe contained about file types? I can not check it now because I do not at home.
not cdrm, but drm have object type field, that is seems to be the same as stated in http://svn.gib.me/public/crystaldynamic ... ionType.cs
as you already know, drms have two tables - first, with records length 20 bytes, and second with 16 bytes. second dword of every record in first table is object type, in second table it's fourth byte of each record.
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

Re: Tomb Raider (2013) (PC) (PS3) (XBOX) (*.000.tiger)

Post by howfie »

correct, there is also a subtype byte in the third dword. the codes have not changed from the previous games.

Code: Select all

         else if(entrylist[i].sub1[j].p02 == 0x0C) {
            if((entrylist[i].sub1[j].p03 & 0xFF) == 0x30) targext += "scene";
            else targext += "mesh";
           }
Post Reply