Here I'll describe the steps I did to have a fully functional DH on my linux box. I assume you already have a working copy of DH, for instance downloaded from Steam (instructions to run the Steam client under wine) or from the Gamersgate installer.
Once you have the DH directory, you can copy it whenever you want, I'll consider that you copied it in your home dir.
--------------------------------------------------------------------------------------
Performance notes
Useful trick
Since wine+DH take a lot of processor in linux you can easily pause the process to save your CPU. Just open a terminal and type:
To resume the process:
Stopping the process won't free up RAM, just unloads the CPU.
--------------------------------------------------------------------------------------
Final note
I'll keep it updated as far as I get a wine version that correctly handles DH with ease.
Previous version of this how-to with compiling instructions:
Once you have the DH directory, you can copy it whenever you want, I'll consider that you copied it in your home dir.
- Installing Wine
Just use your package manager to install the most fresh wine version. Here there's a list of the main distributions and their respective instructions to have the last wine version on you linux-box.
- Configure wine
We will use winetricks. To install it, just install the package "winetricks" with your software manager. For debian/ubuntu users, just type in the terminal
Code:sudo apt-get install winetricks
After that, type
Code:winetricks vcrun6 dotnet20
Once these installations are done, there is one more step to properly configure wine. On a terminal, type:
Code:winecfg
- Running DH on wine
Let's take a test: in the terminal (this is the last time, promised), move to the directory where DH is placed, for instance
Code:cd /home/USERNAME/DH
Code:wine Darkest\ Hour\ Launcher.exe
If everything went fine the darkest hour launcher is shown. Start the game and everything should be fine.
You can now create a desktop launcher. Create a link to Darkest Hour Launcher.exe and put it whereever you want.
--------------------------------------------------------------------------------------
Performance notes
- The game runs greatly, but I anyway suggest to autosave every month. I experienced very few crashes in a lot of hours.
- The launcher seems to crash when you launch the game, but it's not important since the game itself starts correctly.
- You can use whichever mod you like, just select it in the launcher as usual.
- Loading times are slower than windows, they may take almost double the time, in particular when loading saved games. Saving takes no time as in windows.
- Alt-tabbing during loadings doesn't mess up the graphics!!
Useful trick
Since wine+DH take a lot of processor in linux you can easily pause the process to save your CPU. Just open a terminal and type:
Code:
pkill -STOP Darkest\ Hour*
Code:
pkill -CONT Darkest\ Hour*
Stopping the process won't free up RAM, just unloads the CPU.
--------------------------------------------------------------------------------------
Final note
I'll keep it updated as far as I get a wine version that correctly handles DH with ease.
Previous version of this how-to with compiling instructions:
Compiling wine from source
Compiling from source is recommended for those guys who don't have an ubuntu based distribution or want to keep more than one wine version. Before starting you need a lot of packages and development libraries. If you are running and ubuntu based distro, just open a terminal and type:
First command adds the wine official repository to your system, second one installs all required packages to compile wine.
If you don't have an ubuntu-based distribution, you can find a list of the required packages here.
After that you have to download wine source code from here. Using the terminal, move to the directory where you downloaded the archive and extract it with:
Then move to the extracted directory with:
and start the configuration with:
The configuration process checks if all libraries are installed and where they are. Depending on what you have installed on your system you may miss something. Usually it's nothing important, but if you get errors, I can help you in finding out what is missing.
After the configuration ends, start the actual compiling process:
This may take up to ten minutes, with your processor working hard on it. Just be patient, if everything did before went fine, compiling is just a matter of time.
Now there are two possibilities: install compiled wine system-wide or run it from the directory where it is. For mostly user I suggest to completely install it with:
If you need to run wine from current directory without installation, just ask and I'll go further this point.
--------------------------------------------------------------------------------------
Compiling from source is recommended for those guys who don't have an ubuntu based distribution or want to keep more than one wine version. Before starting you need a lot of packages and development libraries. If you are running and ubuntu based distro, just open a terminal and type:
Code:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-ge build-dep wine1.3
If you don't have an ubuntu-based distribution, you can find a list of the required packages here.
After that you have to download wine source code from here. Using the terminal, move to the directory where you downloaded the archive and extract it with:
Code:
tar -zxvf wine-1.3.32.tar.bz2
Code:
cd wine-1.3.32
Code:
./config
After the configuration ends, start the actual compiling process:
Code:
make
Now there are two possibilities: install compiled wine system-wide or run it from the directory where it is. For mostly user I suggest to completely install it with:
Code:
sudo make install
--------------------------------------------------------------------------------------
Last edited:
- 1