-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Age of Empires: Definitive Edition (1017900) #2995
Comments
info: Game: AoEDE_s.exe |
I can reproduce a crash related to media foundation here: I will have a try to add some stub implementations of these to see if it help. |
I'm trying to fun this in Debian in Crostini and it's telling me that it couldn't initialize Direct X 11 is there anything extra I need to set up to get it to recognize DX11 with Proton? It never gets past there and just closes. |
Hello @Krutonium, @LinkofHyrule89, Proton uses DXVK to translate DirectX 11 to Vulkan, it failing to initialize usually indicates that your system does not have a working Vulkan driver installed or your hardware does not support Vulkan. You can use any simple Vulkan application like Alternatively, you could try adding |
Welp, I completely forgot to install the Vulkan libs on my system. Thanks for the pointer! |
At a minimum, not only does making this work require implementing https://docs.microsoft.com/en-us/windows/win32/api/mfobjects/nn-mfobjects-imfdxgidevicemanager |
This is failing to play the intro video and I am told in IRC that the |
The workaround from here might make it work: However, that person appears to be transplanting the entire Windows Media Foundation component from a working Windows install into Proton. A more lightweight workaround (or patches that make it work) would be desirable. |
Just as an update to my own commend. I discovered that Crostini doesn't currently support Vulkan in Virgl GPU Acceleration. So I submitted a bug report on their side so hopefully, this can be corrected in the future so that Vulkan works correctly on Linux apps for Chromebooks. Good luck getting the rest of the issues sorted out so AOEDE can hopefully run on Linux in the future thanks for your hard work :) |
I've tried transplanting dlls, but that doesn't seem to work. Just to note I haven't tried doing anything else in that comment which is why I probably didn't get anywhere. But anyway: First I got |
@telans You need to use the Windows 7 versions and set certain registry entries. There is a special version of winetricks that does this: |
I've used that version and installed However, now I actually get to the splash screen (AoE poster), and I also now get a fullscreen black window with the DXVK hud. |
@telans Please post your proton log. |
There are quite a few messages about the d3dcompiler, which would explain the black screen. Try using proton tricks to install d3dcompiler_43. That might not be the right version. If it is not, the other options would be d3dcompiler_42 and d3dcompiler_47. |
Unfortunately none of them have helped. What I find weird is that wine throws |
@telans Those are bad too. However, the stack overflow is in BattleServer.exe. That appears to be related to networking, so it should not be vital for rendering. The stack overflow is likely from BattleServer.exe too. At least, there is no process with thread id 003c printed in the list prior to it. The later: Would you post an updated proton log from your prefix from the run with the various d3dcompilers installed? |
@telans Upon closer inspection, it looks like my guess last night picked the wrong component. The NULL pointer dereference is occuring in Also, I am not sure what binary contains the code where the stack overflow is occurring. I don't see code being mapped into a region that contains 000000007bcae49f. Unfortunately, there do not seem to be any hints about what to do next in the proton log. :/ |
Okay, so the InputSystem_w32.dll problem seems to be due to the game needing the Win32 Text Services Framework. Unfortunately, using winetricks' msctf.dll installation isn't enough to stop it crashing. Fortunately, the game does start correctly if the code that calls into InputSystem_w32.dll's TextServicesFrameworkManager_get() function is patched out (in particular, the calls to the object returned by that function need to be patched out, rather than the calls themselves). [Edit: Also nopping out 7 bytes at 0xcadde is sufficient to fix the crashes. The game now works pretty well, except for keyboard input, which doesn't work at all (no hotkeys, no text input — so saving doesn't work). Otherwise, the game works pretty well.] |
Does the keyboard work before changing 0xcadde? |
Alas, no: without the change at 0xcadde, pressing any key will crash the game. Apart from the keyboard, though, the game is pretty stable and playable. I haven't had a chance to test multiplayer, yet, but it looks promising: the XBLA account stuff doesn't seem to work, but otherwise the Steam-based lobby seems to. [Edit: Hotkeys work with nopping out two bytes at 0xCADE7. This doesn't fix text input, so still no saving.] |
is there any howto to apply these workarounds? |
Use a hex editor or some related tool on the game's exe |
sorry for asking, it was so obvious, that this edit include the winetricks and everythink else mentioned in here ..... |
With all the hype with aoe2DE, this game seems to have been forgotten. I have a few questions about running this:
|
To the best of my knowledge:
Hope that helps, even if it's not all good news. Alas, AoE2DE seems to actually be quite different from this game in the parts wine has trouble with, so fixes for one are unlikely to help the other much. |
Now with the newest Proton and Proton 4.15-GE-4 the game is starting ( I think Microsoft changed something) The game is running fine but there is no audio |
game starts without a problem but no intro sound and everything works fine. but when i start a game the campaign or custom map the game crashes without any error poping up. weirdly tho it worked once and the game itself was running smoothly. |
Game CTD after splash screen today after a lot of arch updates. Was previously working perfectly with Proton Experimental for at least a month or so. |
Huh… I can reproduce the crash with Proton Experimental on (K)Ubuntu 21.10 (under nVidia/Wayland), and it seems to be related to mf, as using the "nostartup" command line parameter fixes it. Maybe it's an issue with a Proton Experimental update? |
Could be, I just switched to 6.3.8 from experimental and it worked again. (R7 3700X, 5700XT EndeavourOS) |
@bradgy @sulix Thank you reporting this! We switched some stub logic for MFCreateDXGIDeviceManager around so its "off by default" instead of "on by default". We'll add this game to the stubbed list for now, so it should be working again with the next experimental release, and get to work on the "real fix" - this is exactly the type of thing we were hoping to catch :D |
Cheers — I can see the workaround here, and confirm it's working again under Proton Experimental on my machine, without the |
The game works pretty well for me, in general, in Proton 6.3.8. However, it has happened to me already a few times that when I try to save a game, but renaming a previous save game, the game crashes while loosing all my progress on that game. Saving works perfectly fine, as loading previous saved games. The issue is only when renaming a game at the moment of saving it again. Deleting previous saved games works too. This is my setup:
|
Ah yeah, thanks for reminding me, I noticed this too. Finished the game now, but from memory it only crashed at the save screen when I hit my arrow keys? If I just started typing the new save game name file while it was highlighted in the text entry field, I could avoid a crash. EndeavourOS, R7 3700X, RX5700XT, 32GB, proton experimental |
Thanks for the tip! I hope to remember it the next time. It was sad to lose an hour of campaign game. |
Hello all, I'm trying to run Age of Empires : Definitive Edition under Linux (Debian Bookworm Sid). I've two GCUs: Device-1: Intel HD Graphics 530 driver: i915 v: kernel and start from console via primusrun steam. I've tried several proton versions, so far without success. The game doesn't start. I attached the output of my console as txt file (how can I create a full system information report?). Apparently libGL.so.1 isn't found. However, there is a /usr/lib/x86_64-linux-gnu/libGL.so.1 ! Does ELFCLASS32 mean this is a bit 64 <-> bit 32 problem? What can I do? Thank you in advance! |
Hello @LysirisMalven, primus is known to be unreliable when used with the Steam Linux Runtime - Soldier container environment (https://github.com/ValveSoftware/steam-runtime/blob/master/doc/steamlinuxruntime-known-issues.md#-multiple-gpu-systems). It might be worthwhile to look at setting up NVIDIA's PRIME Render Offload (https://download.nvidia.com/XFree86/Linux-x86_64/470.103.01/README/primerenderoffload.html). |
Oh, that is interesting, thanks!
I've a NVIDIA GeForce GTX 965M/PCIe/SSE2 and found the tip that starting with |
Hello all, I now changed to proton version 5.13-6 and now it works!! |
This is definitely still happening. There's a crash somewhere deep in It's a pain to debug because Here's a Proton log w/ +msctf. It crashes just after:
Hacking |
I may have found a possible fix for the LAN multiplayer issues here: at the very least, the LAN button now shows up and seems to work. It looks like the issue is that the UDP socket being used (which, at least on my version, isn't a dup() of the TCP one) is failing to In any case, a hack to make all UDP sockets
|
@sulix i'm really glad you love this game. You are the best issues solver! Everytime i have an issue with this game, it popup your solution! Amazing! |
Hello! Is anyone still looking into this? The game doesn't launch for me. I tried various versions of Proton from Experimental down to 6.3. My System Information is: |
Still works fine here (with Is there any error message / something suspicious in the logs / issues with other games? |
I have tried using Proton Experimental bleeding-edge (with How can I check logs? |
Note that this file is often very big, so you'll definitely want to upload it elsewhere (as a GitHub gist, for example), or (carefully) edit it down if you're confident you've found the cause. Age of Empires DE also stores its own logs in: These are often less useful than the wine logs, but can be helpful for some issues. (You can create a |
Wow! Thank you @sulix for these detailed instructions. I added Lines 919 to 922, 1167, 1169, 1170, 1174, 1400 and 1401 are colored red to me. I hope it helps if I'm pointing this out, maybe it's easier to track the issue(s). |
Thanks — it looks to me like Steam failed to load properly:
Make sure you're running the game from Steam — ideally using the Steam link, not one added via the 'Add a non-steam game' option, and that Steam is logged into the account which owns the game. Also, there's a crash with |
Yes I am running the game as a non-Steam game. Hmm.. so it's my fault from not getting it from Steam. Damn it! : ) Thank you for the assistance! : ) |
Same here. A workaround is to use |
Sounds interesting, but where can I find the file I have to edit, please? |
@LysirisMalven |
I also have this issue on openSUSE tumbleweed (KDE) using proton-9, the Operating System: openSUSE Tumbleweed 20240722 |
Compatibility Report
System Information
I confirm:
======================
Proton: 1561645030 proton-4.2-9
SteamGameId: 1017900
Errors (I cant paste here because of the "Comment is too long (maximum is 65536 characters) Error": https://gist.github.com/gcavalcante8808/46146866096ba70d56a9607cc1a7c77e
Symptoms
The gamejust Crahes and wont open.
Reproduction
Install and try to run the game.
The text was updated successfully, but these errors were encountered: