Web Server (and its launcher) for AoE 1, 2, 3 (all DE), AoE 4 and AoM: RT supporting offline multiplayer, fully cross-platform and portable
Go
744
886 commits
updated Oct 19, 2026
Age LAN Server (formerly AoE 2 DE LAN Server) is a web server (with its launcher) that allows you to play multiplayer lobbies without having an internet connection to the game server ensuring the game multiplayer functionality is still available even if the official server is in maintenance or is eventually shutdown.
Note: It is not strictly limited to LAN only.
[!IMPORTANT] You will still need a custom launcher to bypass the online-only restriction that is imposed by the game to being connected to the internet and Steam or Xbox Live, depending on the platform and version, to fully play offline. My other project provides the files and information to download a Steam Emulator and play 100% offline.
🎮 Supported games:
[!TIP] See more details in Questions and Answers (QA).
Note: Most of these do not apply to Age of Empires: Definitive Edition.
Admin rights or firewall permission to listen on port 443 (https) will likely be required depending on the operating system and configuration.
Note: For the full list see minimum requirements for Go 1.26.
Note for launcher: If you allow (and is needed) to handle the hosts file, local certificate, or an elevated custom game launcher, it will require admin rights elevation.
Note: An up-to-date (or slightly older) version is highly recommended as there are known issues with older versions.
See the releases page for server and launcher binaries for a subset of supported operating systems.
Note: If you are using Antivirus it may flag one or more executables as virus, this is a false positive.
Note: On macOS, downloaded binaries are quarantined by Gatekeeper and may be refused as unverified as releases
are not notarized. From the extracted download directory, run the following in the terminal to clear it:
xattr -dr com.apple.quarantine . (alternatively, right-click each binary and choose Open). Self-built binaries
are unaffected.
The verification process ensures that the files you download are the same as the ones that were uploaded by the maintainer.
..._checksums.txt and ..._checksums.txt.sig files...._checksums.txt file with the ..._checksums.txt.sig file...._checksums.txt with the downloaded archives.Exceptions on tag/commit signature:
Both the launcher and server work out of the box without any installation. Just download the archives, decompress and run them.
The server is simple web server that listens to the game's API requests. The server reimplements the minimum required API surface to allow the game to work with lobbies. Some requests are partially proxied to cdn.ageofempires.com and api.ageofempires.com and a request is used to get the public IP
Note: See the server README for more details.
The launcher allows to easily play the game in lobbies while still allowing the official launcher to be used for online play.
Afterward, it reverses any changes to allow the official launcher to connect to the official servers.
Note: See the launcher README for more details.
.exe files as
explained herelauncher/resources/config.<game_title>.toml file with a text
editor (like Notepad)
and modify the Client.Executable section to point to the game launcher path. In this case, you also need to modify
Client.Path to point to the game's directory.
You will need to use a custom launcher (plus what my
other repo provides) for 100% offline play.battle-server-manager/resources/config.<game>.toml file and point Executable.Path to the AoE II: DE
BattleServer.exe executable (it's portable), for example, 'S:
\SteamLibrary\steamapps\common\AoE2DE\BattleServer\BattleServer.exe'.launcher/start_<game_title> script: you will be asked for admin elevation and
confirmation of other dialogs as needed, you will also need to allow the connections via the Microsoft Defender
Firewall or any other.launcher/resources/config.<game_title>.toml and/or launcher/resources/config.toml files.
You will need to edit the Client.Executable section to point to the game launcher path if using a custom launcher
which you will need to use
a custom launcher for 100% offline play.start_... script.Note: If you have any issues run the bin/config revert -a.
battle-server-manager/resources/config.<game_title>.toml.start_... script.See DEVELOPMENT.md to see how to develop and release builds.
Important Notice:
This software is distributed under the AGPL (Affero General Public
License), which guarantees every user the right to use, study, modify, and redistribute the source code. The following
additional terms govern only the contractual relationship between the provider of the downloadable package and the user
who obtains it through this channel. These terms do not affect or restrict the rights granted under the AGPL, which
shall prevail over any additional restrictions when it comes to redistribution, modification, or access to the code.
By downloading and using this package, you agree to the following:
Disclaimer: This software is not affiliated or endorsed by any publisher or developer of the games.
135 followers · starred Sep 2026
124 followers · starred Apr 2025
388 followers · starred Apr 2025
97 followers · starred Apr 2025
Web Server (and its launcher) for AoE 1, 2, 3 (all DE), AoE 4 and AoM: RT supporting offline multiplayer, fully cross-platform and portable
Go
744
886 commits
updated Oct 19, 2026
Age LAN Server (formerly AoE 2 DE LAN Server) is a web server (with its launcher) that allows you to play multiplayer lobbies without having an internet connection to the game server ensuring the game multiplayer functionality is still available even if the official server is in maintenance or is eventually shutdown.
Note: It is not strictly limited to LAN only.
[!IMPORTANT] You will still need a custom launcher to bypass the online-only restriction that is imposed by the game to being connected to the internet and Steam or Xbox Live, depending on the platform and version, to fully play offline. My other project provides the files and information to download a Steam Emulator and play 100% offline.
🎮 Supported games:
[!TIP] See more details in Questions and Answers (QA).
Note: Most of these do not apply to Age of Empires: Definitive Edition.
Admin rights or firewall permission to listen on port 443 (https) will likely be required depending on the operating system and configuration.
Note: For the full list see minimum requirements for Go 1.26.
Note for launcher: If you allow (and is needed) to handle the hosts file, local certificate, or an elevated custom game launcher, it will require admin rights elevation.
Note: An up-to-date (or slightly older) version is highly recommended as there are known issues with older versions.
See the releases page for server and launcher binaries for a subset of supported operating systems.
Note: If you are using Antivirus it may flag one or more executables as virus, this is a false positive.
Note: On macOS, downloaded binaries are quarantined by Gatekeeper and may be refused as unverified as releases
are not notarized. From the extracted download directory, run the following in the terminal to clear it:
xattr -dr com.apple.quarantine . (alternatively, right-click each binary and choose Open). Self-built binaries
are unaffected.
The verification process ensures that the files you download are the same as the ones that were uploaded by the maintainer.
..._checksums.txt and ..._checksums.txt.sig files...._checksums.txt file with the ..._checksums.txt.sig file...._checksums.txt with the downloaded archives.Exceptions on tag/commit signature:
Both the launcher and server work out of the box without any installation. Just download the archives, decompress and run them.
The server is simple web server that listens to the game's API requests. The server reimplements the minimum required API surface to allow the game to work with lobbies. Some requests are partially proxied to cdn.ageofempires.com and api.ageofempires.com and a request is used to get the public IP
Note: See the server README for more details.
The launcher allows to easily play the game in lobbies while still allowing the official launcher to be used for online play.
Afterward, it reverses any changes to allow the official launcher to connect to the official servers.
Note: See the launcher README for more details.
.exe files as
explained herelauncher/resources/config.<game_title>.toml file with a text
editor (like Notepad)
and modify the Client.Executable section to point to the game launcher path. In this case, you also need to modify
Client.Path to point to the game's directory.
You will need to use a custom launcher (plus what my
other repo provides) for 100% offline play.battle-server-manager/resources/config.<game>.toml file and point Executable.Path to the AoE II: DE
BattleServer.exe executable (it's portable), for example, 'S:
\SteamLibrary\steamapps\common\AoE2DE\BattleServer\BattleServer.exe'.launcher/start_<game_title> script: you will be asked for admin elevation and
confirmation of other dialogs as needed, you will also need to allow the connections via the Microsoft Defender
Firewall or any other.launcher/resources/config.<game_title>.toml and/or launcher/resources/config.toml files.
You will need to edit the Client.Executable section to point to the game launcher path if using a custom launcher
which you will need to use
a custom launcher for 100% offline play.start_... script.Note: If you have any issues run the bin/config revert -a.
battle-server-manager/resources/config.<game_title>.toml.start_... script.See DEVELOPMENT.md to see how to develop and release builds.
Important Notice:
This software is distributed under the AGPL (Affero General Public
License), which guarantees every user the right to use, study, modify, and redistribute the source code. The following
additional terms govern only the contractual relationship between the provider of the downloadable package and the user
who obtains it through this channel. These terms do not affect or restrict the rights granted under the AGPL, which
shall prevail over any additional restrictions when it comes to redistribution, modification, or access to the code.
By downloading and using this package, you agree to the following:
Disclaimer: This software is not affiliated or endorsed by any publisher or developer of the games.
135 followers · starred Sep 2026
124 followers · starred Apr 2025
388 followers · starred Apr 2025
97 followers · starred Apr 2025