From b10c8d6e4747a94ee93d7f6748c48319782dcc83 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Thu, 23 Dec 2021 23:38:42 +0000 Subject: last minute changes before release --- NorthstarDedicatedTest/dedicatedmaterialsystem.cpp | 2 ++ NorthstarDedicatedTest/masterserver.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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())) { -- cgit v1.2.3