Open Dazarlin opened 5 years ago
With the latest beta of proton I got into the launcher which had the web preview missing (internet explorer related?). When I pressed launch I got the loading screen for less then a second and then it crashed. With lutris and winetrick I got it stuck at the same point, but after some more trying I ran coudln't get in the launcher anymore. system information: https://gist.github.com/thunder1410/76897c9bd211c74b30968baa4037ce96
I followed this guide on the paradox forum (all the credit goes to that user) and then I was able to run the game without any problem (I went through the tutorial and I started a new game). These are the steps I followed:
Install the game (I have the base game plus all DLCs)
Run the game and let the First-Time Setup install the prerequisites. The game will crash
Run
WINEPREFIX=${path_to_steamlibrary}/steamapps/compatdata/25890/pfx/ winetricks directx9 dotnet20
Check the Window Version and set it to Windows XP
with
WINEPREFIX=${path_to_steamlibrary}/steamapps/compatdata/25890/pfx/ winecfg
Create the key HKEY_CURRENT_USER/Software/Wine/Direct3D
and add the following string values: OffscreenRenderingMode
with value fbo and VideoMemorySize
with your GPU's memory in regedit
:
WINEPREFIX=${path_to_steamlibrary}/steamapps/compatdata/25890/pfx/ wine regedit
Always in regedit, create the key HKEY_CURRENT_USER/Software/Wine/DirectSound
and add the string value MaxShadowSize
and set it to 0
@ldenti
How did you manage to install dotnet20
?
It seems that the steam wineprefix is 64bit and the package doesn't support that.
[0] $> WINEPREFIX=~/.steam/steam/steamapps/compatdata/25890/pfx/ winetricks dotnet20
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180217 - sha256sum: 1b156c616174f41df79d72a90c52eb2b110c63a6e8ecb865d303a8f9f0908924 with wine-3.0-rc6 and WINEARCH=win64
Executing w_do_call dotnet20
Executing load_dotnet20
------------------------------------------------------
This package (dotnet20) does not work on a 64-bit installation. You must use a prefix made with WINEARCH=win32.
When I'm running the game from steam it always tries to install the net framework 2 with some wizard but fails immediately after clicking next with "This product is already installed as part of the operating system". And for some reason the application does not continue launching but stops.
@lenzls I managed to run hoi3 on my Xubuntu 18.04, mostly following these instructions.
A few noteworthy points:
The forum suggests downloading winetricks
directly instead of using apt install
.
This was important for me as winetricks
in apt is too old for 64-bit dotnet20.
I used https://wiki.ubuntuusers.de/winetricks/ to download a modern winetricks
instead.
When calling winetricks dotnet20
, the DotNet Installer asked me to Repair or uninstall dotnet. I chose repair and it worked.
After Step 6, I had to call
WINEPREFIX=${path_to_steamlibrary}/steamapps/compatdata/25890/pfx/ winecfg
again and go to the libraries
tab and remove devenum.dll
and quartz.dll
After this, the game runs fine. I played a few hours of Soviet Union and it seems to work.
@tobiasheineken I'm now a step further, since installing dotnet20 now worked with the newer winetricks as you said.
But mine still crashes immediately after startup.
```
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00abba63).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00abba63 ESP:0032f4d4 EBP:0032f5c8 EFLAGS:00210287( R- -- I S - -P-C)
EAX:00000000 EBX:00000000 ECX:02732090 EDX:00000001
ESI:0032f4e0 EDI:00000010
Stack dump:
0x0032f4d4: 027215a8 0032f748 00000000 015fce98
0x0032f4e4: 015a7be4 02731e08 00000000 00000000
0x0032f4f4: 0032f4ec 0032f4f0 00000000 00000000
0x0032f504: 0032f4fc 0032f500 00000000 00000000
0x0032f514: 0032f50c 0032f510 02732900 00000000
0x0032f524: 00000004 0032f58c 02232390 022347c8
Backtrace:
=>0 0x00abba63 in hoi3_tfh (+0x6bba63) (0x0032f5c8)
1 0x00630b79 in hoi3_tfh (+0x230b78) (0x0032f930)
2 0x00a5a02f in hoi3_tfh (+0x65a02e) (0x0032fe30)
3 0x00b98834 in hoi3_tfh (+0x798833) (0x0032fec0)
4 0x7b469cc2 call_process_entry+0x11() in kernel32 (0x0032fed8)
5 0x7b46b51e in kernel32 (+0x4b51d) (0x0032ffd8)
6 0x7b469cce call_process_entry+0x1d() in kernel32 (0x0032ffec)
0x00abba63: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (112 modules)
PE 330000- 336000 Deferred lua51
PE 340000- 369000 Deferred lua5.1
PE 370000- 396000 Deferred tbb
PE 3e0000- 3f2000 Deferred tbbmalloc
PE 400000- 1cae000 Export hoi3_tfh
PE 10000000-101e5000 Deferred d3dx9_42
PE 3b400000-3b41f000 Deferred steam_api
ELF 7a800000-7a939000 Deferred opengl32
@lenzls What precisely do you mean by "after startup"? I'm able to get to the main menu now (game itself, not just launcher), and I'm able to start the soviet campaign when Barbarossa starts.
I'm not able to start Japan or Germany. Which is - weird. But I'm working on it :)
Applied all of this (and more!) from whatever I could find on the web. Same end result - crash after a few seconds of intro music and the first image shown (basically same as what lenzis and others here have been reporting). Tried both latest and the previous version of Proton.
Running latest Manjaro.
I am having the same issue as mineturtle36 and lezis. I remember the game did work on wine about two years ago (when I used Mint, and since it ran on wine it should probably run on proton) but I tried it against now with Manjaro and it doesn't work, neither on Wine or Proton. I suspect that it has something to do with the OS difference, probably some library version or something like that.
I can confirm the problem. I've tried all the guides I've found on the internet even ones almost 10 years old.
I was using the latest WINE from WINE HQ official repository (5.0.1) and latest winetricks.
The game launcher stars without any glitch or something after @ldenti 's guide. The game crashes just after loading screen appears and plays few seconds of music. The loading mouse icon also appears and moves as expected.
I've also tried to follow @tobiasheineken 's points but my Library list at the winecfg doesn't have devenum.dll nor quartz.dll. I've tried to install directmusic and/or quartz and tried both those DLL enabled and both disabled/removed.
Latest Wine is 5.15.
@mozo78 latest stable
is 5.0.2 now. 5.15 is development release.
Try with 5.15, there are many improvements since 5.0.
Try with 5.15, there are many improvements since 5.0.
@mozo78 Mate we are trying to run it through Proton not through pure WINE. You seem like have no idea what we are trying here.
I was using the latest WINE from WINE HQ official repository (5.0.1) and latest winetricks.
@mozo78 Mate we are trying to run it through Proton not through pure WINE. You seem like have no idea what we are trying here.
Yeah :) And you can use Steam games with Vanilla wine if you don't know by accident. And I know very well what you are doing, believe me: https://www.youtube.com/c/NikolayStefanovkaminatadotnet
@mozo78 I know. This is Proton repository. I'd report the issue WINE repo otherwise.
I just suggest to try it to know if the problem exists on Wine too.
I just suggest to try it to know if the problem exists on Wine too.
Already working on it. Will report if situation changes.
I just suggest to try it to know if the problem exists on Wine too.
Already working on it. Will report if situation changes.
insert 'well, we're waiting' meme here
Any luck?
@mineturtle36 unfortunately no luck. Still looking for a solution. This is the greatest game ever made for WW2, very unfortunate for us.
The error is related to d3dcompiler.
fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
found in the logs just before the crash.
Winetricks d3dcompiler_42/43/47 didn't help with the proton.
But I've managed to run the GOG version in 32-bit prefix with this report I just add d3dcompiler_43 winetrick after the guide.
I guess 32-bit prefix might be a must to run the game properly. #449 would help really.
Thanks @thiras. fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported
points towards https://bugs.winehq.org/show_bug.cgi?id=37676.
I tried again after the Steam Deck has been around for a while now - and Hearts of Iron III (Vanilla with all expansions) starts and works without problems. I tried to crash it by torturing the game engine a bit - but couldn't do it. Awesome!
protontricks d3dx9 and d3dcompiler_42 are mandatory, otherwise we crash on startup (same as before). This is mentioned by multiple users over on https://www.protondb.com/app/25890
This bug can be closed I guess.
However, there is a performance problem. When loading the list of commanders the game seems like it is loading the whole list every time from scratch - each time taking ~5 seconds - which gets very annoying very fast. On Windows on the other hand it takes ~5 seconds only the first time, and then it is seemingly cached somewhere - resulting in almost instant reaction for the rest of that session.
I have tried it on a 32bit prefix too (with dotnet20 installed) but the same issue exists there. The workaround is to delete ALL leader images from */Hearts of Iron 3/gfx/pictures/portraits/ - which is 17697 assets wasted.
There must be a better way. Should I open a new bug?
Hello @mineturtle36, we're using one issue report per unofficially supported game title. This is the right place for all feedback related to running Hearts of Iron III with Proton.
The game is read as "Running" for a second or two before closing with nothing actually opening.
Here's the log: steam-25890.log
Here's my system info: https://gist.github.com/Dazarlin/1fe5b3d929f71f1f3f598c5b99d0c262