Linux compatibility improvements @Devs

Discussion in 'Suggestions' started by ToetjeNL, Nov 17, 2021.

  1. ToetjeNL

    ToetjeNL Villager

    Joined:
    Nov 17, 2021
    Messages:
    1
    Likes Received:
    2
    Trophy Points:
    1
    Hello all,

    Recently I have been working on getting the game run trough "Steam Proton" and Wine + Lutris for Linux users, The state of the project is that the game is fully working on Linux trough Proton and Lutris+Wine, the installation is quite simple. Toetje585/Age-of-Empires-Online-Lutris: Adds Age of Empires Online on Lutris Game Platform and so enabling the game to work under Linux! (github.com).

    Proton (a Wine fork) enables us to download the game trough Steam client on Linux, patch it using .NET Core "Gamescanner" by "martinmine" and use Protontricks to automatically change "AOEOnline.exe" to "Spartan.exe". Valve is doing a great effort improving compatibility on Linux allow more people to enjoy games on the Linux platform. My first indication is that this game will be fully playable on the Steamdeck devices regardless of how un-practical this might sound. The Steam runtime is quite powerful on mapping mouse/keyboard buttons and emulating mouse movements on touch and or joystick tumbles. And of-course in "Docked-mode" you can use a keyboard/mouse regardless. However putting the steam-deck aside I would like to suggest some changes that I cannot implement myself sadly due the "lack" of skills writing code in any of the cross-platform programming languages.

    Currently users cannot create a game account on Linux due the heavy .NET Framework requirements of the launcher, while .NET Framework 3.5 runs great under Wine anything above this is a bit a hit and miss. In order to workaround this issue a new cross-platform launcher would be needed or perhaps allow game account creations trough the website. Sadly as much I would love to write this by my own I sadly can't as I don't have any programming skills outside simple bash scripts.

    Currently the Linux version has the following downside:

    - No account creation is possible
    - Ports 1000-1005 are restricted to the root user only.

    As you can see, those two are making the game unplayable unless you created a account before on Windows, and for the restricted ports you can use a tool "setcap" to connect to the servers regardless. However as for now this means new Linux users are not able to play the game, while my personal believes are we might actually get a few new players if we make the approach playing more simple and straightforward. So I would love to get some help or at-least some feedback on this part, perhaps some of you have idea's to work around this and or perhaps some of the developers can give some kind of feedback on my idea, and perhaps then once the steam-deck releases we can have AOEO playable and be the first community driven game available on this new device, but please keep in mind this would allow the game to be playable for new users across all Linux distributions.

    Best Regards,

    Discord: TerrorToetje#2457
     
    Libavius and matze like this.
  2. Loading...

    Similar Threads - Linux compatibility improvements
    1. Breakeridis
      Replies:
      0
      Views:
      1,697
    2. Adval
      Replies:
      1
      Views:
      1,194
    3. YamSork
      SOLVED

      Linux

      Replies:
      7
      Views:
      4,604

  3. matze

    matze Villager

    Joined:
    Jan 10, 2022
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Thx for your great work, to get this running over lutris! Really easy to install and run this game from linux now.

    I think the port problem is really a thing to hold off linux users from playing this game. Using setcap is a real mess and brings a lot of other Problems even starting the game.

    I got this problem fixed with a sysctl setting I didnt even know it exists.

    sysctl net.ipv4.ip_unprivileged_port_start=1000

    https://sysctl-explorer.net/net/ipv4/ip_unprivileged_port_start/


    not a perfect workaround, but keeps the game running from lutris with click&play.

    leaving the privileged port range in aoeo would be much nicer for less experienced linux users to join this project.

    Greetz
     
  4. Libavius

    Libavius Villager

    Joined:
    Apr 14, 2022
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
  5. Joseph Rodelero

    Joseph Rodelero Villager

    Joined:
    Jul 29, 2025
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Just wanted to post an update to this thread, in case anyone else has attempted to get this running on Steam OS / Steam Deck as I have this whole week and google searches this post and sees a reply that maybe could help them out. Learning about Wine, Protontricks, attempting Lutris, all a no-go for. (attempted to ask in Discord got a helpful reply but couldn't seem to get it running.
    +Attempted Stand alone install, via steam link direct install, then celeste launcher .zip correct instructions. Able to game scan , patch and convert to steam game, but when pressing Play, button is pushed but returns to being unpushed with nothing occurring.
    +Attempted Lutris installation. This I learned automatically installs the correct .net frameworks needed, and other dependencies. Completeing this installatoin, creating a "phantom" Windows folder C:program files etc, managed to get it linked to steam within Lutris but pressing play , if it does launch the Celeste Launcher, cannot correctly display or convert to steam game or patch without error. Attempted changing configure within Lutris AOEO icon to 32bit, STEAM prefix, WINE prefix, standard Linux to no avail. Lutris was a no go
    +Original attempt was clean steam install, Celeste in the game folder (common steamapps etc) run, convert to steam game, convert, everything completed succesffully but when pressing Play, nothing occurs.
    +On reseraching other posts online, I attempted to try Spartan.exe , to no avail.

    +IMPORTANT NOTE:
    The first, manual classic way of installing (Steam Install, then celeste launcher zip within the folder) DID launch, after game scan and convert, AOEO and brought the loading ship screen, but upon entering the game and the main music playing, no visuals were displayed. I was able to click buttons on the screen with their corresponding sound effects, but I could not get any display to show.

    This post I guess Is to put down my attempts , and invite any workarounds with anyone else who is using a Steam Deck and STEAM OS desktop mode to get this to work. The problem is I am a novice user and so the protontricks/wine terms I learned to try to get AOE O to work, as a novice it is harder for me to attempt workarounds I am seeing that are extremely in depth as I am not extremely familiar with Steam OS or the linux type it is.

    Thanks everyone!! and Thank you Celeste team!!!!
     
  6. Joseph Rodelero

    Joseph Rodelero Villager

    Joined:
    Jul 29, 2025
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Update, got it running on Steam OS (steam deck)
    I was VERY helpfully helped by SonicFlare who explained how wine prefixes worked, and the 4 required Windows DLL or components to install, and launching the Patched (Celeste) Age Of Empires Online.exe in protontricks, and using GE 10.0 compatibility as well.
    Don't have Music but just thankful I'm playing this now!
     
  7. Ardeshir

    Ardeshir Immortal

    Joined:
    Apr 8, 2019
    Messages:
    998
    Likes Received:
    533
    Trophy Points:
    93
    Set up a play list in a media player like VLC with all the game music and play that in the background maybe? I do that when playing from windows so I get random tracks that don't cut out mid loading screen
     
    Joseph Rodelero likes this.
  8. Joseph Rodelero

    Joseph Rodelero Villager

    Joined:
    Jul 29, 2025
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    UPDATE:

    Thanks to SonicFlare - after tinkering with wine prefixes and different types of installs, I as a Steam Deck (STEAM OS) user got this working. For other hard-headed newbies to STEAM OS that need to be walked through, and couldn't figure it out from the normal linux instructions, I'll try to recreate the steps if you come across this post having issues (like No Music or the Quests reading back an error upon loading)

    1. Install LUTRIS (Yellow Icon with a ferret) from the DISCOVER STORE. You should have this preloaded, search in the steam deck icon. Install and run

    2. MANUALLY press File> SEARCH THE LUTRIS WEBSITE FOR INSTALLERS

    3. Type "Age of Empires Online" (2011) and begin install setup. Stop at the next page.

    4. The media flare links wiill not work, at least not mine. (the install program)
    Instead of telling it to Download and Install automatically, first outside of Lutris download this file (the problem may be an issue with the default browser, insecure download, eithe way:

    http://download2026.mediafire.com/pgclu3ngji8g/afo6kcizm5qhl4e/AOEO_Installer.zip

    and Celeste Installer it asks - download this as well

    https://github.com/ProjectCeleste/Celeste.Launcher/releases/latest

    Download these both into your Downloads folder or something

    5. Go back to Lutris, (we're still installing) and change "Download" options for both and point to those 2 files you just downloaded on your drive and let it run its magic.

    6. Now here's the part you need to insure are installed with it (without them you'll have errors ) these may or may not be installed with the installer you just installed via Lutris, I can't remember as I tried to do them indivually. But click to the right of the WINE GLASS ICON, the arrow for options, the installed AOEO in Lutris, and select "WINETRICKS"

    When the dark window pops up, select "Start a new Wineprefix" click "SELECT NEW COMPONENTS/WINDOWS DLL"

    7. Ensure that " corefonts " is selected to be installed in the...

    "Install a new font" menu.

    Now make sure that in the main windows components/DLL window, you have selected these:



    dotnet35sp1
    dotnet48
    mfc42
    l3codecx
    msxml4
    vcrun6
    vcrun2005
    vcrun2008
    vcrun2022
    directplay
    d3dcompiler_43
    d3dx9

    corefonts (in font menu not this one)

    Now click OK, and unlike me trying to individually do this in my own wine predix menu, they should ALL install correctly. Just let them automtically point to your C: PRogram Files 86/Age of Epires Online default folder path if it asks, you shouldn't have to change anything.


    WHen it's installed, there you go!

    SPECIAL NOTE: This stuff may be super simple to some folks, to me as a fairly new STEAM OS user a lot of this was brand new to me in concepts, so this post is more for people like me that wanna relive 2011 and not so much for people who have a handle on Linux/STEAM OS. Thanks

    THANK YOU SONICFLARE!!!!!!!!!!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice