Running the game on Linux: Difference between revisions
mNo edit summary |
(Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<translate> | <translate> | ||
<!--T:1--> | |||
Linux support is currently experimental, but it's still possible to successfully run the game on Linux and achieve good performance. Linux support is not native, but achieved with a translation layer (Wine). | Linux support is currently experimental, but it's still possible to successfully run the game on Linux and achieve good performance. Linux support is not native, but achieved with a translation layer (Wine). | ||
<!--T:2--> | |||
Important to note that each Linux distro is different, the setup in your particular case may differ and it's up to you to do the research. This article only covers general steps and some examples for specific versions Ubuntu and Linux Mint. | Important to note that each Linux distro is different, the setup in your particular case may differ and it's up to you to do the research. This article only covers general steps and some examples for specific versions Ubuntu and Linux Mint. | ||
<!--T:3--> | |||
In summary, the game requires the latest stable version of '''WineHQ (10.0 or higher)''', '''DirectX 9''', '''core Microsoft fonts''', and '''.NET Framework 4.5.2'''. It is also highly recommended to use '''DXVK''' and '''Vulkan drivers''' for your GPU. | In summary, the game requires the latest stable version of '''WineHQ (10.0 or higher)''', '''DirectX 9''', '''core Microsoft fonts''', and '''.NET Framework 4.5.2'''. It is also highly recommended to use '''DXVK''' and '''Vulkan drivers''' for your GPU. | ||
<!--T:4--> | |||
For more information on how to achieve this setup, see below. | For more information on how to achieve this setup, see below. | ||
== Installing WineHQ == | == Installing WineHQ == <!--T:5--> | ||
<!--T:6--> | |||
Wine is available for most Linux distros and the setup is documented very well. Just navigate to the [https://gitlab.winehq.org/wine/wine/-/wikis/Download#wine-binary-packages Download page] and pick your distro. | Wine is available for most Linux distros and the setup is documented very well. Just navigate to the [https://gitlab.winehq.org/wine/wine/-/wikis/Download#wine-binary-packages Download page] and pick your distro. | ||
<!--T:7--> | |||
We're going to cover the case of installing it on '''Ubuntu 24.04 LTS''' or '''Linux Mint 22''' on a 64-bit system below. | We're going to cover the case of installing it on '''Ubuntu 24.04 LTS''' or '''Linux Mint 22''' on a 64-bit system below. | ||
<!--T:8--> | |||
'''DO NOT try to use the commands below on other systems, refer to the WineHQ article instead.''' | '''DO NOT try to use the commands below on other systems, refer to the WineHQ article instead.''' | ||
</translate> | </translate> | ||
< | <pre> | ||
sudo dpkg --add-architecture i386 | sudo dpkg --add-architecture i386 | ||
Line 28: | Line 35: | ||
sudo apt install --install-recommends winehq-stable | sudo apt install --install-recommends winehq-stable | ||
</ | </pre> | ||
<translate> | <translate> | ||
== Installing Winetricks == | == Installing Winetricks == <!--T:9--> | ||
<!--T:10--> | |||
Winetricks script allows you to download and install additional Wine components required for this setup. On '''Ubuntu''' or '''Linux Mint''' you can install it directly via apt. For other distros refer to the [https://gitlab.winehq.org/wine/wine/-/wikis/Winetricks official Winetricks article]. | Winetricks script allows you to download and install additional Wine components required for this setup. On '''Ubuntu''' or '''Linux Mint''' you can install it directly via apt. For other distros refer to the [https://gitlab.winehq.org/wine/wine/-/wikis/Winetricks official Winetricks article]. | ||
</translate> | </translate> | ||
< | <pre> | ||
sudo apt install winetricks | sudo apt install winetricks | ||
</ | </pre> | ||
<translate> | <translate> | ||
== Configure Wineprefix == | == Configure Wineprefix == <!--T:11--> | ||
<!--T:12--> | |||
For the game to run correctly, you'll need a <code>win32</code> wineprefix with <code>corefonts</code>, <code>d3dx9</code>, and <code>dotnet452</code> components. If you already have one, make sure it's compatible. | For the game to run correctly, you'll need a <code>win32</code> wineprefix with <code>corefonts</code>, <code>d3dx9</code>, and <code>dotnet452</code> components. If you already have one, make sure it's compatible. | ||
<!--T:13--> | |||
In this example we're going to assume that you're starting from scratch and we're going to create a default wineprefix compatible with the game. In this case, make sure you delete the <code>~/.wine</code> folder (if you have it) before proceeding. | In this example we're going to assume that you're starting from scratch and we're going to create a default wineprefix compatible with the game. In this case, make sure you delete the <code>~/.wine</code> folder (if you have it) before proceeding. | ||
</translate> | </translate> | ||
< | <pre> | ||
WINEARCH=win32 wine wineboot | WINEARCH=win32 wine wineboot | ||
winetricks corefonts d3dx9 dotnet452 | winetricks corefonts d3dx9 dotnet452 | ||
winecfg -v win10 | winecfg -v win10 | ||
winetricks videomemorysize=2048 | winetricks videomemorysize=2048 | ||
</ | </pre> | ||
<translate> | <translate> | ||
<!--T:14--> | |||
During the installation, various Microsoft installers will pop up. Just install each of them normally. | During the installation, various Microsoft installers will pop up. Just install each of them normally. | ||
== Installing Vulkan Drivers == | == Installing Vulkan Drivers == <!--T:15--> | ||
{{IncompleteSection}} | {{IncompleteSection}} | ||
<!--T:16--> | |||
It's highly recommended to use Vulkan drivers for your GPU to achieve acceptable performance. | It's highly recommended to use Vulkan drivers for your GPU to achieve acceptable performance. | ||
<!--T:17--> | |||
The way you install them depends on your distro and your GPU. It's important to install the 32-bit version of the drivers as that is what the game is going to use. Below is the simplest example of installing open-source drivers on '''Ubuntu''' or '''Linux Mint''', but please do your research and install appropriate drivers for your distro and your hardware. | The way you install them depends on your distro and your GPU. It's important to install the 32-bit version of the drivers as that is what the game is going to use. Below is the simplest example of installing open-source drivers on '''Ubuntu''' or '''Linux Mint''', but please do your research and install appropriate drivers for your distro and your hardware. | ||
</translate> | </translate> | ||
< | <pre> | ||
sudo apt install mesa-vulkan-drivers:i386 libvulkan1:i386 | sudo apt install mesa-vulkan-drivers:i386 libvulkan1:i386 | ||
</ | </pre> | ||
<translate> | <translate> | ||
== Installing DXVK == | == Installing DXVK == <!--T:18--> | ||
<!--T:19--> | |||
DXVK allows the game to use Vulkan drivers while running inside Wine. Without it, you'll still be running the game using the default Wine DirectX implementation even if you have the Vulkan drivers installed. It needs to be installed into the Wineprefix that you're going to be using to run the game. | DXVK allows the game to use Vulkan drivers while running inside Wine. Without it, you'll still be running the game using the default Wine DirectX implementation even if you have the Vulkan drivers installed. It needs to be installed into the Wineprefix that you're going to be using to run the game. | ||
<!--T:20--> | |||
First, download the latest release from the [https://github.com/doitsujin/dxvk/releases official Github releases page] and extract it into a folder. If you're using the default Wineprefix as described in the steps above, navigate to the extracted folder in the terminal and execute the following: | First, download the latest release from the [https://github.com/doitsujin/dxvk/releases official Github releases page] and extract it into a folder. If you're using the default Wineprefix as described in the steps above, navigate to the extracted folder in the terminal and execute the following: | ||
</translate> | </translate> | ||
< | <pre> | ||
export WINEPREFIX="$HOME/.wine" | export WINEPREFIX="$HOME/.wine" | ||
cp x32/*.dll $WINEPREFIX/drive_c/windows/system32 | cp x32/*.dll $WINEPREFIX/drive_c/windows/system32 | ||
</ | </pre> | ||
<translate> | <translate> | ||
<!--T:21--> | |||
Next, run <code>winecfg</code> and under the Libraries tab manually add native DLL overrides for <code>d3d8</code>, <code>d3d9</code>, <code>d3d10core</code>, <code>d3d11</code> and <code>dxgi</code>. | Next, run <code>winecfg</code> and under the Libraries tab manually add native DLL overrides for <code>d3d8</code>, <code>d3d9</code>, <code>d3d10core</code>, <code>d3d11</code> and <code>dxgi</code>. | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
== Running the game == | == Running the game == <!--T:22--> | ||
<!--T:23--> | |||
At this point, you should have the latest version of Wine installed along with all the required components and drivers. | At this point, you should have the latest version of Wine installed along with all the required components and drivers. | ||
<!--T:24--> | |||
Now you can just download the original YmirheimLauncher and, if you're using a default wineprefix, just run it as it would be a normal Windows program. For most modern distros this will also create a shortcut in your programs menu and/or on the desktop. | Now you can just download the original YmirheimLauncher and, if you're using a default wineprefix, just run it as it would be a normal Windows program. For most modern distros this will also create a shortcut in your programs menu and/or on the desktop. | ||
<!--T:25--> | |||
Refer to the [[Special:MyLanguage/Running_the_game#Installing_the_game|Running the game]] article for more information. | Refer to the [[Special:MyLanguage/Running_the_game#Installing_the_game|Running the game]] article for more information. | ||
</translate> | </translate> |
Latest revision as of 10:10, 14 August 2025
Linux support is currently experimental, but it's still possible to successfully run the game on Linux and achieve good performance. Linux support is not native, but achieved with a translation layer (Wine).
Important to note that each Linux distro is different, the setup in your particular case may differ and it's up to you to do the research. This article only covers general steps and some examples for specific versions Ubuntu and Linux Mint.
In summary, the game requires the latest stable version of WineHQ (10.0 or higher), DirectX 9, core Microsoft fonts, and .NET Framework 4.5.2. It is also highly recommended to use DXVK and Vulkan drivers for your GPU.
For more information on how to achieve this setup, see below.
Installing WineHQ
Wine is available for most Linux distros and the setup is documented very well. Just navigate to the Download page and pick your distro.
We're going to cover the case of installing it on Ubuntu 24.04 LTS or Linux Mint 22 on a 64-bit system below.
DO NOT try to use the commands below on other systems, refer to the WineHQ article instead.
sudo dpkg --add-architecture i386 sudo mkdir -pm755 /etc/apt/keyrings wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key - sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources sudo apt update sudo apt install --install-recommends winehq-stable
Installing Winetricks
Winetricks script allows you to download and install additional Wine components required for this setup. On Ubuntu or Linux Mint you can install it directly via apt. For other distros refer to the official Winetricks article.
sudo apt install winetricks
Configure Wineprefix
For the game to run correctly, you'll need a win32
wineprefix with corefonts
, d3dx9
, and dotnet452
components. If you already have one, make sure it's compatible.
In this example we're going to assume that you're starting from scratch and we're going to create a default wineprefix compatible with the game. In this case, make sure you delete the ~/.wine
folder (if you have it) before proceeding.
WINEARCH=win32 wine wineboot winetricks corefonts d3dx9 dotnet452 winecfg -v win10 winetricks videomemorysize=2048
During the installation, various Microsoft installers will pop up. Just install each of them normally.
Installing Vulkan Drivers
You can help by adding to it.
It's highly recommended to use Vulkan drivers for your GPU to achieve acceptable performance.
The way you install them depends on your distro and your GPU. It's important to install the 32-bit version of the drivers as that is what the game is going to use. Below is the simplest example of installing open-source drivers on Ubuntu or Linux Mint, but please do your research and install appropriate drivers for your distro and your hardware.
sudo apt install mesa-vulkan-drivers:i386 libvulkan1:i386
Installing DXVK
DXVK allows the game to use Vulkan drivers while running inside Wine. Without it, you'll still be running the game using the default Wine DirectX implementation even if you have the Vulkan drivers installed. It needs to be installed into the Wineprefix that you're going to be using to run the game.
First, download the latest release from the official Github releases page and extract it into a folder. If you're using the default Wineprefix as described in the steps above, navigate to the extracted folder in the terminal and execute the following:
export WINEPREFIX="$HOME/.wine" cp x32/*.dll $WINEPREFIX/drive_c/windows/system32
Next, run winecfg
and under the Libraries tab manually add native DLL overrides for d3d8
, d3d9
, d3d10core
, d3d11
and dxgi
.
Running the game
At this point, you should have the latest version of Wine installed along with all the required components and drivers.
Now you can just download the original YmirheimLauncher and, if you're using a default wineprefix, just run it as it would be a normal Windows program. For most modern distros this will also create a shortcut in your programs menu and/or on the desktop.
Refer to the Running the game article for more information.