From 700ae369d108f46a75f2227aa98d2b6fc0105511 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Sun, 2 Jan 2022 20:07:05 +0000 Subject: GitBook: [#27] Expand hosting dedicated server section --- .../dedicated-server/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/hosting-a-server-with-northstar/dedicated-server/README.md (limited to 'docs/hosting-a-server-with-northstar/dedicated-server/README.md') diff --git a/docs/hosting-a-server-with-northstar/dedicated-server/README.md b/docs/hosting-a-server-with-northstar/dedicated-server/README.md new file mode 100644 index 0000000..8cdfb1b --- /dev/null +++ b/docs/hosting-a-server-with-northstar/dedicated-server/README.md @@ -0,0 +1,14 @@ +# 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. + -- cgit v1.2.3