Git Product home page Git Product logo

openempire's Introduction

Open Empire

Open Empire is an educational multi-player RTS engine which interfaces with the Age of Empires II Trial assets.

YouTube

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.

openempire's People

Contributors

glouw avatar sandsmark avatar fostiropoulos avatar coding-with-adam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.