www.tombraiderforums.com

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

Reply
 
Thread Tools
Old 17-12-08, 12:45   #1
Dusan
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:
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, 13:11   #2
john_york
Professor
 
john_york's Avatar
 
Join Date: Oct 2006
Location: The Haus.
Posts: 4,040
Default

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

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 14:18.
badboy70 is offline   Reply With Quote
Old 17-12-08, 14:18   #5
Mrshina
Explorer
 
Mrshina's Avatar
 
Join Date: Dec 2006
Posts: 871
Default

Ok so you can export them from TRU but you cannot import them back....is it true?...but really good job
__________________
Mike Mangini's The Grid Powered by Tress FX
Mrshina is offline   Reply With Quote
Old 17-12-08, 16:58   #6
ultima espio
Relic Hunter
 
ultima espio's Avatar
 
Join Date: Oct 2008
Posts: 6,573
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, 17:03   #7
dizzydoil
Junior Member
 
Join Date: Oct 2006
Posts: 11,309
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, 17:12   #8
tomblover
Tomb Raider
 
tomblover's Avatar
 
Join Date: May 2006
Location: Sweden
Posts: 23,391
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.
__________________
"Once you've seen death naked, you just can't leave her."
tomblover is online now   Reply With Quote
Old 17-12-08, 17:23   #9
tlr online
Administrator
 
tlr online's Avatar
 
Join Date: Jun 2000
Posts: 54,260
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, 18:11   #10
Sim2fanTR
Historian
 
Join Date: Oct 2008
Location: France
Posts: 271
Default

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
Reply

Bookmarks

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 18:39.


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2017, vBulletin Solutions, Inc.