mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-16 15:02:35 +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:
@@ -48,7 +48,11 @@
|
||||
#ifndef SDKLAUNCHER
|
||||
namespace
|
||||
{
|
||||
MODULE g_mGameDll = MODULE("r5apex.exe");
|
||||
#ifdef DEDICATED
|
||||
MODULE g_mGameDll = MODULE("r5apex_ds.exe");
|
||||
#else
|
||||
MODULE g_mGameDll = MODULE("r5apex.exe");
|
||||
#endif // DEDICATED
|
||||
MODULE g_mRadVideoToolsDll = MODULE("bink2w64.dll");
|
||||
MODULE g_mRadAudioDecoderDll = MODULE("binkawin64.dll");
|
||||
MODULE g_mRadAudioSystemDll = MODULE("mileswin64.dll");
|
||||
|
Reference in New Issue
Block a user