View Single Post
Old 11-12-14, 03:08   #1
Gh0stBlade
Professor
 
Gh0stBlade's Avatar
 
Join Date: Dec 2010
Posts: 2,724
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.
__________________
No longer accepting PMs due to abuse of the system.

Last edited by Gh0stBlade; 07-11-18 at 13:27.
Gh0stBlade is offline   Reply With Quote