Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Modding

Reply
 
Thread Tools
Old 11-12-14, 03:08   #1
Gh0stBlade
Member
 
Gh0stBlade's Avatar
 
Joined: Dec 2010
Posts: 2,773
Default [Noesis] Tomb Raider / Lara Croft Importer Plugins [W.I.P]

In this thread I will be posting Noesis mesh python importer plugins for all Tomb Raider/Lara Croft games created by Crystal Dynamics running on cdcEngine/Foundation Engine. Some plugins are in development or are pending a partial rewrite/testing so please be patient!

If you find any bugs or abnormal crashes PLEASE report them with information such as a screen cap of the pop-up box and the error message!

###############################################
Latest Update:
01/11/2018 - TR11 Plugin released

####################################
21/07/2017 - TRDE Plugin released
08/11/15 - TR2 W.I.P
18/09/15 - TR7 Plugin completed and released
28/05/15 - DRM tools re-written and released plus source.
19/01/15 - TR7 Plugin partially rewritten.
TODO: Look at Scene mesh sometime and add support.
TODO: Look at possibility of auto-texturing.

####################################

16/01/15 - Weights fix
1. Updated: TR8 Weights should work fine now.
2. Experimental TR8 Weights code added to LC2 and TRAS.
3. Fixed critical bug regarding bones for TRAS.

Tomb Raider Underworld PS2: Multiple texture formats are now supported. PS2 auto texture for scene meshes implemented!

###############################################

FAQ:

What is Noesis?
Noesis is a model viewing application with support for custom plugins to allow viewing of various other formats. It can be downloaded from various places on the internet and is freeware.

How do I obtain the game files?
For PC they're fairly easy to obtain from your steam/DVD install folder. For Xbox 360/PS3 you'll have to extract the content from your own disc of the game. Please do not discuss, illegal ways to obtain copyrighted game data files. By entering this thread you are agreeing that you purchased a copy of the game you want to extract the models for. Such discussions are NOT permitted and are against the forum's ToS agreement.

How do I extract meshes from Tomb Raider/Lara Croft games?
Firstly you will need to unpack the main bigfile.000/bigfile.000.tiger files plus the DRM files which will reveal the mesh and texture files. TR7, TRAE will need their DRMs unpacking from the Bigfile (Using Gibbed's Bigfile tool), sections extracted (using DRM unpacker by Gh0stBlade). TR8 needs the DRM files to be decompressed then the sections can be extracted just like TR7/TRAE. TRAS/LC2/TR2 require the DRM headers extracted from the bigfile then the sections are dumped using the "DRM Dumper" tool specific to that game.

How do I view a model in Noesis using these plugins?
You must download a plugin and place it in Noesis/plugins/python directory. Then you should be able to open the mesh within Noesis if it has the correct extension.

Auto texturing is not supported? Why is this?
Because due to the way the engine works. It references texture through the shaders. The data in the files don't specify what textures are diffuse, normal or specular maps thus it's not possible to do auto texturing properly. This is implemented into Tomb Raider: Underworld by parsing the material files too but it's not always successful though, 70% of the time it should be.

###############################################

Shadow of the Tomb Raider - [TR11] - [PC]:


fmt_TR11_mesh_1_2.py - Version 1.2 - 07/11/18

Supported:
1. Meshes, UVs, Normals, Skin Weights, Skin Indices, Skeleton (*.tr11mesh)

Unsupported:
1. Auto texturing/Material parsing. (relationship is unknown)

Bigfile Unpacker:
> Download <

###############################################

Tomb Raider: Definitive Edition - [TRASHD] - [ORBIS]:


fmt_TRDE_mesh_1_3_1.py - Version 1.3.1 - 21/07/17

Supported:
1. Meshes, UVs, Normals, Skin Weights, Skin Indices, Skeleton (*.trdemesh)

Unsupported:
1. Auto texturing/Material parsing. (relationship is unknown)

Bigfile Unpacker:
> Download < (Same as TR2013 PC)

###############################################

Rise of the Tomb Raider - [TR2] - [PC/XENON]:



fmt_TR2_mesh_1_5.py - Version 1.5 - 07/02/15

Supported:
1. Meshes, UVs, Skin Weights, Skin Indices (*.tr2mesh)
2. Textures (*.tr2x360)

Unsupported:
1. Auto texturing/Material parsing. (relationship is unknown)

Bigfile Unpacker:
> Download <

###############################################

Lara Croft and the Temple of Osiris - [LC2] - [PC]:



fmt_LC2_mesh_1_5.py - Version 1.5 - 16/01/15

Supported:
1. Meshes, UVs, Skin Weights, Skin Indices (*.lc2mesh)
2. Textures (*.lc2pcd)

Unsupported:
1. Auto texturing/Material parsing. (relationship is unknown)

Bigfile Unpacker:
> Download <

###############################################

Tomb Raider (2013) - [TRAS] - [PC]:

fmt_TRAS_mesh_1_3_1.py - Version 1.3.1 - 16/01/15
fmt_TRAS_mesh_1_3_1-tex.py (Use tr9drmhash.exe and model script from link below)
fmt_TRAS_mesh_1_3_1_1-tex.py Version 1.3.1 (Aman) - 27/10/15

Supported:
1. Meshes, UVs, Skin Weights, Skin Indices, Skeleton (*.trasmesh)

Unsupported:
1. Auto texturing/Material parsing.

Bigfile Unpacker:
> Download <

###############################################

Lara Croft and the Guardian of Light - [TRD] - [PC/XENON]:



Supported:
1. Meshes, UVs, Skin Weights, Skin Indices, Skeleton (*.tr8mesh)
2. Textures (*.tr8pcd9), (*.tr8x360)
3. Materials (*.matd)
4. Partial Auto texturing.
5. Scene Mesh (*.tr8mesh)

Unsupported:
1. Material diffuse colours. Because it's controlled by the shaders and there's no parser.

Bigfile Unpacker:
Please use the download links to the Tomb Raider 8 Unpack tools/mesh importer since the formats are the same.

###############################################

Tomb Raider: Underworld - [TR8] - [PC/XENON]:



fmt_TR8_mesh_2_4.py - Version 2.4 - 16/01/15

Supported:
1. Meshes, UVs, Skin Weights, Skin Indices, Skeleton (*.tr8mesh)
2. Textures (*.tr8pcd9), (*.tr8x360)
3. Materials (*.matd)
4. Partial Auto texturing.
5. Scene Mesh (*.tr8mesh)

Unsupported:
1. Material diffuse colours. Because it's controlled by the shaders and there's no parser.

Bigfile Unpacker:
> Download Bigfile Unpacker By Gibbed <

1. Usage, simply unpack the Bigfile.000. This can be done by copying your PC BIGFILE.000 to the same directory as these files and then clicking the Unpack*.bat.
2. Decompress .DRM files using TR8.CDRM.exe. This can be done by dragging and dropping .DRM files onto TR8.CDRM.exe.
3. Unpack DRM sections by dropping the .DRM file onto TR8.DRM.EXE. This will extract each mesh related section to a new file.
4. Open (*tr8mesh) within Noesis.

###############################################

Tomb Raider: Underworld - [TR8] - [WII/PS2]:

Status: Canned.

Supported:
1. Meshes, UVs, Vertex Colours, Skeleton (*.tr8mesh)
2. Textures (*.tr8sgl)
3. Full Auto texturing.
4. Scene Mesh (*.tr8mesh)

Unsupported:
1. Some texture formats.
2. Skin Weights.

Unpacker:
Not yet available.

###############################################

Tomb Raider: Anniversary - [TRAE] - [PC]:
Status: Canned.

Info
1. Might be same format as TR7 non-nextgeneration meshes (Can't remember as it was long ago since I checked).

Supported:
1. Meshes, Vertices, (*.tr7meshv1)
2. Textures (*.tr7pcd9)

Unsupported:
1. Unknown

Bigfile Unpacker:
> Download Bigfile Unpacker By Gibbed <

###############################################

Tomb Raider: Legend - [TR7] - [PC]:



fmt_TR7_mesh_1_4.py - Version 1.4 - 18/09/15

Supported:
1. Meshes, UVs, Normals, Skin Weights, Skin Indices (*.tr7mesh)
2. Textures (*.pcd)
3. Skeleton (skeleton.skl) Must be renamed to this to be loaded.

Unsupported:
1. Scene mesh.
2. Auto texturing.

Bigfile Unpacker:
> Download Bigfile Unpacker By Gibbed <

###############################################

DRM/CDRM Unpacker
> Download <

###############################################

Credits:
1. Chrrox @Xentax
2. Mr.Adults @Xentax (Creator of Noesis)
3. Mr.Mouse @Xentax (Some stuff regarding 8-bit palette re-ordering for TRU PS2 textures!)
4. Dunsan @TRF (Normals conversion code for PC UnpackTRU used as a reference. Custom version is implemented though).
5. XNAaraL @TRF Bug reports!
6. Aman11 @TRF (TRAS Material/ Partial Auto texturing support)
7. Rick @Xentax (Bigfile unpacker TR7, TR8, TRAS)
8. EKey @Xentax (Bigfile unpacker LC2, TR2)

Regards.

Last edited by Gh0stBlade; 07-11-18 at 13:27.
Gh0stBlade is offline   Reply With Quote
Old 11-12-14, 03:57   #2
larafan25
Member
 
larafan25's Avatar
 
Joined: Feb 2008
Posts: 70,325
Default

omfg, exciting! TOO Lara is such a skinny, string-bean.
larafan25 is offline   Reply With Quote
Old 11-12-14, 11:45   #3
AimlessThunder
Member
 
AimlessThunder's Avatar
 
Joined: Apr 2012
Posts: 5,311
Default

Can you import your own models into the games?
AimlessThunder is offline   Reply With Quote
Old 11-12-14, 16:03   #4
FearEffect
Member
 
FearEffect's Avatar
 
Joined: Sep 2009
Posts: 5,729
Default

Let's hope she'll be soon available for XPS

I've been trying to extract the models but no way ! Just god Horus' body with wrong UV map, definitely not my stuff!
FearEffect is offline   Reply With Quote
Old 11-12-14, 17:06   #5
Gh0stBlade
Member
 
Gh0stBlade's Avatar
 
Joined: Dec 2010
Posts: 2,773
Default

Quote:
Originally Posted by AimlessThunder View Post
Can you import your own models into the games?
No, but the mesh format is much simpler than what any other cdcEngine game has been in the past. So much data has been stripped out which weren't necessary to be there in the first place. Perhaps injecting models into an existing DRM could work then manually modifying shaders/textures. Seems like a bit of a pain tho.

Quote:
Originally Posted by FearEffect View Post
Let's hope she'll be soon available for XPS

I've been trying to extract the models but no way ! Just god Horus' body with wrong UV map, definitely not my stuff!
How did you extract them? I'm currently looking at extracting the textures. They seem to be using quite a high amount of bits per pixel. Oh next-gen....

Still have to locate the skeleton though, that way I can test vertex weights etc.. I'm not too sure where they moved it to!

Regards.
Gh0stBlade is offline   Reply With Quote
Old 11-12-14, 18:30   #6
FearEffect
Member
 
FearEffect's Avatar
 
Joined: Sep 2009
Posts: 5,729
Default

Quote:
Originally Posted by Gh0stBlade View Post
No, but the mesh format is much simpler than what any other cdcEngine game has been in the past. So much data has been stripped out which weren't necessary to be there in the first place. Perhaps injecting models into an existing DRM could work then manually modifying shaders/textures. Seems like a bit of a pain tho.



How did you extract them? I'm currently looking at extracting the textures. They seem to be using quite a high amount of bits per pixel. Oh next-gen....

Still have to locate the skeleton though, that way I can test vertex weights etc.. I'm not too sure where they moved it to!

Regards.
Ninja Ripper something like that, with 3Ds Max and importer. And I think that I can convert the textures from DDS to PNG with Sagethumbs without problem.
FearEffect is offline   Reply With Quote
Old 11-12-14, 18:52   #7
RoxasKennedy
Member
 
RoxasKennedy's Avatar
 
Joined: May 2010
Posts: 6,774
Default

Can't wait!

I really want to port Lara from this game to XNALara and all of her costumes [IMG]http://www.************/images/smilies/oh.gif[/IMG]
RoxasKennedy is offline   Reply With Quote
Old 11-12-14, 19:03   #8
FearEffect
Member
 
FearEffect's Avatar
 
Joined: Sep 2009
Posts: 5,729
Default

Quote:
Originally Posted by RoxasKennedy View Post
Can't wait!

I really want to port Lara from this game to XNALara and all of her costumes [IMG]http://www.************/images/smilies/oh.gif[/IMG]

[IMG]http://www.************/images/smilies/oh.gif[/IMG] I want Horus, Isis, Carter and Lara to remake the cover image in 3D [IMG]http://www.************/images/smilies/oh.gif[/IMG]
FearEffect is offline   Reply With Quote
Old 11-12-14, 19:09   #9
RoxasKennedy
Member
 
RoxasKennedy's Avatar
 
Joined: May 2010
Posts: 6,774
Default

Quote:
Originally Posted by FearEffect View Post
[IMG]http://www.************/images/smilies/oh.gif[/IMG] I want Horus, Isis, Carter and Lara to remake the cover image in 3D [IMG]http://www.************/images/smilies/oh.gif[/IMG]
Well, I'm going to do Lara, but not the others.

I know someone else is gonna do Isis, but I don't know who's gonna do Carter and Horus.
RoxasKennedy is offline   Reply With Quote
Old 11-12-14, 19:15   #10
irishhips
Member
 
Joined: Mar 2009
Posts: 17,424
Default

Wanna render Lara and Isis
irishhips is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 03:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.