mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
added resource files + note in readme about Windows SDK
This commit is contained in:
parent
d9261f8500
commit
c6373fc654
@ -34,6 +34,8 @@ You can find instructions here: [README.release.md](./post_build/README.release.
|
|||||||
* You need Windows 10 or 8.1
|
* You need Windows 10 or 8.1
|
||||||
* Install `Visual Studio 2022 Community`: https://visualstudio.microsoft.com/vs/community/
|
* Install `Visual Studio 2022 Community`: https://visualstudio.microsoft.com/vs/community/
|
||||||
* Select the Workload `Desktop development with C++`
|
* 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/)
|
* *(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/
|
* Python 3.10 or above: https://www.python.org/downloads/windows/
|
||||||
After installation, make sure it works
|
After installation, make sure it works
|
||||||
|
83
resources/win/api/32/resources.rc
Normal file
83
resources/win/api/32/resources.rc
Normal file
@ -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)
|
||||||
|
}
|
||||||
|
}
|
70
resources/win/api/64/resources.rc
Normal file
70
resources/win/api/64/resources.rc
Normal file
@ -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)
|
||||||
|
}
|
||||||
|
}
|
1
resources/win/api/SOURCE_CONTROL_ID.txt
Normal file
1
resources/win/api/SOURCE_CONTROL_ID.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
8330923
|
77
resources/win/client/32/resources.rc
Normal file
77
resources/win/client/32/resources.rc
Normal file
@ -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"
|
77
resources/win/client/64/resources.rc
Normal file
77
resources/win/client/64/resources.rc
Normal file
@ -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"
|
1
resources/win/client/SOURCE_CONTROL_ID.txt
Normal file
1
resources/win/client/SOURCE_CONTROL_ID.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
8563863
|
1
resources/win/client/WEVT_TEMPLATE1_1.bin
Normal file
1
resources/win/client/WEVT_TEMPLATE1_1.bin
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user