Packaging Maps for Auto-Download

Note that if you don't own a server or web host, or just want to give the map to your friends without going to the bother of making it auto-download (Which is a bit of work, really)... or its just a single player or LAN map, you can simply give them the package HBC file. Clicking "package map for download" in the map editor will prompt you for a folder to place the result in. Use a fresh, clean folder, preferably far away from your hyperbol installation. For example, a new folder on your desktop would be perfect. Inside there, after clicking "package map for download", you will find the HBC file.

If you are running a server or want servers to be able to automatically upload your map to players... read on.

Allowing your maps to be automatically downloaded is a very important step in getting others to enjoy them with you – be it a deathmatch, botmatch, objective map, or even a custom campaign type map. You could simply give them the map manually, of course, but its much easier and better to use the packaging and automatic download systems built into the game to spread the map around. This HOWTO assumes you already have a map, and want to package it up so that it can be easily automatically distributed by servers which would like to run it. Before you start though, please make sure the following are already done – since once you pack a map up and are distributing it around, you’ll probably need to rename it if you wish to replace it with a newer version.

Note: You will need access to a public web host that people can download zip files from, in order to get this to work.

STEP 1: Making the package (Automated)

After you have these files, there are two ways you can allow your server to automatically give maps to connecting players. You can offer it via remote HTTP download (players will download it of some other web server you control) or direct Auto Download from your server. If you can go the HTTP route, it might be better, since it will offload bandwidth from your server. However, if you have no access or want a simple setup, go the auto direct download route

Automatic Direct Download Method

Either use the ThreadSpace: Hyperbol server configuration tool on Starport to generate the configuration for the server, or manually edit the config files if its not an official server. All you have to do is make sure the following fields are present and to your liking:

[MapConfig]
[Map]
MapFileName: "YOUR_MAP_NAME.hba"
...
[MultiplayerSettings]
...
AllowDirectMapDownloads: true
DirectDownloadPort: 12131
DirectDownloadMaxKBytesPerSecondPerSlot: 16
BaseMapDownloadURL: ""

Note that we have put YOUR_MAP_NAME.hba in the map section. So if your map is called funstuff, it would be funstuff.hba If you are behind a router, make sure that the Port you specify is routed to the particular server machine. Now place the hbc file inside a 'modfiles' folder, in the server's data folder. So for example, if your map is called funstuff, and the editor output funstuff.hbc, youd place it in your hyperbol server's folder so that it can be accessed in data/modfiles/funstuff.hba Once you have done this, you're done. Players connecting to your server will automatically download the map directly from your server.

Remote HTTP Server Method

If you don't want to use your server to send mod files to people, and would prefer to upload them to a remote server, do the following instead of the auto direct download: * For a server to run your map (and offer it to auto download to players) that server must have your map! The only way to get the server the map is to manually give the map to the server. Luckily, we already have the HBC mod package!

If correctly setup, when a player that doesn't have the map connects to your server, they will see the following:

Packaging Maps For Automatic Download (last edited 2007-08-29 18:02:46 by VekTuz)