4 Commits
v1.0 ... master

Author SHA1 Message Date
00cde632d6 add complete thx 2021-07-25 15:10:35 +03:00
e841c8721b fix readme 2021-07-09 03:12:24 +03:00
b77a6729c9 add executable icon 2020-10-09 00:46:34 +03:00
bce60e95a9 Fix README 2020-10-05 01:57:20 +03:00
9 changed files with 107 additions and 12 deletions

BIN
.assets/complete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
.assets/steam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

6
CMakeLists.txt Normal file
View File

@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(ogsr_steam)
file(GLOB SOURCES "src/*")
add_executable(XR_3DA ${SOURCES})

View File

@ -1,11 +1,15 @@
Инструкция по запуску OGSR Mod в Steam
==================================================
[![https://img.shields.io/badge/Download-this-lightgrey?style=for-the-badge](https://img.shields.io/badge/Download-this-lightgrey?style=for-the-badge)](https://github.com/iiiypuk/ogsr_steam/releases/latest) ![Latest release](https://img.shields.io/github/v/release/iiiypuk/ogsr_steam?style=for-the-badge) ![Total downloads](https://img.shields.io/github/downloads/iiiypuk/ogsr_steam/total?style=for-the-badge)
# Инструкция по запуску OGSR Mod в Steam
[![https://img.shields.io/badge/Download-here-lightgrey?style=for-the-badge](https://img.shields.io/badge/Download-here-lightgrey?style=for-the-badge)](https://github.com/iiiypuk/ogsr_steam/releases/latest) ![Latest release](https://img.shields.io/github/v/release/iiiypuk/ogsr_steam?style=for-the-badge) ![Total downloads](https://img.shields.io/github/downloads/iiiypuk/ogsr_steam/total?style=for-the-badge)
**Установка:**
## Установка:
- Скачиваем и устанавливаем мод по [инструкции](https://vk.com/ogsr_mod?w=page-9551243_48936200).
- Скачиваем [архив с бинарником](https://github.com/iiiypuk/ogsr_steam/releases/latest) и кладём в директорию с игрой.
- Всё! :blush:.
- Всё! :blush:
[Страница мода в Vk](https://vk.com/ogsr_mod).
## Stuff
[Страница мода в Vk](https://vk.com/ogsr_mod).
[Страница мода на форуме AMK TEAM](https://www.amk-team.ru/forum/topic/14062-ogsr-mod/).
![Preview](https://raw.githubusercontent.com/iiiypuk/ogsr_steam/master/.assets/steam.png)
![Preview](https://raw.githubusercontent.com/iiiypuk/ogsr_steam/master/.assets/complete.png)

BIN
src/5.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@ -1,6 +0,0 @@
project(ogsr_steam)
set(CMAKE_BINARY_DIR "../bin")
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
add_executable(XR_3DA XR_3DA.c)

72
src/Resource.rc Normal file
View File

@ -0,0 +1,72 @@
// Microsoft Visual C++ generated resource script.
//
#pragma code_page(65001)
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "D:\\Develop\\ogsr_steam\\src\\5.ico"
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View File

@ -1,6 +1,8 @@
#include <stdio.h>
#include <windows.h>
#include "resource.h"
int main()
{
char CurrentPath[FILENAME_MAX];
@ -9,6 +11,7 @@ int main()
SetCurrentDirectory("bin_x64");
_getcwd(CurrentPath, sizeof(CurrentPath));
// Run S.T.A.L.K.E.R.
system("xrEngine.exe");
return 0;

16
src/resource.h Normal file
View File

@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Resource.rc
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif