Sunday, 23 March 2014

TRLE File Formats: *.wad

Program: TRLE standard wad file used by WadMerger, EditWad, StrPix, TRWad Reorganizer
Description: Contains object geometry, texture and skeletal animation data
Document version: n/a

IceBerg’s documentation is the best.

Download from the archive of his site trlcsoft.com.

http://web.archive.org/web/20081010160545/http://www.trlcsoft.com/

Click on Tools, then Programmer’s corner.
Download by clicking on the white dot.

While there, also download his WadExplorer program which displays all the *.wad information.

IceBerg's website screenshot

Sunday, 16 March 2014

WIP: Sound Manager Clone

Version:1.2
Status:Released




A program to edit the *.SFX and *.SAM files directly like Wadmerger’s sound manager.
Stalled development until BASS audio library is understood.

Update 22Aug16: Version 1.2 released. Only cosmetic change from V1.1

Run as adminstrator if modifying files in Program Files or other paths controlled by Windows' UAC.

http://www.mediafire.com/download/ujbfl0ej7wg4f44/SoundManagerV12.zip



WIP: TRLE Sound Editor

Version: 1.1

Status: Released

TRLE Sound Editor 1.1 screenshot

Wednesday, 12 March 2014

TRLE File Formats: *.swd

Program: n/a TRLE wad file
Description: Contains sprite images
Document version 0.2

Sunday, 9 March 2014

TRLE File Formats: *.trwad

Program: Wadmerger
Description: Custom import/export format for moveables
Document version: 0.2

Wednesday, 5 March 2014

Create or edit uklogo.raw with GIMP

You can use the freeware image editing program GIMP to create or edit uklogo.raw for your custom Tomb Raider Level Editor (TRLE) game. Uklogo.raw is the graphic that appears above the menu when the game starts and is usually the game’s title.

Introduction to File Formats

A computer file can be considered as a sequence of zeroes and ones. Each one or zero is known as a bit. Representing a file in ones and zeroes is known as binary format.

1000000100000000000000000000000000010111000001100000000000000000

It is convenient to organise the bits into groups of eight. Each group of eight bits is known as a byte. This file is eight bytes long.

10000001 00000000 00000000 00000000 00010111 00000110 00000000 00000000

Saturday, 1 March 2014

FreePascal programming notes #2

Before reading or writing to a TMemoryStream know what its position is.
Do not assume that methods like LoadFromStream will set position to the start of the stream before reading from the stream.

FreePascal programming notes #1

Missing information for TStream.CopyFrom method highlighted below.
TStream.CopyFrom
Copy data from one stream to another
DeclarationSource position: classesh.inc line 806
public function TStream.CopyFrom(Source:TStream; Count:Int64):Int64;
DescriptionCopyFrom reads Count bytes from Source and writes them to the current stream. This updates the current position in the stream. After the action is completed, the number of bytes copied is returned.
This can be used to quickly copy data from one stream to another or to copy the whole contents of the stream.
Count = 0 will set Source.position to 0 and copy the whole stream.