From 8d1f280e2edd421d3e7acc1f73ed8a5a952f0725 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 1 Apr 2026 23:15:20 -0700 Subject: [PATCH] initial commit --- .gitignore | 1 + Cargo.toml | 6 ++++++ README.md | 11 +++++++++++ src/main.rs | 0 4 files changed, 18 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..d5b00e0 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "rrt" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..cc5c1d1 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +Analysis and reimplementation of Railroad Tycoon 3 + + +The old executable is at ./rt3_wineprefix/drive_c/rt3/RT3.exe + +Our task is to understand the executable's structure and build a function-by-function rewrite in Rust. +As we go, we will document the file formats and functions and write unit and integration tests. + +We will build a dll which we can inject into the original exe, patching in individual functions as +we build them out. + diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e69de29