cd /news/ai-tools/show-hn-i-reverse-engineered-the-wor… Β· home β€Ί topics β€Ί ai-tools β€Ί article
[ARTICLE Β· art-19092] src=github.com pub= topic=ai-tools verified=true sentiment=↑ positive

Show HN: I reverse-engineered the world maps of Test Drive III (1990 DOS game)

A developer reverse-engineered the world maps from the 1990 DOS game Test Drive III: The Passion after five years of work, using AI to reconstruct the game's 3D tile-based terrain as accurately as possible. The project extracts the game's 32Γ—16 grid map data, mesh objects, and sprites into modern formats like Wavefront OBJ files and PNG images, making the game's hidden world explorable outside its original engine. The open-source toolset includes a Three.js viewer and CLI utilities for exporting maps, images, and scene sprites from the game's proprietary DAT files.

read2 min publishedMay 31, 2026

Reverse engineered and extracted maps of the DOS Game Test Drive III: The Passion by Accolade

As a kid, I played Test Drive III a lot. Not because of the racing, but simply to explore the world.

There was so much to see, so much to discover. This project is an attempt to reconstruct those maps as accurately as possible. Over the past five years, I have worked on it on and off. Now, with the help of AI, I am close to success. Apart from the occasional flying car and missing sprites.

The 3D format itself is nothing too exotic, but it does contain a few special cases. Each tile or object is a small mesh stored as three parallel arrays of 16-bit signed X, Y, and Z vertex coordinates, followed by 8-byte polygon records containing the polygon type, vertex indices, and palette color. These are preceded by a short 4- or 8-byte header.

A map is a 32Γ—16 grid. Each cell is 2 bytes: a tile ID selecting one of those meshes, plus packed rotation and height bits.

Wavefront Object files are available in the objs directory.

  • Node.js 20.19+ (required by Vite 7)
npm install
npm run dev

Opens the viewer at http://localhost:5173

npm run build

Output is in the dist/

directory.

npm run export

Exports all maps and objects to the objs/

directory.

npm run imgextract

Exports the currently documented DAT images as indexed-color PNGs to the images/

directory.

npm run spriteextract

Extracts transparent scene-sprite PNGs from the known scene render descriptor banks, including the SCENE02

same-family variant.

npm run lstview -- public/base/SCENE01.LST

npm run imgview -- public/base/DATAB.DAT 0x151 12083 320
src/
β”œβ”€β”€ browser/     # Browser-only modules (Three.js viewer)
β”œβ”€β”€ shared/      # Shared modules (extraction logic, LZW/RLE decoders)
└── tools/       # Node.js CLI tools
    β”œβ”€β”€ export/      # OBJ exporter
    β”œβ”€β”€ imgextract/  # Batch DAT image β†’ PNG exporter
    β”œβ”€β”€ spriteextract/ # Scene sprite extractor
    β”œβ”€β”€ lstviewer/   # LST file viewer
    └── imgviewer/   # VGA image extractor
public/
└── base/        # Game data files (required)
objs/            # Exported Wavefront OBJ files
images/          # Extracted VGA images (PNG format)
spec/            # File format specifications

For a visual overview and previews of all extracted UI assets, scene sprites, map palettes, and car designs, visit the ** Project Images Gallery Index**. Each individual directory contains its own generated visual gallery:

πŸ“ Corvette ZR-1 Asset GalleryπŸ“ Honda NSX Asset GalleryπŸ“ Lamborghini Diablo Asset GalleryπŸ“ Mythos Asset GalleryπŸ“ Chevrolet Corvette Stelvio Asset GalleryπŸ“ Scenery Sprites Galleries

The spec/

directory contains reverse-engineered documentation for Test Drive III file formats:

File Description

dat-file-layouts.mdmap-format.mdscene-render-descriptor-bank-format.mdSCENE01.DAT

, SCENE02.DAT

, and SCENETT1.DAT

── more in #ai-tools 4 stories Β· sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/show-hn-i-reverse-en…] indexed:0 read:2min 2026-05-31 Β· β€”