No description
  • Rust 97.8%
  • Python 1.8%
  • Java 0.3%
Find a file
2026-04-21 23:11:22 -07:00
.cargo Build RE baseline and initial Rust workspace 2026-04-02 23:11:15 -07:00
artifacts Census locomotive tail blockers across local saves 2026-04-21 22:15:17 -07:00
crates Promote shipped IMB profile fields 2026-04-21 23:11:22 -07:00
docs Promote shipped IMB profile fields 2026-04-21 23:11:22 -07:00
fixtures/runtime Refactor runtime ownership and clean up warnings 2026-04-21 15:40:17 -07:00
tools Extend add-building candidate bridge artifact 2026-04-19 02:48:05 -07:00
.gitignore Refactor runtime ownership and clean up warnings 2026-04-21 15:40:17 -07:00
Cargo.lock Add headless runtime tooling and Campaign.win analysis 2026-04-10 01:22:47 -07:00
Cargo.toml Add headless runtime tooling and Campaign.win analysis 2026-04-10 01:22:47 -07:00
README.md Refactor runtime ownership and clean up warnings 2026-04-21 15:40:17 -07:00

Analysis and reimplementation of Railroad Tycoon 3.

Overview

This repository supports two parallel tracks:

  • reverse-engineering the 1.06 executable into durable atlases, exports, and capture notes
  • building a headless Rust runtime that can rehost deterministic world work outside the shell

The canonical executable target is rt3_wineprefix/drive_c/rt3/RT3.exe.

Workspace

  • crates/rrt-model: shared schema, finance logic, and project-level constants
  • crates/rrt-runtime: headless runtime state, importers, inspectors, stepping, and summaries
  • crates/rrt-fixtures: fixture loading, normalization, validation, and diff helpers
  • crates/rrt-cli: validation, runtime inspection, export, and comparison commands
  • crates/rrt-hook: PE32 hook scaffold for capture and integration experiments
  • docs/: stable handbook material, atlases, plans, and active queues
  • artifacts/exports/: committed derived research outputs
  • artifacts/captures/: committed raw logs, sample binaries, and retained capture evidence
  • fixtures/runtime/: checked-in runtime fixtures

Common Commands

  • cargo test --workspace
  • cargo run -p rrt-cli -- validate .
  • cargo run -p rrt-cli -- runtime summarize-fixture fixtures/runtime/minimal-world-step-smoke.json
  • cargo run -p rrt-cli -- runtime inspect-smp <save.gms>
  • tools/run_hook_smoke_test.sh

Docs

Notes

  • artifacts/tmp/ is scratch-only and should stay untracked.
  • Canonical checked-in captures belong under artifacts/captures/.
  • Detailed running status belongs in the docs and artifact indexes above, not in this root README.