Monday 21 June 2021

WIP: WAD2 Remapper

Version: 1.0

Status: Released

 

A program for the Tomb Raider Level Editor (TRLE) community.

The WadTool program included with Tomb Editor does not yet have a remap feature.

EDIT 23 July 2021: Remapping ability added to WadTool version 1.3.16. (Tools>Mesh Editor)

Remapping is where a vertex’s index number is changed so it is below a certain limit.

This is needed for vertices in the LARA_SKIN meshes that connect to LARA_JOINTS meshes.

WadTool uses a new file format, *.WAD2, which is incompatible with StrPix, the program used to remap vertices for the old wad format, so I wrote this program.

See GitHub for source code and release. [link]

If a 32 bit version of the program is needed please let me know in the comments or at the Level Editor forum at tombraiderforums.com.

Please do not ignore the warning about always having a backup copy of your WAD2 file.

This program may corrupt the file.

 

Usage:

Open your WAD2.

Expand a moveable in the treeview.

Select a mesh.

Swap vertices as required.

There are two ways to swap vertices.

  1. Left click a vertex to select it and then hold "Control" and left click on another vertex to swap them.

  2. Enter the two vertex numbers to swap in the boxes and click "Swap".

Save the WAD2. Do not save over your WAD2 unless it is a copy.

 

3D Viewport Controls:

Left mouse button - Select vertex

Right mouse button - Rotate view

Middle mouse button - Pan view

Mouse wheel - Zoom view

Note that sometimes you might click through a mesh and select the vertex hidden behind the mesh.

 

Screenshot

 

Built using free Delphi Community Edition 10.3.3.  (A Firemonkey 3D project)