diff --git a/src_rebuild/Game/version.h b/src_rebuild/Game/version.h index a6cf015f..9c0eb850 100644 --- a/src_rebuild/Game/version.h +++ b/src_rebuild/Game/version.h @@ -1,11 +1,10 @@ -#ifndef VERSION_H -#define VERSION_H - #ifndef GAME_VERSION_N -#define GAME_VERSION_N "7.2" -#endif // GAME_VERSION_N +#define GAME_VERSION_N "7.3" +#endif + +#ifndef GAME_VERSION_RES +#define GAME_VERSION_RES 7,3 +#endif #define GAME_TITLE "REDRIVER2" #define GAME_VERSION GAME_TITLE " " GAME_VERSION_N - -#endif // VERSION_H \ No newline at end of file diff --git a/src_rebuild/platform/Windows/Resource.rc b/src_rebuild/platform/Windows/Resource.rc index 0f136604..106a8733 100644 Binary files a/src_rebuild/platform/Windows/Resource.rc and b/src_rebuild/platform/Windows/Resource.rc differ diff --git a/src_rebuild/premake5.lua b/src_rebuild/premake5.lua index 07271ab6..93409e21 100644 --- a/src_rebuild/premake5.lua +++ b/src_rebuild/premake5.lua @@ -153,9 +153,12 @@ project "REDRIVER2" } defines { GAME_REGION } + defines { "BUILD_CONFIGURATION_STRING=\"%{cfg.buildcfg}\"" } if GAME_VERSION ~= nil then + local resVersion = string.gsub(GAME_VERSION, "%.", ",") defines{ "GAME_VERSION_N=\""..GAME_VERSION.."\"" } + defines{ "GAME_VERSION_RES="..resVersion.."" } end files { diff --git a/src_rebuild/redriver2_psxpc.cpp b/src_rebuild/redriver2_psxpc.cpp index 769f286d..c2f5d575 100644 --- a/src_rebuild/redriver2_psxpc.cpp +++ b/src_rebuild/redriver2_psxpc.cpp @@ -18,6 +18,7 @@ #include "C/loadview.h" #include "C/overlay.h" #include "C/players.h" +#include "C/time.h" #include "utils/ini.h" @@ -27,6 +28,7 @@ #include "PsyX/PsyX_globals.h" + int(*GPU_printf)(const char *fmt, ...); bool CtrlModifier; @@ -636,6 +638,10 @@ int main(int argc, char** argv) PsyX_Initialise("REDRIVER2", windowWidth, windowHeight, fullScreen); + char version_info[32]; + GetTimeStamp(version_info); + PsyX_Log_Info("%s %s (%s)\n", GAME_VERSION, version_info, BUILD_CONFIGURATION_STRING); + // configure Psy-X CD image reader if (cdImageFileName) PsyX_CDFS_Init(cdImageFileName, 0, 0);