惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
H
Help Net Security
雷峰网
雷峰网
M
MIT News - Artificial intelligence
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
GbyAI
GbyAI
博客园_首页
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
I
InfoQ
小众软件
小众软件
Google DeepMind News
Google DeepMind News
D
Docker
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog

Hacker News

GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Bonsai 1-bit WebGPU - a Hugging Face Space by webml-community Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line
GitHub - s-macke/Test-Drive-3-Maps: Extracted Maps of the...
s-macke · 2026-05-31 · via Hacker News

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.

Game Scenes

Extracted Game Cars

Online Viewer

Extracted Images Gallery

Wavefront Object files are available in the objs directory.

Development

Prerequisites

  • Node.js 20.19+ (required by Vite 7)

Installation

Running the Browser Viewer

Opens the viewer at http://localhost:5173

Building for Production

Output is in the dist/ directory.

Exporting OBJ Files

Exports all maps and objects to the objs/ directory.

Exporting PNG Images

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

Exporting Scene Sprites

Extracts transparent scene-sprite PNGs from the known scene render descriptor banks, including the SCENE02 same-family variant.

CLI Tools

# View LST file contents
npm run lstview -- public/base/SCENE01.LST

# Extract VGA image from DAT file
npm run imgview -- public/base/DATAB.DAT 0x151 12083 320

Project Structure

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

Extracted Images Gallery

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:

File Format Specifications

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

File Description
3d-object-format.md 3D polygon/vertex format used in tiles and objects
dat-file-layouts.md DAT file offset tables and resource layouts
map-format.md Race-track map format: tile grid, object placement block, color table, and header parameter struct
scene-render-descriptor-bank-format.md Scene render descriptor bank family used by SCENE01.DAT, SCENE02.DAT, and SCENETT1.DAT
lst-file-format.md LST resource index files (scene and car variants)
image-format.md VGA image compression (LZW + RLE pipeline)
palette-format.md VGA palette handling and color selection
color_remap.md Paired-pixel lookup tables for sky/horizon gradient and road remapping
references.md External reverse-engineering references and links