[HowTo] Install King Of Fighter XIII on Linux using Wine
How to Install The King of Fighter XIII Steam Edition on Linux using wine :
This quick video tutorial will cover every steps needed to get KOF XIII working in a wine environment on Linux.
= EDIT : 28/04/2017 =
- If the game crashes after the SNK logo, make sure that the quartz library is set to builtin in winecfg
- For some users, the game crashes after launch; launching the game in window mode : by adding -window in the steam game's launch option (thanks Mega Zell for this tips)
=================
Some Informations :
=================
- Every command seen in the following steps are runned in a NON-root terminal (just your actual standard user)
- WINEPREFIX
The wineprefix is the folder used by wine as the windows simulated environment. If you check in this folder, you'll see some .reg files (it's the actual registry of the simulated wine environment) and a drive_c folder (this folder is the c: drive presented to windows application running in this wineprefix)
The default wineprefix is a hidden folder in yuor homedir : /home/userdir/.wine
To use another folder, just set the WINEPREFIX variable before running wine in a terminal (or a script) :
WINEPREFIX=/home/userdir/pathtoanewprefix wine someprogram.exe
- Winetricks
Winetricks is a small helper script to download and install runtime librairies and program in wine (really helpfull)
- Wine version 1.7.44
As of writing, I was unable to install windows media player 9 (which is needed to play in game video) in a wineprefix created by a more recent wine version. So I had to downgrade to an older version in order to install wmp9
Once windows media player 9 succesfully installed, you can install an up to date version of wine, of course !
=================
Tutorial - Installation
=================
I/ Prerequisite :
- Get winetricks :
Open up a terminal :
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
(Once in your homedir, you can invoke winetricks by typing in ~/winetricks )
II/ New fresh wineprefix (optional)
- By default, the wineprefix is the hidden folder ".wine" in your homedir.
You can follow the following parts to create a new wineprefix (windows simulated environment) or you can skip this part and install steam+kof in your default wineprefix environment (tho, the next step of this tutorial will assume installation in a fresh new wineprefix)
WINEARCH=win32 WINEPREFIX=/home/userdir/.winekof winecfg
(winearch=win32 is only needed the first time the wineprefix is created, that way, we'll create a simulated 32bit environment)
III/ Windows media player 9 installation
- Using winetricks :
WINEPREFIX=/home/userdir/.winekof ~/winetricks wmp9
IV/ Steam
- Using winetricks :
WINEPREFIX=/home/userdir/.winekof ~/winetricks steam
Then, login to steam and download KOF XIII
V/ KOF dependencies
Actually, this step is unneeded (it serves as reference, just in case) as steam should install vcredist and dxsetup by itself just fine.
But in case it didn't :
- Change directory to
cd .winekof/drive_c/Program\ Files/Steam/steamapps/common/King\ of\ Fighters\ XIII/
- Install Visual c++ 2010 :
WINEPREFIX=/home/userdir/.winekof wine _CommonRedist/vcredist/2010/vcredist_x86.exe
- Install DirectX jun 2010 update :
WINEPREFIX=/home/userdir/.winekof wine _CommonRedist/DirectX/Jun2010/DXSETUP.exe
VI/ Final step, wmp9 dependency :
Setting the devenum library to native using winetricks :
WINEPREFIX=/home/userdir/.winekof ~/winetricks devenum
VII/ Launch the game:
You can launch the game through steam, or manually from the terminal :
WINEPREFIX=/home/userdir/.winekof wine kofxiii.exe
=================
Troubleshooting
=================
- If video doesn't play properly (ie : green screen during ingame video) make sure to use your gpu proprietary drivers (this is a known bug with nouveau drivers for instance).
- Windows media player installation failed
If the first installation failed, you won't be able to retry a second time, unless you delete some files first :
In the .winekof/drive_c/windows/system32
spmsg.dll
spuninst.exe
wscript.hlp
update/spcustom.dll
update/updspapi.dll
update/update.exe
Then to retry :
WINEPREFIX=/home/userdir/.winekof ~/winetricks --force wmp9
- If DXSETUP failed during insatllation :
You'll need to delete some files (the installer is unable to overwrite them:
in the folder .winekof/drive_c/windows/system32 move away every xinput*.dll then try to install dxsetup again, and move those xinput*.dll files back in.
Other Videos By snowdreike
Other Statistics
The King of Fighters XIII Statistics For snowdreike
snowdreike presently has 2,863 views for The King of Fighters XIII across 2 videos, and less than an hour worth of The King of Fighters XIII videos were uploaded to his channel. This makes up less than 0.34% of the total overall content on snowdreike's YouTube channel.