45°38'N-13°47'E
Deity
One thing for sure everyone has experienced when playing multiplayer, especially when the game becomes advanced or on larger maps, is that when you connect the transfer of the savegame between players is painfully slow. From what I've learned, this is because that speed is limited to a few kb in the exe, so nothing we can really do there, probably. But searching the forum, I've found some info in the Pitboss Mod thread that can help solve this problem for people playing Direct IP (although pitboss still doesn't currently work for RAND).
Anyway, I've tried this trick and loading times of an advanced game (modern era), for a savegame of about 5MB, have gone down from 7-8 minutes to 1 minute more or less.
The relevant post that I've used as a guide is here. But to make things easier, I describe here the full procedure that must be used to avoid problems. All players MUST follow this exact procedure, but it's just for the first time. So, here we go:
That's it, it's harder to explain that to do it. Next time you play multiplayer, the only thing you need to do is to click the shortcut.
If you want to revert all those changes, you only need to rename your My Games ORIGINAL folder back to My Games and, if you have copied RAND in your BTS\mods folder, delete it from there (or rename it) and use the copy under "My Games". If you have installed the mod in BTS\mods instead of "My Games" folder, you don't even need to copy the mod and you can use the one in BTS\mods straight away.
Credit for this method goes to @Ramkhamhaeng. He has developed another method here, but I have not tested it yet.
Edit: I forgot a detail; since the BUG component of the mod doesn't work automatically when starting the mod with the ALTROOT parameter, you have to edit CvAltroot.py that you can find in the main Rise of Mankind - A New Dawn folder. Open that file with a text editor and change the last line to reflect your ALTROOT folder (for example rootDir = "C:/Games/RAND Multiplayer" as in the example above). Read the text there to know how this file works, and make sure you use / instead of \ in the folder path. Once you have edited this file, copy it in the python folder. This will make the mod work perfectly with this method.
This method is developed for MP use, but it doesn't affect single player games.
Anyway, I've tried this trick and loading times of an advanced game (modern era), for a savegame of about 5MB, have gone down from 7-8 minutes to 1 minute more or less.
The relevant post that I've used as a guide is here. But to make things easier, I describe here the full procedure that must be used to avoid problems. All players MUST follow this exact procedure, but it's just for the first time. So, here we go:
- One player creates a OneDrive account on https://onedrive.live.com ; it's a Microsoft sharing service, I've used this one (free) because it's easier but probably any free service will work; to access your account, you will use a link like https:\\d.docs.live.net\[YOURID]\ where [YOURID] is usually a long code with numbers and letters
- You will share this account with other players, so make sure you trust your friends or better create an account only and specifically for this purpose.
- All players on their PC, if the mod is installed under My Games folder, copy the folder Rise of Mankind - A New Dawn under Beyond The Sword\mods folder.
- Rename My Games folder to My Games ORIGINAL, so that it doesn't get used by BTS anymore. You can keep this folder as a backup in case things go wrong.
- Choose a drive and a folder that everyone can use on their PCs; for example, I've created a folder C:\Games\RAND Multiplayer. Everybody must create the same folder on their PCs. This will be your ALTROOT folder.
- Everyone add http:\\d.docs.live.net\[YOURID]\ as a Network Drive on their PCs. You can do this by either right clicking on your Computer icon on your desktop or opening the file explorer, selecting your computer and "Map Network Drive" from the menu above. I used drive X: for example. [Should http not work, try https]
- Check both "Reconnect at logon" and "connect using different credentials" and insert username and password of your OneDrive account.
- Create a shortcut on the desktop, it should point to "C:\Games\Civ4\Beyond the Sword\Civ4BeyondSword.exe" /ALTROOT="C:\Games\RAND Multiplayer" mod= Rise of Mankind - A New Dawn as a target and to "C:\Games\CIV4\Beyond the Sword" as "Start in".Of course you should use your personal Civ4BeyondSword.exe location and your ALTROOT location. Exe location can be different for every player, ALTROOT location must be the same. Pay attention to spaces and ", they must be exactly the same as above.
- Start the game from this shortcut; if it works, Civ4 copies its files into the new folder C:\Games\RAND Multiplayer
- You will see a Saves subfolder: inside this folder DELETE "multi" subfolder
- Create "RAND Multiplayer\Saves\multi"subfolders on your OneDrive location: it's important that the path is the same of your folder on your pc.
- Start the DOS window ("cmd" from the Windows Start button) and type mklink /d "C:\Games\RAND Multiplayer\Saves\multi" "X:\RAND Multiplayer\Saves\multi" This will create a "multi" subfolder in C:\Games\RAND Multiplayer\Saves that will be linked to your OneDrive folder RAND Multiplayer\Saves\multi
- Now when you start a game with the shortcut, the game will save and load games from your OneDrive location. For this reason, since uploading is usually slower, I suggest you switch off Autosaves in your ini file. Also, when saving, I suggest you save locally in another folder and only upload your save one OneDrive when you need to re-connect with a disconnected or OOS player. For example I've created a "Local multi" folder under "Saves" and whenever I need to upload a save, without quitting RAND, I access that folder with my phone and upload the file using OneDrive app.
That's it, it's harder to explain that to do it. Next time you play multiplayer, the only thing you need to do is to click the shortcut.
If you want to revert all those changes, you only need to rename your My Games ORIGINAL folder back to My Games and, if you have copied RAND in your BTS\mods folder, delete it from there (or rename it) and use the copy under "My Games". If you have installed the mod in BTS\mods instead of "My Games" folder, you don't even need to copy the mod and you can use the one in BTS\mods straight away.
Credit for this method goes to @Ramkhamhaeng. He has developed another method here, but I have not tested it yet.
Edit: I forgot a detail; since the BUG component of the mod doesn't work automatically when starting the mod with the ALTROOT parameter, you have to edit CvAltroot.py that you can find in the main Rise of Mankind - A New Dawn folder. Open that file with a text editor and change the last line to reflect your ALTROOT folder (for example rootDir = "C:/Games/RAND Multiplayer" as in the example above). Read the text there to know how this file works, and make sure you use / instead of \ in the folder path. Once you have edited this file, copy it in the python folder. This will make the mod work perfectly with this method.
This method is developed for MP use, but it doesn't affect single player games.
Last edited: