NCommander
Chieftain
- Joined
- Aug 18, 2012
- Messages
- 17
Perhaps I'm the only one as I've yet to find reference to this on the forums, or on WineHQ, but I play Civ5 under WINE, and was dismayed that not only installing BNW not didn't work "right", it broke GNKs with it. If you just want the easy fix, scroll to the bottom, and follow the instructions, otherwise, here's a write up on how to fix it.
As a note, this was tested with wine-1.4.1. It MIGHT not be an issue with later wines, but I haven't tested as of yet.
THE BUG:
This appears to be both a bug in Civ5, and in WINE. Specifically, it appears one of the internal function calls (as of yet unlocalized), returns directory names in a different order than actual Windows will do so. Civ5 tries to load expansions in filename order, which under Windows is returned as "Expansion", then "Expansion2". Under WINE, the order is reversed, causing "Expansion2" to be loaded BEFORE "Expansion".
Civ5 reports both expansions available, but tries to run BNWs SQL statements BEFORE running GNKs. The workaround is relatively easy.
HOW TO FIX:
1. Open your wineprefix (if using winetricks, this is in $HOME/.local/share/steam)
2. Navigate to the Civilization V folder (its going to be in drive_c/Program Files (x86)/Steam/SteamApps/common/Sid Myer's Civilization V/ in a default install).
3. Open the Assets/DLC folder
4. Assuming you have GNK, BNW, and a few DLCS, you see folders name (Expansion, Expansion2, DLC_01, DLC_02).
5. Rename Expansion to Expansion3 (this forces Civ5 to load GNK before BNW)
6. Launch Civ5
DISCLAIMER:
I should note this isn't a real fix, but with this, I was able to start a game with civilizations from both BNW and GNKs, got the fancy new BNW music on the menu screens, and for the moment seems to be running relatively sane. Obviously there are likely to be unexploded bugs lurking in this setup, but I'll keep trying to keep the world stable.
I'll post a bug to winehq when I can and try and localize what voodoo in WINE needs to change to make a legit fix. I also suspect this is the source of some of the DLC problems people have been having with Civ 5 in general.
As a note, this was tested with wine-1.4.1. It MIGHT not be an issue with later wines, but I haven't tested as of yet.
THE BUG:
This appears to be both a bug in Civ5, and in WINE. Specifically, it appears one of the internal function calls (as of yet unlocalized), returns directory names in a different order than actual Windows will do so. Civ5 tries to load expansions in filename order, which under Windows is returned as "Expansion", then "Expansion2". Under WINE, the order is reversed, causing "Expansion2" to be loaded BEFORE "Expansion".
Civ5 reports both expansions available, but tries to run BNWs SQL statements BEFORE running GNKs. The workaround is relatively easy.
HOW TO FIX:
1. Open your wineprefix (if using winetricks, this is in $HOME/.local/share/steam)
2. Navigate to the Civilization V folder (its going to be in drive_c/Program Files (x86)/Steam/SteamApps/common/Sid Myer's Civilization V/ in a default install).
3. Open the Assets/DLC folder
4. Assuming you have GNK, BNW, and a few DLCS, you see folders name (Expansion, Expansion2, DLC_01, DLC_02).
5. Rename Expansion to Expansion3 (this forces Civ5 to load GNK before BNW)
6. Launch Civ5
DISCLAIMER:
I should note this isn't a real fix, but with this, I was able to start a game with civilizations from both BNW and GNKs, got the fancy new BNW music on the menu screens, and for the moment seems to be running relatively sane. Obviously there are likely to be unexploded bugs lurking in this setup, but I'll keep trying to keep the world stable.
I'll post a bug to winehq when I can and try and localize what voodoo in WINE needs to change to make a legit fix. I also suspect this is the source of some of the DLC problems people have been having with Civ 5 in general.