From 58cd91cd37876afa3d0cd17c89313c543b155ba1 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sun, 23 Jan 2022 15:41:01 +0200 Subject: [PATCH] Built-in support for OS build 22000.466 --- CHANGELOG.md | 4 ++-- ExplorerPatcher/symbols.c | 17 +++++++++++++++-- version.h | 8 ++++---- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b641d48..5315497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,13 @@ This document includes the same release notes as in the [Releases](https://github.com/valinet/ExplorerPatcher/releases) section on GitHub. -## 22000.434.41 +## 22000.466.41 Tested on OS build 22000.434. #### New features -* Support for OS build 22000.434 +* Built-in support for OS builds 22000.434, 22000.438, and 22000.466 * Ability to choose a Windows 10 or Windows 11 Start button style for the Windows 10 taskbar (#436, thanks @krlvm) * Support for screen readers in the Properties window (#627) (.1) * Option to disable `Office` hotkeys (`Ctrl`+`Alt`+`Shift`+`Windows` key combinations) (#661) (.4) diff --git a/ExplorerPatcher/symbols.c b/ExplorerPatcher/symbols.c index abc85d4..137a817 100644 --- a/ExplorerPatcher/symbols.c +++ b/ExplorerPatcher/symbols.c @@ -641,7 +641,7 @@ BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule) symbols_PTRS->twinui_pcshell_PTRS[8] = 0x52980; bIsTwinuiPcshellHardcoded = TRUE; } - else if (!_stricmp(hash, "03487ccd5bc5a194fad61b616b0a2b28") || !_stricmp(hash, "3f6ef12a59a2f84a3296771ea7753e01")) // 346, 348, 376 + else if (!_stricmp(hash, "03487ccd5bc5a194fad61b616b0a2b28") || !_stricmp(hash, "3f6ef12a59a2f84a3296771ea7753e01")) // 346, 348, 376, 434, 438 { symbols_PTRS->twinui_pcshell_PTRS[0] = 0x21B036; symbols_PTRS->twinui_pcshell_PTRS[1] = 0x5CD740; @@ -654,6 +654,19 @@ BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule) symbols_PTRS->twinui_pcshell_PTRS[8] = 0x4D780; bIsTwinuiPcshellHardcoded = TRUE; } + else if (!_stricmp(hash, "6399b5913a7048c4422e3cfb03860da2")) // 466 + { + symbols_PTRS->twinui_pcshell_PTRS[0] = 0x229fa6; + symbols_PTRS->twinui_pcshell_PTRS[1] = 0x5dc500; + symbols_PTRS->twinui_pcshell_PTRS[2] = 0x5fa868; + symbols_PTRS->twinui_pcshell_PTRS[3] = 0x5fb070; + symbols_PTRS->twinui_pcshell_PTRS[4] = 0x5df640; + symbols_PTRS->twinui_pcshell_PTRS[5] = 0x5df2f4; + symbols_PTRS->twinui_pcshell_PTRS[6] = 0x5dd910; + symbols_PTRS->twinui_pcshell_PTRS[7] = 0x5fbe2c; + symbols_PTRS->twinui_pcshell_PTRS[8] = 0x5dd910; + bIsTwinuiPcshellHardcoded = TRUE; + } if (bIsTwinuiPcshellHardcoded) { printf("[Symbols] Identified known \"" TWINUI_PCSHELL_SB_NAME ".dll\" with hash %s.\n", hash); @@ -671,7 +684,7 @@ BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule) symbols_PTRS->startdocked_PTRS[4] = 0x160AEC; bIsStartHardcoded = TRUE; } - else if (!_stricmp(hash, "e9c1c45a659dafabf671cb0ae195f8d9") || !_stricmp(hash, "7e652d78661ba62e33d41ad1d3180344")) // 346, 348, 376 + else if (!_stricmp(hash, "e9c1c45a659dafabf671cb0ae195f8d9") || !_stricmp(hash, "7e652d78661ba62e33d41ad1d3180344")) // 346, 348, 376, 434, 438, 466 { symbols_PTRS->startdocked_PTRS[0] = 0x18969C; symbols_PTRS->startdocked_PTRS[1] = 0x18969C; diff --git a/version.h b/version.h index 9e592f9..593fd2d 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define VER_MAJOR 22000 -#define VER_MINOR 434 +#define VER_MINOR 466 #define VER_BUILD_HI 41 -#define VER_BUILD_LO 12 +#define VER_BUILD_LO 14 #define VER_FLAGS VS_FF_PRERELEASE @@ -12,5 +12,5 @@ #define VER_STR(arg) #arg // The String form of the version numbers -#define VER_FILE_STRING VALUE "FileVersion", "22000.434.41.12" -#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.434.41.12" +#define VER_FILE_STRING VALUE "FileVersion", "22000.466.41.14" +#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.466.41.14"