aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dedicated.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-11 20:17:11 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-11 20:17:11 +0100
commit51d3d4a40c8579e29571bc80d35bbb62fa50661b (patch)
tree08d690a887e98c8110e9b76b2d4927a4bdc7afdc /NorthstarDedicatedTest/dedicated.cpp
parent4c4d605d10109e02708984755405bbe0947ef5c4 (diff)
downloadNorthstarLauncher-51d3d4a40c8579e29571bc80d35bbb62fa50661b.tar.gz
NorthstarLauncher-51d3d4a40c8579e29571bc80d35bbb62fa50661b.zip
add temp console support
Diffstat (limited to 'NorthstarDedicatedTest/dedicated.cpp')
-rw-r--r--NorthstarDedicatedTest/dedicated.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp
index ce4723cb..0999e614 100644
--- a/NorthstarDedicatedTest/dedicated.cpp
+++ b/NorthstarDedicatedTest/dedicated.cpp
@@ -7,6 +7,7 @@
bool IsDedicated()
{
// temp: should get this from commandline
+ //return true;
return false;
}
@@ -69,6 +70,12 @@ void InitialiseDedicated(HMODULE engineAddress)
// ptr to ptr
*ptr = (intptr_t)doublePtr;
+
+ // extra potential patches:
+ // nop engine.dll+1c67cd1 and +1c67d8 to skip videomode creategamewindow
+ // also look into launcher.dll+d381, seems to cause renderthread to get made
+ // this crashes HARD if no window which makes sense tbh
+ // also look into materialsystem + 5B344 since it seems to be the base of all the renderthread stuff
}
void Sys_Printf(CDedicatedExports* dedicated, char* msg)