OnmyojiOmn
Prince
- Joined
- Aug 4, 2006
- Messages
- 371
First, back up your My Games\Beyond the Sword folder, just in case.
Now, there are two ways to do this.
1. If you only need different game settings and you're not worried about save files, create a new shortcut to Civ4BeyondSword.exe and add ini=Mods\FALLFR~1\FfH.ini mod="Fall from Heaven 2" to the target field. You should end up with something like:
Details
The ini parameter needs to come before the mod parameter. You can name the ini file itself anything you want; just replace FfH.ini with something else. You can put the file anywhere you want as long as the path doesn't contain spaces. If it does, you need to use the oldschool DOS 8.3 naming convention. To put the ini file in the default user settings folder under My Games, use ini=C:\DOCUME~1\UserName\MYDOCU~1\MYGAME~1\BEYOND~1\FfH.ini. Replace C: with the letter of the drive where Windows is installed, and UserName with your Windows user name. For some reason the forum software is inserting a space into that last example. It should be BEYOND~1, with no space before the tilde.
When you run the game, a new ini file with default settings will be created. To import your current game settings, copy ...\My Games\Beyond the Sword\CivilizationIV.ini to that folder and rename it to FfH.ini.
2. If you need separate save files and settings, things are a little more complicated. Rename ...\My Games\Beyond the Sword to ...My Games\Default BtS, then create a shortcut with /altroot="%USERPROFILE%\My Documents\My Games\Default BtS" and no other parameters. Use this shortcut whenever you're playing vanilla Civ 4 or another mod. Next, create a second shortcut with mod="Fall from Heaven 2" /altroot="%USERPROFILE%\My Documents\My Games\Fall from Heaven 2". Use this shortcut for playing FfH. You will need to copy any custom assets, map scripts, saved games, etc. that you want to use in FfH into ...\My Games\Fall from Heaven 2.
Details
The altroot parameter specifies an alternate folder for all of your user settings and files. %USERPROFILE% is a system variable that points to your Windows user folder. Note that there is a forward slash before altroot but not the other parameters. FfH 0.40 actually creates its own Fall from Heaven 2 folder under My Games to store scenario unlocks, and using the same folder for your other FfH files works nicely.
The catch here is that altroot isn't really meant for switching back and forth. If you specify an alternate root folder and any of the folders under it that are used by the game are empty, the contents of the equivalent folder under ...\My Games\Beyond the Sword are moved into the new folder, but that doesn't work in reverse. If you then run the game using the default root folder, those files are not copied back. You don't need to worry about this if you've never actually put anything important in those folders (e.g. Blue Marble), but if you have and you don't want those files moved into your FfH folder for good, you need to use a second alternate folder whenever you're not playing FfH, as I detailed above. The default root folder at ...\My Games\Beyond the Sword isn't used at all.
Now, there are two ways to do this.
1. If you only need different game settings and you're not worried about save files, create a new shortcut to Civ4BeyondSword.exe and add ini=Mods\FALLFR~1\FfH.ini mod="Fall from Heaven 2" to the target field. You should end up with something like:
"C:\Program Files\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe" ini=Mods\FALLFR~1\FfH.ini mod="Fall from Heaven 2"
Details
The ini parameter needs to come before the mod parameter. You can name the ini file itself anything you want; just replace FfH.ini with something else. You can put the file anywhere you want as long as the path doesn't contain spaces. If it does, you need to use the oldschool DOS 8.3 naming convention. To put the ini file in the default user settings folder under My Games, use ini=C:\DOCUME~1\UserName\MYDOCU~1\MYGAME~1\BEYOND~1\FfH.ini. Replace C: with the letter of the drive where Windows is installed, and UserName with your Windows user name. For some reason the forum software is inserting a space into that last example. It should be BEYOND~1, with no space before the tilde.
When you run the game, a new ini file with default settings will be created. To import your current game settings, copy ...\My Games\Beyond the Sword\CivilizationIV.ini to that folder and rename it to FfH.ini.
2. If you need separate save files and settings, things are a little more complicated. Rename ...\My Games\Beyond the Sword to ...My Games\Default BtS, then create a shortcut with /altroot="%USERPROFILE%\My Documents\My Games\Default BtS" and no other parameters. Use this shortcut whenever you're playing vanilla Civ 4 or another mod. Next, create a second shortcut with mod="Fall from Heaven 2" /altroot="%USERPROFILE%\My Documents\My Games\Fall from Heaven 2". Use this shortcut for playing FfH. You will need to copy any custom assets, map scripts, saved games, etc. that you want to use in FfH into ...\My Games\Fall from Heaven 2.
Details
The altroot parameter specifies an alternate folder for all of your user settings and files. %USERPROFILE% is a system variable that points to your Windows user folder. Note that there is a forward slash before altroot but not the other parameters. FfH 0.40 actually creates its own Fall from Heaven 2 folder under My Games to store scenario unlocks, and using the same folder for your other FfH files works nicely.
The catch here is that altroot isn't really meant for switching back and forth. If you specify an alternate root folder and any of the folders under it that are used by the game are empty, the contents of the equivalent folder under ...\My Games\Beyond the Sword are moved into the new folder, but that doesn't work in reverse. If you then run the game using the default root folder, those files are not copied back. You don't need to worry about this if you've never actually put anything important in those folders (e.g. Blue Marble), but if you have and you don't want those files moved into your FfH folder for good, you need to use a second alternate folder whenever you're not playing FfH, as I detailed above. The default root folder at ...\My Games\Beyond the Sword isn't used at all.