Tom2pc

tom2pc is a program included with the Tomb Raider Level Editor. It compiles a level's source files and converts TOM files into playable TR4 files.

Process
Users add TOM files (output in the level editor) to the list of files to process into playable Tomb Raider levels. It first detects the total number of textures. The program then remaps the sprites, then counts the total number of object meshes and null meshes. It adds the sky files before outputting a partially-processed version of the level (as a LEV file). The LEV file is then further processed as the application counts total number of rooms, faces and textures used in the level, as well as creating the animation ranges for the level (IE water animations). The data is then reprocessed for the PC version, adding sound samples before outputting the final TR4 file.