diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2021-12-26 17:29:35 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2021-12-26 17:29:35 +0100 |
commit | 27f1f717fe27fee90d40e188f736ee02cc10419b (patch) | |
tree | 2c21488c680ce1ea8e531c54e2218d90dcf12ae7 /hosting-a-server-with-northstar/dedicated-server.md | |
parent | 300f69fd19c1e4b67240da5ebe337608a00987a5 (diff) | |
download | NorthstarWiki-27f1f717fe27fee90d40e188f736ee02cc10419b.tar.gz NorthstarWiki-27f1f717fe27fee90d40e188f736ee02cc10419b.zip |
Split hosting page into two
Diffstat (limited to 'hosting-a-server-with-northstar/dedicated-server.md')
-rw-r--r-- | hosting-a-server-with-northstar/dedicated-server.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hosting-a-server-with-northstar/dedicated-server.md b/hosting-a-server-with-northstar/dedicated-server.md new file mode 100644 index 0000000..82d054e --- /dev/null +++ b/hosting-a-server-with-northstar/dedicated-server.md @@ -0,0 +1,16 @@ +# Hosting a Dedicated Server + +## Setup + +Dedicated servers allow you to host a Northstar server without having to use a full client, making them more lightweight and easier to host for longer periods of time. Dedicated servers are still in development for Northstar, so while they do work, expect some bugs and general jank.\ +To start a dedicated server on Northstar, launch NorthstarLauncher.exe with the argument `-dedicated`, this can be done manually, but releases also provide the batch file `r2ds.bat`, which will also do this.\ +When using a dedicated server, arguments are read from `ns_startup_args_dedi.txt`, rather than `ns_startup_args.txt`. + +## Dedicated Server Caveats +At the moment, dedicated servers still require DirectX 11 to work, which typically requires a physical GPU, though they use almost no GPU processing power while in use, this can be an issue especially on GPU-less setups, so the launch argument `-softwared3d11` can be used to force DirectX to run in software mode.\ +While this is absolutely not ideal, it's the best solution for truely headless dedicated servers at the moment, and surprisingly hardly uses any CPU time, though it can use roughly up to 1GB of RAM.\ +Regarding RAM usage, dedicated servers also use significant amounts of RAM at the moment, often requiring 1.5-2GB, though I expect this to lower as development continues. + +## Hosting on Linux + +> **TODO:** If you got experience with hosting a dedicated server on Linux as well as setting up a dedicated server in container environments please extend this section. |