Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 17-12-08, 13:45   #1
Dusan
XNALara Creator
 
Joined: Sep 2008
Posts: 1,347
Default UnpackTRU

As of version 3.4, character models are exported with normals, bones and skinning data (vertex weights)!

Hi everyone,
I've written a program that can extract all kinds of data files from the TR: Underworld "bigfiles".

Here it is: UnpackTRU3.96.zip
And the C# source code for those interested: UnpackTRU3.96Src.zip

It's possible to extract geometry, normals, uvs, bones+skin, textures, sound/music files and images.



... plus, here's the DLC version of the unpacker:
UnpackTRU1.0DLC.zip

... and here's the Guardian of Light version of the unpacker (provided by sephiroth99):
UnpackTRU1.0GoL.zip
(this version might be backward compatible with the DLC version above but I can't test it because I don't have neigther DLC nor GoL data files)




CDRM files - character models ('meshes') and environments ('scenes') with textures
MUL files - sounds and music (use program mul2wav to convert them)
RAW, PNG - bitmaps (not textures, rather artwork etc.)

MUL1 - one audio channel, typically dialogs
MUL2 - two audio channels, often music
MUL4, MUL6 - four and six audio channels, often ambient sounds


Be prepared that you'll need a lot of free harddisk space to extract everything



Since the program is written in C# you'll need Microsoft .NET Framework to run it.
Don't forget to put the zlib.net.dll library (located in the zip archive) to the same directory as your program.

To import bones and skinning data (Collada/DAE format) to 3ds MAX, install the Collada importer plugin for 3ds MAX.


Here are lists of hashcodes of various models and scenes for different language versions of the game:

English/Multi6: hashcodes_en_multi.txt
Polish/Czech/Hungarian: hashcodes_pl_cz_hu.txt
Russian: hashcodes_ru.txt









Here are a few screenshots of the models I extracted with UnpackTRU (imported to Blender or 3ds max):







And here a 3D model of the ship visualized (realtime!) using DirectX/XNA with multi-textures and static and dynamic shadows:






To simplify the process of selecting textures from texture groups assigned to individual submeshes, I've written yet another program, TRUTexMan:

TRUTexMan1.15.zip

Source code in C#:
TRUTexMan1.15Src.zip

For more information, read the file readme.txt or this short tutorial.


Last edited by Dusan; 09-09-10 at 18:08.
Dusan is offline   Reply With Quote
Old 17-12-08, 14:11   #2
john_york
Member
 
john_york's Avatar
 
Joined: Oct 2006
Posts: 4,044
Default

That's cool! My bf is a big blender user, so this'll be useful for getting him to make me TRU things
john_york is offline   Reply With Quote
Old 17-12-08, 14:50   #3
Culprit
Member
 
Culprit's Avatar
 
Joined: Jun 2007
Posts: 551
Default

if it would be possible to change the game without crashes
that would be amazing
but thank you this looks great
will test it soon
Culprit is offline   Reply With Quote
Old 17-12-08, 15:08   #4
badboy70
Member
 
badboy70's Avatar
 
Joined: Aug 2005
Posts: 6,657
Default

That's great !

I have a questiona tho;
Can you make an injector ?

Last edited by badboy70; 17-12-08 at 15:18.
badboy70 is offline   Reply With Quote
Old 17-12-08, 15:18   #5
Mrshina
Member
 
Mrshina's Avatar
 
Joined: Dec 2006
Posts: 957
Default

Ok so you can export them from TRU but you cannot import them back....is it true?...but really good job
Mrshina is offline   Reply With Quote
Old 17-12-08, 17:58   #6
ultima espio
Member
 
Joined: Oct 2008
Posts: 6,624
Default



Looks like TRU has a missing cowboy...i found this after looking through Bigfile.000, and it's 4CF319F5_0317.mesh.
ultima espio is offline   Reply With Quote
Old 17-12-08, 18:03   #7
dizzydoil
Inactive
 
Joined: Oct 2006
Posts: 11,312
Default

Phwoarr. That's pretty hot. Thanks dude. Can you by any chance make an Injector? That'd ROCK.
dizzydoil is offline   Reply With Quote
Old 17-12-08, 18:12   #8
tomblover
Member
 
tomblover's Avatar
 
Joined: May 2006
Posts: 26,238
Default

Quote:
Originally Posted by ultima espio View Post


Looks like TRU has a missing cowboy...i found this after looking through Bigfile.000, and it's 4CF319F5_0317.mesh.
Larson!

That, or it's someone else, or it's one of the Mexico poachers.
tomblover is offline   Reply With Quote
Old 17-12-08, 18:23   #9
tlr online
Tomb Raider Forums
 
tlr online's Avatar
 
Joined: Jun 2000
Posts: 61,609
Default

Looks interesting. I'll check this out. Thank you for posting and welcome aboard.
tlr online is offline   Reply With Quote
Old 17-12-08, 19:11   #10
Sim2fanTR
Member
 
Joined: Oct 2008
Posts: 272
Default

Hey, really awesome program but.. How can i launch it ? xD
When i try it says : "UnpackTRU stopped working"...
Sim2fanTR 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:54.


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.