Skip to content
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

[Wine] Stronghold 2 (40960) not start #506

Open
llikeitt opened this issue Aug 25, 2018 · 2 comments
Open

[Wine] Stronghold 2 (40960) not start #506

llikeitt opened this issue Aug 25, 2018 · 2 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues .NET Uses the .NET framework

Comments

@llikeitt
Copy link

llikeitt commented Aug 25, 2018

Steam - System Information

steam-40960.log (with FFLauncher.exe)

I tried to rename Stronghold2.exe to FFLaucher.exe but no success.

steam-40960.log (with Stronghold2.exe)

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 25, 2018
@zzhiyi
Copy link
Contributor

zzhiyi commented Jan 12, 2019

$ STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/40960 ~/.steam/steam/compatibilitytools.d/proton/proton run ~/.steam/steam/steamapps/compatdata/40960/pfx/drive_c/windows/system32/winecfg.exe
And set msvcr100.dll and msvcp100.dll to builtin.

And FFLauncher.exe is a .NET application. Since proton doesn't have mono support yet. You need to rename rename Stronghold2.exe to FFLaucher.exe, then it will launch.

$ file msvcp100.dll
msvcp100.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
$ file FFLauncher.exe
FFLauncher.exe: PE32 executable (GUI) Intel 80386, for MS Windows

So it seems to be the game is installing a msvc runtime of wrong architecture. On Windows, there is a dll architecture check[1] when loading dlls, whereas wine currently loads the first found.

[1]: Windows Internals # Known Dll Redirection

@kisak-valve kisak-valve added the .NET Uses the .NET framework label Jan 12, 2019
@zzhiyi
Copy link
Contributor

zzhiyi commented Jan 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues .NET Uses the .NET framework
Projects
None yet
Development

No branches or pull requests

4 participants