teme9 posted a technique for getting a UV mapped model into a Tomb Raider Level Editor (TRLE) wad [link] but since the information is scattered throughout the thread I decided to gather it all together here.
Tutorial for Blender 2.80 is here [link].
Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts
Sunday, 1 December 2019
Wednesday, 20 November 2019
UV mapped model to TRLE wad using Blender 2.80
teme9 published a technique for converting a UV mapped model to a form that was suitable for a Tomb Raider level Editor (TRLE) .wad file using Blender 2.7x.
https://www.tombraiderforums.com/showthread.php?t=208076
This post is an update of teme9’s tutorial for Blender 2.80.
https://www.tombraiderforums.com/showthread.php?t=208076
This post is an update of teme9’s tutorial for Blender 2.80.
Tuesday, 23 February 2016
Copy a TRLE animation frame to an XNALara pose
In this tutorial I will be using XNALara Posing Studio (XPS) 11.4 by XNAaraL from http://xnalaraitalia.deviantart.com/ and replicate a pose from a Tomb Raider Level Editor (TRLE) wad animation.
Tuesday, 6 May 2014
Writing a StrPix-like program with Lazarus – 11
We need to add some global variables to the implementation section to store details of the currently selected texture.
Monday, 5 May 2014
Writing a StrPix-like program with Lazarus – 10
When we use the mouse wheel with the mouse pointer over Image1 we don’t scroll through the pages.
What we need to do is link Image1’s MouseWheel event handler to ComboBox1’s Change event handler.
What we need to do is link Image1’s MouseWheel event handler to ComboBox1’s Change event handler.
Writing a StrPix-like program with Lazarus – 9
IceBerg has done the hard work of converting the raw RGB image data of the *.wad file into the *.bmp format so all we need to do to display the image data is assign the *.bmp to a TImage control.
Sunday, 27 April 2014
Writing a StrPix-like program with Lazarus – 8
Rather than have the moveables’ object ID numbers displayed we will display their names.
We will store their names in a text file with each name on a separate line and where the line number matches the object ID if we consider the first line as line 0.
We could hard code the names into the program but reading them from a file means that new names can be added for new objects and the names changed if needed.
We will store their names in a text file with each name on a separate line and where the line number matches the object ID if we consider the first line as line 0.
We could hard code the names into the program but reading them from a file means that new names can be added for new objects and the names changed if needed.
Saturday, 26 April 2014
Writing a StrPix-like program with Lazarus – 7
We will delete Edit1 we placed on the form in the previous post since it was only to test that we could access data from the Wad.version and not part of our program’s design.
Go to Window>Form1 to display the form.
Click on Edit1 to select it and then press the delete key to delete it.
Deleting the control does not remove the code that references it in TForm1.FileOpenAcccept so go to that procedure and delete the two lines we added to display the version number in Edit1.
Go to Window>Form1 to display the form.
Click on Edit1 to select it and then press the delete key to delete it.
Deleting the control does not remove the code that references it in TForm1.FileOpenAcccept so go to that procedure and delete the two lines we added to display the version number in Edit1.
Friday, 25 April 2014
Writing a StrPix-like program with Lazarus – 6
Our program copies the *.wad file into memory and then reads the file in memory and extracts the data into a variable named Wad which is declared in the TombRaiderWAD unit.
Since the implementation section of unit1 includes TombRaiderWAD in the uses clause, the variable Wad can be used in any of the functions or procedures in unit1’s implementation section.
The variable Wad is declared as type TWAD and we can inspect this type in the TombRaiderWAD unit to see what information is available in the Wad variable.
Since the implementation section of unit1 includes TombRaiderWAD in the uses clause, the variable Wad can be used in any of the functions or procedures in unit1’s implementation section.
The variable Wad is declared as type TWAD and we can inspect this type in the TombRaiderWAD unit to see what information is available in the Wad variable.
Writing a StrPix-like program with Lazarus – 5
To add IceBerg’s code for reading a *.wad file to our program, with our project open in Lazarus, go to the File menu and select Open.
In the Open File dialog, navigate to the WadExplorer source code folder (WADE11sources) we copied to our Lazarus projects folder.
Select and open TombRaiderWad.pas which contains all the code necessary to read a *.wad file.

In the Open File dialog, navigate to the WadExplorer source code folder (WADE11sources) we copied to our Lazarus projects folder.
Select and open TombRaiderWad.pas which contains all the code necessary to read a *.wad file.
Monday, 21 April 2014
Writing a StrPix-like program with Lazarus – 4
Make sure the the form designer window is visible. If it is not you can use the Window menu and select the form window, “Form1” in our case, or you can press the Toggle Form/Unit button to switch to the form window. This button is only enabled if the unit displayed in the source editor has a form.

Writing a StrPix-like program with Lazarus – 3
Create a folder somewhere on your PC for your Lazarus projects. I named my folder Typhon32 Projects.
Extract the WadExplorer source code zip file and copy the folder into your Lazarus projects folder.
Do the same with the other source code zip files you downloaded. With the StrPix code you need to also unzip the shared folder inside the StrPix folder.

Extract the WadExplorer source code zip file and copy the folder into your Lazarus projects folder.
Do the same with the other source code zip files you downloaded. With the StrPix code you need to also unzip the shared folder inside the StrPix folder.
Sunday, 20 April 2014
Writing a StrPix-like program with Lazarus – 2
To write a program to modify a *.wad we need some *.wad files. If you don’t have TRLE installed you can get it from any of the links below. The *.wad files are found in the graphics folder. TRLE was also included on a separate disc with Tomb Raider Chronicles (TR5) for PC.
http://www.skribblerz.com/editortools.htm
http://www.tombraiderchronicles.com/tr5/editor/index.html
http://www.aspidetr.com/tools/tomb-raider-level-editor/tomb-raider-level-editor-windows-vista-xp/
If you don’t want to install TRLE you can download some *.wad files at this link.
http://www.skribblerz.com/resources.htm
http://www.tombraiderchronicles.com/tr5/editor/index.html
http://www.aspidetr.com/tools/tomb-raider-level-editor/tomb-raider-level-editor-windows-vista-xp/
If you don’t want to install TRLE you can download some *.wad files at this link.
Writing a StrPix-like program with Lazarus – 1
StrPix is a program used in the TRLE (Tomb Raider Level Editor) community.
tombraiderforums Level Editor forum
trle.net
The program is used to import models into a TRLE *.wad file and to also texture and add other attributes to the models like shine and collision.
A *.wad file stores the geometry, texture and animation data for the objects in a TRLE game.
StrPix was written in the Delphi language by TurboPascal.
TurboPascal released the source code but since the latest Delphi IDE (integrated development environment) is expensive and any cheap older versions or free versions are difficult to buy or find, it is probably necessary to write a new program from scratch to add new features or fix bugs or update it for new operating systems.
Lazarus is a free, open source IDE for the FreePascal language and FreePascal is based on Delphi.
Lazarus can open and convert simple Delphi projects to its own format but I have been unable to successfully convert any of the TRLE Delphi programs by TurboPascal (StrPix) or IceBerg (WadExplorer) or RaiderCroft (PixStr).
No matter, we can still copy most of the code.
This series of posts will hopefully also show how simple it is to start programming with Lazarus and serve as a Lazarus tutorial for beginners.
EDIT: Please note that this project was abandoned and not finished.
next
tombraiderforums Level Editor forum
trle.net
The program is used to import models into a TRLE *.wad file and to also texture and add other attributes to the models like shine and collision.
A *.wad file stores the geometry, texture and animation data for the objects in a TRLE game.
StrPix was written in the Delphi language by TurboPascal.
TurboPascal released the source code but since the latest Delphi IDE (integrated development environment) is expensive and any cheap older versions or free versions are difficult to buy or find, it is probably necessary to write a new program from scratch to add new features or fix bugs or update it for new operating systems.
Lazarus is a free, open source IDE for the FreePascal language and FreePascal is based on Delphi.
Lazarus can open and convert simple Delphi projects to its own format but I have been unable to successfully convert any of the TRLE Delphi programs by TurboPascal (StrPix) or IceBerg (WadExplorer) or RaiderCroft (PixStr).
No matter, we can still copy most of the code.
This series of posts will hopefully also show how simple it is to start programming with Lazarus and serve as a Lazarus tutorial for beginners.
EDIT: Please note that this project was abandoned and not finished.
next
Subscribe to:
Posts (Atom)