Get the latest tech news
Web Server for AoE 1, 2 and 3 DE supporting LAN multiplayer 100% offline
Web Server for AoE 1, 2 and 3 DE supporting LAN multiplayer 100% offline - luskaner/ageLANServer
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. The server reimplements the minimum required API surface to allow the game to work in LAN mode. (Optional) Use an isolated metadata (except AoE I) and profile directories to avoid potential issues with the official game.
Or read this on Hacker News