DLC enabled
I got the game working with DLC. Here is a tutorial to install steam and the game.
1. Install Winetricks (i.e. in your bin folder).
wget
http://winetricks.org/winetricks
sudo chmod +x winetricks
2. Install Steam via Winetricks.
$./winetricks steam
This will create a local Steam WINEPREFIX, which is located from your home-directory ".local/share/wineprefixes/".
More on that later. I remember I got some problems because Steam was installed in 'Program Files'-folder.
So I needed to move the Steam-folder to another folder (i.e. C:/Games/Steam). To do this, locate the Steam folder
(i.e. from your home-folder ".local/share/wineprefixes/steam/dosdevices/c:/Program Files/Steam/" and follow these
instructions aquired from the Steam:s support page:
-----------
The following instructions are a simple way to move your Steam installation along with your games:
1. Exit the Steam client application.
2. Browse to the Steam installation folder for the Steam installation you would like to move (C:\Program Files\Steam by default).
3. Delete all of the files and folders except the SteamApps folder and Steam.exe
4. Cut and paste the whole Steam folder to the new location, for example: D:\Games\Steam\
5. Launch Steam and log into your account.
Steam will briefly update and then you will be logged into your account. For installed games, verify your game cache files and you
will be ready to play. All future game content will be downloaded to the new folder (D:\Games\Steam\SteamApps\ in this example)
------------
SOURCE:
https://support.steampowered.com/kb_article.php?ref=7418-YUBN-8129
3. Install DirectX and Visual C++ 2010 libraries via Winetricks (maybe also wininet, leave it out if the game works).
$./winetricks d3dx9 vcrun2010
4. Install Microsoft.NET (only required if you want to enable DLC)
To activate the DLC, the game needs to be run from steam, though it is needed only one time. Steam launches the
ck2game.exe binary, which needs the Microsoft.NET Framework version 2 (dotnet20). I'm not sure why, but I needed to specify
the Steam WINEPREFIX when installing dotnet20:
$WINEPREFIX=/home/your_username/.local/wineprefixes/steam/ ./winetricks dotnet20
5. Launching Steam.
You need to launch steam from console to be able to use the WINEDEBUG="warn+heap" variables, otherwise the game may crash.
NOTE: You need to launch it from your Steam-directory. navigate to it i.e:
$cd /home/your_username/.local/share/wineprefixes/steam/dosdevices/c:/
$cd Games/Steam/
Run steam with the WINEPREFIX:
$WINEPREFIX=/home/your_username/.local/share/wineprefixes/steam/ WINEDEBUG="warn+heap" steam
Install the game and run it from Steam.
6. Close Steam and run the game without Steam.
Now the DLC should be activated and you can run the game with enabled DLC without Steam.
NOTE: You need to run the game from your game-directory (otherwise it will crash at startup), navigate to it i.e.:
$cd /home/your_username/.local/share/wineprefixes/steam/dosdevices/c:/
$cd Games/Steam/steamapps/common/crusader\ kings\ ii/
Run Crusader Kings II with the WINEPREFIX:
$WINEPREFIX=/home/your_username/.local/share/wineprefixes/steam/ WINEDEBUG="warn+heap" ck2game
You can execute the game binary ck2.exe instead of ck2game.exe if the game crashes, or if you failed to install dotnet20.
Though the DLC will not be enabled.
7. Create a shell script for your game (i.e. in your bin-folder)
Create a file and name to i.e. 'ckii.sh'.
Paste this in and change to your username, wineprefix steam folder and game folder:
#!/bin/sh
cd /home/johannes/.local/share/wineprefixes/steam/dosdevices/c:/Games/Steam/steamapps/common/crusader\ kings\ ii/
WINEPREFIX=/home/johannes/.local/share/wineprefixes/steam/ WINEDEBUG="warn+heap" wine ck2game.exe
Make the file runnable.
$chmod +x ckii.sh
Hope everything works!