Installing XMaps

Do I need to install XMaps?

XMaps is designed so that it can be used in multiplayer and stand-alone games alike. To make this possible, it's divided into two parts - a server package and a client package. If you're running a server, or you want to play stand-alone, then you need to install XMaps so that you can set up map lists and use XMaps' features.

If you're only going to connect to UnrealTournament servers running XMaps, though, you don't need to have XMaps installed - the server side of XMaps controls map selection and so on. When you connect, the server will send you the XMaps client package (if you don't already have it). This is an optional download, so you can hit the F10 key to cancel it if you prefer. If you only use the XMaps client package and it gets updated, take a look at the Client Updated advice below.

In a multiplayer environment, once you have the XMaps client package, you can use the Client Setup window and the HUD Menu to control the server, if you know the server's Administrator password. When you're running stand-alone, you automatically get access to all these features.


Using the Umod Installer

Installation

Extract XMaps.umod from the file you've downloaded, and run it to install or upgrade the Mutator. The umod installer will add or modify the entries it needs in your UnrealTournament.ini file for running XMaps on a server. See Running XMaps if you want to know more about these INI file entries.

If you just get a File Associations dialog box when you run the umod installer, check out the Installing Mutators section of the Mutators FAQ, which should be able to help.

If you're installing XMaps using the umod installer on a Mac, check out osX for loads of useful information and an installer program that'll make the job easier.

Upgrading

While an upgrade will work perfectly well using the umod file, there are aspects of XMaps installation that are better handled if you uninstall the previous version and then install the new version. For example, client packages and INI file changes needed to run XMaps properly on a server will be managed correctly if you follow this procedure. If not, you'll find you have to remove the old client package (and it's INI file line) by hand. Your XMaps settings - map lists and so on - won't be deleted when you uninstall the old version, so I'd recommend the unistall-old, install-new method.

If the Client Package is updated as part of the new version, take a look at the Client Updated advice below.

Un-installing

Open Add/Remove Programs from the Control Panel, select UnrealTournament and click the Add/Remove button. Check the XMaps option in the list presented, then click Next and remove the mod. When you uninstall this way, your XMaps settings are preserved, in the XMaps*.INI files.


Using the Non-umod Archive

Extract the contents of the archive into your UT directory as described below.

XMaps.u, XMapsClient223.u, XMaps.int and XMapsClient223.int should be placed in your UT\System directory.

XMapsClient223.u is the only part of XMaps that needs to be downloaded to clients when you're running a server. If you run your own server, you may have already found that you can used compressed packages when your downloads are redirected - this can speed up the download process considerably. Consequently a compressed version of the package is also included in the non-umod archive, XMapsClient223.u.uz; place it in the web server directory you've configured for redirected downloads. As you'll see, compression reduces the file by about 55%.

All other files constitute the XMaps documentation, and are best placed in your Help directory, in a dedicated XMaps sub-directory.

In addition to installing XMaps' files automatically, the umod installer version also creates empty INI files for XMaps on new installations. UT doesn't like mod items trying to read large amounts of information from INI files that don't exist - it can significantly slow down XMaps' configuration windows when you select it from the Mod menu. So, if you haven't installed XMaps before, and you're installing it manually, I'd recommend you create the following (empty) files in your UT\System directory:

XMaps.ini
XMapsExtended.ini
XMapsFavourites.ini
XMapsGames.ini
XMapsRandom.ini

Once you've extracted XMaps into UT, you'll need to add a single UT INI file entry to get it to run as a server package. See Running XMaps for more information about these INI file entries.

Upgrading with the Non-umod Archive

When you upgrade XMaps, the new XMaps package will replace the old, and since its file name doesn't change between versions, all your existing INI file settings will continue to work.

The name of the XMaps client package, however, is changed to prevent version conflicts between clients and servers (only the client package gets downloaded to clients). If you're running a server, and upgrade XMaps at any time, you'll want to remove the ServerPackages entry for the old version of the XMaps client package from your server's INI file (usually UnrealTournament.ini). See Running XMaps for more information. You'll probably want to remove the old client package (and it's .int file) from the server as well.

If the Client Package is updated as part of the new version, take a look at the Client Updated advice below.


What to do when the Client Package is Updated

Some XMaps updates will include a modified Client Package, to introduce new features or fixes. Where possible this is avoided, since it means your clients will need to download the new version. It does, however, mean that they'll never get a version conflict when they try to join your server. The only problem with this approach is that you clients will need to convert their old INI file to maintain their settings and Admin Passwords.

To make this process easier, an XMaps Client Copier program is available from the XMaps website (look in the Downloads section). This will copy any version of XMaps client INI file to any other version. If you prefer to update the file by hand, for example when upgrading from XMapsClient220 to XMapsClient223, follow these steps:

  1. Copy XMapsClient220.ini to XMapsClient223.ini in your UT\System directory.
  2. Open XMapsClient223.ini in your favourite text editor (Notepad will do).
  3. Find any 'section' headings - these are wrapped in square brackets [like this].
  4. Change the text in each of the headings from [XMapsClient220.(something)] to [XMapsClient223.(something)].
  5. Save the XMapsClient223.ini file.


General Installation Notes

If you're upgrading from a version earlier than 201, then the first time you use the Game Options button XMaps will upgrade your existing Extended and Favourite map lists. This can sometimes take up to a minute or so, but usually only takes a few seconds.

Since XMaps supports any game type installed in UnrealTournament, it can take a short while to load the Game Options window (1) when you've installed XMaps for the first time, or (2) when you upgrade from a pre-203 version. Once this is complete, though, XMaps will have stored all the game-type information; it won't take more than a second or two to load Game Options after this. See Game Types for information on what you should do in XMaps when you install, uninstall or upgrade a mod that supports a new game type (such as MultiCTF or Weaponer).

You can leave the Map Randomizer installed if you already have it; just don't try to run both mutators at the same time. They both work the same way (see Technical Notes), so one of them won't work. To be blunt, XMaps does everything Map Randomizer did better, and much more besides. So, you may as well remove Map Randomizer - open Add/Remove Programs from the Control Panel, select UnrealTournament and click the Add/Remove button. Check the Map Randomizer option in the list presented, then click Next and remove the mod.

Note that, since XMaps remembers the size and position of its Setup windows, you may find that you need to increase the size of the Game Options window when you upgrade to a version that introduces a new Setup Page to XMaps.