What about Civ4 running in Linux?

Ramalhão

Warlord
Joined
Dec 28, 2003
Messages
237
Location
São Paulo/SP - Brasil
I read a guy talking about his experience with Neverwinter Nights, which is running better in a Linux than in Windows. In his tests, the game had a lot of graphic and sound problems in Windows, while in Linux these problems didn't appear.

For those who knows NWN and want to test it, here is a link with instructions and an installer to download.

In my opinion, Firaxis could try to make a similar project. Most content of CD/DVD are the same for any OS, basically it's only necessary to create an installer (to copy the necessary files to HD) and a new executable file (brought on installer), to run the game in Linux.

Several people here are having troubles with Civ4, mainly graphics and sound. Maybe in Linux these problems won't appear, even in the same computer.

Opinions, please :).
 
It is being attempted using Cedega. There is a thread on their forums discussing running Civ4 on Linux. This is from the latest "howto".

Here's the complete updated howto: (Upddated, 26/01/2006)

1. Install civ4 in Cedega in win98 mode
- Click Install button in Cedega
- Enter something like civ4 for Game Title
- Select setup.exe from the first CD for the Installer
- In Advanced tab click on Options button make shure it is in win98 mode and click OK, If you don't do that you get an error popup: Object reference not set
- Continue
- Install DirectX when asked to.

2. Delete the temporary civ4 setup folder
- Delete the folder {...} in: ~/.cedega/civ4/c_drive/Program Files/InstallShield Installation Information

3. Copy OLEAUT32.DLL to your civ4 executable folder
- copy in: ~/.cedega/civ4/c_drive/Program Files/Firaxis Games/Sid Meier's Civilization 4
- You can get it there: http://www.dll-files.com/dllindex/dll-files.shtml?oleaut32

4. Install patch v1.52 in Cedega in win98 mode
- You can get it there: http://www.2kgames.com/civ4/downloads.htm
- Click Install button in Cedega
- Select civ4 Game Title
- Select Civ4Patch1.52.exe for the Installer
- In Advanced tab click on Options button make shure it is in win98 mode and click OK, If you don't do that you get an error popup: Object reference not set
- Continue

5. Run the game once, exit, then edit your CivilizationIV.INI file
- You will find it in ~/.cedega/civ4/c_drive/My Documents/My Games/Sid Meier's Civilization 4
- Set EnableVoice = 0 (fixes the 3 popups in main menu)
- Set GUIManagedTextures = 1 (fixes the not-showing-text issue)

Have fun ! Very Happy

Last edited by abjab on Fri Jan 27, 2006 4:05 am; edited 15 times in total

I haven't attempted it as of yet because I've been busy with other projects.
 
Well, it may work, but this is emulation, it isn't what I'm saying.

Most content of Civ4 DVD would work perfectly in Linux, except the executable file and some dll (which doesn't exist in Linux). Firaxis could create an installer for Linux, which could copy all necessary content and extract the new executable file and some libraries. Then Civ4 could run natively in Linux, possibly much faster than Windows.
 
With as much Python as is in this game, you'd think they'd have released a version for Linux and OS X. However, they shot themselves in the foot by going with DirectX instead of SDL or OpenGL. SDL even has nice bindings to Python, making development even easier. By choosing DirectX, they made the porting process very difficult, requiring rewrites of the entire graphics code just to support a different platform. So, don't expect to see a Linux/OS X version any time soon, if ever.
 
Back
Top Bottom