Page: [root]/games/civ5 | src | log | faq | css

How to play civ5 online

  1. How to play civ5 online
    1. Preamble
    2. Statistics
    3. Software
      1. Civilization 5
      2. Vox populi
    4. Installation under Wine
    5. Linux tricks
    6. Networking
    7. Communication
    8. How to host a game
    9. Hybrid turns with corrections for warfare

Preamble

Game is abandonware, civ5 netcode is shitty, we are a bunch of Russian (who speak english when there's somebody around who doesn't speak russian) Linux enthusiasts.

You have to jump through a couple of hoops to get a successful networked Civ5 game running.

Statistics

For now we store match statistics in Google spreadsheet

Software

Civilization 5

Use this distro or, especially if you use linux, use git clone http://nbl.zapto.org:4087/shared/civ5.git.

Vox populi

We play using Vox Populi overhaul mod: https://ipfs.bitcheese.net/ipfs/QmS11kVVHBgVxFEhg8CzezfaZhGdetPxZbKneCM7Ao5dET?filename=vp_12.15-1.ts.7z. Unfortunately, mod is Windows-only, so use Wine on Linux. To install mod, unarchive it into <civ folder>/Assets/DLC. Also, before changing your mods, clear My Documents/My Games/Sid Meier's Civilization 5/cache folder.

All modpack versions are available here: https://ipfs.bitcheese.net/ipns/QmaoRxP84cVtptSVewaYuVDcxW5H4aWjApN487fMsyipRg

Installation under Wine

Skip this section if you used git. If you decide to try installing civ yourself,

$ winetricks vcrun6 mfc42

otherwise the installer will crash right at the start.

The installer might crash with a floating point error under latest versions of wine, e.g. under wine-2.20, available as wine-staging package on debian stretch.
Use earlier version. It works fine under wine-1.8.7, available from wine package on debian stretch. However, game itself often does not work with wine 1.8.7, so switch versions back after installation.

When I used export LC_ALL=ru_RU.UTF-8 to fix encoding problems in the installer, they were indeed fixed, but the installer crashed in the end. So I redid it with export LC_ALL=C, and it worked fine. Ignore broken encoding, just press continue whenever possible and choose english language when prompted with installation options.

Linux tricks

Older wine (~1.8.7) is known to fail to launch the game, use recent stable or staging https://wine-staging.com/installation.html

Run wine CivilizationV to start the game. Running winecfg and setting up a virtual desktop beforehand is advised.

If the game complains about missing libGL.so.1 and crashes at the very beginning, you need to install 32-bit opengl drivers that contain this file. On Debian Stretch if you are using nvidia do sudo apt install libgl1-nvidia-glvnd-glx:i386 (assuming you have already enabled multiarch).

Networking

We use OpenVPN for LAN emulation. Windows download: https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.4-I601.exe

To connect, contact Voker57 to get your personal config. After receiving it, right-click it and choose "Run OpenVPN on this config" (windows) or run sudo openvpn --config <myconfig.ovpn> (linux)

On Windows, you will need to manually set metric of your virtual adaptor to 1. Control Panel -> Network something -> Your OpenVPN adaptor -> Properties -> TCP/IP v4 -> Properties -> Advanced -> Metric. Picture pending.

On linux, you might need to open /etc/hosts and replace line with localhost with

192.168.7.XX localhost # 192.168.7.XX is your assigned IP

We're sorry about your localhost-binding services.

Communication

We use XMPP for text and mumble for voice.

How to host a game

Autosaves are broken, AI moves two times in row after loading one. Instead, save two times in row manually each turn. It's host's responsibility to save each turn, if latest save turns out to be broken when it needs to be loaded, hosts loses right to be host next time random chooses them as host.

Saving after first slice of players moved will probably result in broken save, avoid it.

In first 100 turns it's ok to save each 5 turns, except the first turn.

If host loses 3 rights to host, host is changed mid-game.

Use pitboss mode, no barbarians, no ancient ruins (desyncs with mod). No events system (broken in MP). Preferred map is Tectonic.

Hybrid turns with corrections for warfare

We play hybrid turns (simultaneous while no humans are at war, sequential otherwise). Because turns aren't sequential immediately, but only after turn ends, here are some additional rules to avoid simultaneous warfare, which is prone to luck and network shenanigans:

  1. On turn N declare a war in chat. Declared one cannot make defensive pacts on next 2 turns.
  2. On turn N+1 you MUST declare a war in-game (ctrl-click on portrait). On that turn you can't enter enemy territory.
  3. On turn N+2, when turns are sequential, actual hostilities can begin.

If these rules are violated, game is reloaded to before the war save and the violator is anally denounced.

Exception: when an AI asks you to declare war, you can skip the first phase.


Last edited: Iaroslav Gridin on 2018-01-10 22:07:29 +0200
Powered by bitcheese wiki engine