Nos, would you be willing to provide a step-by-step wine tutorial for this game? As you're aware, myself and several other players have been begging for Styg and his team to port to Mac/Linux for forever (there are tons of solutions, it's not that hard and most of us are willing to give them money to do it, to no avail) and it's still super unlikely we will ever see it happen. I've offered to pay for someone to just figure out how to make the wineskin work properly and put it up for download or write a detailed tutorial. I backed this game way back in the Desura days and have only played it for maybe an hour or two here and there on my girlfriend's laptop. Hook us up and I'll be happy to Paypal you some cash.
This step-by-step guide is for Gentoo with Xorg and GOG version of underrail.
So commands related to package installing will be different for your destribution.
If you doesn't using X.Org X Server, than separate xsession trick is obviously unavailable to you.
0) you need wine with 32bit support, on gentoo you can install it like this:
echo "app-emulation/wine abi_x86_32" > /etc/portage/package.use/wine
emerge -av wineOn another distribution you must find required steps yourself.
1) We will be using separated wineprefix for this game, so we are making directory for wineprefix and setup environment. In this example wineprefix path is in
/home/nosferatu/.wineprefix/underrail, you can choose anything you like instead:
mkdir /home/nosferatu/.wineprefix
export WINEPREFIX="/home/nosferatu/.wineprefix/underrail"
export WINEARCH=win322) init this wineprefix:
wine wineboot3) install dependencies, for simplicity we will be using winetricks script:
wget http://winetricks.org/winetricks -O /tmp/winetricks
chmod +x /tmp/winetricks
/tmp/winetricks corefonts
/tmp/winetricks tahoma
/tmp/winetricks dotnet40
/tmp/winetricks xna404) install the game (in this example is GOG version installer of 1.0.1.10):
wine setup_underrail_2.8.0.12.exeGOG installer can complain at the end of the installation about already installed dotnet and various runtime errors. Just ignore them and after all are finished just exit the installer.
5) configuring wine:
winecfgOn the Graphics page:
a) Check "
Automatically capture the mouse in full-screen windows" b) If you want to play the game in window then also check "
Emulate a virtual desktop and desired resolution". In the game settings keep fullscreen checkbox enabled.
6) create startup file:
a) If you want to play in windowed mode (or if your window manager plays nice with fullscreen applications):
#!/bin/bash
GAMEPREFIX="/home/nosferatu/.wineprefix/underrail"
GAMEPATH="GOG Games/UnderRail"
cd "${GAMEPREFIX}/drive_c/${GAMEPATH}"
WINEPREFIX="${GAMEPREFIX}" WINEARCH=win32 wine "c:/${GAMEPATH}/underrail.exe"
b) If you want to play in fullscreen mode with separated xsession:
#!/bin/bash
GAMEPREFIX="/home/nosferatu/.wineprefix/underrail"
GAMEPATH="GOG Games/UnderRail"
cd "${GAMEPREFIX}/drive_c/${GAMEPATH}"
WINEPREFIX="${GAMEPREFIX}" WINEARCH=win32 xinit wine "c:/${GAMEPATH}/underrail.exe" -- :1
Also make sure your ~/.xinitrc does not prevent you running wine. For example, if there are you are using case switching then you must include wine switch with "
wine $@" command.
P.S. If you receive message like "Could not find a Direct3D device that supports the XNA Framework " then most likely you are using graphics drivers without S3TC support. Most open-source drivers like nouveau doesn't include this (patent issues), so you must to install
txc_dxtn (32bit version) to resolve this. On gentoo you can do this with:
echo "media-libs/libtxc_dxtn abi_x86_32" > /etc/portage/package.use/libtxc_dxtn
emerge -av libtxc_dxtn