A cross-platform open-source reimplementation of the Age of Empires (1997) engine
The Chariot project is an attempt to re-implement the original Age of Empires (1997) engine in an open-source manner so that:
The project will strive to be as close to the original as possible.
For legal reasons, you'll need an original Age of Empires CD to be able to play it. No game data files will be committed to the repository.
Note: This is a work in progress. As of 2016-07-08, there is no game to be played. Just a demonstration of the original game assets being loaded and other proof of concepts. It will be a while before it is playable.
OS-specific instructions will follow. This section just gives a high level idea of what is required to build Chariot. You'll need the following:
Rust's Cargo program should download and compile all of the other necessary dependencies.
sudo apt-get install libsdl2-dev
.cargo build --release
cargo build --release
.pacman -S mingw-w64-x86_64-SDL2
echo "export LIBRARY_PATH=/usr/local/lib/:/lib/" >> /etc/profile"
i686-pc-windows-gnu
or x86_64-windows-pc-gnu
)cargo build --release
curl https://sh.rustup.rs -sSf | sh && rustup install toolchain stable-x86_64-apple-darwin
brew install sdl2
make build
(which invokes cargo build --release
)On the game CD you will find a GAME
directory with a LANGUAGE.DLL
, EMPIRES.EXE
, and a bunch of directories such as AVI
, CAMPAIGN
, and DATA
.
Substitute /media/AOE/GAME
in the following commands with the absolute path to the GAME
directory mentioned above.
The following commands must be executed from the root of this project (the same directory that contains Makefile
).
$ make run GAME_DIR=/media/AOE/GAME SCENARIO=MUF7E5_1
# Or you can run cargo directly:
$ cargo run --release -- /media/AOE/GAME/SCENARIO/MUF7E5_1.SCN --game-data-dir /media/AOE/GAME
Note that in these early versions, you may need to specify additional command line arguments, such as a path to a scenario file to load up. These may change over time, but the game should tell you what arguments are required and what to provide.
Chariot is MIT licensed.
Any contribution submitted for inclusion in the work by you shall also be licensed as MIT, without any additional terms or conditions.
We have an IRC channel setup at #openaoe
(I'd like to move this but there are some idle lurkers) on Freenode. Most collaborative discussions take place there, so it's a good place to ask where you can help out, or how something should be approached.
./all-crates-do test