C2C SVN Changelog

Code:
#### Civilization 4 SDK Makefile 1.0 ####
####  Copyright 2010 Danny Daemonic  ####
#########################################

#### Paths ####
TOOLKIT=H:\c2cbuild\Vc7
COMPILER_TOOLKIT=$(TOOLKIT)
SUB_DLL_COMPILER_TOOLKIT=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC
PSDK=H:\c2cbuild\Microsoft SDKs\Windows\v6.0
CIVINSTALL=C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword
GLOBALBOOST=$(CIVINSTALL)\CvGameCoreDLL\Boost-1.32.0
GLOBALPYTHON=$(CIVINSTALL)\CvGameCoreDLL\Python24
TORTOISE="C:\Program files\TortoiseSVN"
## Uncomment to have newly compiled dlls copied to your mod's Assets directory
#YOURMOD=C:\Users\Danny\Documents\My Games\beyond the sword\MODS\MyMod

OK, I just installed VS 2012 and used these paths (TOOLKIT pointing to the 2003 toolkit, PSDK pointing to the Windows SDK v6.0, and SUB_DLL_COMPILER_TOOLKIT pointing the same place you have it pointing), and it still fails to compile on both VS 2012 Ultimate and 2013 Ultimate. It does however compile in Visual C++ 2008 express if I set SUB_DLL_COMPILER_TOOLKIT to $(TOOLKIT). :confused: However doing that does not help it compile on 2012 or 2013.
 
SVN6672
Schema Validation added for CIV4GameOptionInfos and other changes to Caveman2Cosmos.xsd.
 
Sure. The errors are clearly related to not having the correct toolkit somewhere.

I knew i forgot something the windows sdk does not include the sal.h.
I attached the one from Vs 2008 copy it to WindowsSDK\include and it sould work.
 

Attachments

Sorry I over reacted and forgot... Won't happen again! ;)
 
6676 update

- Fix two MLF Control Files
- Add Platyping's code for setting invisible options to their default on starting a game. (For some reason his code is two lines shorter than mine - note neither of us have tested this beyond checking that the syntax is correct.)

Note: this does not fix the bug where all the xml is being loaded not just the bits that are supposed to be loaded.
 
The SVN is broken A change has killed the off switch in the MLF processing. Play the game with this SVN and your seas will be full of mermaids and your empire destroyed by rabbits - killer rabbits that is.
 
Huh, I thought all those 9 strength rabbits were a bit weird. But then I remembered the Giant Squids so I ignored it. Not like my Hunters aren't effortlessly murdering them anyways.
 
SVN6678

Fixing the error that all Modules are loaded.
This error happened because the Schema Validation for the Assets/Modules/MLF_CIV4ModularLoadingControls.xml failed and then all Modules where loaded.

I can take a look at the modular loading code but i think it is coded that it loads everything then the MLF xml loading fails.

The error came from a wrong relative path to the xsd you can see it in the attached picture the file is in Assets\Xml\Schema\Caveman2Cosmos.xsd.
Is was set like this xsi:noNamespaceSchemaLocation="..\..\Xml\Schema\Caveman2Cosmos.xsd" for that file it must be xsi:noNamespaceSchemaLocation="..\Xml\Schema\Caveman2Cosmos.xsd".

Also if anyone gets such a error there is something wrong with the xml you cannot expect the game to run like it is supposed to. Revert to a previous working svn or fix the error if you want to play!!!!! Also that sould not be a new thing to do so what is new it that you get those xml errors displayed also in the release build before the parser change they there only shown in the debug build.
 

Attachments

  • xsd.jpg
    xsd.jpg
    22 KB · Views: 65
6679 update

- Fix MLF errors
- Archive most of Orion Veteran's Mine Warfare mod.

I thought that Koshling had added a fix so specialist units could be removed without breaking saves. It is probably on his to do list.

SVN should now work again. You will get non fatal errors about Killer Rabbits but that should be all.
 
albert, is it necessary anymore to add entries to the schemas when adding new tags to the XML? Or is that all handled by the new XML read code in the DLL already?
 
albert, is it necessary anymore to add entries to the schemas when adding new tags to the XML? Or is that all handled by the new XML read code in the DLL already?

The old schemas are not needed anymore just add your tags to the dll and the xml.
Exept then you add tags to types i already converted to the new xsd schema the tags must be added there too. I posted the Types that i already converted here and in the svn log but that are not many.
 
Back
Top Bottom