aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-23 23:38:42 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-23 23:38:42 +0000
commitb10c8d6e4747a94ee93d7f6748c48319782dcc83 (patch)
treeafd3d4a5ba6e98146888ea227d50102bbbafaf61 /NorthstarDedicatedTest
parent246d058c2c9e1dddff3072f0293de5b5e361b8c7 (diff)
downloadNorthstarLauncher-b10c8d6e4747a94ee93d7f6748c48319782dcc83.tar.gz
NorthstarLauncher-b10c8d6e4747a94ee93d7f6748c48319782dcc83.zip
last minute changes before release
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r--NorthstarDedicatedTest/dedicatedmaterialsystem.cpp2
-rw-r--r--NorthstarDedicatedTest/masterserver.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
index a05eb8de..7097e11a 100644
--- a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
+++ b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
@@ -13,6 +13,8 @@ HRESULT __stdcall D3D11CreateDeviceHook(void* pAdapter, int DriverType, HMODULE
// note: this is super duper temp pretty much just messing around with it
// does run surprisingly well on dedi for a software driver tho if you ignore the +1gb ram usage at times, seems like dedi doesn't really call gpu much even with renderthread still being a thing
// will be using this hook for actual d3d stubbing and stuff later
+
+ // atm, i think the play might be to run d3d in software, and then just stub out any calls that allocate memory/use alot of resources (e.g. createtexture and that sorta thing)
if (CommandLine()->CheckParm("-softwared3d11"))
DriverType = 5; // D3D_DRIVER_TYPE_WARP
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp
index 0570247a..152f7cfa 100644
--- a/NorthstarDedicatedTest/masterserver.cpp
+++ b/NorthstarDedicatedTest/masterserver.cpp
@@ -81,7 +81,7 @@ void MasterServerManager::AuthenticateOriginWithMasterServer(char* uid, char* or
httplib::Client http(Cvar_ns_masterserver_hostname->m_pszString);
http.set_connection_timeout(10);
- spdlog::info("Trying to authenticate with northstar masterserver for user {} {}", uidStr, tokenStr);
+ spdlog::info("Trying to authenticate with northstar masterserver for user {}", uidStr);
if (auto result = http.Get(fmt::format("/client/origin_auth?id={}&token={}", uidStr, tokenStr).c_str()))
{