• 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.
Hi Tertius,

Yes I did tried, I followed all tips I found here http://forum.paradoxplaza.com/forum...-CK2-on-a-Mac-with-HD3000-with-WINE-and-Steam.
At the very end, I could see just a full black screen, I could hear music and voice over though. Reduced screen, problem subsist.

I have hence used CSII as an app, and my issue changed from crushing when charging graphics to a black screen... any idea? :blink:

Thank you for trying to help me out!!! :wacko:
 
As long as Paradox has not solved the problem, you remain with that one solution (which I also have to use). Go to settings.txt et and change "draw_terrain=yes" to "draw_terrain=no" and you will be able to play directly on the Mac CK2, but with all the terrains in black (instead of different colors per kingdom, religion, and so on). It is really not pretty, but it's playable, and I tend to forget it after a while. Nevertheless, I can't wait for Paradox to fix that bug and be able to play with a colored map.
 
Thanks for all the great tips in this thread, I've got it working on my mac.

One question though, I can't seem to find a settings.txt file. I'm looking under drive_c/Program Files/Steam/steamapps/common/crusader kings ii/, but I don't seem to have it anywhere there. Would anyone know where a steam install under wine puts this file?
 
Not even that far as far as I understand it. Steam installs (via the wrapper). Once this is done steam has to log-in in order to download the necessary game files no? It's at this point where it isn't logging in at all :(
 
Also a doubt I have, playing in the debug mode as I mentioned earlier makes the game work pretty well (sometimes the whole map goes black for a couple of seconds, but not often, and ocasional crashes), but I have not been able to use the DLCs. I would really like to play a muslim faction, would it be possible to use the Sword of Islam (and other ones) with this setup?
 
I have tried what you have put forth at the beginning of the thread. I got wine, DLed the windows version of steam and ran through it then ran the game through wine and still the game crashes once the graphics start to load the maps.

Unhandled exception: page fault on write access to 0x0000020e in 32-bit code (0x7bc3b9d1).
Register dump:
CS:001b SS:0023 DS:0023 ES:0023 FS:1007 GS:000f
EIP:7bc3b9d1 ESP:0134ea6c EBP:0134ea88 EFLAGS:00010202( R- -- I - - - )
EAX:00000278 EBX:7bc3b89e ECX:2e6b6ac8 EDX:0000020a
ESI:2e6b65c8 EDI:28cfd000
Stack dump:
0x0134ea6c: 00000500 28cfd000 7ffc0000 00000002
0x0134ea7c: 7bc3ba9e 2e6b65c8 28cfd000 0134eae8
0x0134ea8c: 7bc3bb35 c000000d 1aba9440 0134eac0
0x0134ea9c: 7bc3bce1 01dc0000 00000002 0134eae8
0x0134eaac: 7bc3b223 00000000 00000000 01dc0000
0x0134eabc: 7bc3a6e1 ffffffff 0134eadc 2e6b65c8
0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x7bc3b9d1 in <wine-loader> (+0x7bc3b9d1) (0x0134ea88)
1 0x7bc3bb35 in <wine-loader> (+0x7bc3bb34) (0x0134eae8)
2 0x7bc3bd43 in <wine-loader> (+0x7bc3bd42) (0x0134eb48)
3 0x00ac15b4 in ck2 (+0x6c15b3) (0x0134eb64)
4 0x0075643a in ck2 (+0x356439) (0x0134ee2c)
5 0x00751fe6 in ck2 (+0x351fe5) (0x0134f148)
6 0x0061fa95 in ck2 (+0x21fa94) (0x0134f1f4)
7 0x0053334c in ck2 (+0x13334b) (0x0134f378)
8 0x00677397 in ck2 (+0x277396) (0x0134f658)
9 0x00904e16 in ck2 (+0x504e15) (0x0134f66c)
10 0x00904f65 in ck2 (+0x504f64) (0x0134f69c)
11 0x006fb0c5 in ck2 (+0x2fb0c4) (0x0134fd90)
12 0x00aea1d0 in ck2 (+0x6ea1cf) (0x0134fda0)
13 0x00aea26e in ck2 (+0x6ea26d) (0x0134fe20)
14 0x00ac4a5e in ck2 (+0x6c4a5d) (0x0134feb0)
15 0x7b84f10c in kernel32 (+0x3f10b) (0x0134fec8)
16 0x7b853217 in kernel32 (+0x43216) (0x0134ff08)
17 0x7bc6617c in <wine-loader> (+0x7bc6617b) (0x0134ff28)
18 0x7bc681ca in <wine-loader> (+0x7bc681c9) (0x0134ffa8)
19 0x7bc66142 in <wine-loader> (+0x7bc66141) (0x0134ffc8)
20 0x7bc3f69e in <wine-loader> (+0x7bc3f69d) (0x0134ffe8)
0x7bc3b9d1: movl %eax,0x4(%edx)
Modules:
Module Address Debug info Name (46 modules)
ELF 0-82001000 Stabs <wine-loader>
PE 230000- 256000 Deferred tbb
PE 260000- 2af000 Deferred pdxconnect
PE 2b0000- 2c6000 Deferred xinput1_3
PE 360000- 372000 Deferred tbbmalloc
PE 400000- f4b000 Deferred ck2
PE 1350000- 176a000 Deferred d3dx9_41
PE 10000000-10031000 Deferred lua51
PE 3b400000-3b41f000 Deferred steam_api
PE 401b0000-401b4000 Deferred version
PE 401c0000-401c4000 Deferred msacm32
PE 40590000-40594000 Deferred advapi32
PE 40790000-4079b000 Deferred winmm
PE 407e0000-407e4000 Deferred imm32
PE 41a90000-41a94000 Deferred ws2_32
PE 41ac0000-41ac4000 Deferred mpr
PE 41ae0000-41ae4000 Deferred psapi
PE 41e10000-41f1d000 Deferred shell32
PE 437b0000-437b4000 Deferred d3d9
PE 44010000-44014000 Deferred shlwapi
PE 44090000-440be000 Deferred user32
PE 441d0000-441d4000 Deferred gdi32
PE 442b0000-442d0000 Deferred comctl32
PE 443b0000-443b8000 Deferred ole32
PE 44500000-44504000 Deferred rpcrt4
PE 44590000-44594000 Deferred wininet
PE 445f0000-445f4000 Deferred msvcrt
PE 44690000-44694000 Deferred wined3d
PE 447e0000-447e4000 Deferred setupapi
PE 44860000-44864000 Deferred winspool
PE 448a0000-448a7000 Deferred oleaut32
PE 44a50000-44a54000 Deferred winex11
PE 44c80000-44c84000 Deferred uxtheme
PE 44e10000-44e14000 Deferred localspl
PE 44e40000-44e43000 Deferred spoolss
PE 44e60000-44e63000 Deferred userenv
PE 45b10000-45b14000 Deferred msctf
PE 45b50000-45b54000 Deferred dsound
PE 45ba0000-45ba4000 Deferred mmdevapi
PE 45be0000-45be3000 Deferred winecoreaudio
PE 483d0000-483d6000 Deferred crypt32
PE 484f0000-484f4000 Deferred rsaenh
PE 78050000-780b9000 Deferred msvcp100
PE 78aa0000-78b5e000 Deferred msvcr100
PE 7b810000-7b939000 Deferred kernel32
PE 7bc10000-7bc14000 Deferred ntdll
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Steam\steamapps\common\crusader kings ii\ck2.exe
00000027 2
00000026 15
00000025 15
00000024 0
00000009 0 <==
0000000e services.exe
00000020 0
0000001f 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001d 0
0000001a 0
00000014 0
00000013 0
0000001b plugplay.exe
00000021 0
0000001e 0
0000001c 0
00000022 explorer.exe
00000023 0
System information:
Wine build: wine-1.4-rc3
Platform: i386
Host system: Darwin
Host version: 11.4.0
 
Hi

Hi, I've decided to update CK2 and buy the SoI DLC (plus African units and CoA), without learning that it doesn't work with Wine. Luckily I've tried the "Wine+Heap" Debug strt an for now it works fine like previously (MBP late 2011, Intel HD 3000, 2,8Go i7, 4Go ram). But now way to make the DLCs work. I can't play muslim and African units are like the muslim's (tried with Abbyssinia). I've tried to incorporate manually the things (the units especially) but then the game won't start at all. Do you have any idea how to make them work ?
Thansk in advance.
 
Last edited:
After a lot of trial and error, I've managed to get DLC downloaded from Steam working with wine (on linux, rather than OS X, but the principle is the same). Since this thread showed me how to get the base game working, I figured I could return the favor. Doing this takes a little bit of work and may not be for the faint of heart.

1) Install Mono 2.8 for Windows in wine. winetricks has a mono28 target, but it doesn't appear to be working. I had to go to Mono's site, download Mono version 2.8, and install it manually (wine /path/to/mono-2-8-blah.exe). (Why not the newest version, Mono 2.10? There's a bug in it that makes it not work with ck2game.exe. Thankfully, there's a bug report for it that says the issue didn't exist in 2.8, which is why I knew to try it).

2) ck2game.exe will run with Mono 2.8 installed, but it immediately quits because it can't find ck2.exe. (I don't know why, it feels like it should. I think it's a Mono bug.) What you need to do is put the path to ck2.exe in your Windows path. The way to do this is:
2a) "wine regedit" to enter the registry editor in wine
2b) Navigate to HKEY_CURRENT_USER/Environment
2c) Create a String Value (Right click, New -> String Value) called Path if it isn't already there
2d) Have this Path include your path to ck2.exe (mine is: "c:\\windows;c:\\windows\\system;c:\\Program Files\Steam\steamapps\common\crusader kings ii\"

3) Now you should be able to run ck2game.exe. But, you have to run it through Steam for the DLC that you downloaded from Steam to be recognized (makes sense, I guess, but it was disheartening when I ran it manually and it still said I needed to buy the Sword of Islam. I did already!) So, make sure your WINEDEBUG=warn+heap so the regular game runs, fire up Steam, and run Crusader Kings II. The launcher should pop up with all your DLC selected and you should be ready to go.

If not, I may have left something out. I'll try this on a fresh wineprefix tomorrow, but for now, I'm just glad I finally got it working. Hopefully it works for anyone else who wants to play Sword of Islam but needs to use wine to do it. Deus Vult or Allahu Akbar, whichever one you want. :p
 
Thanks but it doesn't make a sens at all to me :(. Especially this part :

2) ck2game.exe will run with Mono 2.8 installed, but it immediately quits because it can't find ck2.exe. (I don't know why, it feels like it should. I think it's a Mono bug.) What you need to do is put the path to ck2.exe in your Windows path. The way to do this is:
2a) "wine regedit" to enter the registry editor in wine
2b) Navigate to HKEY_CURRENT_USER/Environment
2c) Create a String Value (Right click, New -> String Value) called Path if it isn't already there
2d) Have this Path include your path to ck2.exe (mine is: "c:\\windows;c:\\windows\\system;c:\\Program Files\Steam\steamapps\common\crusader kings ii\"

Could you ELI5 or could someone with a mac environnement that managed to get the DLCs work react ?
 
Can't you just run ck2 dlc/dlc1.zip dlc/dlc2.zip ...? Or it's only for gamersgate version?

I don't quite understand what you mean, but : the problem is that I have to run ck2 in debug mod since I updated it, but I doesn't load the DLC not matter what I try :), and I'm on steam.
 
With steam the DLCs are not in zip but in .ncf format so not sure about that.
I did what zmb suggested and now I can play with it, but crashes come MUCH more often (had to change autosave to every month :( )

About point 2, he means open the Registry editor (in wineskin advanced, tools tab, on the left), select HKEY_CURRENT_USER on the left, then Environment (in a standard windows filesystem that wine emulates) and make the new string as he said. My path was: "C:\Program Files\Steam\steamapps\common\crusader kings ii\"
 
Last edited:
I don't quite understand what you mean, but : the problem is that I have to run ck2 in debug mod since I updated it, but I doesn't load the DLC not matter what I try :), and I'm on steam.
I am not sure about Mac and Steam, but on Windows and Linux you can run gamersgate version like I said bypassing the launcher. Btw, how do you run ck2 in debug mode? And why?
 
alexti: I've tried many variations of that, but it doesn't work. I'm not sure how Steam/the launcher is passing the DLC info onto the executable; the command line that gets executed is just ck2.exe. If you deselect DLC in the launcher, then the -dlc_remove (or something similar) flag is sent, but nothing I've tried works for adding DLC.

Moncho: I've only played for a decade or two in game time since getting the DLC to work, but I haven't had any crashes. I was playing an existing game rather than a new game as a Muslim, so maybe that's it? Or maybe there's another bug somewhere that's hitting you but not me. You should be able to undo everything by just uninstalling Mono if you haven't already.