So I got BtS yesterday and I got the SDK from the installation directory. When I went to compile it I got a host of problems (missing variable declarations, etc.) which I have fixed.
What I am trying to do is just compile the DLL and put it in the asset directory for the Tech Tree editor. I compile using the "Final Release" and put the resulting DLL in the asset directory and BtS crashes when loading the XML. What gives? I have nothing but the DLL in the asset directory. No XML. No python. No art. Nothing. Just the resulting DLL file.
Here is the call stack...
> CvGameCoreDLL.dll!FVariableSystem::GetValue(const char * szVariable=0x022b7ee8, const wchar_t * & pwszValue=0x00000000) Line 320 C++
CvGameCoreDLL.dll!CvGlobals::cacheGlobals() Line 2657 + 0x1f bytes C++
CvGameCoreDLL.dll!CvXMLLoadUtility::SetGlobalDefines() Line 231 C++
What I am trying to do is just compile the DLL and put it in the asset directory for the Tech Tree editor. I compile using the "Final Release" and put the resulting DLL in the asset directory and BtS crashes when loading the XML. What gives? I have nothing but the DLL in the asset directory. No XML. No python. No art. Nothing. Just the resulting DLL file.
Here is the call stack...
> CvGameCoreDLL.dll!FVariableSystem::GetValue(const char * szVariable=0x022b7ee8, const wchar_t * & pwszValue=0x00000000) Line 320 C++
CvGameCoreDLL.dll!CvGlobals::cacheGlobals() Line 2657 + 0x1f bytes C++
CvGameCoreDLL.dll!CvXMLLoadUtility::SetGlobalDefines() Line 231 C++