Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Software:RollerCoaster Tycoon 2

From ReverseEngineering.wiki
Software
Developer Chris Sawyer
Publisher Infogrames
Platforms Windows x86
Versions 2002 retail release; expansions Wacky Worlds and Time Twister (2003); RollerCoaster Tycoon Classic (2016-2017) reuses the formats
On this wiki Facts · Code · Notes · Topics

Theme park simulation by Chris Sawyer for Windows, published by Infogrames in 2002, with the expansions Wacky Worlds and Time Twister (2003). Its saved games, scenarios, objects and track designs all use the Format:Sawyer chunk encoding, and the open-source reimplementation OpenRCT2 documents them in code.

Overview

Like its predecessor Software:RollerCoaster Tycoon, the game was written almost entirely in x86 assembly. OpenRCT2 began by replacing the original executable's routines one at a time, so many of its functions still carry a comment of the form rct2: 0x0067693A with the address of the original routine it replaced (that one is the RLE decoder).

Formats

Files Extension Page
Saved games and scenarios .SV6, .SC6 Format:SV6 (RollerCoaster Tycoon 2)
Objects (rides, scenery, paths, ...) in ObjData .DAT Format:DAT (RollerCoaster Tycoon 2)
Track designs .TD6 Format:TD6 (RollerCoaster Tycoon 2)

All of them are built on the Format:Sawyer chunk encoding.

Identification

OpenRCT2 classifies a file by content, in this order: OpenRCT2's own .park format (magic 50 41 52 4B, "PARK"), then an SV6/SC6 header chunk, then the RollerCoaster Tycoon SV4/SC4 checksum test, then the track design checksum test. By extension it treats .SEA as a scenario (RollerCoaster Tycoon Classic encrypted scenario, decrypted before loading), .SV7 as a saved game and .TD7 as a track design.

Code & repositories

  • https://github.com/OpenRCT2/OpenRCT2 @ 2107821cbe89eef0fbd66019ae87cb0a889b2b7e · license: GPL-3.0
    Open-source reimplementation of RollerCoaster Tycoon 2 (GPL-3.0) that loads the original game data. Readers and writers for the Sawyer chunk encoding (src/openrct2/sawyer_coding), SV6/SC6 and TD6 importers (src/openrct2/rct2), RCT1 SV4/SC4/TD4 importers (src/openrct2/rct1), .DAT object loading (src/openrct2/object); many functions are annotated with the address of the original RCT2 routine they replace.
    Tested on: Source read at commit 2107821 (develop, October 2026); its Sawyer coding unit-test vectors were decoded with an independent Python decoder. Not built or run. · checked 2026-10-17; last activity 2026-10-14; WARNING: release has binary assets (not linked; review before use)

Pitfalls

  • .park files are OpenRCT2's native format, not an RCT2 format; only the extension list above comes from the original game.
  • The rct2: 0x... comments in OpenRCT2 are virtual addresses of a 32-bit executable (subtract the image base for an RVA). The source does not say which release of the executable they refer to, so check the code at the address before relying on it.

Open questions

  • Which RCT2 executable build (version, size, PE timestamp) do the rct2: 0x... addresses in OpenRCT2's source refer to?