preparing
This commit is contained in:
parent
823e10cfcc
commit
007b11a874
27
.editorconfig
Normal file
27
.editorconfig
Normal file
@ -0,0 +1,27 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[{*.c,*.h}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[make.bat]
|
||||
end_of_line = crlf
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
[.gitconfig]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
@ -1,2 +1 @@
|
||||
# StalkerUniModSteam
|
||||
|
||||
# Универсальный лаунчер для запуска модов STALKER в Steam
|
||||
|
1
src/app.rc
Normal file
1
src/app.rc
Normal file
@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON launcher.ico
|
24
src/launcher.c
Normal file
24
src/launcher.c
Normal file
@ -0,0 +1,24 @@
|
||||
#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;
|
||||
}
|
BIN
src/launcher.ico
Normal file
BIN
src/launcher.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
2
src/make.bat
Normal file
2
src/make.bat
Normal file
@ -0,0 +1,2 @@
|
||||
rem windres -O coff app.rc -o appres.o
|
||||
tcc.exe launcher.c -o XR_3DA.exe
|
2
src/resource.h
Normal file
2
src/resource.h
Normal file
@ -0,0 +1,2 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
#define IDI_ICON1 101
|
Loading…
Reference in New Issue
Block a user