Skip to content

Commit c6373fc

Browse files
committed
added resource files + note in readme about Windows SDK
1 parent d9261f8 commit c6373fc

File tree

8 files changed

+312
-0
lines changed

8 files changed

+312
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ You can find instructions here: [README.release.md](./post_build/README.release.
3434
* You need Windows 10 or 8.1
3535
* Install `Visual Studio 2022 Community`: https://visualstudio.microsoft.com/vs/community/
3636
* Select the Workload `Desktop development with C++`
37+
* In the `Individual componenets` scroll to the buttom and select the **latest** version of `Windows XX SDK (XX.X...)`
38+
For example `Windows 11 SDK (10.0.22621.0)`
3739
* *(Optional)* Install a GUI for Git like [GitHub Desktop](https://desktop.github.com/), or [Sourcetree](https://www.sourcetreeapp.com/)
3840
* Python 3.10 or above: https://www.python.org/downloads/windows/
3941
After installation, make sure it works

resources/win/api/32/resources.rc

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
// https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
2+
// https://learn.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-vs_fixedfileinfo
3+
4+
// ===================================================================================== 0
5+
LANGUAGE 0, 0 // language = Neutral, sublanguage = Neutral
6+
7+
SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt"
8+
9+
1 VERSIONINFO
10+
FILEVERSION 8,33,9,23
11+
PRODUCTVERSION 1,0,0,1
12+
FILEFLAGSMASK 0x17
13+
FILEFLAGS 0x0
14+
FILEOS 0x00000004L // VOS__WINDOWS32
15+
FILETYPE 0x2L // VFT_DLL
16+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
17+
{
18+
BLOCK "StringFileInfo"
19+
{
20+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
21+
{
22+
VALUE "LegalCopyright", "Copyright (C) 2007"
23+
VALUE "InternalName", "Goldberg Emulator Client API (win32)"
24+
VALUE "FileVersion", "08.33.09.23"
25+
VALUE "CompanyName", "Goldberg Emulator"
26+
VALUE "ProductVersion", "01.00.00.01"
27+
VALUE "FileDescription", "Goldberg Emulator Client API"
28+
VALUE "Source Control ID", "8330923"
29+
VALUE "OriginalFilename", "steam_api.dll"
30+
VALUE "ProductName", "Goldberg Emulator Client API"
31+
}
32+
}
33+
34+
BLOCK "VarFileInfo"
35+
{
36+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
37+
}
38+
}
39+
40+
41+
42+
// ===================================================================================== 1033
43+
/*
44+
* +-------------------------+-------------------------+
45+
* | SubLanguage ID | Primary Language ID |
46+
* +-------------------------+-------------------------+
47+
* 15 10 9 0
48+
*/
49+
// 1033 = English - United States
50+
// = 0x0409
51+
// = 0000 0100 0000 1001
52+
// =
53+
LANGUAGE 0x09, 0x01 // language = English, sublanguage = US
54+
55+
1 VERSIONINFO
56+
FILEVERSION 1,0,0,1
57+
PRODUCTVERSION 1,0,0,1
58+
FILEFLAGSMASK 0x17
59+
FILEFLAGS 0x0
60+
FILEOS 0x00000004L // VOS__WINDOWS32
61+
FILETYPE 0x2L // VFT_DLL
62+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
63+
{
64+
BLOCK "StringFileInfo"
65+
{
66+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
67+
{
68+
VALUE "CompanyName", "Goldberg Emulator"
69+
VALUE "FileDescription", "Goldberg Emulator Client API"
70+
VALUE "FileVersion", "1, 0, 0, 1"
71+
VALUE "InternalName", "Goldberg Emulator Client API"
72+
VALUE "LegalCopyright", "Copyright (C) 2007"
73+
VALUE "OriginalFilename", "steam_api.dll"
74+
VALUE "ProductName", "Goldberg Emulator Client API"
75+
VALUE "ProductVersion", "1, 0, 0, 1"
76+
}
77+
}
78+
79+
BLOCK "VarFileInfo"
80+
{
81+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
82+
}
83+
}

resources/win/api/64/resources.rc

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// ===================================================================================== 0
2+
LANGUAGE 0, 0 // language = Neutral, sublanguage = Neutral
3+
4+
SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt"
5+
6+
1 VERSIONINFO
7+
FILEVERSION 8,33,9,23
8+
PRODUCTVERSION 1,0,0,1
9+
FILEFLAGSMASK 0x17
10+
FILEFLAGS 0x0
11+
FILEOS 0x00000004L // VOS__WINDOWS32
12+
FILETYPE 0x2L // VFT_DLL
13+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
14+
{
15+
BLOCK "StringFileInfo"
16+
{
17+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
18+
{
19+
VALUE "LegalCopyright", "Copyright (C) 2007"
20+
VALUE "InternalName", "Goldberg Emulator Client API (win64)"
21+
VALUE "FileVersion", "08.33.09.23"
22+
VALUE "CompanyName", "Goldberg Emulator"
23+
VALUE "ProductVersion", "01.00.00.01"
24+
VALUE "FileDescription", "Goldberg Emulator Client API"
25+
VALUE "Source Control ID", "8330923"
26+
VALUE "OriginalFilename", "steam_api.dll"
27+
VALUE "ProductName", "Goldberg Emulator Client API"
28+
}
29+
}
30+
31+
BLOCK "VarFileInfo"
32+
{
33+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
34+
}
35+
}
36+
37+
38+
39+
// ===================================================================================== 1033
40+
LANGUAGE 0x09, 0x01 // language = English, sublanguage = US
41+
42+
1 VERSIONINFO
43+
FILEVERSION 1,0,0,1
44+
PRODUCTVERSION 1,0,0,1
45+
FILEFLAGSMASK 0x17
46+
FILEFLAGS 0x0
47+
FILEOS 0x00000004L // VOS__WINDOWS32
48+
FILETYPE 0x2L // VFT_DLL
49+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
50+
{
51+
BLOCK "StringFileInfo"
52+
{
53+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
54+
{
55+
VALUE "CompanyName", "Goldberg Emulator"
56+
VALUE "FileDescription", "Goldberg Emulator Client API"
57+
VALUE "FileVersion", "1, 0, 0, 1"
58+
VALUE "InternalName", "Goldberg Emulator Client API"
59+
VALUE "LegalCopyright", "Copyright (C) 2007"
60+
VALUE "OriginalFilename", "steam_api.dll"
61+
VALUE "ProductName", "Goldberg Emulator Client API"
62+
VALUE "ProductVersion", "1, 0, 0, 1"
63+
}
64+
}
65+
66+
BLOCK "VarFileInfo"
67+
{
68+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
69+
}
70+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8330923
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
// ===================================================================================== 0
2+
LANGUAGE 0, 0
3+
4+
SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt"
5+
6+
1 VERSIONINFO
7+
FILEVERSION 8,56,38,63
8+
PRODUCTVERSION 3,0,0,1
9+
FILEFLAGSMASK 0x17
10+
FILEFLAGS 0x0
11+
FILEOS 0x00000004L // VOS__WINDOWS32
12+
FILETYPE 0x2L // VFT_DLL
13+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
14+
{
15+
BLOCK "StringFileInfo"
16+
{
17+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
18+
{
19+
VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator"
20+
VALUE "InternalName", "Steamclient.dll (win32)"
21+
VALUE "FileVersion", "08.56.38.63"
22+
VALUE "CompanyName", "Goldberg Emulator"
23+
VALUE "ProductVersion", "03.00.00.01"
24+
VALUE "FileDescription", "Steamclient.dll"
25+
VALUE "Source Control ID", "8563863"
26+
VALUE "OriginalFilename", "Steamclient.dll"
27+
VALUE "ProductName", "Goldberg Emulator"
28+
}
29+
}
30+
31+
BLOCK "VarFileInfo"
32+
{
33+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
34+
}
35+
}
36+
37+
38+
39+
// ===================================================================================== 1033
40+
LANGUAGE 0x09, 0x01
41+
42+
1 VERSIONINFO
43+
FILEVERSION 3,0,0,1
44+
PRODUCTVERSION 3,0,0,1
45+
FILEFLAGSMASK 0x17
46+
FILEFLAGS 0x0
47+
FILEOS 0x00000004L // VOS__WINDOWS32
48+
FILETYPE 0x2L // VFT_DLL
49+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
50+
{
51+
BLOCK "StringFileInfo"
52+
{
53+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
54+
{
55+
VALUE "CompanyName", "Goldberg Emulator"
56+
VALUE "FileDescription", "Steamclient.dll"
57+
VALUE "FileVersion", "3, 0, 0, 1"
58+
VALUE "InternalName", "Steamclient.dll"
59+
VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator"
60+
VALUE "OriginalFilename", "Steamclient.dll"
61+
VALUE "ProductName", "Goldberg Emulator"
62+
VALUE "ProductVersion", "3, 0, 0, 1"
63+
}
64+
}
65+
66+
BLOCK "VarFileInfo"
67+
{
68+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
69+
}
70+
}
71+
72+
73+
74+
// ===================================================================================== 4147
75+
LANGUAGE 0x33, 0x04
76+
77+
1 WEVT_TEMPLATE "../WEVT_TEMPLATE1_1.bin"
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
// ===================================================================================== 0
2+
LANGUAGE 0, 0
3+
4+
SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt"
5+
6+
1 VERSIONINFO
7+
FILEVERSION 8,56,38,63
8+
PRODUCTVERSION 3,0,0,1
9+
FILEFLAGSMASK 0x17
10+
FILEFLAGS 0x0
11+
FILEOS 0x00000004L // VOS__WINDOWS32
12+
FILETYPE 0x2L // VFT_DLL
13+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
14+
{
15+
BLOCK "StringFileInfo"
16+
{
17+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
18+
{
19+
VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator"
20+
VALUE "InternalName", "Steamclient.dll (win64)"
21+
VALUE "FileVersion", "08.56.38.63"
22+
VALUE "CompanyName", "Goldberg Emulator"
23+
VALUE "ProductVersion", "03.00.00.01"
24+
VALUE "FileDescription", "Steamclient.dll"
25+
VALUE "Source Control ID", "8563863"
26+
VALUE "OriginalFilename", "Steamclient.dll"
27+
VALUE "ProductName", "Goldberg Emulator"
28+
}
29+
}
30+
31+
BLOCK "VarFileInfo"
32+
{
33+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
34+
}
35+
}
36+
37+
38+
39+
// ===================================================================================== 1033
40+
LANGUAGE 0x09, 0x01
41+
42+
1 VERSIONINFO
43+
FILEVERSION 3,0,0,1
44+
PRODUCTVERSION 3,0,0,1
45+
FILEFLAGSMASK 0x17
46+
FILEFLAGS 0x0
47+
FILEOS 0x00000004L // VOS__WINDOWS32
48+
FILETYPE 0x2L // VFT_DLL
49+
FILESUBTYPE 0x0L // VFT2_UNKNOWN
50+
{
51+
BLOCK "StringFileInfo"
52+
{
53+
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
54+
{
55+
VALUE "CompanyName", "Goldberg Emulator"
56+
VALUE "FileDescription", "Steamclient.dll"
57+
VALUE "FileVersion", "3, 0, 0, 1"
58+
VALUE "InternalName", "Steamclient.dll"
59+
VALUE "LegalCopyright", "Copyright (C) 2005 Goldberg Emulator"
60+
VALUE "OriginalFilename", "Steamclient.dll"
61+
VALUE "ProductName", "Goldberg Emulator"
62+
VALUE "ProductVersion", "3, 0, 0, 1"
63+
}
64+
}
65+
66+
BLOCK "VarFileInfo"
67+
{
68+
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
69+
}
70+
}
71+
72+
73+
74+
// ===================================================================================== 4147
75+
LANGUAGE 0x33, 0x04
76+
77+
1 WEVT_TEMPLATE "../WEVT_TEMPLATE1_1.bin"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8563863
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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

0 commit comments

Comments
 (0)