07-08-16, 17:01 | #1 |
Member
Joined: Dec 2010
Posts: 2,773
|
Tomb Raider Legend/Anniversary Mod Tools.
Hey everyone!
I wrote some tools to unpack/repack the DRM sections for Tomb Raider: Legend and Anniversary. This means it's "possible" to alter some of the DRM data and repack it back. Currently I have in development tools to convert textures and sounds. Some examples of texture/sound effect alterations: You can:
You cannot:
Known issues: 1. N/a CAUTION: DO NOT rename ANY of the sections that DRM.EXE extracts! DRM sections have unique hash names which are stored in the filename. To ensure everything is packed back correctly do not change them. Here are the steps you must take to modify any DRM files. 1. Unpack the bigfile.* archive 1.1 Download Gibbed's Bigfile unpacker from: https://dl.dropbox.com/u/19940372/gibbed/gibbed.zip 1.2. Unpack the ZIP to an empty folder. 1.3. Copy your bigfiles for TRL or TRA or TR8 (only have 1 game's bigfiles coppied here at a time or you'll overwrite them since the names are the same). 1.4. Create a new text file called "unpack.txt" (where you extracted Gibbed's tools) copy the following text into it then save it: Code:
unpack -p="Tomb Raider 7" bigfile.000 1.5. Rename unpack.txt to unpack.bat (you must have file extensions viewable or you won't be able to do this). Double click "unpack.bat" and the bigfile will be extracted to a new folder "bigfile_unpack". 1.6. The main DRM files are located in "bigfile_unpack\default\pc-w" so you must navigate here. 2. Extract the DRM sections. 2.1. Download the DRM unpacker/repacker from here and extract it to a new folder. 2.2 Copy the DRM from (bigfile_unpack\*) you wish to unpack/modify to the same folder where you extracted DRM.EXE (in this case I use lara.drm from TRL). 2.3. To unpack the DRM simply, drag and drop the .DRM file onto DRM.EXE. 2.4. You should notice a new folder has been created which contains all the unpacked sections. 2.5. To repack, simply drag and drop the result folder containing all DRM sections. 2.6. You should get a new file named "Repacked.drm". This is the file you'll want to pack back into the bigfile. (It is important you rename this back to the original DRM filename and replace it with the one from the extracted Bigfile folder or the data will not be overwritten. 2.7. Repack the bigfile same as unpacking put you use pack.exe and pass the folder to pack. See http://www.tombraiderforums.com/showthread.php?t=192773 2.8. Once repacked you simply copy those Bigfiles back to your original TR7/A/U directory and launch the game 3. Modifying Textures. 3.1 Simply drag and drop the .pcd file onto PCD2DDS.exe. This will convert the .pcd to DDS (Direct Draw Surface) format. You may make any changes, save it back in the same DXT format (to be safe). Finally drag and drop the modified .dds file onto PCD2DDS.exe which will convert it back to .PCD. Note You must rename the final .PCD file back to the original file name and copy it to your unpacked DRM folder 4. Modifying Sound Effects. 4.1 Currently this is possible if the sounds you intend to import are encoded with IMA ADPCM. It's pretty much the same process as converting textures back and fourth except you'll need to use WAVE2WAV.EXE. === Tutorial is subject to change, happy modding! Regards. Last edited by Gh0stBlade; 09-08-16 at 16:03. |
07-08-16, 17:18 | #2 |
Inactive
Joined: Dec 2006
Posts: 31,967
|
Impressive work there, Gh0stBlade !
|
09-08-16, 14:54 | #3 |
Inactive
Joined: Aug 2015
Posts: 1,237
|
Why can't we change the lara model ? Maybe alter some meshes ??? We basically would have controll over the game animations are a bust too but dont get me wrong i SO LOVE YOUR WORK
Good Luck !! |
09-08-16, 15:58 | #4 | |
Member
Joined: Dec 2010
Posts: 2,773
|
Quote:
=== I have made some adjustments to the DRM repack tool. There's a new check that will patch the section hash if it doesn't match the one in the filename (This is more-so a user based improvement for those who don't know how to hex edit). https://github.com/Gh0stBlade/cdcEngineTools/releases Regards. Last edited by Gh0stBlade; 09-08-16 at 16:03. |
|
09-08-16, 17:33 | #5 |
Inactive
Joined: Aug 2015
Posts: 1,237
|
Damnn ... i hope we find out soon
Since im here and asking can i ask you if we can change level files ? Maybe play a TRU map with the TRA engine and vice-verca ... is it possible ? ---- I Adore your Signature |
09-08-16, 21:24 | #6 | |
Member
Joined: Dec 2010
Posts: 2,773
|
Quote:
Cheers. |
|
10-08-16, 10:44 | #7 |
Member
Joined: Sep 2011
Posts: 2,600
|
Nice work!
Can i ask something? Is it possible to restore some of the unused dialoges too? (I don't know they are scripted or not) |
10-08-16, 17:42 | #8 |
Inactive
Joined: Aug 2015
Posts: 1,237
|
The fact that there is hope makes me wanna jumpy joy
|
11-08-16, 12:33 | #9 | |
Member
Joined: Dec 2010
Posts: 2,773
|
Quote:
Cheers. |
|
19-08-16, 17:01 | #10 |
Member
Joined: Dec 2014
Posts: 2,530
|
is it possible to add AOD's Footstep SFX ?
|
Thread Tools | |
|
|