StalkerUniModSteam/src/launcher.c

25 lines
564 B
C

#include <direct.h>
#include <stdlib.h>
#include <stdio.h>
#include <windows.h>
int main()
{
char CurrentPath[FILENAME_MAX];
_getcwd(CurrentPath, sizeof(CurrentPath));
// Change mod binary directory Oblivion Lost REMAKE
SetCurrentDirectory("_bin_olr_");
// Change mod binary directory OGSR
// SetCurrentDirectory("bin_x64");
_getcwd(CurrentPath, sizeof(CurrentPath));
// Run S.T.A.L.K.E.R.: Oblivion Lost REMAKE
system("XR_3DA.exe -smap4096");
// Run S.T.A.L.K.E.R.: OGSR
// system("xrEngine.exe");
return 0;
}