https://github.com/glouw/openempire
A multiplayer lockstep RTS engine compatible with the Age of Empires II Trial assets
https://github.com/glouw/openempire
age empires engine kings multiplayer
Last synced: 9 months ago
JSON representation
A multiplayer lockstep RTS engine compatible with the Age of Empires II Trial assets
- Host: GitHub
- URL: https://github.com/glouw/openempire
- Owner: glouw
- License: other
- Created: 2019-05-13T04:34:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T23:39:44.000Z (over 5 years ago)
- Last Synced: 2025-04-04T02:51:05.536Z (9 months ago)
- Topics: age, empires, engine, kings, multiplayer
- Language: C
- Homepage:
- Size: 6.56 MB
- Stars: 535
- Watchers: 14
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Empire
Open Empire is an educational multi-player RTS engine which interfaces with the Age of Empires II Trial assets.
[](https://www.youtube.com/watch?v=el8Brru8ZIU)
## Dependencies
Arch : pacman -S sdl2 sdl2_net sdl2_ttf
Ubuntu : apt-get install libsdl2-dev libsdl2-net-dev libsdl2-ttf-dev
## Building
git clone https://github.com/glouw/openempire
cd openempire
make -C src
## Running
Get a copy of Age of Empires II trial version from the internet archive:
https://archive.org/download/AgeofEmpiresIITheAgeofKings_1020/AoE2demo.zip
Unzip, and run the installation .exe with wine. The game's asset data folder
can be found in the root directory of the game's installation:
"$HOME/.wine/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II Trial/Data"
To play, first start the server by specifying the port and the number of users
who will be playing:
./openempire --path "$HOME/.wine/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II Trial/Data" --port 1234 --users 3 --server
Keep note, that three users implies two human players and one anti-cheat bot
who spectates the game and detects and restores out of syncs.
Second, start these three clients (you, on your computer, a friend on their computer,
and the anti-cheat bot on a computer you trust). The anti cheat bot must be started last.
For instance, to start one client:
./openempire --path "$HOME/.wine/drive_c/Program Files (x86)/Microsoft Games/Age of Empires II Trial/Data" --port 1234 --host localhost --xres 1440 --yres 900
## Controls
Some small tweaks have been added to ease some of the controls:
W A S D :
Pans the camera
Left shift + left click:
Selects multiple of the same unit
Left alt + Q W E R T ... Z X C V B:
Selects a building to place, or a unit command to execute
## Legal
Open Empire was written from scratch with the highest regards of the
original copyright holders.
Open Empire is *NOT* a binary decompilation of Age of Empires II.
Data, art, and sound files from the Age of Empires II Trial are not supplied.
Age of Empires II is copyright (©) by Microsoft Corporation, Ensemble Studios, and SkyBox Labs.
Open Empire was created under Microsoft's Game Content Usage Rules:
https://www.xbox.com/en-us/developers/rules
Open Empire uses assets from the Age of Empires II Trial, and it is not endorsed by
or affiliated with Microsoft, Ensemble Studios, or SkyBox Labs.
## Credits
Thanks to:
* SFTech OpenAge team for their fantastic documentation on the
inner workings of the SLP and DRS file formats. See:
https://github.com/SFTtech/openage
* The developers and artists from Ensemble Studios for the many
gifted childhood memories
* Forgotten Empires for keeping the spirit of Age of Empires II alive
Dedicated to Ondrej whom I met hiking across England as he hiked from
Scotland to Spain, and to TheJoshMaster22; volare, my friend, wherever you are.