IPB

Welcome Guest ( Log In | Register | Lost Password? )

Civilization IV

http://tiamat.yawelcom.net/Civ4/ - tramsan's Leader + Civilizations Overview

Beyond the Sword

CorporationResearch [Order]Required ResourcesCompetitorGreat Person
 
Cereal MillsRefridgerationGrain, Corn, RiceSid's Sushi, Standard EthanolGreat Merchant
Sid's SushiMedicineCrab, Clam, Fish, RiceCereal Mills, Standard EthanolGreat Merchant
Standard EthanolPlasticsCron, Sugar, RiceCereal Mills, Sid's SushiGreat Scientist
 
Aluminum CoRocketryCoalMining Inc.Great Scientist
Creative ConstructionsCombustation [1]Iron, Copper, Marble, Stone, AluminiumMining Inc.Great Engineer
Mining Inc.Railroad [1]Coal, Iron, Copper, Gold, SilverCreative Constructions, Aluminum CoGreat Engineer
 
Civilized JewelersMass MediaGold, Silver, GemsMining Inc.Great Artist

TODO:

  • Move coast/river trade techs
  • up for discussion: founded religion should start in capital if no rel yet.
  • Add new 'auto remove jungles' command to workers
  • Have automated workers with the option “leave forests” chop down jungles
  • wordwarp at tooltips (or at least increase width) - impossible
  • add city radius to all units (if both tweak options are selected) - impossible

Colonization

TODO:

  • Fix unsynch at FF-pop

SDK

Installing Libraries

  • Download VC++ Toolkit 2003 and install it.
  • Download additional multithreaded libraries and unzip them to C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\.
  • Download the Microsoft Platform SDK and install it.
  • Add C:\Program Files\Microsoft Platform SDK\Bin to your path, relog.
  • Search for a x86 (not the 64bit/AMD64 versions) cvtres.exe and copy it to C:\Program Files\Microsoft Platform SDK\Bin
  • Download the latest Code::Blocks.

Installing IDE

  • Download the latest (stable) Code::Blocks version (search for 'without compiler') and install it.
  • (optional) Download the latest nightly build (pick a version and follow the instructions at the post) and unzip the files you download.
  • The first time you start Code::Blocks, you will be shown a list of compilers. Select Microsoft Visual C++ Toolkit, and click Set As Default. Press OK.
  • Go to Settings → Compiler and debugger → Search Directories (tab) → Compiler (tab) and add the the following directories:

C:\Program Files\Microsoft Visual C++ Toolkit 2003\Include
C:\Program Files\Microsoft Platform SDK\Include

  • Go to Settings → Compiler and debugger → Search Directories (tab) → Linker (tab) and add the the following directories:

C:\Program Files\Microsoft Visual C++ Toolkit 2003\Lib
C:\Program Files\Microsoft Platform SDK\Lib

Compiling the SDK

  • Backup Civilization 4\Beyond the Sword\CvGameCoreDLL !
  • Backup Civilization 4\Beyond the Sword\Assets\CvGameCoreDLL.dll
  • Open Civilization 4\Beyond the Sword\CvGameCoreDLL\CvGameCoreDLL.vcproj in Code::Blocks
  • Go to Project → Build options → Final Release Win32 → Compiler Settings (tab) → Compiler Flags (tab) and uncheck “Produce debugging symbols [/Zi]”
  • Go to Project → Build options → Final Release Win32 → Compiler Settings (tab) → Other options (tab) and remove all contents, add ”/EHsc”
  • Go to Project → Build options → Final Release Win32 → Linker Settings (tab) → Link Libraries and add “user32”
  • Go to Project → Build options → Final Release Win32 → Linker Settings (tab) → Other linker options and remove ”/pdb:Final Release\CvGameCoreDLL.pdb”
  • Go to Project → Build options → Final Release Win32 → Search Directors (tab) and add the following two times at 1. Compiler (tab) and 2. Resource compiler (tab)

Boost-1.32.0\include
Python24\include
C:\Program Files\Microsoft Platform SDK\Include\mfc
C:\Program Files\Microsoft Platform SDK\Include

  • Save current Project. Civilization 4\Beyond the Sword\CvGameCoreDLL\CvGameCoreDLL.cbp will be created, that's the new project file (replacing CvGameCoreDLL.vcproj)

Notes / Tips

  • Hit Ctrl-F9 to build. Output will be written to Civilization 4\Beyond the Sword\Beyond the Sword\Assets\
  • Since the Civ source files are rather big disabling the Code completion (at Plugins → Manage plugins → Disable, NOT the options) will increase the speed of Code::Blocks dramatically.

Repositry

 
-  oor/civilization.txt · Last modified: 2009/06/07 02:12 by tramsan