• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Well that's no good, let see if I can find out what's going on there. Can I get the full text of their reply please?

Meanwhile, it is looking like this is an issue with the specific Linux distro Arch, is that right? I can report a bug on that basis, but given that Ubuntu is the only specifically supported platform I don't like the chances of it going anywhere ...

The reply:

"Hello Diogo,

Please write this in the forum instead where the developers will see your comment. You can find the forum here: http://forum.paradoxplaza.com/forum/forumdisplay.php?679-Crusader-Kings-II-Tech-Support
You'll need to log in and have the game registered to your user to view and post in this sub-forum.

Register the game here: http://forum.paradoxplaza.com/forum/mygames.php

I can only help you if a solution already exists, on the forum the developers can see your issue and fix the bug instead.

Kind Regards,
Johannes"

I'm trying to muster help for this issue. Sorry it takes time guys. We'll get back to you as soon as we got something.

Thank you a lot.
 
About this issue:

First I must admit that I'm not very LINUX savy myself so I might misunderstand some things. But sadly it seems that this problem has the simple explanation that your LINUX version (or what do you say? Build? Depot?) is not supported.

Quote from the LINUX system requirements listed on Steam:
OS: Ubuntu 12.04 LTS

It is probably possible to make it work also on other systems. But sadly it's nothing we can guarantee or help with (unless some developer decides to jump in on his/her own initiative). Sorry :/
 
Just a couple minor things :p
* 'Linux' isn't an acronym; typically people just spell it 'Linux'. Some people like to say "GNU/Linux", since technically 'Linux' is just the kernel. 'UNIX', however, does need to be capitalized.
* We usually call different 'versions' of Linux as 'distributions' or 'distros'.

Some longer things:
* Ubuntu is based on Debian. Although Debian, Arch, etc use a lot of the same software, there are some fundamental design differences. Most of these are pretty low-level though. Both Debian and Arch are considered to be fairly minimalist (especially the latter). Ubuntu, which is based on Debian's packages, is also designed quite a bit differently from it, and comes pre-installed with a lot of software, aiming to be "user-friendly". In fact, Ubuntu is so different from Debian nowadays that several Ubuntu packages won't work on Debian anymore, even though they both use .deb. Mint is basically an even more user-friendly Ubuntu (it also comes in a Debian flavor). Fedora and CentOS are basically free versions of Red Hat Enterprise Linux. OpenSUSE was originally Slackware based, but is now its own standalone thing. Gentoo is mostly insane, but I respect it; users must compile all software from source code on it.
* Arch Linux has comparatively fewer users than most of the others (it's steadily increasing though!). However, since there are no known reports of problems from other distros, we can't assume it to be a problem resulting just from Arch not being Debian-based. Fedora, OpenSUSE, etc all use repackaged versions of Steam as well. We also don't even know if this issue affects all Arch users.
* CK2 runs flawlessly on Arch, with the exception of major DLC. The game works ~ the DLC mechanism is just a little bugged. It's a great game, too. :)

The DLC's apparently may have worked on Arch in the past, so it may be a regression in a newer version. One person (Agustina) reported version ~1.10 as having worked for them. I say "may have worked" because we don't know what distro that person was using. I'm going to see if I can get a copy of that version from Youcke to test it out.
All of my other Steam games run flawlessly on Arch, so I'm sure there's a solution around here somewhere. Indeed, as I mentioned, CK2 runs flawlessly apart from major DLC's. Heck, I can even run a lot of Windows software in Arch without problems.
 
Last edited:
If I get a chance, I'll install a Ubuntu derivative onto my other computer and install CK2 onto it. If it works, I'll try copying the dir's over to my Arch box and see what that does.

Did you try this yet? The dlc_signature file in particular is of relevance, it contains a checksum that is used as a key to activate the major DLCs. It differs based on the version of CK2 and whether or not you have authorized CK2 via Steam or the GamersGate ingame store. It could be that either the authorization or the checksum generation is faulty on Arch.
 
Just a couple minor things :p
* 'Linux' isn't an acronym; typically people just spell it 'Linux'. Some people like to say "GNU/Linux", since technically 'Linux' is just the kernel. 'UNIX', however, does need to be capitalized.
* We usually call different 'versions' of Linux as 'distributions' or 'distros'.

Some longer things:
* Ubuntu is based on Debian. Although Debian, Arch, etc use a lot of the same software, there are some fundamental design differences. Most of these are pretty low-level though. Both Debian and Arch are considered to be fairly minimalist (especially the latter). Ubuntu, which is based on Debian's packages, is also designed quite a bit differently from it, and comes pre-installed with a lot of software, aiming to be "user-friendly". In fact, Ubuntu is so different from Debian nowadays that several Ubuntu packages won't work on Debian anymore, even though they both use .deb. Mint is basically an even more user-friendly Ubuntu (it also comes in a Debian flavor). Fedora and CentOS are basically free versions of Red Hat Enterprise Linux. OpenSUSE was originally Slackware based, but is now its own standalone thing. Gentoo is mostly insane, but I respect it; users must compile all software from source code on it.
* Arch Linux has comparatively fewer users than most of the others (it's steadily increasing though!). However, since there are no known reports of problems from other distros, we can't assume it to be a problem resulting just from Arch not being Debian-based. Fedora, OpenSUSE, etc all use repackaged versions of Steam as well. We also don't even know if this issue affects all Arch users.
* CK2 runs flawlessly on Arch, with the exception of major DLC. The game works ~ the DLC mechanism is just a little bugged. It's a great game, too. :)

The DLC's apparently may have worked on Arch in the past, so it may be a regression in a newer version. One person (Agustina) reported version ~1.10 as having worked for them. I say "may have worked" because we don't know what distro that person was using. I'm going to see if I can get a copy of that version from Youcke to test it out.
All of my other Steam games run flawlessly on Arch, so I'm sure there's a solution around here somewhere. Indeed, as I mentioned, CK2 runs flawlessly apart from major DLC's. Heck, I can even run a lot of Windows software in Arch without problems.

You learn something every day :)

I will try to steer the attention of the correct people to this thread to see if any further assistance can be arranged.
 
Just a couple minor things :p
* 'Linux' isn't an acronym; typically people just spell it 'Linux'. Some people like to say "GNU/Linux", since technically 'Linux' is just the kernel. 'UNIX', however, does need to be capitalized.
* We usually call different 'versions' of Linux as 'distributions' or 'distros'.

Some longer things:
* Ubuntu is based on Debian. Although Debian, Arch, etc use a lot of the same software, there are some fundamental design differences. Most of these are pretty low-level though. Both Debian and Arch are considered to be fairly minimalist (especially the latter). Ubuntu, which is based on Debian's packages, is also designed quite a bit differently from it, and comes pre-installed with a lot of software, aiming to be "user-friendly". In fact, Ubuntu is so different from Debian nowadays that several Ubuntu packages won't work on Debian anymore, even though they both use .deb. Mint is basically an even more user-friendly Ubuntu (it also comes in a Debian flavor). Fedora and CentOS are basically free versions of Red Hat Enterprise Linux. OpenSUSE was originally Slackware based, but is now its own standalone thing. Gentoo is mostly insane, but I respect it; users must compile all software from source code on it.
* Arch Linux has comparatively fewer users than most of the others (it's steadily increasing though!). However, since there are no known reports of problems from other distros, we can't assume it to be a problem resulting just from Arch not being Debian-based. Fedora, OpenSUSE, etc all use repackaged versions of Steam as well. We also don't even know if this issue affects all Arch users.
* CK2 runs flawlessly on Arch, with the exception of major DLC. The game works ~ the DLC mechanism is just a little bugged. It's a great game, too. :)

The DLC's apparently may have worked on Arch in the past, so it may be a regression in a newer version. One person (Agustina) reported version ~1.10 as having worked for them. I say "may have worked" because we don't know what distro that person was using. I'm going to see if I can get a copy of that version from Youcke to test it out.
All of my other Steam games run flawlessly on Arch, so I'm sure there's a solution around here somewhere. Indeed, as I mentioned, CK2 runs flawlessly apart from major DLC's. Heck, I can even run a lot of Windows software in Arch without problems.

Yeah, CK2 worked with the DLCs when I was using Mint, which is basically Ubuntu.

Steam and CK2 ran on the first try in Chakra, even though it is not supposed to be supported. And CK2 seems to be working flawlessly, great performance even. Its only that it just cant find the DLCs.

It shouldń be too hard too fix, I think
 
It shouldń be too hard too fix, I think

We have virtually no time for Linux testing though. This is a problem that will require some testing on different distros to figure out, which is exactly why we don't support more than one dist and even one version of the dist. I'm sorry, but I can't really promise you that we are going to fix it. I'll link our Linux guy (who is also a Windows guy) to the thread, but he is swamped as it is. If you run out of patience, please have the support help you get a refund.
 
We have virtually no time for Linux testing though. This is a problem that will require some testing on different distros to figure out, which is exactly why we don't support more than one dist and even one version of the dist. I'm sorry, but I can't really promise you that we are going to fix it. I'll link our Linux guy (who is also a Windows guy) to the thread, but he is swamped as it is. If you run out of patience, please have the support help you get a refund.

No need for that. I still have windows in another partition, anyway.

I wish I could play CK2 in linux, it would be a lot more pratical. But I can always boot into windows like I do with most other games I play.
 
Okay, so I tried it in Windows, and there everything works just fine ~ even the ingame store, which Youcke said was always disabled for Steam-users.

I tried using a copy of my Windows's CK2 configuration on Linux, but had no luck.
I then tried copying the Windows CK2 directory from Program Files into my CK2 folder on Linux, overwriting everything. Once again, only the small mods were enabled; none of the big ones were, like The Old Gods.

I also tried running the Windows CK2 via Wine, but this was just as fruitless as running it natively.

Meh.
I wonder what the problem is? :\
 
Last edited:
I'm pretty sure it's a Steam problem now (I theorized this earlier, but now I have something indicating it). I was finally able to get some output in the Terminal:

[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/maiyli78/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

I'm seeing what I can symlink in the ~/.steam dir; the library it mentions is in ~/.steam/steam/ubuntu12_32 .

I'm guessing right now that the disabled in-game store and unactivated mods might share a common root in Steam.

UPDATE:
I'm getting the same error even with steamclient.so in /home/maiyli78/.steam/bin32/ via symlinking. :\

UPDATE:
I'm getting results in Google on this. Going to sift through them.

UPDATE:
Ha! I've made some progress. The Arch Steam package must be bugged somewhat. Just create a symlink to "~/.steam/Steam/linux32" at "~/.steam/bin32"

The problem isn't solved yet, I don't think. I'm still getting this error:

[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.

UPDATE:
Yeah, still not fixed. Going to verify cache, since I recently tainted my CK2 Linux install with files from my CK2 Windows install.

EDIT:
Actually was fixed; it just has to be run through Steam; executing ck2 alone won't cut it. :\
 
Last edited:
Fixed it! :D

Yes! Yes! It's fixed. At least for me. Here are the instructions:
  • the dlc directory in ~/.steam/steam/SteamApps/common/Crus... should ALWAYS be lowercase 'dlc'
  • the mod directories in ~/Documents/Paradox/... and ~/.steam/steam/SteamApps/common/Crus... should ALWAYS be lowercase singular 'mod'
  • create a symlink to "~/.steam/steam/linux32" at "~/.steam/bin32"
  • ALWAYS launch the game through Steam; the DLC won't work otherwise
If for some reason this doesn't work for you, play around with it a bit. You should at the very least be able to get the lesser DLC's, such as graphical changes, functional by simply extracting them into the game's main dir.

Also, the game DOES work with a 3rd party lancher; you just have to insert it as a command in Steam ( right click CK2 entry > Properties > Set Launch Options... ).
Here's what I have there:
"/home/maiyli78/.steam/steam/SteamApps/common/Crusader Kings II/pylauncher/ck2launcher.py" %command% -threads=4 -forcedlc

Lastly, the disabled in-game store button and the faulty DLC's did share a common cause in Steam.
I hope this helps you all! :)
 
Last edited:
You are the man!

Worked for me too. What I have done, following your directions:

- copied the dlc dir from ~/.steam/steam/SteamApps/common/Crus... to ~/Documents/Paradox/.. (Ive never even had a dlc dir there)

- created the symlink

And that was it, all DLCs enabled. I can even run it from the command line (I have to, because I have to run it with "optirun"), though I think that only worked after Ive run it from steam once.
 
Oh, maybe the dlc folder isn't needed in ~/Doc...; I might have copied it in there awhile ago and assumed it was always there. I'll test the game without it.

UPDATE:
Yep, you don't need a dlc folder in ~/Documents/Paradox/... so feel free to delete it :)

EDIT:
I've updated my solution to reflect this
 
Last edited:
I come back to this post a bit late (well, very late in fact) to say that I don't think it's an Arch specific issue. Or maybe only in part. I'm running Kubuntu, and every time the game gets an update, or every time I buy a new dlc I need to run the game through steam at least once, to get the dlc's to be detected.
Anyway, glad to found that the issue was solved :)
 
This issue is back, for me at least.

I have all DLC for CKII but have mine regressed to 2.0.4 for the time being while I finish off the last 150 years of a massive Norse game before I start playing around in Rajas. It has worked perfectly and I have not had a single issue. I am using Arch Linux, which is kept up to date at all times. My hard drive is formatted as BTRFS with my Steam game library files held in a separate subvolume.

I loaded up Steam the other day and went to continue my game, however CKII would crash the moment it reached the Paradox Interactive loading screen. I tried a few things but nothing I tried would get it working. I had not played the game in a few days due to work and I do not know which of the various Arch, Steam or CKII updates may be responsible. I verified the game cache, which told me it had completed and nothing was wrong. So, I wiped the game and reinstalled from scratch. Following installation I ran the game and it loaded with no errors this time, however when it loaded up I was missing all of my DLC. I show in Steam as having purchased the DLC and it shows as installed and ticked in the Steam properties for CKII.

I have tried all of the advice in this and other threads. Changing "DLC" to "dlc" again causes it to crash as soon as the Paradox Interactive loading screen appears, so that definitely doesn't work. I have re-verified and reinstalled the game with no success. I have tried setting all of the different versions of CKII in the beta options menu and have tried Steam at normal and beta settings. I don't have any issues with any of my other games that I have tried so far, either in my Linux client or my WINE Windows client.

Does anyone have any advice for me please? I'm getting very frustrated as so far I have had flawless performance from the games Paradox have ported to Linux and I really want to play some more.
 
I found a way to get my CKII install working. I posted in this thread here as someone else was having DLC issues and I will also copy my fix below.

http://forum.paradoxplaza.com/forum/showthread.php?784498-DLC-not-working

"Ok, I found a solution to my error.

I reinstalled my game repeatedly and each time it would install differently. The DLC folder would sometimes install as "dlc" and others as "DLC". With it as "dlc" it would crash when reaching the Paradox Interactive logo loading screen. With it as "DLC" the game would load but would have no DLC available.

I checked my error log and found this: "[virtualfilesystem.cpp:678]: Could not open file: gfx/models/attachments/bow_02.xac, error: No such file or directory". Checking my directories, I found that the subdirectory "attachments" was actually down as "Attachments" and the file "bow_02.xac" was "Bow_02.xac". All I did was make sure that DLC was named "dlc" and I manually created a new folder of "gfx/models/attachments" and copied the "Bow_02.xac" file to it, renaming it as "bow_02.xac".

CKII now loads with all DLC available. I have no idea what Paradox did to the game but it seems that a recent update has messed up how the game creates its own directories and refers to them as it is not taking into account case sensitivities in directories and filenames. I don't know if this is also an issue in your Windows install, but it certainly affected my Linux install."
 
Supay, I just reinstalled (the game had been crashing frequently since Charlemagne) and am having the same issue. I'm going to try your solution; thank goodness this thread is still around. :)

Just a note, these case-random files are just the result of Paradox not being used to programming for case-sensitive filesystems; NTFS, FAT, etc (the MS fs's) are, by default, case-insensitive. So everything works fine in Windows, but breaks like crazy on Linux, because sometimes their code says "Bow_02.xac" and other times "bow_02.xac". Since you already have Steam in a subvolume, you might be able to disable case-sensitivity in the fs for just your Steam subvol to avoid errors in the future.
This should be a good heads-up to Paradox to ALWAYS program case-sensitively, just to be careful. Case-sensitive fs's aren't just a Linux thing; I'm pretty sure it can be enabled on Windows's fs's, and I think Mac (derived from BSD, a UNIX-like (UNIX and BSD fs's were/are case-sensitive) fs's come case-sensitive, too.

EDIT: hot-damn, it worked! :D I made sure to symlink the renamed files to their original names, just in case. Thanks for posting your solution here. :)
EDIT: mah, the re-install didn't fix the frequent crashing. :\
EDIT: found a suggestion to try adding "-threads=1" to the commandline; I guess multithreading's a bit buggy on Linux, too. Going to give it a go and see if it fixes the crashing. EDIT: apparently, the multithreading issues have already been fixed.
EDIT: didn't fix the crashing. :\
EDIT: I'm quite certain the problem is due to sloppy, case-insensitive coding, so, if anyone else, on Arch or whatever, is having random problems with CK2 et al and not with other games, try putting your SteamApps/common folder onto a case-insensitive fs, like ntfs. I'm going to give this a go now; it would likely have avoided nearly all of the issues we've experienced. I'll report back if it works.
EDIT: I've moved the files to an NTFS partition, and mounted the partition with with the ignore-case parameter (this ignores case on reads, but not writes, so, to be safe, you should also use the windows_names parameter, which disables case-sensitivity only for writes)) with lowntfs-3g (you have to use lowntfs-3g; ignore-case won't work with normal ntfs-3g). I'm still getting a crash, and with the same error: "terminate called after throwing an instance of 'CFileException'". Going to try validating files; maybe something weird happened during the move.
EDIT: Nope, everything validated. Going to try reinstalling again.
EDIT: Aaand I'm back at square one: broken DLC again. This means that, for whatever reason, case-sensitive reads are still being performed on the partition.
EDIT: Apparently, lowntfs-3g and ignore-case aren't working right; it says here that when these are used in tandem, all files should be shown as lowercase, but they're still mixed-case for me.
EDIT: I'm typing "sudo lowntfs-3g -o defaults,users,windows_names,ignore-case -v /dev/sdb2 /media/WIN7". This is the correct syntax; I have no idea why it wouldn't be displaying everything in lowercase.

If anyone feels up to it, you might be able to effectively disable case-sensitivity on a Linux fs just by creating a bash script that lowercases everything (done, see below), or, more complicatedly, that makes lowercase symlinks to mixed-case filenames (done, see below; and was actually less complicated the the formest), or, even more complicatedly, that makes a symlink for every file for every possible case variation (I'm not going to try script this, because it would be a giant pain and extremely inelegant). I remember that I had some trouble with symlinks and ck2 earlier, though. I'm going to see if I can write the first proposed script, since that should be pretty simple (famous last words).
EDIT: Alright, I've got something that works, but only in a single directory; so, you need to run it manually in every directory. I'm working out the recursive part. Here it is: http://pastebin.com/CH0LyQcU
EDIT: This *should* work; I'm going to try it out right now: http://pastebin.com/JxFJAdnM
EDIT: Fixed several bugs from the last version, but still doesn't work in the ck2 dir: http://pastebin.com/jAc5L198
EDIT: Cleaned it up some; functionally identical to the last version: http://pastebin.com/EPh8g5pB
EDIT: Likely the last version I'll post before going to bed (it's 5AM :p ). http://pastebin.com/5xhKE7SZ
EDIT: Okay, so, I've got it working in the current directory and the alphabetically first subdirectory: http://pastebin.com/VY1FGMhU
EDIT: Okay, got it to recurse through all subfolders! :D Unfortunately, the decapitalization part seems to be broken again. Here's the latest version: http://pastebin.com/rsDAj7z5
EDIT: I got it working! :D Well, at the cost of unicode support. PasteBin is mad at me for making so many pastes, so I'll just keep the most current version of the file here.
 
Last edited: