Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Modding

Thread Tools
Old 17-12-08, 13:45   #1
XNALara Creator
Join Date: Sep 2008
Location: Czech Republic
Posts: 1,346
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:

... and here's the Guardian of Light version of the unpacker (provided by sephiroth99):
(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:


Source code in C#:

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's Avatar
Join Date: Oct 2006
Location: The Haus.
Posts: 4,044

That's cool! My bf is a big blender user, so this'll be useful for getting him to make me TRU things
I used to want you dead but now I only want you gone.
john_york is offline   Reply With Quote
Old 17-12-08, 14:50   #3
Culprit's Avatar
Join Date: Jun 2007
Posts: 551

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
Tomb Raider II - Starring Lara Croft : Remake /The Great Wall wip
Culprit is offline   Reply With Quote
Old 17-12-08, 15:08   #4
Relic Hunter
badboy70's Avatar
Join Date: Aug 2005
Location: Belgium, Bruges
Posts: 6,658

That's great !

I have a questiona tho;
Can you make an injector ?
People go smashin' to this.

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

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
Relic Hunter
Join Date: Oct 2008
Posts: 6,624

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
Join Date: Oct 2006
Posts: 11,312

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's Avatar
Join Date: May 2006
Location: Sweden
Posts: 25,216

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.

That, or it's someone else, or it's one of the Mexico poachers.
"There are seven worlds in my eyes; I'm accessing all of them at once."
tomblover is offline   Reply With Quote
Old 17-12-08, 18:23   #9
tlr online
tlr online's Avatar
Join Date: Jun 2000
Posts: 58,804

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
Join Date: Oct 2008
Location: France
Posts: 272

Hey, really awesome program but.. How can i launch it ? xD
When i try it says : "UnpackTRU stopped working"...
Wait... Wasn't the passage from Nepal to Avalon broken ?....
Sim2fanTR is offline   Reply With Quote

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 05:58.

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