[MOD][WARLORDS] ViSa Modpack

TAfirehawk said:
This was a question point we had and didn't get to fully test because of the 11th hour issues with the MSI updater.

I was hoping people could still install say v1.20 full and then the v2.10 patch without needing any registry settings, but if that isn't the case I just need to pull down v1.20 full and force new people to install v2.00 full.
I'm not 100% sure why the registry settings are needed as they seem to just contain the location of the VISA directory and a version string. Given that you can easily find out the location of that directory from the module level special variable __file__ in a Python script, i.e. in say CvPath.py

Code:
from os.path import abspath, join, normpath

def _getInstallDir():
    try:
        ViSaDir = __getRegValue(_winreg.HKEY_LOCAL_MACHINE, 
            r"SOFTWARE\Firaxis Games\Sid Meier's Civilization 4 - Warlords\VISA", "AppDir")
    except EnvironmentError:
        ViSaDir = normpath(join(abspath(__file__), "../../.."))
    ## civ4Dir = os.path.join(civ4Dir,"Warlords")
    return ViSaDir

would provide a working default for people without the registry key. You could probably add the AppDir key to the registry if the exception is thrown in fact, it's probably a good idea if you plan to use the registry for anything more later on.

PS. I've not tested that code rigourously, should work though ;)
 
spiralx said:
I'm not 100% sure why the registry settings are needed as they seem to just contain the location of the VISA directory and a version string. Given that you can easily find out the location of that directory from the module level special variable __file__ in a Python script, i.e. in say CvPath.py

Code:
from os.path import abspath, join, normpath

def _getInstallDir():
    try:
        ViSaDir = __getRegValue(_winreg.HKEY_LOCAL_MACHINE, 
            r"SOFTWARE\Firaxis Games\Sid Meier's Civilization 4 - Warlords\VISA", "AppDir")
    except EnvironmentError:
        ViSaDir = normpath(join(abspath(__file__), "../../.."))
    ## civ4Dir = os.path.join(civ4Dir,"Warlords")
    return ViSaDir

would provide a working default for people without the registry key. You could probably add the AppDir key to the registry if the exception is thrown in fact, it's probably a good idea if you plan to use the registry for anything more later on.

PS. I've not tested that code rigourously, should work though ;)

#1 mrgenie provided the Registry Key fix...even I was slow to see it on the ViSa Website which I checked AFTER my reply :)

#2 we were using the keys to reduce the install errors but the MSI updater was giving us major problems so because of the needed CTD fix we pushed v2.10 out as a RAR/7zip patch.

#3 most all of this is explained in this thread as we started to use the Installer in v1.50 :D

EDIT
Good find, but everybody that patches from anything but v2.00 needs to download our Registry Key Fix, not manually edit the files :)
 
The Swede said:
The Man on my Deer Rider is pink...

Yup, known issue and keldath has that fixed....once we get his fixes and the Genetic Era merged :)

Unless we all like the PINK Deer Rider :lol:
 
Ah well, I didn't use the installer as I was getting 17kb/sec from the main visa site and 300kb/sec from the alternative download site which just had the RAR versions of v1.20 and v2.10 ;)

Anyway, enjoying the mod so far! It's definitely more interesting at the start as you need to hope that your initial city doesn't have any resources because you can't see them yet, not because it's actually rubbish :D
 
spiralx said:
Ah well, I didn't use the installer as I was getting 17kb/sec from the main visa site and 300kb/sec from the alternative download site which just had the RAR versions of v1.20 and v2.10 ;)

Anyway, enjoying the mod so far! It's definitely more interesting at the start as you need to hope that your initial city doesn't have any resources because you can't see them yet, not because it's actually rubbish :D

That is why we have both sites :)

Glad you are enjoying ViSa as we try to make it what Firaxis should have made in the first place...but not :crazyeye: either :D
 
TAfirehawk said:
And the Source Code for v2.10 is on the ViSa Website for those interested :)
Yeeha, I can now update to Warlords 2.08 and enjoy the new VISA with my changes :-) Thanks for making this available.
 
Hi there

I installed the latest visa mod aswell as the latest patch. The only problem is when playing in the game, the main interface is not visible at all. Looking up the "options" tab from the main menu that is called up in game does not show up either. Also, the visapedia and options tabs from the main menu as the game starts up do not show up. Please can you recommend a fix for this as I am eager to try this exciting looking mod.

Thank you
 
Ryan2233 said:
Hi there

I installed the latest visa mod aswell as the latest patch. The only problem is when playing in the game, the main interface is not visible at all. Looking up the "options" tab from the main menu that is called up in game does not show up either. Also, the visapedia and options tabs from the main menu as the game starts up do not show up. Please can you recommend a fix for this as I am eager to try this exciting looking mod.

Thank you

That is an install problem or registry key problem that we have been discussing in the last few posts...and the first post and ViSa Website have the info too....
 
V. Soma said:
Do I understand it well that from 2.0 to 2.1 you don't need this registry whatever? :)

That is correct, only people BEFORE ViSa v2.00 need the registry key fix.
 
Ishon said:
After I applied the registry fix.. I can't see any units. There are red fields instead. But the interface seems to be working fine.

Well is everything installed in the 'default' directory? The registry fix specifies on the ViSa Website for only standard fix...I should copy those notes to the first post :p
 
Ryan2233 said:
The registry key issue download fixed the problem. Thanks a lot. So excited right now!

Awesome....enjoy ViSa v2.1 and please give us any and all feedback :D
 
Known Bugs
Spoiler :
Memory Allocation Error on saving games (AutoSave or Manual) has been reported in multiple mods and multiple threads on CivFanatics. Our recommendation is to not play on any map size greater than LARGE. Other work-around is to change Graphics Settings to Low and disable all Effects. Any other setting changes to reduce save game file size will also help avoid this error. This appears to be a Firaxis save game issue, not any particular mod problem.

SmartMap can cause errors in the two new Civic Categories (Education and Health Care). The default civic in those two categories sometimes is not selected on game startup. This also can happen on a 'normal' map immediately after SmartMap is used. Our recommendation is to not play with SmartMap.

Languages besides English can cause errors throughout the game. Our recommendation is to play ViSa in English only.

ATI Video Cards can cause numerous problems with this mod and vanilla Civ as well. Our recommendation is for all ATI people to download the latest video drivers without Catalyst.

Upgrading from version before ViSa v2.00 Registry Key Fix can be downloaded and double-clicked anywhere to set the proper registry keys for ViSa. Download this and apply it (by double klicking it) from any place, if you have installed both Warlords and ViSa to standard directories. If you didn't choose default installations (We assume in this case that you know what you are doing), please proceed with the following rules.
Only take these steps if you're NOT using default directories:
open the "ViSa-210-regkey-fix.reg" with your windows Notepad
change the "AppDir"=""C:\\Program Files\\Firaxis Games\\Sid Meier's Civilization 4\\Warlords\\Mods\\ViSa" to the proper directory you used for your personal installation.

Note: it is highly recommended that you reinstall warlords and civ to the default directories "C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Warlords" on your computer.
 
Back
Top Bottom