Hi, I'm a long time FFH player.
I recently have a project to make it possible to install FFH with the PlayOnLinux system. If I succeed it will mean there is an easy way to install CIV IV and FFH and it's patches in one shot, without manually downloading and running a bunch of patches within wine. It will also be possible to install FFH easily from PlayOnMac as well.
For years, I used Play on Linux to install Civ IV first, then manually installed FFH within that. Using this package: https://www.playonlinux.com/en/app-1779-Civilization_IV_Complete_Edition.html
(In that comment thread, I am "iceiceice".)
I've been working my script today, and it is almost working how I want, however, there is a sticking point. I'm hoping that someone on this subreddit can help.
The Fall From Heaven installers say they are made with NSIS (nullsoft installer scripts) version 2.44. One of the most annoying parts of using these installers is that for each one, the user has to browse and specify the install location for fall from heaven -- tell the installer where the "mods" directory is. It cannot find this automatically. Presumably it tries, but because I installed using steam, it can't know to look in the right place. What I'd like to do is tell it the correct installation directory on the command line so that the user gets a smooth install.
According to NSIS docs here: http://nsis.sourceforge.net/Docs/Chapter3.html
the installers should respond to options like /S and /D=[path] so that my script can tell them the installation directory and it doesn't pop up a window to bother the clueless user.
However, I can't seem to get the FFH installers to behave correctly. They seem to ignore the /D option afaict, although they do seem to respond to /S. They don't seem to respond to /? or any other standard command line flags. I'm not sure at this point how I can get further information.
NSIS docs also say that the /D option must not contain quotes. Since the game directory is Sid Meier's Civilization ... quotes seem unavoidable, so I tried making a symlink of the game directory and pointing NSIS at that. Still no dice! And no new error messages to help me.
Since I'm running out of options, one thing I'm considering is making a folder in Program Files\Firaxis Games\ and creating symlinks to the directories where Steam keeps the game, so that the installer might automatically find the symlink directories and do the right thing.
One thing that would be very helpful is if I can see the NSIS script that was used to make the installers. Does anyone know if it's possible to obtain the original, or to decompile the installers? Is there any one on this list who worked on the project and knows what kind of logic the installers have?
A last resort option I guess is to not actually run the installers, instead just decompress them using 7zip and copy the files to the correct Mods folder. But, it's more than a bit sketch.