2022-05-24 02:23:37 +02:00
|
|
|
#pragma once
|
|
|
|
|
2023-07-15 18:43:25 +02:00
|
|
|
// Change this each time the settings format has changed.
|
|
|
|
#define SDK_LAUNCHER_VERSION 1
|
|
|
|
|
|
|
|
// Uncomment this line to compile the launcher for dedicated server builds.
|
|
|
|
//#define DEDI_LAUNCHER
|
|
|
|
|
2023-07-13 23:15:10 +02:00
|
|
|
#define GAME_CFG_PATH "platform\\cfg\\system\\"
|
2023-03-21 00:14:54 +01:00
|
|
|
#define DEFAULT_WINDOW_CLASS_NAME "Respawn001"
|
2023-03-24 00:10:48 +01:00
|
|
|
#define LAUNCHER_SETTING_FILE "launcher.vdf"
|
|
|
|
|
2023-07-30 16:51:44 +02:00
|
|
|
// Gigabytes.
|
|
|
|
// TODO: obtain these from the repo...
|
|
|
|
#define MIN_REQUIRED_DISK_SPACE 20
|
|
|
|
#define MIN_REQUIRED_DISK_SPACE_OPT 55 // Optional textures
|
|
|
|
|
|
|
|
#define QUERY_TIMEOUT 15
|
|
|
|
#define BASE_PLATFORM_DIR "platform\\"
|
|
|
|
#define DEFAULT_DEPOT_DOWNLOAD_DIR BASE_PLATFORM_DIR "depot\\"
|
|
|
|
|
|
|
|
// Files that need to be installed during launcher restart,
|
|
|
|
// have to go here!!
|
|
|
|
#define RESTART_DEPOT_DOWNLOAD_DIR DEFAULT_DEPOT_DOWNLOAD_DIR "temp\\"
|
|
|
|
|
2023-07-31 02:51:27 +02:00
|
|
|
#define DEPOT_MANIFEST_FILE "manifest_patch.json"
|
|
|
|
|
|
|
|
// TODO: these should be obtained dynamically!!!
|
|
|
|
#define GAME_DEPOT_VENDOR "https://api.github.com/repos/SlaveBuild/N1094_CL456479/releases"
|
|
|
|
#define SDK_DEPOT_VENDOR "https://api.github.com/repos/Mauler125/r5sdk/releases"
|
|
|
|
|
2022-05-24 02:23:37 +02:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-09-21 20:40:34 +02:00
|
|
|
// Launch and inject specified dll based on launch mode
|
2022-05-24 02:23:37 +02:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
enum class eLaunchMode : int
|
|
|
|
{
|
2022-05-26 01:44:46 +02:00
|
|
|
LM_NONE = -1,
|
2023-03-21 00:14:54 +01:00
|
|
|
LM_GAME_DEV,
|
|
|
|
LM_GAME,
|
2022-09-21 20:40:34 +02:00
|
|
|
LM_SERVER_DEV,
|
2022-05-24 02:23:37 +02:00
|
|
|
LM_SERVER,
|
2022-09-21 20:40:34 +02:00
|
|
|
LM_CLIENT_DEV,
|
2022-05-24 02:23:37 +02:00
|
|
|
LM_CLIENT,
|
|
|
|
};
|