/ntds

NEOTOKYO Dedicated Server Install Script - Installation Script for easy deploying an NEOTOKYO Dedicated Server on Windows.

Primary LanguagePowerShell

NEOTOKYO Dedicated Server Installer

Installation Script for easy deploying an NEOTOKYO Dedicated Server on Windows.

NEOTOKYO is a multiplayer first person shooter that provides a visceral & realistic combat experience in a rich futuristic setting.

Requirements

  • Windows Operating System
  • PowerShell 3.0 (Needed only for the Client if you do a Remote Installation)
  • Elevated Command Prompt
  • SteamCMD - Steam Console Client (steamcmd.exe)
  • NSSM - the Non-Sucking Service Manager (nssm.exe)

Supported Operating Systems

  • Windows 7
  • Windows 8
  • Windows 8.1
  • Windows 10
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2016 Technical Preview

Core Server Installation Guide

If not enabled, use sconfig on your server to enable Remote Management.

C:\Users\Administrator> sconfig
[...]
4) Configure Remote Management

If you are not in the same Windows DOMAIN as your server, ensure that the server is in TrustedHosts, where fqdn is the full qualified domain name of your server.

C:\> winrm get winrm/config/client
C:\> winrm set winrm/config/client '@{TrustedHosts="fqdn"}'

Usage

For Installation run the install.cmd script.

Please be patient after you selected installing 3. NEOTOKYO Dedicated Server, depending on your internet connection it may take a while.

-- NEOTOKYO Dedicated Server Installer --

1. Remote Installation
2. Local Installation

To exit just press enter.

Select number & press enter: 1

Please enter the full qualified domain name of your remote host: win-qwertzuiopa

Copying nssm.exe (64-Bit) to C:\Users\Administrator\AppData\Local\Temp on win-qwertzuiopa

Copying steamcmd.exe to C:\Users\Administrator\AppData\Local\Temp on win-qwertzuiopa

Starting remote installation ...

-- NEOTOKYO Dedicated Server Installer --

1. SteamCMD - Steam Console Client
2. NSSM - the Non-Sucking Service Manager
3. NEOTOKYO Dedicated Server

9. Remove Installation

To exit just press enter.

Select number & press enter: 2

Creating the directory C:\Program Files\NSSM ...


    Verzeichnis: C:\Program Files


Mode                LastWriteTime         Length Name            PSComputerName
----                -------------         ------ ----            --------------
d----        15.09.2015     06:19                NSSM            win-qwertzuiop

Installing the file nssm.exe ...

1. SteamCMD - Steam Console Client
2. NSSM - the Non-Sucking Service Manager
3. NEOTOKYO Dedicated Server

9. Remove Installation

To exit just press enter.

Select number & press enter: 1

Creating the directory C:\Program Files (x86)\SteamCMD ...
d----        15.09.2015     06:19                SteamCMD        win-qwertzuiop

Installing the file steamcmd.exe ...
Adding firewall rule for SteamCMD ...

1. SteamCMD - Steam Console Client
2. NSSM - the Non-Sucking Service Manager
3. NEOTOKYO Dedicated Server

9. Remove Installation

To exit just press enter.

Select number & press enter: 1

SteamCMD already installed.
The firewall rule for SteamCMD is present.

1. SteamCMD - Steam Console Client
2. NSSM - the Non-Sucking Service Manager
3. NEOTOKYO Dedicated Server

9. Remove Installation

To exit just press enter.

Select number & press enter: 2

NSSM already installed.

1. SteamCMD - Steam Console Client
2. NSSM - the Non-Sucking Service Manager
3. NEOTOKYO Dedicated Server

9. Remove Installation

To exit just press enter.

Select number & press enter: 3

Installing NEOTOKYO Dedicated Server ...
Installing service for NEOTOKYO Dedicated Server ...
Adding firewall rules for NEOTOKYO Dedicated Server ...

1. SteamCMD - Steam Console Client
2. NSSM - the Non-Sucking Service Manager
3. NEOTOKYO Dedicated Server

9. Remove Installation

To exit just press enter.

Select number & press enter: 9

1. Remove SteamCMD - Steam Console Client
2. Remove NSSM - the Non-Sucking Service Manager
3. Remove NEOTOKYO Dedicated Server

To exit just press enter.

Select number & press enter:

Controlling the Server

Enter a remote PowerShell session:

Enter-PSSession -ComputerName <fqdn> -Credential $credential

Get the service status:

Get-Service neotokyo

Start the service:

Set-Service neotokyo -Status Running

Edit the server.cfg with the PowerShell ISE.

  1. Open PowerShell ISE

    powershell_ise

  2. Enter a remote session:

    Enter-PSSession -ComputerName <fqdn> -Credential $credential

  3. Edit the server.cfg file with:

    PSEdit 'C:\Program Files (x86)\SteamCMD\steamapps\common\NEOTOKYO Dedicated Server\NeotokyoSource\cfg\server.cfg'

Enable WinRM on a Windows Desktop

If you want to install on a remote Windows Desktop you can enable WinRM with the following Command:

C:\Users\Administrator> winrm quickconfig

License Information

NSSM is public domain. You may unconditionally use it and/or its source code for any purpose you wish.

Steam and other Valve products distributed via Steam use certain third party materials that require notifications about their license terms. You can find a list of these notifications in the file called ThirdPartyLegalNotices.doc distributed with the Steam client. Where license terms require Valve to make source code available for redistribution, the code may be found at Valve Open Source.