Proton
Proton copied to clipboard
Age of Empires 2 (2013) (221380)
same issue as when people earlier tried to run aoe2hd with wine.
if you replace Launcher.exe with «AoK HD.exe» the game seems to launch and work perfectly.
Launcher.exe requires mfc140u.dll to run. Dropping it in game directory fixes the issue.
Confirmed the "partial" solution using the mfc140u.dll. However, the following problem happens:
1- When running without the dll file, the games freezes (then closes afterwards) with no message 2- After copying the dll to the Age 2 dir, the whole install process starts, but the install crashes right after installing the DirectX seven, closing the "load screen" again. 3- When putting the AoK HD.exe in place of Launcher, I get a error regarding a image failing to load in the textures folder. The game crashes after that
My machine is:
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Athlon(tm) II X2 270 Processor
CPU Family: 0x10
CPU Model: 0x6
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 3400 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Unsupported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported
AES: Unsupported
AVX: Unsupported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Ubuntu 16.04.5 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 4.15.0-32-generic
X Server Vendor: The X.Org Foundation
X Server Release: 11906000
X Window Manager: Compiz
Steam Runtime Version: steam-runtime-beta-release_2018-06-14
Video Card:
Driver: NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2
Driver Version: 4.5.0 NVIDIA 384.130
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x10de
DeviceID: 0x1380
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1366 x 768
Desktop Resolution: 1366 x 768
Primary Display Size: 16.14" x 9.06" (18.50" diag)
41.0cm x 23.0cm (47.0cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes: 2x 4x 8x 16x
Sound card:
Audio device: Realtek ALC887-VD
Memory:
RAM: 7975 Mb
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 250461 Mb
Largest Free Hard Disk Block: 40602 Mb
VR Headset: None detected
Recent Failure Reports:
env WINEPREFIX=$HOME/.local/share/Steam/SteamApps/compatdata/221380/pfx/ WINEPATH=$HOME/.local/share/Steam/SteamApps/common/Proton\ 3.7/dist/bin/wine winetricks vcrun2015
Running this winetricks command enabled things to work, although it seems hackish. The launcher buttons are also missing text.
Works fine for me, only thing I did was renaming the "AoK HD.exe" to "Launcher.exe".
This is a old knowm bug of aoe2 in wine (i was one of the bug trackers of this game in winehq.com) and yes just reanimg works. Go to the folder of the game and rename Launcer.exe to Launcher2.exe and Aoe 2.exe to Launcher.exe
BUT
There is also a bug with hdmi screen in laptop if using nvidia output, it just works perfect with intel card enabled using nvidia config, but if you run it in a laptop via hdmi with nvidia enabled it stucks.
And also there is a font flickering and a black background in writing areas problem easy to fix too.
In total are 4 BUGS, but you can play this game with the workarrounds.
Another bug for this game: cinematics do not play, could be related to issue #1464.
Don't know if this adds more info to this issue but i had to replace Launcher.exe with AoK HD.exe and add the NoStartup launch parameter for the game to launch.
Didn't tested online gameplay but as far as i could get Single player modes are running great. yay! Edit: Ok, online game is working :)
Running on: Arch Linux(k4.18) + AMD FX9370 + Nvidia GTX 6050ti + Nvidia 396.54-2 driver version.
@felisucoibi I also played this game via Crossover before and it worked really well, but after trying out this steam version (after renaming AoK HD.exe into Launcher.exe) I have a problem with elo - it reports that elo is out of bounds and it resets to 1600 after every game (regardless of winning or losing). Did you experience the same problem?
Also what is the workaround for black text on black background in writing areas so they become effectively invisible?
Yes, same problem here... the elo reset to 1600, i didnt say anything because i dont use it and i forgot to report....
There is not workarround for the black background when writing... never has been by now.
@felisucoibi
This is why I asked for workaround, I thought u were talking about that:
And also there is a font flickering and a black background in writing areas problem easy to fix too.
Cheers anyway, I hope someone will figure out the elo problem because now even my windows and Crossover installation is affected :-) Maybe I just have to reinstall everything there and it will go away, but I'm too lazy to do that...
Age of Empires II: HD Edition - game works with issues
Issue transferred from https://github.com/ValveSoftware/Proton/issues/1285. @hogar1977 posted on 2018-09-06T18:27:58:
Hi there, the game works if 'AoK HD.exe' is renamed into 'Launcher.exe' and nostartup is added into launch options. Issue 1: ELO system is not behaving properly - the game 'thinks' that elo is 0:0 and reports it as out of bounds at selecting multiplayer and after every played multiplayer game it tries to add/subtract elo points to/from 0:0 values which still makes them out of bounds and elo finally gets reset to 1600 every time. The game is completely playable except for the ELO bug in multiplayer. I play this game regularly via Crossover and the elo bug is not present there - I presume because the Steam client itself is part of the wine 'bottle' and it is the windows version of Steam client that is also emulated. Since elo system is tightly interwoven with the Steam client, I guess that's where the problem lies...
Issue 2: In-game chat windows - text is black on black background, so during typing of a message it's not possible to see it. This particular bug is wine related I guess... It exists in my Crossover installation and now it's also present in the Steam for Linux via Proton variant. Haven't found any solution for it until now.
Other than this, the game runs smoothly with no crashes... For me it actually performs better than on my Windows 10 machine (there I experience at least one crash per session of gaming and is somehow slower...).
I have also noticed that for some reason my achievements got reset. Only one awarded for finishing the tutorial is left, all I got in multiplayer are gone.
After swapping out Launcher.exe and replacing it with AoK HD.exe, the game runs perfectly on my system with the following issues:
- My ELO also resets itself to 1600:1600, claiming to be out of bounds at 0:0 each time I start the game.
- I receive the achievement "Dark Ages Rush or Early Adopter" each time I finish a game. This indicates that my achievement progress has been reset, and occurs every time I finish a game, making any progress difficult.
Replacing Launcher.exe with AoK HD.exe works for me.
I've played the first few tutorial games and it works like charm.
However, I noticed a problem when tabbing out of the game and back, the game keeps scrolling in one direction. Could only reverse this by restarting the game. It doesn't matter, whether I've set the game to window or full screen mode.
Tested on: Arch x64, GTX 765M @ 396.51, Proton 3.7-6 Beta.
@kforney I think the ELO problem comes from the fact that game is installed in wine environment and steam client is not. Therefore the game cannot access Steam API in a proper way - the elo cannot be read nor written properly after the multiplayer match is done (game tries to assign elo to 0:0 values and it ends up being out of bounds again and reset to 1600:1600). I think the achievements issue is the same thing... I play this game over Crossover (commercial version of wine) and I never had this issue. But in Crossover, both the Steam client and the game are windows emulated versions and part of the same wine bottle, so I guess the game has no issues in accessing the Steam API properly.
@ryad-eldajani Can you try to play a few online multiplayer matches, just to confirm the ELO 1600:1600 issue? Also, regarding the tabbing issue... I had that happen to me from time to time when I played over Crossover, but rarely (as far as I know this happens in Windows too). Does it happen to you every time? Also I am not able to Alt TAB at all when playing via Steam for Linux + Proton, but I am using Gnome DE. What DE are you using on your Linux machine?
Other than these issues, the game is more stable for me in Linux then it is in Windows - almost never crashes, while in Windows 10 I experience game crash almost every time I play (1 time per session of gaming).
@hogar1977 I noticed the tabbing issue appears, when scrolling the map using the arrow keys and afterwards tabbing out. If I scroll the map using the right click, cursor to window edge or click on mini map, it does not appear happen. I can confirm that I also have an ELO of 1600. I cannot say however whether this is correct or not since I've never played a ranked match before. I'm using Xfce 4.12.
Hi everyone. Linux fan and AoE fan here. I play this game with Wine for years, first the original version, then the steam version installing steam with Wine. Everything works fine except for the black background of text.
So, I just installed AoE with Proton, I had to rename AoK to Launcher.exe (something I never did when installing the game AND steam under wine) and... BAM, all my achievements and my ELO score are lost :(
I played a multiplayer game, and the error (score is 0:0) is still there. Now, I accessed steam from the website and can see my achievements definitely are lost. It's not that bad honestly but I mainly play online and see my ELO score to 1600 is very sad knowing how many games I won :p
(Also, I found the trick of renaming AoK to Launcher on this video: https://www.youtube.com/watch?v=TF1wPFRF_FI if someone with a Google Account can comment there to warn everyone about loosing all progress and ELO score in the game, that would be nice. I would definitely not have done that if I knew)
@Flaburgan I hope more linux aoe2 fans will decide to comment here, maybe we actually get someone assigned to deal with the issue. Because, the Steam client behaves better and more stable in this way then when it's emulated with wine... I also played this game via Crossover for a relatively long time, but if it would work with Steam for Linux it would be perfect. Before installing I read only about losing achievements, not elo. I guess if I knew about ELO loss as a certainty I would not have installed the game like this either. Other than the achievement and ELO loss the game could essentially be whitelisted...
@kisak-valve hi there, I noticed you moved my discussion into this thread... Do you have any relation to the valve proton dev team? Or just trying to moderate the Issues forum? This game has basically only one minor issue that needs resolving before it can be whitelisted... Any hope someone gets assigned to look into it?
@hogar1977 well in the last 24h AoE is the 49th game the most played over thousands of steam games. So it definitely is popular. I don't know how we can point that to valve's devs though.
@Flaburgan as usual the devil lies in the details... It might be 49th most played game, but how many of those are Linux users :/ ? I'm afraid not that many :( I just hope someone sees my rant and decides to do something about it tho :)
Hello @hogar1977,
hi there, I noticed you moved my discussion into this thread... Do you have any relation to the valve proton dev team?
No, I am not a Valve dev.
Or just trying to moderate the Issues forum?
Yes, I am a moderator for Valve's Github issue trackers.
This game has basically only one minor issue that needs resolving before it can be whitelisted... Any hope someone gets assigned to look into it?
The proton devs are actively listening to feedback and prioritizing what they consider most important, however, I will not single out any individual Proton dev or impose a priority system.
I went to collect a log file to try to see what was really happening, and noticed that my version of Proton was one too far back for the PROTON_LOG option to work. Updating Proton to the 3.7-6 Beta through Steam's options so I could get the log file had the side effect of resolving the issue. My achievements and ELO no longer reset every time I click "Multiplayer" in 3.7-6 Beta.
@kforney @Flaburgan @kisak-valve @ryad-eldajani
I can confirm that using Proton beta version fixes the ELO and achievement issue!!! Oh man I'm so happy with this. Now, if someone only was able to figure out the black text on black background (and I believe this is strictly wine issue that exists since forever) that would be perfect :) But this thing alone makes this game able to be whitelisted in my opinion. I don't know their criteria, but this game is perfectly playable right now. Crossover wine AoE2 HD bottle bye bye...
I can confirm after playing an online game that with proton 3.7.6beta the elo bug is gone. However, I still had to do the hack of renaming AoK to launcher
There is an option to bypass the launcher when starting Age of Mythology: Extended Edition. It would be nice if Valve added an option to bypass the launcher on Age of Empires II: HD Edition. The two are related.
Unfortunately, Valve has no control over that. That's an option that would have to be added by the developer...
so the problems with the launcher is that some functions from mfc140u.dll are not (fully) implemented in wine/proton? does anyone have a log indicating what is missing?
and the issue with input fields sounds like aoe2 is doing something weird with IME.
ok, never mind me, wine doesn't have any MFC implementation, so it will have to be shipped with the game.
edit; .. and it already installs the necessary runtime (so the dll is available in ~/.local/share/Steam/steamapps/compatdata/221380/pfx/drive_c/windows/system32/mfc140u.dll), but I guess wine needs to be told to look for the native version.