Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the curious, the protondb front page gives a pretty good overview of the state of Linux gaming:

https://www.protondb.com/

Scrolling to Medals, 50% of all 25.000+ games tracked by the site are playable, either working perfectly or mostly (Platinum or Gold ratings). Another 20% can be alright under specific circumstances, and with compromises (Silver rating).



AoE2:DE has a gold rating, but multiplayer doesn't work at all, and it's not even due to anticheat.


Did this change recently? I haven't played in a month or so but it's been working great for around a year now for me.


It's been waffling back and forth but always had a "gold" rating even when I verified it was broken. I haven't tried recently (haven't really played video games in years), but there's a comment from 5 days ago saying it's broken again.

At some point, Proton users reported success using some patch, then that stopped working, then there was a different patch... A lot of user reports say "thumbs up" then have a comment explaining how it goes out-of-sync unless you fiddle with it, so it's hard to trust.

Seems the root of the problem is this game's picky netcode, which is similar to the original 1998 game I played as a kid. If your game state diverges from the other players' at all, it goes oos and ends the game for everyone. And yes this happened often enough that people had an abbreviation for it.


I worked on this problem for a bit. What's going on is the game relies on the OS-provided C runtime libraries ("msvcrt"-style things) to do its math. Wine's implementation of these libraries does not match Windows's perfectly. If all players are using the same implementation, then they will agree, and there are no problems, so people think it is working. But if a player on Wine tries to play against a player on Windows, they will fall out of sync because the math errors eventually add up.

That was as far as I was able to take it. Another much more skilled dev at CW dug in a lot deeper and wrote a blog post about it[1], but as far as I know the problem remains unsolved.

[1] https://www.codeweavers.com/blog/rbernon/2022/9/12/ucrtcring...


Oh interesting, I always wondered what the underlying issue was and why downloading some obscure looking dll solves it.

For a practical solution, just using the Windows dlls seems to work fine. Without AoE2:DE goes out of sync immediately, with I've played hour long games.


Oh wow, thanks for sharing. I knew it was an oos but didn't think a math lib specifically was the issue.


I remember it being interesting to work on. It's been years, but if I remember right, there is some way to convince the game to dump a log of unit positions during a multiplayer match, possibly as part of its desync handling. I enabled that on both Win & Linux hosts, ran a match between the machines until they desynced, and diff'd the game's own logs, then confirmed from the Wine logs that the faulty values were coming from CRT-related math functions. It's always fun when you get to use a game's own debug utils to track down a problem.

Anyway it'd be great if the game devs included their own math libraries instead of relying on the OS's. That would fix the problem quite nicely.


Do you know if the code from the blogpost you mentioned is publicly available? I don't think I could find it but I'd love to give it a try


I don't, he did that work after I left the job. You could email Rémi or hop into one of the Wine dev channels to start up a conversation.


It's been several months since I played but getting ucrtbase.dll always worked for me and it was the only thing I ever had to do for the game. You need to redownload it after every update because it gets wiped though.

Oos can till happen, but as you said it can also happen on Windows, hard to blame Wine for that.

Since gold means "works as good as Windows with workarounds" I think that's a correct rating.


I can only testify to oos being common in the Mac version of the original game, and I've heard it happening in the og Windows game. In DE under Windows, I've never seen it happen, so I'd be concerned if you're still seeing it occasionally.

Also, "gold" should mean that it works by default, not that you have to patch in a DLL. The only place the site even says "playable with tweaks" is in a tooltip if you hover over the gold symbol, right above a separate list of details that doesn't mention tweaks. I didn't even know until now.


I've got it from here: https://gitlab.winehq.org/winehq/appdb/-/wikis/Rating-Defini...

We can argue all day over what a rating means, but if it would work without a tweak I'd say it should be rated platinum. (The only other thing I know is missing is Xbox live login, but I don't really care about that)


Yeah there's a lot of random issues with the different games. In case user experience is the main goal, I always recommend going with the main supported ways, which in this case would be Windows 11. I personally try things first on my Linux, but I always keep a backup Windows just in case.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: