:: To avoid cacophony of multiple background music when testing with multiple connections on the same test machine, :: start all the other non-headless connections with '-nobgm' argument. :: E.g. 1 - headless server :: Start the server with "NinjaSnowWar -headless -server" :: Start the first client with "NinjaSnowWar -w -address " :: Start the subsequent clients on the same host with "NinjaSnowWar -w -nobgm -address " :: :: E.g. 2 - non-headless server :: Start the server with "NinjaSnowWar -w -server" :: Start the client on the same host with "NinjaSnowWar -w -nobgm -address " :: @echo off if exist "%~dp0Urho3DPlayer.exe" (set "DEBUG=") else (set "DEBUG=_d") "%~dp0Urho3DPlayer%DEBUG%" Scripts/NinjaSnowWar.as %*