Skip to content

Commit

Permalink
App: Add Windows exe version information
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Sep 2, 2021
1 parent 38f1a9a commit b61f6d5
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 1 deletion.
121 changes: 121 additions & 0 deletions pcsx2/PCSX2.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,7,0,0
PRODUCTVERSION 1,7,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080904b0"
BEGIN
VALUE "CompanyName", "PCSX2"
VALUE "FileDescription", "PCSX2 PS2 Emulator"
VALUE "FileVersion", "1.7.0.0"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "ProductName", "PCSX2"
VALUE "ProductVersion", "1.7.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x809, 1200
END
END

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (United Kingdom) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED

#endif // English (United Kingdom) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

2 changes: 2 additions & 0 deletions pcsx2/pcsx2.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@
<ClInclude Include="Utilities\AsciiFile.h" />
<ClInclude Include="Elfheader.h" />
<ClInclude Include="CDVD\IsoFileFormats.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="Common.h" />
<ClInclude Include="Config.h" />
<ClInclude Include="Dump.h" />
Expand Down Expand Up @@ -1078,6 +1079,7 @@
<ResourceCompile Include="$(SolutionDir)3rdparty\wxwidgets3.0\include\wx\msw\wx.rc">
<AdditionalIncludeDirectories>$(SolutionDir)3rdparty\wxwidgets3.0\$(PlatformName);$(SolutionDir)3rdparty\wxwidgets3.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<ResourceCompile Include="PCSX2.rc" />
<ResourceCompile Include="GS\GS.rc" />
<ResourceCompile Include="PAD\Windows\PAD.rc" />
<ResourceCompile Include="SPU2\Windows\SPU2.rc" />
Expand Down
10 changes: 9 additions & 1 deletion pcsx2/pcsx2.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@
<ClCompile Include="PrecompiledHeader.cpp">
<Filter>Misc</Filter>
</ClCompile>
<ClInclude Include="resource.h">
<Filter>Misc</Filter>
</ClInclude>
<ClCompile Include="ShiftJisToUnicode.cpp">
<Filter>Misc</Filter>
</ClCompile>
Expand Down Expand Up @@ -2563,7 +2566,9 @@
<ClInclude Include="GS\Renderers\Common\GSFastList.h">
<Filter>System\Ps2\GS</Filter>
</ClInclude>
<ClInclude Include="GS\resource.h" />
<ClInclude Include="GS\resource.h">
<Filter>System\Ps2\GS</Filter>
</ClInclude>
<ClInclude Include="GS.h">
<Filter>System\Ps2</Filter>
</ClInclude>
Expand Down Expand Up @@ -2719,6 +2724,9 @@
<ResourceCompile Include="$(SolutionDir)3rdparty\wxwidgets3.0\include\wx\msw\wx.rc">
<Filter>AppHost\Resources</Filter>
</ResourceCompile>
<ResourceCompile Include="PCSX2.rc">
<Filter>AppHost\Resources</Filter>
</ResourceCompile>
<ResourceCompile Include="SPU2\Windows\SPU2.rc">
<Filter>System\Ps2\SPU2</Filter>
</ResourceCompile>
Expand Down
15 changes: 15 additions & 0 deletions pcsx2/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by PCSX2.rc
//

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 120
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1074
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit b61f6d5

Please sign in to comment.