Please let me know if this works for you.
Tnx, all work right.
Please let me know if this works for you.
@The Doc - I changed BugPath slightly by renaming the optional CvPathOverride module to CvAltRoot. Were you using this module?
Ah, since you run it as a mod you need to copy the file CvModFolder.py from the "BUG Mod" folder (where the help files are located) to "Assets/Python" and follow the instructions inside it. Open it up in Notepad and change the string to match the name of the mod folder, e.g. "BUG Mod SVN".
r = CyReplayInfo()
r.createInfo(CyGame().getActivePlayer())
print(r.getModName())
I'm confused. Where's the difference between CvAltRoot.py and CvPathOverride.py? Do I need both if running as a (custom) mod? Both files are in your svn directory.
Oh and is this mod not compatible with vista AND XP anymore without changing one of these files?
We can get the modname through the CyReplay if we are a bit creative in its use; even though the current game's replay info isn't set until the game actually ends, we can create our own replay of an in-progress game.
Just noticed there's v3.51 released, will grab it and check out later tonight it if that version solves my problem![]()