www.tombraiderforums.com

www.tombraiderforums.com (https://www.tombraiderforums.com/index.php)
-   Tomb Raider Modding (https://www.tombraiderforums.com/forumdisplay.php?f=42)
-   -   TR Anniversary DRM files (https://www.tombraiderforums.com/showthread.php?t=222878)

nightwolf1982 29-05-19 22:29

TR Anniversary DRM files
 
Hi, hope someone can help me here.

I've been trying to figure out how to extract the 3d models from TR Anniversary. The problem is none of the tools I've found extract any sort of model file. There' a thread here: https://www.tombraiderforums.com/sho...d.php?t=214300 that discusses the gibbed.tombraider.drmedit tool, but none of the posted links work for it. I did find the GitHub projects for the gibbed tool, but only one compiles to a working program, and it won't open Anniversary drms.

I've also tried all of Gh0stblade's DRM tools, but none of them extract any model files. Does anyone have the version of gibbed.tombraider.drmedit Paliha posted? Or have/know of a working drm extractor for Anniversary?

VictorXD 30-05-19 03:20

Sorry not to be of great help but I'm not sure if TRA's 3D models can be extracted that way. I remember years ago that the tools used for extracting TRL models could be used for TRA, but they only extracted textures, not the actual 3D models unlike TRL.

I'm not sure if this is still the case though, I could be wrong.

I do know it's possible to use 3Dripper though, so that might be your best shot.

nightwolf1982 30-05-19 17:29

So how are people getting the Anniversary models? 3D Ripper might work, but I've read the results are difficult to work with and can be distorted or broken.

If there were at least a breakdown of the drm file structure I might be able to make some headway on my own, but I can't even find that.

dcw123 30-05-19 22:58

Yeah I tried and failed to extract anything 3D from either game.

You can find MOST areas on DeviantArt if you search for them.. but not everything is there..

Better than nothing though

nightwolf1982 31-05-19 15:05

I can't believe that after all this time, there are NO answers to this. We have tools for Legend, and we have tools for Underworld. Why don't we have tools for ANNIVERSARY?

Does anyone have Paliha's DRMEdit tool? Or a working DRM extractor for Anniversary? Even a link to some useful information?

Gh0stBlade 31-05-19 15:10

If someone gets me a mesh file sample for Lara from TRA i'll write the mesh importer.

nightwolf1982 31-05-19 15:27

We need to get the mesh file out of the drms first. That's what I've been trying to find tools for, but nothing I've found works.

nightwolf1982 31-05-19 20:39

OK, I've posted links to the Lara and Doppleganger drms at the ZenHAX/Game Archive forums.

Still looking for the right tools to extract these models.

Gh0stBlade 01-06-19 01:13

Looks like TRA meshes rely on the relocation data to be serialised, probably not going to write something to load up that.

nightwolf1982 01-06-19 01:20

What does that mean? "relocation data to be serialized"?

nightwolf1982 01-06-19 12:41

OK, some new info. I've been so busy comparing TR Anniversary and TR Legend, it never occurred to me to compare Anniversary to UNDERWORLD. And guess what? while there are some differences in the drm format, Anniversary and Underworld share something in common: the 5043443915000000 value. So maybe Anniversary's models are closer in format to Underworld than Legend. If so, maybe it might be possible to modify Gh0stblade's tools to detect them and extract the mesh data?

What do you think Gh0stblade?

XNAaraL 01-06-19 12:48

problema con comunicazione
 
Quote:

Originally Posted by nightwolf1982 (Post 8095030)
OK, some new info ... "Bla bla" here ... "bla" on XeNTax .. bla on ZENHAX ... bla?

and "bla" here https://www.tombraiderforums.com/sho...54#post8094754

What do you think Patrick?

bb and EOT

nightwolf1982 01-06-19 13:26

I'm sorry, I'll just stop posting then. Thank you, XNAaraL, for reminding me how stuck up, arrogant and elitist some members of these communities tend to be, especially to newer members who are just trying to find some answers.

I'll remember in the future to just avoid asking for help when I come across an issue like this.

Gh0stBlade 01-06-19 18:42

Quote:

Originally Posted by nightwolf1982 (Post 8095030)
OK, some new info. I've been so busy comparing TR Anniversary and TR Legend, it never occurred to me to compare Anniversary to UNDERWORLD. And guess what? while there are some differences in the drm format, Anniversary and Underworld share something in common: the 5043443915000000 value. So maybe Anniversary's models are closer in format to Underworld than Legend. If so, maybe it might be possible to modify Gh0stblade's tools to detect them and extract the mesh data?

What do you think Gh0stblade?

Nope, TRL mesh format is closer to TRU than what TRA is.

TRA format relies on the relocation data to be serialised properly unlike TRL, TR8, TRAS, TRD, LC2, TR2 and TR11.

0x50434439 is the "PCD9" magic for mesh files in TRL ONLY. TRA does not use the PCD9 magic and neither do any other remaining games.

Quote:

Originally Posted by nightwolf1982 (Post 8095030)
If so, maybe it might be possible to modify Gh0stblade's tools to detect them and extract the mesh data?

What do you think Gh0stblade?

My tool extracts all DRM sections. The mesh files are there since I found them, they just don't have the correct file extension since there is no correct way to detect them (DRM format is faulty in TRA and TRL).

Cheers.

nightwolf1982 01-06-19 19:55

But here's what I'm not understanding. The model file for Legend Lara is 1,136kb after your tool extracts it (and the "Section" data is removed). Yet none of the section headers in the drm have a size coming close to this. The same thing happens with Underworld Lara, the model is 1,588kb, but there's no matching size in the section headers. So how are the extractors compiling these models? The Anniversary extractor, from what I can see, is doing a straight extraction. The largest dtp (model) file extracted is 93kb, exactly matching the section header (after removing the "Section" data from the file).

I'm not deliberately being dense here, I'm just trying to understand why TRA is so different.

Gh0stBlade 01-06-19 21:09

Quote:

Originally Posted by nightwolf1982 (Post 8095109)
But here's what I'm not understanding. The model file for Legend Lara is 1,136kb after your tool extracts it (and the "Section" data is removed). Yet none of the section headers in the drm have a size coming close to this. The same thing happens with Underworld Lara, the model is 1,588kb, but there's no matching size in the section headers. So how are the extractors compiling these models? The Anniversary extractor, from what I can see, is doing a straight extraction. The largest dtp (model) file extracted is 93kb, exactly matching the section header (after removing the "Section" data from the file).

I'm not deliberately being dense here, I'm just trying to understand why TRA is so different.

All the file sizes should match the DRM headers. If it doesn't either:
A. Tool strips out the relocation data resulting in a size mis-match when compared to the DRM header.
B. Tool is set to repack mode and section header is preserved inside the file itself.

Anniversary Lara model is lower filesize compared to Legend. The source code for my tool is already available on GitHub so you can see how it works if you wanted to.

Cheers.

nightwolf1982 01-06-19 22:37

Never mind, the sizes are matching up, I was looking at the wrong section header.

nightwolf1982 02-06-19 03:52

So, went back to digging through the drms, and I'm starting to think the models aren't stored in them at all. I've identified the skeleton files for Legend as starting with the magic 0x5304c204, and these files are present in Anniversary as well. They're the largest set of .gnc files.

However, the largest potential model file (for Lara) in Anniversary isn't a model file, yet there's a matching file present in Legend. Both files start with the value 0x18000000 and contain a block of "null" references near the end of the file. None of the other .dtp files are large enough to be models.

If this is the case, it of course begs the question, where are the models?

There is one other thing I've found. In the objectlist.txt in trae/pc-w, entry number 72 is listed as player. Presumably this refers to a player.drm, as the rest of the entries seem to refer to the drm files, however, there is no player.drm extracted from the bigfiles.

tlr online 02-06-19 10:25

nightwolf1982. Please observe our rules on making use of our edit function.

https://www.tombraiderforums.com/faq.php?faq=vb_faq#7


All times are GMT. The time now is 20:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.