View Full Version : A few basic questions


Anastomosis
Aug 08, 2007, 10:43 PM
I am a huge fan of this game and own it and both the Warlords and BtS expansions. I have a pretty good handle on both Python and C++ and so I felt I would take a crack at modding.

Having little experience in this area though, I just had a couple questions. I looked for about an hour on the forum, and couldn't find the answers (although I'm sure they're there somewhere).

1. The only SDK available for download clearly marks it as the 1.61 version. I have the 1.74 version of the game (as I was forced to get it when installing BtS). Is there a 1.74 SDK or does it matter?

2. Is there a separate SDK for Warlords and BtS? I assumed there was, because there is a separate CvGameCoreDLL.dll in the \Assets folder of each expansion. If so, where is this code?

3. Is there a reference guide that details what each of the files in the SDK do, like there kind of is for all the Python classes? (obviously many are self-explanatory, but some not so much)

Thanks much,
Anastomosis

EmperorFool
Aug 08, 2007, 11:51 PM
I don't know about 1 or 3, but for 2 I can say that each install includes the C++ code for the DLL wherever you installed it. For me, that's C:\Games\Civ4\CvGameCoreDLL. the Warlords and Beyond the Sword subdirectories each have their own CvGameCoreDLL folder as well. BtS's code will obviously be up-to-date, but I don't know if updating the vanilla or Warlords versions updated their C++ codebase.

Dale
Aug 09, 2007, 01:40 AM
The "CvGameCoreDLL" folders in warlords and BtS were updated by the patches. They should be up-to-date correct versions if the patches installed correctly.

Anastomosis
Aug 09, 2007, 10:02 AM
I'm retarded - there it is. I guess I didn't realize that C++ code folder was just automatically there because when I tried a mod back in the day, before the SDK was released, you had to download the code from the site, and I just assumed this practice was continued.

Thanks a lot. I guess there's probably not an answer for number 3 (the assumption being if you know enough code to be mucking around in there, you know enough to figure out what each file does). Still, if anyone has made an attempt at a catalog, let me know.