commit 8d1f280e2edd421d3e7acc1f73ed8a5a952f0725 Author: Jan Petykiewicz Date: Wed Apr 1 23:15:20 2026 -0700 initial commit 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