Civilization 4 colonization linux

Тема: Civ4 можно запустить и под Linux

Опции темы
Отображение

Администратор в отпуске

Регистрация 27.03.2004 Адрес Иркутск Сообщений 2,644

Transgaming Technologies объявила в среду о выходе Cedega™ 5.1 — альтернативной Linux’овой платформы. Эта платформа поддерживает такие популярные продукты, как Civilization 4, Fifa 06, Need For Speed: Most Wanted.
Cedega позволяет запускать под Linux’ом созданные для Windows игры, помимо уже перечисленных она поддерживает такие игры, как: World of Warcraft, Half-Life 2, Dungeon Siege II и многие другие.

Cedega 5.1 можно напрямую скачать с www.transgaming.com, если вы участвуете в подписке от TransGamer. Также можно скачать временную (на 14 дней) demo-версию.

(копия новости с сайта)

Администратор в отпуске

Регистрация 27.03.2004 Адрес Иркутск Сообщений 2,644

А я не знаю Я и Линюкса-то в глаза не видел — такова она, работа журналиста

Ага, у меня жена — журналист. Волком воет от макинтошей на работе. Особенно ее напрягает однокнопочная мышь и другое переключение раскладки на клаве

Нет.

Тема конечно, создана давно. И тем не менее..

Для игры в Цивилизацию никакой Windows действительно не нужен. Не нужна и платная Cedega. Civilization 4 прекрасно работает в Linux под Wine. Даже BTS и даже с модами.
Но с разбегу после установки она не запускается.
Что нужно проделать

Разумеется, сначала обязательно поставить Wine. http://www.winehq.org/

Скачать winetricks. Winetricks это скрипт, каковой проделывает за вас всю работу по нахождению и установке в Wine всякого Windows барахла, как-то
MS common controls 5.80
MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6
MS Arial, Courier, Times fonts
MS DCOM, override the Wine implementation
MS DirectX 9 user redistributable
divx video codec
MS .NET 2.0 (requires Windows license»
ffdshow video codecs
Adobe Flash Player ActiveX and firefox plugins
The HTML rendering Engine (Mozilla)
Intel Codecs (Indeo)
MS Jet 4.0 Service Pack 8
.
И многогого другого.

Предупреждаю все свои пакеты winetricks тянет из интернета, поэтому без подключения он ничего не поставит.

1. Установить Мелкомягкий MsXML3.
winetricks msxml3
(если вы находитесь в том же каталоге, в который вы скачали winetricks, то запускать надо ./winetricks msxml3)

2. Запускаем winecfg. Переходим на вкладку Библиотеки. Выбираем msxml3. Нажимаем кнопку Редактировать. Выбираем «Сторонняя — Windows»

2. Устанавливаем DirectX9.
winetricks directx9
(если вы находитесь в том же каталоге, в который вы скачали winetricks, то запускать надо ./winetricks directx9)

3. В каталоге Civilization (или Warlords или BeyondTheSword) надо найти msxml3.dll (который был поставлен самой игрой) и удалить его. Или переименовать. Теперь игра будет использовать системный dll.

4. Запустить нужную вам Цивилизацию. Учесть, что моды из меню ADVANCED — LOAD MOD — НЕ запускаются. Запускать надо из командной строки например: wine Civ4.exe mod=/MyMod.
Или в Каталоге МоиДокументы\MyGame\Civilization подкрутить инициализонный файл нужной вам Цивилизации.
Там тоже есть строчка Mod.

Антиалиасинга не будет. Разумеется, игра при отрисовке будет слегка подтормаживать, поэтому красотами и внешними эффектами лучше не увлекаться. Само думание на мой взгляд — не замедляется.
Проверял мод Quot Capita, — пока все нормально. Только текстуры и только на китайском лидере (забыл как его, второй после Мао) слегка попортились. Остальные лидеры отрисовываются нормально. Я не русифицировал свою Цивилизацию и не играл на русском языке.
Думаю, если ваv захочется это сделать — с помощью того же winetricks установите полный комплект шрифтов.
winetricks allfonts.

Источник

Civilization IV on Linux with Wine 1.1.16

This is a guide for running the Windows version of Civilization IV (no expansion packs) on Linux using Wine. I’ve written guides on this twice before, but recently I wanted to play and found that my previous instructions were out of date again. Since I last played with Wine 0.9.44, the graphical glitches have been fixed and the game’s disk DRM works without a no-CD crack.

Читайте также:  Centos install linux headers

On Ubuntu 8.10 with the Nvidia graphics driver, the game runs almost flawlessly on the highest graphics settings. I’ve played it for hours without a single crash. Here are the only minor issues I’ve noticed:

  • The animated busy cursor only shows the first frame instead of animating.
  • City growth and production meters on the map don’t work. (See the tweaks section for a workaround.)

Install the latest version of Wine

Wine is constantly improving; it’s worth your time to get the latest version for the best application compatibility. Follow the directions on Wine’s website to set up the official Wine software repository in Ubuntu.

After you’ve added the Wine repository, install Wine from the package wine (click the link to install), or by running the command below in your terminal:

Install Civilization

  1. I’ve had difficulty in the past with Wine and swapping CDs for installers. An easy workaround for this is to copy the data3.cab file from the second Civilization CD onto your hard drive before starting.
  2. Run setup.exe on the first Civilization CD using Wine. If you’re prompted to install DirectX, click cancel. (If you can’t continue after canceling the DirectX installer, see the workarounds section.) Select the express install, and when the installer asks for the second CD, browse to the folder on your hard drive where you copied data3.cab . The installer should finish successfully.
  3. Now you can patch the game to the latest version (1.74). Download, extract, and run the patcher executable with Wine. There will be an error at the end of the patching that is safe to ignore.
  4. You’ll need three native DLL files before you can run Civilization. Get these from the linked sites, or from a real Windows system: msxml3.dll, msxml3r.dll, and d3dx9_36.dll.
  5. Put the three DLLs in the Civilization program folder (

/.wine/drive_c/Program Files/Firaxis Games/Sid Meier’s Civilization 4/ ).

  • Add a native override for msxml3 using the Libraries tab of the winecfg tool ( Applications->Wine->Configure Wine ).
  • Run the Civilization executable with Wine to start the game.
  • Tweaks

    • I’d recommend running Civilization in windowed mode so it doesn’t change your screen resolution or prevent you from switching applications. Do this simply by turning off full screen mode in the game’s graphics options.
    • Set the globe graphics to medium or lower to fix some graphical glitches in globe view.
    • City growth and production meters on the map don’t work. You can work around this by enabling the detailed city info option in the game’s graphics options. This causes the values to be displayed textually.

    Issues and workarounds

    • If canceling the DirectX installer prevents the installation from continuing, try putting d3dx9_26.dll in your fake Windows system32 folder ( .wine/drive_c/windows/system32/ ). This should cause DirectX to be detected.

    More information on running Civilization with Wine is available on the AppDB page. Enjoy the game!

    Archived Comments

    Anonymous

    is this for Sid Meier’s Civilization IV: Colonization (PC) from 2008 or this is for Civilization IV (PC) from 2005 ??

    Anonymous

    Thank you, thank you, thank you. The (only) area where Linux has trouble competing with Microsoft is gaming (proprietary API’s). Since I just rebuilt my system (Linux exclusively), your tutorial was God sent.

    Anonymous:
    This guide is for Civilization IV from 2005.

    Anonymous

    The guide is actually more simple that you have made out.

    All you have to do is:-

    — install game (skip dx9)
    — install patch (it will error at the end — ignore)
    — copy (only) d3dx9_31.dll + d3dx9_32.dll in to .wine/drive_c/Program Files/Firaxis Games/Sid Meier’s Civilization 4 folder
    — copy nocd executable

    WINEDLLOVERRIDES=“msxml3=n;” wine Civilization4.exe

    — this is so that msxml3 is not native for the rest of your wine apps.

    It runs (and Fast!!)

    Anonymous

    Another great tutorial! Your guide worked perfectly for me on Ubuntu 8.4 – it’s a real pleasure to be able to play Civ4 again…

    Читайте также:  Как заправить принтер canon ip4600

    Stephanie

    I tried this tutorial but it doesn’t work for me. I’m running Ubuntu 8.10 and Wine 1.1.16. I did everything above and it still doesn’t open. What am I missing?

    If you’re not already doing so, try running Civilization with Wine via the terminal. This way you’ll get an error that can help you troubleshoot why it’s not working.

    M3m.lost

    I also cant run it. it says:

    fixme:service:QueryServiceObjectSecurity 0x13ed40 4 0x13eff8 0 0x32ef30 — semi-stub
    fixme:service:QueryServiceObjectSecurity 0x13ed40 4 0x13eff8 28 0x32ef30 — semi-stub
    fixme:advapi:SetEntriesInAclA 1 0x32eec0 0x13f00c 0x32ef2c
    fixme:service:SetServiceObjectSecurity 0x13ed40 4 0x32eeac
    fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS)
    fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
    fixme:cursor:CURSORICON_CreateIconFromANI Loading all frames for .ani cursors not implemented.
    fixme:font:WineEngRemoveFontResourceEx :stub

    I installed it without problems. And did everything you say.
    I can get the splash screen to show up, but then nothing happens 🙁

    Mark Bennison

    Thanks Tom, it was your original guide that prompted me to get out my old Civ4 disks and try using wine. I have Civ4, Civ4 Warlords and Civ4 Beyond The Sword expansions all running now.

    One glitch I notice is that naval units all have a rectangle around their base where it seems the graphics aren’t being rendered/blended properly (the rectangle is the size of the unit) — no other units are affected with this glitch. If I recall I started seeing the problems with an earlier version of Wine (somewhere around the 1.1.9 release)

    Other things that may help:
    a) In the game’s ini file (probably in /home//My Games//CivilizationIV.ini I had to set EnableVoice to 0 to stop the annoying invalid audio capture device errors on startup;
    b) In the game options, audio, I found I had to set the sound options to “use system default” or “use system config” (depends on the game) as I had no sound past the opening credits if I didn’t;
    c) Wine is not perfect so it will crash from time to time. Save your game often (autosave is your friend!) But also note that some crashes are caused by the game state and so will always crash at the same point — doesn’t happen often but you’ll have to abandon the game or go back to an earlier save !

    The naval units issue should be fixed in Wine 1.1.17, which was released yesterday:
    http://bugs.winehq.org/show_bug.cgi?id=17384

    Merter

    Great guide, thx a lot.

    But what about the extensions?

    Mark Bennison

    If by extensions you mean the Expansions pack then the above guide is a good start. As I mentioned I have both the Warlords and Beyond The Sword expansions running successfully under Wine so here’s how I did it. I do use no cd versions of the games — I haven’t had time to go back and try a clean install.

    Warlords:
    You can pretty much follow the guidance given in Tom’s original post on getting Civ to run under Wine (see http://tombuntu.com/index.php/2007/10/24/civilization-iv-on-linux-updated-how-to/). The addition is that you have to also download d3dx9_36.

    Beyond The Sword:
    Use winetricks to install directx9 and msxml3
    Then install with WINEDLLOVERRIDES=“msxml3=n” wine f:\setup.exe, where f: is the CD/DVD drive
    Download and run the patch
    As I use a No CD version then I copied this over the real executable — the files will be in Note that files go into ./drive_c/windows/profiles/mark/Application Data/Firaxis Games/Sid Meier’s Civilization 4/Beyond the Sword/ (replace mark with your login)
    Rename msxml3.dll to msxml3.dll.bak in the same directory.

    Hope that helps!

    Can you please explain step 5 in greater detail? I am a beginner at this. I have saved the three dll files to my desktop but I’m lost when you say to put them in the program folder. Please explain how to do this.

    Also, I downloaded the game off vuze, not installed from a cd.

    Adversus

    Find the correct folder to put the .ddl’s from step 4 in. By default it should be:

    /.wine/drive_c/Program Files/Firaxis Games/Sid Meier’s Civilization 4

    translates to /home/. For me it was however (Ubuntu hardy)

    /.wine/drive_c/windows/profiles/adversus/Application Data/Firaxis Games/Sid Meier’s Civilization 4/

    if necessary you can find the civ IV directory using:

    Читайте также:  Картридж для принтера hp м552

    sudo updatedb
    locate Firaxis

    haven’t tested it extensively but seems to work like a charm, great guide, thanks!

    Anonymous

    Where can I find boost_python-vc71-mt-1_32.dll?

    Pookie

    With fedora 11, I follow the steps, its keeps asking for disk 3 and it just doesn’t find the disk, don’t know why disk2 worked.

    Hey, thanks. At first I was getting an error, but then I purged my wine installation and and followed your instructions exactly and it worked! I have never used a no-cd crack and didn’t want to re-up for a new cedega contract since upgrading from kubuntu 8.04 to 9.04 nerfed that. This is great! I’ll now try BTS, hopefully that will work too without no-cd or cedega!

    So, with BTS patched to 3.19 (which Firaxis made no-cd so no crack is necessary!) it installs and runs. There is an error when starting it, but it runs anyway. Also, there are some long pauses during the installation while it checks for DX9, but eventually it wakes up and starts the install. Great!

    Pyrex

    Hey! Great guide. I had no trouble with changing the CD on my machine. Thanks!

    DukeOfContention

    quick guide for wine 1.1.25 Civ 4 patch 1.52
    /usr/bin/wget http://www.kegel.com/wine/winetricks \
    —output-document=$HOME/.wine/winetricks
    /bin/sh $HOME/.wine/winetricks msxml3
    instal game without dx then instal patch 1.52 and no-cd patch
    copy d3dx9_31.dll d3dx9_33.dll msxml3.dll
    d3dx9_26.dll d3dx9_32.dll d3dx9_34.dll msxml3r.dll to directory where game is installed and have fun … game run fast :>

    I have attempted to use this guide under both 8.04 and 8.10, with success in neither. The closest I have gotten is having the game run but not display any terrain — units, resources, blue circles, etc. are displayed but not the terrain. Perhaps it is my ATI Radeon x1200 (integrated) graphics card?

    Catherine

    Tom – I have tried to follow your instructions, but I can’t get Civ to install. I am running Jaunty and Wine 1.1.27.

    I did get an installation of sorts, but when I ran civ iv, the initial menus were messed up and would not let me progress to the next screen.

    I removed wine, removed everything and started afresh. This time, the installer couldn’t find disks 2 and 3. I tried copying them to folders in the fake c drive, but it would not accept them.

    William

    PC:
    ASUS A8N-SLI Deluxe mobo
    AMD64 +3500
    nVidia GT6800
    Ubuntu 9.04
    AC97 on board sound
    Wine 1.01/1.1.30 (see text)

    I attempted to set up Civ 4 in Wine, and had the following problems:
    1) I started with Wine 1.01. The install worked fine, no problems. I installed the .dll files and made the setting change in WINECFG. upon startup the LOADING screen appeared, then emitted a message “Cannot Locate CD Rom”. This turned out to require an upgrade to Wine 1.1.30 (current beta).
    2) Game now loads until “INIT ENGINE” appears, then is hangs. This required d3dx9_32, 33, and 34.dll (might not need all of them, but needed at least one of them).
    3) Game now loads and runs fine, but complained once that my machine did not meet minimum requirements and set all my graphics to LOWER. This seems to only happen once. I was able to run the game, start a random civ, and run it without error. The POP and PROD sliders do indeed not work, but setting to Detailed City Info gives a completion time in text for production.
    4) Not really a bug or problem, but if your screen resolution is set to 1024 by 768 and you run this in a window the EXIT, GO BACK, and START buttons on the bottom will be out of sight to the bottom.
    5) Sound worked fine right out of the box.
    All this was with v1.00 straight off the disc. More later if I have problems patching and adding Mods.
    Kudos and thanks to all the people who solved this game install.

    Pierre

    Thank you very much! Works with Civ4 from Steam.

    Источник

    Поделиться с друзьями
    КомпСовет
    Adblock
    detector