PDA

View Full Version : TextureAdd tutorials


sapper
12-07-08, 05:23
Some tutorials showing how to use TextureAdd.

TextureAdd is a program that adds textures to a wad's .wad file.
Download TextureAdd here. (http://ctrobjects.topcities.com/textureadd.htm)
Also download the DLL at the bottom of that page.

http://i214.photobucket.com/albums/cc94/nnn59/textureadd_smll.png (http://i214.photobucket.com/albums/cc94/nnn59/textureadd.png)

sapper
12-07-08, 05:26
In the latest version of TextureAdd (1.0.6.3) the add new texture feature now works so the following method is not necessary. You just press add texture and select your texture/textures. I'll leave these instructions as is for information purposes. Also the new add texture feature will place the new textures automatically. If you want to control where the texture goes in your wad you still need to use this technique.


AddTextureWithTextureAdd.pdf (http://www.4shared.com/file/54844756/eabf5c0d/AddTextureWithTextureAdd.html)


http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd0500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd3500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd4500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd5500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd6500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd7500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd8500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd9500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd10500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd11500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd12500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd13500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd14500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd15500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd16500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd17500.jpg
http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd/TextureAdd18500.jpg

sapper
12-07-08, 05:31
Link (http://www.tombraiderforums.com/showpost.php?p=2604390&postcount=13)

sapper
12-07-08, 08:57
In the latest TextureAdd version (1.0.6.3) the append texture records feature has been fixed so my recmerger program is no longer needed.

AddAllTexturesWithTextureAdd.PDF (http://www.4shared.com/file/54974733/4073a671/AddAllTexturesWithTextureAdd.html)
PYTHON script rec_merge.py (http://www.4shared.com/file/54974835/a24c4479/rec_merge.html)

View this way -------------->

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures0.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures0.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures1.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures1.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures2.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures2.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures3.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures3.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures4.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures4.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures5.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures5.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures6.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures6.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures7.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures7.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures8.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures8.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures9.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures9.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures10.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures10.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures11.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures11.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures12.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures12.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures13.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures13.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures14.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures14.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures15.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures15.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures16.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures16.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures17.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures17.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures18.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures18.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures19.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures19.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures20.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures20.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures21.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures21.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures22.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures22.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures23.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures23.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures24.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures24.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures25.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures25.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures26.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures26.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/th_AllTextures27.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%202/AllTextures27.jpg)

sapper
13-07-08, 08:10
Provides an alternative way to add meshes from one wad to another wad already textured.

An easier way is to copy the meshes across in Wadmerger to an unused slot by holding the shift key when you press copy.

AddMeshFromWadBtoWadA.PDF (http://www.4shared.com/file/54995124/c40da725/AddMeshFromWadAtoWadB.html)

PYTHON script changeDXFtextures.py (http://www.4shared.com/file/54995122/2d6e0210/changeDXFtextures.html)

As an alternative to installing PYTHON and running the scripts from a command window as shown in the tutorials, download Portable Python (http://www.portablepython.com/). Unzip the file then open the scripts in the SciTE text editor. To run the scripts use Go from the Tools menu.

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB0.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB0.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB1.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB1.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB2.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB2.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB3.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB3.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB4.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB4.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB5.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB5.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB6.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB6.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB7.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB7.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB8.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB8.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB9.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB9.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB10.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB10.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB11.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB11.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB12.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB12.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB13.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB13.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB14.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB14.jpg)

http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB15.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB15.jpg)http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/th_AddMeshFromWadAtoWadB16.jpg (http://i214.photobucket.com/albums/cc94/nnn59/TextureAdd%203/AddMeshFromWadAtoWadB16.jpg)

sapper
23-07-08, 11:11
Created a GUI (Recmerger.exe) for windows that runs slightly modified versions of the PYTHON scripts above so you don't need to use a command window. Also no longer need specific names for the rec files or dxf files. The modified scripts are included in the zip file.

Download link (http://www.4shared.com/file/56262481/aa9c3749/Recmerger.html)

Readme for Recmerger Version 1.0 JUL08
-------------------------------------------
Background:

This program was written to enable meshes from
one wad to be transferred to another wad for
TRLE (Tomb Raider Level Editor) builders.

It does this by allowing builders to add every
texture from one wad to another with TextureAdd
and then adjusting the texture references in the
DXF files exported from the second wad to match
the textures in the combined wad.

Setup:

Needs Python to run. I recommend installing Python
but the GUI may run if python25.dll is in the same
folder as Recmerger.exe.

File GUIrec_merge.py must be in the same folder as
Recmerger.exe.

File GUIchangeDXFtextures.py must be in the same
folder as Recmerger.exe.

Caution: When you press the action button a file
named GUIchangeDXFtextures.py or GUIrec_merge.py
is run.

Python scripts are text files that can be easily
changed so someone can change what the scripts do.
To combat this, under the file menu is an option
to display the original scripts. Use this to check
the scripts in the folder and if there is a
difference, use the button to write new scripts.

Usage:
~ Create a new folder somewhere.
~ Open wad you want to add meshes/textures to in TextureAdd.
~ In Texture Position section, export Texture Record File *.rec.
~ Save *.rec file to the folder you created.
~ Open wad you want to export meshes/textures from in TextureAdd.
~ In Texture Position section, export Texture Record File *.rec.
~ Save *.rec file to same folder as above.
~ From Texture Pages section export all pages to the folder.
~ Run Recmerger.exe.
~ Open first *.rec file then open second *.rec file and press "Join records".
~ Second *.rec file is appended to first *.rec file and written to the folder.
~ Combined *.rec file is saved as originalfilename1+originalfilename2.rec.
~ If filename1+filename2.rec exists it will be overwritten.
~ Open wad you want to add meshes/textures to in TextureAdd again.
~ In Texture Pages section Add New>Load from Image.
~ Load first page exported from second wad.
~ Add/import all pages exported from second wad in order.
~ In Texture Position section import filename1+filename2.rec.
~ Choose Yes to overwrite.
~ Save wad.

All textures of second wad should be added to first wad and selectable.

~ In StrPix, open the wad you want to export meshes from.
~ Export the DXFs you want to transfer to the other wad.
~ DXFs must be saved to same folder as rec_merge_info.txt.
rec_merge_info.txt is generated by GUIrec_merge.py, so
save them to the folder you created above.
~ Run Recmerger.exe.
~ Open one of the DXF files.
~ All DXF files in the same folder will be selected for conversion.
Note: DXF files prefixed with rec_join_ will be ignored.
~ Press Adjust DXF.
~ Converted files are saved as rec_join_original name.dxf in same folder.
Notes:
If rec_join_original name.dxf exists, it is automatically overwritten.
The number in the first line of rec_merge_info.txt is added to the
texture IDs of each original DXF file.
~ Open the wad you want to transfer the meshes to in StrPix. This wad
should contain the textures of both original wads.
~ Import the DXFs. Each one should be textured correctly.
~ Remapping and recalc normals still required. :-(
~ Save wad.
~ Open wad in Wadmerger and save to discard unused textures and
rearrange textures efficiently.