Current version on Steam
Out of the box in Wine 3.2, the in-game graphics will appear almost completely black, with only GUI elements being visible, including the main menu.
However, once fixed (as I explain in the workarounds section), the following things work:
Make sure to read the extra comments section for more detail regarding my setup
What does not
in-game graphics will appear almost completely black, with only GUI elements being visible, including the main menu.
When using i3, if you switch to another workspace and come back to ES2, the game will have frozen and appear miniscule at one corner of the screen, with only solution seemingly being to force quit it and restart the game
Once those are fixed, there are still two problems:
I have found no way to make the pre-rendered intro, planet colonization, or story movies play. They are simple .mp4 files found in the
Program Files (x86)/Steam/steamapps/common/Endless Space 2/EndlessSpace2_Data/StreamingAssets/Movies
directory that you can view with any video player of your choice, in or out of the wineprefix, but when in-game they either appear completely black and require a click from the user to dismiss (intro splash, then shows initial loading), the xml subtitles are displayed (outro cutscenes) but with no audio or video, or it simply displays the initial frame of the video but without playing it (colonization cutscenes).
Again, they can all be dismissed with a click.
In other games I have had no issue with Steam's overlay, but for some reason in ES2 it does not display under Wine 3.2, despite making sure gameoverlayrenderer wasn't disabled in the winecfg options
To fix the main problems mentioned above (almost completely black screen and workspace switching/alt-tabbing):
Disable GLSL shaders for the wineprefix you're using. To do this using winetricks, simply go to the wineprefix's settings, and select this option
glsl = disabled
To fix the workspace switching/alt-tabbing freeze, simply tell ES2 to be in "Borderless Window" mode through its video settings menu. Now it will play nicely with i3's own fullscreen/unfullscreen shortcuts, switching between workspaces with no crashes, etc.
What was not tested
I played this with the PulseAudio driver for sound
Gstreamer seems to need certain packages installed. I have the following on Debian Sid (+dependencies):
This was tested in a fresh 64-bit prefix (ES2 is a 64-bit-only game) under Wine 3.2
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Manjaro Linux||Feb 09 2019||4.0||Yes||Yes||Yes||Silver||SDN|
|Show||Arch Linux x86_64||Jan 29 2019||4.0-staging||Yes||No||No||Garbage||Tharbad|
|Show||Arch Linux x86_64||Sep 12 2018||3.14-staging||Yes||Yes||Yes||Silver||Tharbad|
|Current||Debian GNU/Linux Unstable "Sid" x86_64||Mar 02 2018||3.2||Yes||Yes||Yes||Silver||Ignacio|
|Show||Arch Linux x86_64||Nov 18 2017||2.20-staging||Yes||Yes||Yes||Silver||Darek|