Skip to content

tigrouind/AITD-tools

Repository files navigation

LifeDISA

This is a disassembler for LIFE scripts in Alone in the Dark series.

Supported

  • Alone in the Dark 1 (CD-ROM, floppy, demo)
  • Alone in the Dark 2 (CD-ROM, floppy, demo)
  • Alone in the Dark 3 (CD-ROM, demo)
  • Jack in the Dark
  • Time Gate: Knight's Chase (CD-ROM, demo)

Command-line arguments :

LifeDISA -version VERSION [-raw] [-verbose] [-output FILENAME]
Argument Description
-version VERSION Must be one of the following values:
AITD1, AITD1_FLOPPY, AITD1_DEMO
AITD2, AITD2_DEMO
AITD3
JACK
TIMEGATE, TIMEGATE_DEMO
-raw Raw output. Disable IF ELSE and SWITCH CASE statements detection and indentation
-verbose Display byte information on the left side of the disassembly
-output Output filename

Instructions

  1. Create a new folder named "GAMEDATA" (located in same folder as the LifeDISA executable).
  2. Copy the following files from game to GAMEDATA :
    • LISTLIFE.PAK
    • ENGLISH.PAK (or FRANCAIS.PAK)
  3. Copy the file OBJETS.ITD (from AITD folder) into GAMEDATA folder.
  4. Start LifeDISA executable with appropriate arguments. A file named output.txt will be created.

TrackDISA

Supported

Same as LifeDISA

Command-line arguments :

TrackDISA -version VERSION [-verbose] [-output FILENAME]
Argument Description
-version VERSION Must be one of the following values:
AITD1, AITD1_FLOPPY, AITD1_DEMO
AITD2, AITD2_DEMO
AITD3
JACK
TIMEGATE, TIMEGATE_DEMO
-verbose Display byte information on the left side of the disassembly
-output Output filename

Instructions

Copy file LISTTRAK.PAK into a folder named GAMEDATA

MemoryViewer

Allow to view DOS memory in realtime. Each pixel is a byte. Current VGA palette is automatically loaded.

Supported :

  • All DOS games (even non AITD related)

Command-line arguments :

MemoryViewer [-screen-width WIDTH] [-screen-height HEIGHT] [-zoom ZOOM]

Commands

Key Description
ctrl + mouse wheel
ctrl + + or -
increase / decrease zoom
ctrl + 0 reset zoom
page up decrease memory offset by 640KB
page down increase memory offset by 640KB
space display DOS memory control blocks (MCBs)
green = free
blue = used
red = current executable
yellow = not current executable

VarsViewer

Supported

  • Alone in the Dark 1 (CD-ROM, floppy, demo)

Command-line arguments :

VarsViewer [-screen-width WIDTH] [-screen-height HEIGHT]

Commands

Key Description
f freeze capture
s save state
c compare current state with saved state

CacheViewer

Supported

  • Alone in the Dark 1 (CD-ROM, floppy, demo)

Commands

Key Description
s change sort mode (default, memory, lru)
space display cache entries timestamp / name
F5 clear all cache entries

PAKExtract

Extracts files from PAK files.

Supported :

  • Alone in the Dark 1, 2 and 3
  • Jack in the Dark
  • Time Gate: Knight's Chase

Instructions

  • Copy PAK files to GAMEDATA folder
  • Run PAKExtract

Command-line arguments :

PAKExtract  [-raw] [-AITD1] [<files>]
Argument Description
-raw Extract files in binary data, without extra processing
-AITD1 Extract overlay masks from ETAGExx.PAK files
<files> Specifies a list of one or more PAK files to be extracted. If no not specified, all PAK files in GAMEDATA folder are extracted

Files that are exported as PNG:

  • backgrounds (CAMERAxx.PAK and ITD_RESS.PAK)
  • overlay masks (ETAGExx.PAK (AITD1), MASKxx.PAK or NASKxx.PAK (AITD2/3), MKxxxxxx.PAK or NKxxxxxx.PAK (Time Gate)