mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-18 15:59:55 +02:00
Use a separate executable for dedicated server
The dedicated server still has directx dll imports which will cause issues with ReShade or 3DMigoto, or trying to load it on a headless machine with no directx installed. The imports have to be cleared to avoid issues. The most convenient approach is to do this with a separate exe rather then patching it in runtime.
This commit is contained in:
@@ -107,8 +107,8 @@ bool LaunchR5Apex(LAUNCHMODE lMode, LAUNCHSTATE lState)
|
||||
cfgFile.close(); // Close cfg file.
|
||||
|
||||
WorkerDll = currentDirectory + "\\dedicated.dll"; // Get path to worker dll.
|
||||
GameDirectory = currentDirectory + "\\r5apex.exe"; // Get path to game executeable.
|
||||
StartupCommandLine = currentDirectory + "\\r5apex.exe " + CommandLineArguments; // Setup startup command line string.
|
||||
GameDirectory = currentDirectory + "\\r5apex_ds.exe"; // Get path to game executeable.
|
||||
StartupCommandLine = currentDirectory + "\\r5apex_ds.exe " + CommandLineArguments; // Setup startup command line string.
|
||||
|
||||
spdlog::info("*** LAUNCHING GAME [DEDICATED] ***\n");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user