How to run ShootMania as a Windows Service with FireDaemon Pro.
What is Shootmania?
Shootmania is a first person shooter game. The dedicated server component can be run as a Windows Service using FireDaemon Pro, which allows you to have the dedicated server start automatically at boot prior to login, start multiple instances of the dedicated server and more. This HOWTO will show you how to set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.
ShootMania Dedicated Server Setup Under FireDaemon Pro
Download the ShootMania dedicated server software from the official ShootMania website here.
Extract the files to the directory of your choice. For the purposes of this HOWTO, we will use C:\ManiaPlanetServer.
ShootMania Dedicated Server uses one configuration file to manage its settings. A sample dedicated_cfg.default file is located in the UserData\Config directory within the ManiaPlanetServer folder. Edit this file to suit your preferences. Some settings of interest include setting a login and password for the server, as well as a name and message for your server. More information on editing the configuration file is located in the ShootMania server documentation.
Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.
Next, start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.
- Executable: The path to the ManiaPlanetServer.exe file. For the purposes of this HOWTO, that path is C:\ManiaPlanetServer\ManiaPlanetServer.exe.
- Working Directory: The directory containing the ManiaPlanetServer.exe file. For the purposes of this HOWTO, that path is C:\ManiaPlanetServer.
/Title=TitleId /dedicated_cfg=DedicatedCfgFile.txt /game_settings=MatchSettings\MatchSettingsFile.txt
- The above parameters are the minimal requirements to start your server. You can view a full list of supported parameters at the ShootMania documentation.
/Title=TitleID- The identifier of the title you wish to start. View the TitleID list in the ShootMania documentation to find the right titleID.
/dedicated_cfg=DedicatedCfgFile.txt- The path to your server configuration file, located in UserData\Config.
/game_settings=MatchSettings\MatchSettingsFile.txt- The path to your match settings file, located in UserData\Maps\MatchSettings.
Now click on the Settings tab. If you DON'T want to see your dedicated server running, uncheck the Interact with Desktop check box. You can optionally run your ShootMania server as the user you installed it as. In the Logon Account field type your username (e.g. Administrator) and then enter the user's password twice in the Password and Confirm fields. You can change the Process Priority to allocate more CPU time to the dedicated server or specify which CPU or core the dedicated server will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).
Now click on the Lifecycle tab. Uncheck Graceful Shutdown as ShootMania doesn't respond to it.
Now click OK to finish setup and start your ShootMania server!