diff --git a/README.md b/README.md index 9e7f15c0..9d4fb479 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ You can find instructions here: [README.release.md](./post_build/README.release. * You need Windows 10 or 8.1 * Install `Visual Studio 2022 Community`: https://visualstudio.microsoft.com/vs/community/ * Select the Workload `Desktop development with C++` + * In the `Individual componenets` scroll to the buttom and select the **latest** version of `Windows XX SDK (XX.X...)` + For example `Windows 11 SDK (10.0.22621.0)` * *(Optional)* Install a GUI for Git like [GitHub Desktop](https://desktop.github.com/), or [Sourcetree](https://www.sourcetreeapp.com/) * Python 3.10 or above: https://www.python.org/downloads/windows/ After installation, make sure it works diff --git a/resources/win/api/32/resources.rc b/resources/win/api/32/resources.rc new file mode 100644 index 00000000..7a37fd1f --- /dev/null +++ b/resources/win/api/32/resources.rc @@ -0,0 +1,83 @@ +// https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource +// https://learn.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-vs_fixedfileinfo + +// ===================================================================================== 0 +LANGUAGE 0, 0 // language = Neutral, sublanguage = Neutral + +SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt" + +1 VERSIONINFO +FILEVERSION 8,33,9,23 +PRODUCTVERSION 1,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "LegalCopyright", "Copyright (C) 2007" + VALUE "InternalName", "Goldberg Emulator Client API (win32)" + VALUE "FileVersion", "08.33.09.23" + VALUE "CompanyName", "Goldberg Emulator" + VALUE "ProductVersion", "01.00.00.01" + VALUE "FileDescription", "Goldberg Emulator Client API" + VALUE "Source Control ID", "8330923" + VALUE "OriginalFilename", "steam_api.dll" + VALUE "ProductName", "Goldberg Emulator Client API" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} + + + +// ===================================================================================== 1033 +/* + * +-------------------------+-------------------------+ + * | SubLanguage ID | Primary Language ID | + * +-------------------------+-------------------------+ + * 15 10 9 0 + */ +// 1033 = English - United States +// = 0x0409 +// = 0000 0100 0000 1001 +// = +LANGUAGE 0x09, 0x01 // language = English, sublanguage = US + +1 VERSIONINFO +FILEVERSION 1,0,0,1 +PRODUCTVERSION 1,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "CompanyName", "Goldberg Emulator" + VALUE "FileDescription", "Goldberg Emulator Client API" + VALUE "FileVersion", "1, 0, 0, 1" + VALUE "InternalName", "Goldberg Emulator Client API" + VALUE "LegalCopyright", "Copyright (C) 2007" + VALUE "OriginalFilename", "steam_api.dll" + VALUE "ProductName", "Goldberg Emulator Client API" + VALUE "ProductVersion", "1, 0, 0, 1" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} diff --git a/resources/win/api/64/resources.rc b/resources/win/api/64/resources.rc new file mode 100644 index 00000000..bc8257ef --- /dev/null +++ b/resources/win/api/64/resources.rc @@ -0,0 +1,70 @@ +// ===================================================================================== 0 +LANGUAGE 0, 0 // language = Neutral, sublanguage = Neutral + +SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt" + +1 VERSIONINFO +FILEVERSION 8,33,9,23 +PRODUCTVERSION 1,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "LegalCopyright", "Copyright (C) 2007" + VALUE "InternalName", "Goldberg Emulator Client API (win64)" + VALUE "FileVersion", "08.33.09.23" + VALUE "CompanyName", "Goldberg Emulator" + VALUE "ProductVersion", "01.00.00.01" + VALUE "FileDescription", "Goldberg Emulator Client API" + VALUE "Source Control ID", "8330923" + VALUE "OriginalFilename", "steam_api.dll" + VALUE "ProductName", "Goldberg Emulator Client API" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} + + + +// ===================================================================================== 1033 +LANGUAGE 0x09, 0x01 // language = English, sublanguage = US + +1 VERSIONINFO +FILEVERSION 1,0,0,1 +PRODUCTVERSION 1,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "CompanyName", "Goldberg Emulator" + VALUE "FileDescription", "Goldberg Emulator Client API" + VALUE "FileVersion", "1, 0, 0, 1" + VALUE "InternalName", "Goldberg Emulator Client API" + VALUE "LegalCopyright", "Copyright (C) 2007" + VALUE "OriginalFilename", "steam_api.dll" + VALUE "ProductName", "Goldberg Emulator Client API" + VALUE "ProductVersion", "1, 0, 0, 1" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} diff --git a/resources/win/api/SOURCE_CONTROL_ID.txt b/resources/win/api/SOURCE_CONTROL_ID.txt new file mode 100644 index 00000000..b6ad07c2 --- /dev/null +++ b/resources/win/api/SOURCE_CONTROL_ID.txt @@ -0,0 +1 @@ +8330923 \ No newline at end of file diff --git a/resources/win/client/32/resources.rc b/resources/win/client/32/resources.rc new file mode 100644 index 00000000..5a385379 --- /dev/null +++ b/resources/win/client/32/resources.rc @@ -0,0 +1,77 @@ +// ===================================================================================== 0 +LANGUAGE 0, 0 + +SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt" + +1 VERSIONINFO +FILEVERSION 8,56,38,63 +PRODUCTVERSION 3,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator" + VALUE "InternalName", "Steamclient.dll (win32)" + VALUE "FileVersion", "08.56.38.63" + VALUE "CompanyName", "Goldberg Emulator" + VALUE "ProductVersion", "03.00.00.01" + VALUE "FileDescription", "Steamclient.dll" + VALUE "Source Control ID", "8563863" + VALUE "OriginalFilename", "Steamclient.dll" + VALUE "ProductName", "Goldberg Emulator" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} + + + +// ===================================================================================== 1033 +LANGUAGE 0x09, 0x01 + +1 VERSIONINFO +FILEVERSION 3,0,0,1 +PRODUCTVERSION 3,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "CompanyName", "Goldberg Emulator" + VALUE "FileDescription", "Steamclient.dll" + VALUE "FileVersion", "3, 0, 0, 1" + VALUE "InternalName", "Steamclient.dll" + VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator" + VALUE "OriginalFilename", "Steamclient.dll" + VALUE "ProductName", "Goldberg Emulator" + VALUE "ProductVersion", "3, 0, 0, 1" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} + + + +// ===================================================================================== 4147 +LANGUAGE 0x33, 0x04 + +1 WEVT_TEMPLATE "../WEVT_TEMPLATE1_1.bin" diff --git a/resources/win/client/64/resources.rc b/resources/win/client/64/resources.rc new file mode 100644 index 00000000..e0426951 --- /dev/null +++ b/resources/win/client/64/resources.rc @@ -0,0 +1,77 @@ +// ===================================================================================== 0 +LANGUAGE 0, 0 + +SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt" + +1 VERSIONINFO +FILEVERSION 8,56,38,63 +PRODUCTVERSION 3,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator" + VALUE "InternalName", "Steamclient.dll (win64)" + VALUE "FileVersion", "08.56.38.63" + VALUE "CompanyName", "Goldberg Emulator" + VALUE "ProductVersion", "03.00.00.01" + VALUE "FileDescription", "Steamclient.dll" + VALUE "Source Control ID", "8563863" + VALUE "OriginalFilename", "Steamclient.dll" + VALUE "ProductName", "Goldberg Emulator" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} + + + +// ===================================================================================== 1033 +LANGUAGE 0x09, 0x01 + +1 VERSIONINFO +FILEVERSION 3,0,0,1 +PRODUCTVERSION 3,0,0,1 +FILEFLAGSMASK 0x17 +FILEFLAGS 0x0 +FILEOS 0x00000004L // VOS__WINDOWS32 +FILETYPE 0x2L // VFT_DLL +FILESUBTYPE 0x0L // VFT2_UNKNOWN +{ + BLOCK "StringFileInfo" + { + BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode + { + VALUE "CompanyName", "Goldberg Emulator" + VALUE "FileDescription", "Steamclient.dll" + VALUE "FileVersion", "3, 0, 0, 1" + VALUE "InternalName", "Steamclient.dll" + VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator" + VALUE "OriginalFilename", "Steamclient.dll" + VALUE "ProductName", "Goldberg Emulator" + VALUE "ProductVersion", "3, 0, 0, 1" + } + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252) + } +} + + + +// ===================================================================================== 4147 +LANGUAGE 0x33, 0x04 + +1 WEVT_TEMPLATE "../WEVT_TEMPLATE1_1.bin" diff --git a/resources/win/client/SOURCE_CONTROL_ID.txt b/resources/win/client/SOURCE_CONTROL_ID.txt new file mode 100644 index 00000000..357d6d37 --- /dev/null +++ b/resources/win/client/SOURCE_CONTROL_ID.txt @@ -0,0 +1 @@ +8563863 \ No newline at end of file diff --git a/resources/win/client/WEVT_TEMPLATE1_1.bin b/resources/win/client/WEVT_TEMPLATE1_1.bin new file mode 100644 index 00000000..55042cef --- /dev/null +++ b/resources/win/client/WEVT_TEMPLATE1_1.bin @@ -0,0 +1 @@ +Goldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg EmulatorGoldberg Emula \ No newline at end of file