• Welcome to SC4 Devotion Forum Archives.

PSA: Updating Your NAM Version? Don't Uninstall The Old One (and Other Advice)

Started by Tarkus, July 20, 2016, 11:49:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tarkus

The NAM Team has encountered quite a few tech support cases recently, with users who have recently gotten around to picking up the latest version, and subsequently finding that some transit item in their city has gone missing.  In every case, this has been the result of users heeding long-outdated advice from 5+ years ago, that suggested uninstalling the old version before installing the new one.  This, however, is no longer the case, and since the NAM 31.x series of releases in 2013, it has been the official advice of the team that users should NOT uninstall their previous NAM version while upgrading to a new version.

The NAM installer was completely overhauled for the move to the "Monolithic" package that has been the norm since NAM 31.0 in March 2013 (thanks to z), and it is a lot smarter than the NAM installers of yore.  Namely, just as it can read whether or not the game has been patched, it can locate a user's NAM installation, and is able to determine which options were installed.  With the old installation in place, the installer can then read the files, and will automatically select the same components that the user had previously for the new installation.  Additionally, many of the old issues with outdated controllers and the once-dreaded "red arrow bug" have been solved by the current package as well.

If one instead follows the outdated advice of uninstalling the old version, the old NAM installation is no longer there for the installer to reference, and it is then entirely on the user to ensure that they select the same options they were previously using.  With as many options as there are now in the NAM, that is no small task, and the possibility for installation error increases exponentially.

If you happen to be concerned about outdated/conflicting files, there are mechanisms in the installer to handle this now, including running the built-in version of BSC Cleanitol.

A few other related pieces of advice, to help streamline your NAM installation and upgrade experience:



The Version Check and Switching from Disc to Digital

This one has come up a lot lately as well, and quite understandably so.  Microsoft has been doing everything in its power to try to eradicate the secdrv.sys driver file, which disc copies of SC4 require, including the infamous KB3086255 update for Windows Vista, 7, 8, and 8.1, and the complete omission of the driver in Windows 10.  As a by-product of this, many users have been switching over to digital copies of the game, from Steam, Amazon, GOG.com, Origin, GamersGate, and other sources.  The NAM requires the game's executable to be at least Version 1.1.638 (the version number of the disc copy with the EP1 Update 1 patch), and all of these digital copies are updated to Version 1.1.641, and do not need to be patched.  However, if a user happens to have an unpatched disc copy (Version 1.1.610 or 1.1.613) still installed after installing the digital copy (or has a $%&^! installed in the folder for the original disc copy), the Windows Registry will still point the installer toward the old SC4 installation, not the new digital copy, and the installer will fail.

There are two ways to get around this.  Probably the cleanest in the long run would be to uninstall both the disc and digital copies, and then reinstall only the digital copy, at which point the Windows Registry will then point to the digital copy, and the NAM installer will be happy.  The one case where you might want to preserve the disc install is if you're planning on also installing the game's official Building Architect Tool, which, reportedly, at least some digital versions with DRM (i.e. Origin) apparently prevent.  In that case, the best solution would be to patch the disc copy, at which point the NAM installer and the BAT installer would see it as valid.  The disc copy may subsequently be removed once the BAT has installed.  For more on the BAT installation matter, see the post by rsc204 (AKA mgb204 at SC4D) post here.



DatPacking and the NAM

Another piece of advice that is of the same vintage as that uninstallation advice, that the NAM should not be "DatPacked", using a tool like wouanagaine's SC4DatPacker, or memo's JDatPacker, because of its negative impact on NAM upgrade installations.

In the case of Mac users, however, the number-of-files limit present on the newer digital versions of the Aspyr port requires DatPacking (using JDatPacker, which is cross-platform) in order for the game to run properly with a larger NAM installation.  This limit on the Mac port is not impacted by the size of the files, but merely on their number--enough empty subfolders will trigger it.  With respect to the Windows version, the improvements to the installer prevent a DatPacked NAM installation from causing a "red arrow bug" in doing an upgrade (this was the main reason it was discouraged in the past), but because some users have exhibited a tendency to discard the pre-DatPacked files, leaving just the massive "Network Addon Mod.dat" file created by the DatPacker tool, the same issues caused by uninstalling occur, namely that the installer will not be able to discern the contents of the massive single .dat in the way that it could with the original file architecture, making installation error far more likely.

Thus, for Mac users, DatPacking is recommended, but for Windows users DatPacking is still not recommended (unless you really know what you're doing).



Keep the Installer Handy If You Change Your Mind on Features

Particularly if you're on the fence on installing a feature, or if you're a new user who doesn't know what most of the options do yet, it can be to your benefit to keep the installer for the current version handy.  If you decide you want to change options, leave your existing installation in place, and run the installer again.  Just as with upgrades, the installer will be able to read your installation and the current set of options installed, which will help out immensely in determining which boxes to check and uncheck.  And again, as with upgrading, it is not at all recommended to uninstall before running the installer again, as this makes re-installation a far, far more daunting task.




Hopefully, this proves to be a useful reference for those of you installing, re-installing, or upgrading your NAM version.  Happy NAMing!

-Alex

randy1nsyd

My first time to ask a question.  I normally find answers somewhere in the forums, but I've always been unclear on this:

I have now modified some of the lots in my NAM folders to change the item order, so as to align them with other lots in my in-game menus.

When I do a subsequent NAM installation, will it over-write ALL the lots/files (so I'll have modify them again) OR does the installer only look for and replace the files that need to be updated, plus add any new ones?

Thanks.

And thank you many times over for the amazing contributions you all make to this complex and very addicting game.

mgb204

Best advice here, copy those lots to a safe location outside of your plugins folder. Every time you re-install the NAM, be sure to replace the installed files with your modified ones. It's a pain, but necessary due to how the installer works, i.e. removing everything and fresh installing all files.

Bear in mind though, if those lots do ever get updated between releases, doing this will wipe out such modifications. We don't update such stations often, but it's not totally impossible to think we might.

randy1nsyd

That was a fast reply!

Appreciate the clarification and was already prepared to do as you suggest.  Just wanted to make sure, first.

Thanks very much.