REALLY (really) simple DLL question

MegalodonShark

Chieftain
Joined
Oct 3, 2010
Messages
39
Location
Land of Oz
So, I've created my first modded DLL, and it works like a charm. I still have a few things to work out, but it works just fine as I have it now.

The problem is, unless I put it in the actual BTS assets folder (renaming the original with .bak), the game will not load my CvGameCoreDLL.dll file. Putting it in the root directory of the mod doesn't work : \

How do I force the game to load my dll from the mod directory when I start the mod, instead of having it use the default one like it has been? I found out this was happening because I kept modding the CPP files and getting no results, until it struck me to try putting my dll in the BTS assets folder just to make sure that changes were actually being committed. After I did so, the mod worked grandly.
 
You need a Assets folder in your mod folder. This should be it. Done.
 
Yeah, sometimes its better to ask really dumb questions instead of waste any more of your time on aimless debugging. Because it might be too easy for you to figure out by yourself.

Not so long ago I turned to this forum requesting help for setting a file path with Python. Only after I had worked out a lengthy work-around - which turned out to not work on all computers - did EmperorFool enlighten me about the fact that I only had to omit one backslash in order to turn my absolute path into a relative path (or something). Damn that was elementary! :p
 
Back
Top Bottom