add versioninfo

This commit is contained in:
Silent 2017-03-11 14:37:36 +01:00
parent 80e6bc0bd1
commit c8eddf93f8
14 changed files with 221 additions and 0 deletions

View file

@ -24,6 +24,7 @@
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@ -69,6 +70,9 @@ copy /y "$(TargetPath)" "D:\Steam\steamapps\common\Grand Theft Auto 3\ddraw.dll"
<ItemGroup>
<ClInclude Include="..\SilentPatch\MemoryMgr.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View file

@ -24,4 +24,9 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

42
DDraw/versionmeta.props Normal file
View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<SILENTPATCH_NAME>DDraw</SILENTPATCH_NAME>
<SILENTPATCH_EXT>.dll</SILENTPATCH_EXT>
<SILENTPATCH_FULL_NAME>SilentPatch DDraw Component</SILENTPATCH_FULL_NAME>
<SILENTPATCH_BUILD_ID>5</SILENTPATCH_BUILD_ID>
<SILENTPATCH_COPYRIGHT>2014-2017</SILENTPATCH_COPYRIGHT>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="SILENTPATCH_NAME">
<Value>$(SILENTPATCH_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_FULL_NAME">
<Value>$(SILENTPATCH_FULL_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_BUILD_ID">
<Value>$(SILENTPATCH_BUILD_ID)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_COPYRIGHT">
<Value>$(SILENTPATCH_COPYRIGHT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_EXT">
<Value>$(SILENTPATCH_EXT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>

BIN
SilentPatch/SilentPatch.rc Normal file

Binary file not shown.

14
SilentPatch/resource1.h Normal file
View file

@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by SilentPatchSA.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View file

@ -29,6 +29,9 @@
<ClInclude Include="..\SilentPatch\StdAfx.h" />
<ClInclude Include="..\SilentPatch\Timer.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{652975D8-60B0-48E4-A973-4F10BA54FFCB}</ProjectGuid>
<RootNamespace>IIIFix</RootNamespace>
@ -55,9 +58,11 @@
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

View file

@ -45,4 +45,9 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<SILENTPATCH_NAME>SilentPatchIII</SILENTPATCH_NAME>
<SILENTPATCH_EXT>.asi</SILENTPATCH_EXT>
<SILENTPATCH_FULL_NAME>SilentPatch for GTA III</SILENTPATCH_FULL_NAME>
<SILENTPATCH_BUILD_ID>6</SILENTPATCH_BUILD_ID>
<SILENTPATCH_COPYRIGHT>2013-2017</SILENTPATCH_COPYRIGHT>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="SILENTPATCH_NAME">
<Value>$(SILENTPATCH_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_FULL_NAME">
<Value>$(SILENTPATCH_FULL_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_BUILD_ID">
<Value>$(SILENTPATCH_BUILD_ID)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_COPYRIGHT">
<Value>$(SILENTPATCH_COPYRIGHT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_EXT">
<Value>$(SILENTPATCH_EXT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>

View file

@ -36,9 +36,11 @@
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
@ -160,6 +162,7 @@ copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\scripts\newsteam_r2_lowvio
<ClInclude Include="..\SilentPatch\FLAC\stream_decoder.h" />
<ClInclude Include="..\SilentPatch\MemoryMgr.h" />
<ClInclude Include="..\SilentPatch\Patterns.h" />
<ClInclude Include="..\SilentPatch\resource1.h" />
<ClInclude Include="..\SilentPatch\Timer.h" />
<ClInclude Include="AudioHardwareSA.h" />
<ClInclude Include="FLACDecoderSA.h" />
@ -178,6 +181,7 @@ copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\scripts\newsteam_r2_lowvio
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Shaders.rc" />
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

View file

@ -134,11 +134,17 @@
<ClInclude Include="..\SilentPatch\Patterns.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\SilentPatch\resource1.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Shaders.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<FxCompile Include="..\SilentPatch\nvc.fx">

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<SILENTPATCH_NAME>SilentPatchSA</SILENTPATCH_NAME>
<SILENTPATCH_EXT>.asi</SILENTPATCH_EXT>
<SILENTPATCH_FULL_NAME>SilentPatch for San Andreas</SILENTPATCH_FULL_NAME>
<SILENTPATCH_BUILD_ID>28</SILENTPATCH_BUILD_ID>
<SILENTPATCH_COPYRIGHT>2014-2017</SILENTPATCH_COPYRIGHT>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="SILENTPATCH_NAME">
<Value>$(SILENTPATCH_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_FULL_NAME">
<Value>$(SILENTPATCH_FULL_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_BUILD_ID">
<Value>$(SILENTPATCH_BUILD_ID)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_COPYRIGHT">
<Value>$(SILENTPATCH_COPYRIGHT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_EXT">
<Value>$(SILENTPATCH_EXT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>

View file

@ -36,9 +36,11 @@
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="versionmeta.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
@ -120,6 +122,9 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />

View file

@ -45,4 +45,9 @@
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\SilentPatch\SilentPatch.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<SILENTPATCH_NAME>SilentPatchVC</SILENTPATCH_NAME>
<SILENTPATCH_EXT>.asi</SILENTPATCH_EXT>
<SILENTPATCH_FULL_NAME>SilentPatch for Vice City</SILENTPATCH_FULL_NAME>
<SILENTPATCH_BUILD_ID>8</SILENTPATCH_BUILD_ID>
<SILENTPATCH_COPYRIGHT>2013-2017</SILENTPATCH_COPYRIGHT>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>SILENTPATCH_BUILD_ID=$(SILENTPATCH_BUILD_ID);SILENTPATCH_NAME=$(SILENTPATCH_NAME);SILENTPATCH_FULL_NAME=$(SILENTPATCH_FULL_NAME);SILENTPATCH_COPYRIGHT=$(SILENTPATCH_COPYRIGHT);SILENTPATCH_EXT=$(SILENTPATCH_EXT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="SILENTPATCH_NAME">
<Value>$(SILENTPATCH_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_FULL_NAME">
<Value>$(SILENTPATCH_FULL_NAME)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_BUILD_ID">
<Value>$(SILENTPATCH_BUILD_ID)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_COPYRIGHT">
<Value>$(SILENTPATCH_COPYRIGHT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="SILENTPATCH_EXT">
<Value>$(SILENTPATCH_EXT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>