Skip to content

Commit

Permalink
TRNG
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Macallan committed Sep 6, 2024
1 parent 240aac5 commit 04cdb10
Show file tree
Hide file tree
Showing 20 changed files with 393 additions and 108 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release
BUILD_VERSION: 4.4.1.3 # Version
BUILD_VERSION: 4.4.1.6 # Version
#
permissions:
actions: write
Expand Down
14 changes: 7 additions & 7 deletions Analyze/Analyze.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,4,01,003
PRODUCTVERSION 4,4,01,003
FILEVERSION 4,4,01,006
PRODUCTVERSION 4,4,01,006
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -70,15 +70,15 @@ BEGIN
VALUE "Comments", "mailto:ian.macallan@gmail.com\0"
VALUE "CompanyName", "Macallan (c)\0"
VALUE "FileDescription", "Analyze - (MSVC)\0"
VALUE "FileVersion", "4.4.01.003\0"
VALUE "FileVersion", "4.4.01.006\0"
VALUE "InternalName", "https://www.macallan.org/\0"
VALUE "LegalCopyright", "Copyright (C) Thu Sep 05 14:56, 2024\0"
VALUE "LegalCopyright", "Copyright (C) Fri Sep 06 10:45, 2024\0"
VALUE "LegalTrademarks", "Author: Ian Macallan\0"
VALUE "OriginalFilename", ORIGINAL_FILENAME
VALUE "PrivateBuild", "914\0"
VALUE "PrivateBuild", "917\0"
VALUE "ProductName", PRODUCT_NAME
VALUE "ProductVersion", "4.4.01.003\0"
VALUE "SpecialBuild", "914\0"
VALUE "ProductVersion", "4.4.01.006\0"
VALUE "SpecialBuild", "917\0"
END
END
BLOCK "VarFileInfo"
Expand Down
10 changes: 5 additions & 5 deletions Analyze/AutomaticProductName.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
#ifdef _WIN64
#ifdef UNICODE
#define ORIGINAL_FILENAME L"Analyze (x64 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"Analyze - Version 4.4.01.003\r\n(Build 914) - (x64 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"Analyze - Version 4.4.01.006\r\n(Build 917) - (x64 Unicode) (MSVC)\0"
#else
#define ORIGINAL_FILENAME "Analyze (x64 MBCS) (MSVC)\0"
#define PRODUCT_NAME "Analyze - Version 4.4.01.003\r\n(Build 914) - (x64 MBCS) (MSVC)\0"
#define PRODUCT_NAME "Analyze - Version 4.4.01.006\r\n(Build 917) - (x64 MBCS) (MSVC)\0"
#endif
#elif _WIN32
#ifdef UNICODE
#define ORIGINAL_FILENAME L"Analyze (x86 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"Analyze - Version 4.4.01.003\r\n(Build 914) - (x86 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"Analyze - Version 4.4.01.006\r\n(Build 917) - (x86 Unicode) (MSVC)\0"
#else
#define ORIGINAL_FILENAME "Analyze (x86 MBCS) (MSVC)\0"
#define PRODUCT_NAME "Analyze - Version 4.4.01.003\r\n(Build 914) - (x86 MBCS) (MSVC)\0"
#define PRODUCT_NAME "Analyze - Version 4.4.01.006\r\n(Build 917) - (x86 MBCS) (MSVC)\0"
#endif
#else
#define ORIGINAL_FILENAME "Analyze (MSVC)\0"
#define PRODUCT_NAME "Analyze - Version 4.4.01.003\r\n(Build 914) - (MSVC)\0"
#define PRODUCT_NAME "Analyze - Version 4.4.01.006\r\n(Build 917) - (MSVC)\0"
#endif

#endif
30 changes: 15 additions & 15 deletions Analyze/AutomaticVersionHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// (c) 2003 - 2024 Macallan - mailto:ian.macallan@gmail.com
//
// Generated : 05/09/2024 14:56:00
// Generated : 06/09/2024 10:45:35
//
//===========================================================================================
//
Expand Down Expand Up @@ -57,33 +57,33 @@
#endif

#ifdef UNICODE
#define PROGRAM_DATE L"Thu Sep 05 14:56"
#define PROGRAM_DATE_F L"Thu Sep 05 14:56 2024"
#define PROGRAM_DATE L"Fri Sep 06 10:45"
#define PROGRAM_DATE_F L"Fri Sep 06 10:45 2024"
#define PROGRAM_YEAR L"2024"
#define PROGRAM_TIME L"2024/09/05 14:56:00"
#define PROGRAM_TIME L"2024/09/06 10:45:35"
#else
#define PROGRAM_DATE "Thu Sep 05 14:56"
#define PROGRAM_DATE_F "Thu Sep 05 14:56 2024"
#define PROGRAM_DATE "Fri Sep 06 10:45"
#define PROGRAM_DATE_F "Fri Sep 06 10:45 2024"
#define PROGRAM_YEAR "2024"
#define PROGRAM_TIME "2024/09/05 14:56:00"
#define PROGRAM_TIME "2024/09/06 10:45:35"
#endif

#ifdef UNICODE
#define PROGRAM_VERSION L"4.4.01.003"
#define PROGRAM_INSTALL L"4.4.01003"
#define PROGRAM_VER_NUM 40401003
#define PROGRAM_BUILD L"914"
#define PROGRAM_VERSION L"4.4.01.006"
#define PROGRAM_INSTALL L"4.4.01006"
#define PROGRAM_VER_NUM 40401006
#define PROGRAM_BUILD L"917"
#define PROGRAM_TITLE L"Analyze"
#ifdef _WIN64
#define PROGRAM_TITLE_P L"Analyze (x64 Unicode)"
#else
#define PROGRAM_TITLE_P L"Analyze (x86 Unicode)"
#endif
#else
#define PROGRAM_VERSION "4.4.01.003"
#define PROGRAM_INSTALL "4.4.01003"
#define PROGRAM_VER_NUM 40401003
#define PROGRAM_BUILD "914"
#define PROGRAM_VERSION "4.4.01.006"
#define PROGRAM_INSTALL "4.4.01006"
#define PROGRAM_VER_NUM 40401006
#define PROGRAM_BUILD "917"
#define PROGRAM_TITLE "Analyze"
#ifdef _WIN64
#define PROGRAM_TITLE_P "Analyze (x64 MBCS)"
Expand Down
10 changes: 5 additions & 5 deletions AutomaticProductName.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
#ifdef _WIN64
#ifdef UNICODE
#define ORIGINAL_FILENAME L"TRCheatWin (x64 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"TRCheatWin - Version 4.4.01.003\r\n(Build 1049) - (x64 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"TRCheatWin - Version 4.4.01.006\r\n(Build 1052) - (x64 Unicode) (MSVC)\0"
#else
#define ORIGINAL_FILENAME "TRCheatWin (x64 MBCS) (MSVC)\0"
#define PRODUCT_NAME "TRCheatWin - Version 4.4.01.003\r\n(Build 1049) - (x64 MBCS) (MSVC)\0"
#define PRODUCT_NAME "TRCheatWin - Version 4.4.01.006\r\n(Build 1052) - (x64 MBCS) (MSVC)\0"
#endif
#elif _WIN32
#ifdef UNICODE
#define ORIGINAL_FILENAME L"TRCheatWin (x86 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"TRCheatWin - Version 4.4.01.003\r\n(Build 1049) - (x86 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"TRCheatWin - Version 4.4.01.006\r\n(Build 1052) - (x86 Unicode) (MSVC)\0"
#else
#define ORIGINAL_FILENAME "TRCheatWin (x86 MBCS) (MSVC)\0"
#define PRODUCT_NAME "TRCheatWin - Version 4.4.01.003\r\n(Build 1049) - (x86 MBCS) (MSVC)\0"
#define PRODUCT_NAME "TRCheatWin - Version 4.4.01.006\r\n(Build 1052) - (x86 MBCS) (MSVC)\0"
#endif
#else
#define ORIGINAL_FILENAME "TRCheatWin (MSVC)\0"
#define PRODUCT_NAME "TRCheatWin - Version 4.4.01.003\r\n(Build 1049) - (MSVC)\0"
#define PRODUCT_NAME "TRCheatWin - Version 4.4.01.006\r\n(Build 1052) - (MSVC)\0"
#endif

#endif
30 changes: 15 additions & 15 deletions AutomaticVersionHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// (c) 2003 - 2024 Macallan - mailto:ian.macallan@gmail.com
//
// Generated : 05/09/2024 14:56:00
// Generated : 06/09/2024 10:45:35
//
//===========================================================================================
//
Expand Down Expand Up @@ -57,33 +57,33 @@
#endif

#ifdef UNICODE
#define PROGRAM_DATE L"Thu Sep 05 14:56"
#define PROGRAM_DATE_F L"Thu Sep 05 14:56 2024"
#define PROGRAM_DATE L"Fri Sep 06 10:45"
#define PROGRAM_DATE_F L"Fri Sep 06 10:45 2024"
#define PROGRAM_YEAR L"2024"
#define PROGRAM_TIME L"2024/09/05 14:56:00"
#define PROGRAM_TIME L"2024/09/06 10:45:35"
#else
#define PROGRAM_DATE "Thu Sep 05 14:56"
#define PROGRAM_DATE_F "Thu Sep 05 14:56 2024"
#define PROGRAM_DATE "Fri Sep 06 10:45"
#define PROGRAM_DATE_F "Fri Sep 06 10:45 2024"
#define PROGRAM_YEAR "2024"
#define PROGRAM_TIME "2024/09/05 14:56:00"
#define PROGRAM_TIME "2024/09/06 10:45:35"
#endif

#ifdef UNICODE
#define PROGRAM_VERSION L"4.4.01.003"
#define PROGRAM_INSTALL L"4.4.01003"
#define PROGRAM_VER_NUM 40401003
#define PROGRAM_BUILD L"1049"
#define PROGRAM_VERSION L"4.4.01.006"
#define PROGRAM_INSTALL L"4.4.01006"
#define PROGRAM_VER_NUM 40401006
#define PROGRAM_BUILD L"1052"
#define PROGRAM_TITLE L"TRCheat Win"
#ifdef _WIN64
#define PROGRAM_TITLE_P L"TRCheat Win (x64 Unicode)"
#else
#define PROGRAM_TITLE_P L"TRCheat Win (x86 Unicode)"
#endif
#else
#define PROGRAM_VERSION "4.4.01.003"
#define PROGRAM_INSTALL "4.4.01003"
#define PROGRAM_VER_NUM 40401003
#define PROGRAM_BUILD "1049"
#define PROGRAM_VERSION "4.4.01.006"
#define PROGRAM_INSTALL "4.4.01006"
#define PROGRAM_VER_NUM 40401006
#define PROGRAM_BUILD "1052"
#define PROGRAM_TITLE "TRCheat Win"
#ifdef _WIN64
#define PROGRAM_TITLE_P "TRCheat Win (x64 MBCS)"
Expand Down
2 changes: 1 addition & 1 deletion ProductVersionInfo.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
rem cd %~dp0
rem %~d0

set PRODUCT_VERSION_VERS=4.4.1.3
set PRODUCT_VERSION_VERS=4.4.1.6

@exit /b
6 changes: 3 additions & 3 deletions ProductVersionInfo.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
4.4.1.3
4.4.1.6
TRCheatWin
TRCheatWin (x86) : Thu Sep 05 14:56 4.4.1.3
TRCheatWin (x64) : Thu Sep 05 14:56 4.4.1.3
TRCheatWin (x86) : Fri Sep 06 10:45 4.4.1.6
TRCheatWin (x64) : Fri Sep 06 10:45 4.4.1.6
2 changes: 1 addition & 1 deletion ProductVersionSize.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.4.01.003
4.4.01.006
10 changes: 5 additions & 5 deletions ReadTR2/AutomaticProductName.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
#ifdef _WIN64
#ifdef UNICODE
#define ORIGINAL_FILENAME L"ReadTR2 (x64 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"ReadTR2 - Version 4.4.01.003\r\n(Build 638) - (x64 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"ReadTR2 - Version 4.4.01.006\r\n(Build 641) - (x64 Unicode) (MSVC)\0"
#else
#define ORIGINAL_FILENAME "ReadTR2 (x64 MBCS) (MSVC)\0"
#define PRODUCT_NAME "ReadTR2 - Version 4.4.01.003\r\n(Build 638) - (x64 MBCS) (MSVC)\0"
#define PRODUCT_NAME "ReadTR2 - Version 4.4.01.006\r\n(Build 641) - (x64 MBCS) (MSVC)\0"
#endif
#elif _WIN32
#ifdef UNICODE
#define ORIGINAL_FILENAME L"ReadTR2 (x86 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"ReadTR2 - Version 4.4.01.003\r\n(Build 638) - (x86 Unicode) (MSVC)\0"
#define PRODUCT_NAME L"ReadTR2 - Version 4.4.01.006\r\n(Build 641) - (x86 Unicode) (MSVC)\0"
#else
#define ORIGINAL_FILENAME "ReadTR2 (x86 MBCS) (MSVC)\0"
#define PRODUCT_NAME "ReadTR2 - Version 4.4.01.003\r\n(Build 638) - (x86 MBCS) (MSVC)\0"
#define PRODUCT_NAME "ReadTR2 - Version 4.4.01.006\r\n(Build 641) - (x86 MBCS) (MSVC)\0"
#endif
#else
#define ORIGINAL_FILENAME "ReadTR2 (MSVC)\0"
#define PRODUCT_NAME "ReadTR2 - Version 4.4.01.003\r\n(Build 638) - (MSVC)\0"
#define PRODUCT_NAME "ReadTR2 - Version 4.4.01.006\r\n(Build 641) - (MSVC)\0"
#endif

#endif
30 changes: 15 additions & 15 deletions ReadTR2/AutomaticVersionHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// (c) 2003 - 2024 Macallan - mailto:ian.macallan@gmail.com
//
// Generated : 05/09/2024 14:56:00
// Generated : 06/09/2024 10:45:35
//
//===========================================================================================
//
Expand Down Expand Up @@ -57,33 +57,33 @@
#endif

#ifdef UNICODE
#define PROGRAM_DATE L"Thu Sep 05 14:56"
#define PROGRAM_DATE_F L"Thu Sep 05 14:56 2024"
#define PROGRAM_DATE L"Fri Sep 06 10:45"
#define PROGRAM_DATE_F L"Fri Sep 06 10:45 2024"
#define PROGRAM_YEAR L"2024"
#define PROGRAM_TIME L"2024/09/05 14:56:00"
#define PROGRAM_TIME L"2024/09/06 10:45:35"
#else
#define PROGRAM_DATE "Thu Sep 05 14:56"
#define PROGRAM_DATE_F "Thu Sep 05 14:56 2024"
#define PROGRAM_DATE "Fri Sep 06 10:45"
#define PROGRAM_DATE_F "Fri Sep 06 10:45 2024"
#define PROGRAM_YEAR "2024"
#define PROGRAM_TIME "2024/09/05 14:56:00"
#define PROGRAM_TIME "2024/09/06 10:45:35"
#endif

#ifdef UNICODE
#define PROGRAM_VERSION L"4.4.01.003"
#define PROGRAM_INSTALL L"4.4.01003"
#define PROGRAM_VER_NUM 40401003
#define PROGRAM_BUILD L"638"
#define PROGRAM_VERSION L"4.4.01.006"
#define PROGRAM_INSTALL L"4.4.01006"
#define PROGRAM_VER_NUM 40401006
#define PROGRAM_BUILD L"641"
#define PROGRAM_TITLE L"Read TR2"
#ifdef _WIN64
#define PROGRAM_TITLE_P L"Read TR2 (x64 Unicode)"
#else
#define PROGRAM_TITLE_P L"Read TR2 (x86 Unicode)"
#endif
#else
#define PROGRAM_VERSION "4.4.01.003"
#define PROGRAM_INSTALL "4.4.01003"
#define PROGRAM_VER_NUM 40401003
#define PROGRAM_BUILD "638"
#define PROGRAM_VERSION "4.4.01.006"
#define PROGRAM_INSTALL "4.4.01006"
#define PROGRAM_VER_NUM 40401006
#define PROGRAM_BUILD "641"
#define PROGRAM_TITLE "Read TR2"
#ifdef _WIN64
#define PROGRAM_TITLE_P "Read TR2 (x64 MBCS)"
Expand Down
14 changes: 7 additions & 7 deletions ReadTR2/ReadTR2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,4,01,003
PRODUCTVERSION 4,4,01,003
FILEVERSION 4,4,01,006
PRODUCTVERSION 4,4,01,006
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -70,15 +70,15 @@ BEGIN
VALUE "Comments", "mailto:ian.macallan@gmail.com\0"
VALUE "CompanyName", "Macallan (c)\0"
VALUE "FileDescription", "ReadTR2 - (MSVC)\0"
VALUE "FileVersion", "4.4.01.003\0"
VALUE "FileVersion", "4.4.01.006\0"
VALUE "InternalName", "https://www.macallan.org/\0"
VALUE "LegalCopyright", "Copyright (C) Thu Sep 05 14:56, 2024\0"
VALUE "LegalCopyright", "Copyright (C) Fri Sep 06 10:45, 2024\0"
VALUE "LegalTrademarks", "Author: Ian Macallan\0"
VALUE "OriginalFilename", ORIGINAL_FILENAME
VALUE "PrivateBuild", "638\0"
VALUE "PrivateBuild", "641\0"
VALUE "ProductName", PRODUCT_NAME
VALUE "ProductVersion", "4.4.01.003\0"
VALUE "SpecialBuild", "638\0"
VALUE "ProductVersion", "4.4.01.006\0"
VALUE "SpecialBuild", "641\0"
END
END
BLOCK "VarFileInfo"
Expand Down
14 changes: 10 additions & 4 deletions TR4NG.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,15 +485,19 @@ typedef struct TRNGDatiVariabili {
WORD PopUpContatore; // numero di tick frame di visualizzazione (o 0xffff per infinito)
WORD PopUpIndiceImageCmd; // indice dell'immagine comando da visualizzare
BYTE SalvaVolumetric; // salva stato prima di sospensione all fog
BYTE TestHardFog; // usare questo solo come segnalato di esistnza di campi
// successivi e usare in futuro questa tecnica
// usare questo solo come segnalato di esistnza di campi
// successivi e usare in futuro questa tecnica
BYTE TestHardFog;

BYTE TestMostraDetector;
BYTE NonUsatoByte;
short FogEnd;
BYTE FogColors[4]; // in realta' solo i primi 3 sono usati
short FogDistanceNow; // che sarebbe il nuovo fog start
short FogBulbMaxDistance; // poi creato con calcolo gigantesco
//fino blocco che eiste solo se c'e' testhardfog diverso da zero
// poi creato con calcolo gigantesco
//fino blocco che eiste solo se c'e' testhardfog diverso da zero
short FogBulbMaxDistance;

DWORD Reserved[100]; // to change when I add new fields

} TRNGDATIVARIABILIFIELDS;
Expand All @@ -510,3 +514,5 @@ extern void OutputTRNGString ( const char *pText );

// Trace or not trace
#define TRACE_TRNG 0

//
Loading

0 comments on commit 04cdb10

Please sign in to comment.