mirror of
https://gitgud.io/Stardust3D/rjw-patch-autopsy.git
synced 2024-08-15 00:43:41 +00:00
Compare commits
No commits in common. "ff320d6d66960c05e86bf94546c90555e3d4c0b8" and "09bdc72d22588782e85ba344dfcca06372d03458" have entirely different histories.
ff320d6d66
...
09bdc72d22
19 changed files with 195 additions and 263 deletions
Binary file not shown.
Binary file not shown.
|
@ -5,7 +5,6 @@
|
||||||
<author>Stardust3D</author>
|
<author>Stardust3D</author>
|
||||||
<supportedVersions>
|
<supportedVersions>
|
||||||
<li>1.3</li>
|
<li>1.3</li>
|
||||||
<li>1.4</li>
|
|
||||||
</supportedVersions>
|
</supportedVersions>
|
||||||
<packageId>Stardust3D.RJW.patch.Autopsy</packageId>
|
<packageId>Stardust3D.RJW.patch.Autopsy</packageId>
|
||||||
<description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.
|
<description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.
|
||||||
|
@ -28,9 +27,8 @@
|
||||||
</li>
|
</li>
|
||||||
</modDependencies>
|
</modDependencies>
|
||||||
<loadAfter>
|
<loadAfter>
|
||||||
<li>Ludeon.RimWorld</li>
|
|
||||||
<li>UnlimitedHugs.HugsLib</li>
|
<li>UnlimitedHugs.HugsLib</li>
|
||||||
<li>Smuffle.HarvestOrgansPostMortem</li>
|
<li>Smuffle.HarvestOrgansPostMortem</li>
|
||||||
<li>rim.job.world</li>
|
<!--<li>rim.job.world</li>-->
|
||||||
</loadAfter>
|
</loadAfter>
|
||||||
</ModMetaData>
|
</ModMetaData>
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
<Manifest>
|
<Manifest>
|
||||||
<identifier>RJW patch - Harvest Organs Post Mortem</identifier>
|
<identifier>RJW patch - Harvest Organs Post Mortem</identifier>
|
||||||
<version>5371.0.1.4</version>
|
<version>4961.0.1.4</version>
|
||||||
</Manifest>
|
</Manifest>
|
BIN
Assemblies/RJW_patch_Autopsy.dll
Normal file
BIN
Assemblies/RJW_patch_Autopsy.dll
Normal file
Binary file not shown.
|
@ -3,9 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.1.32113.165
|
VisualStudioVersion = 17.1.32113.165
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_patch_Autopsy_1.3", "RJW_patch_Autopsy\RJW_patch_Autopsy_1.3.csproj", "{F17C6B3F-BA9D-4133-A201-1265A64BCB71}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_patch_Autopsy", "RJW_patch_Autopsy\RJW_patch_Autopsy.csproj", "{F17C6B3F-BA9D-4133-A201-1265A64BCB71}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_patch_Autopsy_1.4", "RJW_patch_Autopsy\RJW_patch_Autopsy_1.4.csproj", "{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RimJobWorld.Main", "..\..\rjw-base\1.3\Source\RimJobWorld.Main.csproj", "{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autopsy", "..\..\RimwoldAutopsy\Source\Autopsy\Autopsy.csproj", "{CDD2AF9A-353D-4313-A9EF-517BF4547D3A}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
@ -17,10 +19,14 @@ Global
|
||||||
{F17C6B3F-BA9D-4133-A201-1265A64BCB71}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{F17C6B3F-BA9D-4133-A201-1265A64BCB71}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{F17C6B3F-BA9D-4133-A201-1265A64BCB71}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{F17C6B3F-BA9D-4133-A201-1265A64BCB71}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{F17C6B3F-BA9D-4133-A201-1265A64BCB71}.Release|Any CPU.Build.0 = Release|Any CPU
|
{F17C6B3F-BA9D-4133-A201-1265A64BCB71}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}.Release|Any CPU.Build.0 = Release|Any CPU
|
{22F82FFF-8BD4-4CEE-9F22-C7DA71281E72}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{CDD2AF9A-353D-4313-A9EF-517BF4547D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{CDD2AF9A-353D-4313-A9EF-517BF4547D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{CDD2AF9A-353D-4313-A9EF-517BF4547D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{CDD2AF9A-353D-4313-A9EF-517BF4547D3A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<ModMetaData>
|
|
||||||
<name>RJW patch - Harvest Organs Post Mortem</name>
|
|
||||||
<author>Stardust3D</author>
|
|
||||||
<supportedVersions>
|
|
||||||
<li>1.3</li>
|
|
||||||
<li>1.4</li>
|
|
||||||
</supportedVersions>
|
|
||||||
<packageId>Stardust3D.RJW.patch.Autopsy</packageId>
|
|
||||||
<description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.
|
|
||||||
</description>
|
|
||||||
<modDependencies>
|
|
||||||
<li>
|
|
||||||
<packageId>UnlimitedHugs.HugsLib</packageId>
|
|
||||||
<displayName>HugsLib</displayName>
|
|
||||||
<steamWorkshopUrl>steam://url/CommunityFilePage/818773962</steamWorkshopUrl>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<packageId>Smuffle.HarvestOrgansPostMortem</packageId>
|
|
||||||
<displayName>HarvestOrgansPostMortem</displayName>
|
|
||||||
<downloadUrl>https://github.com/DenJur/RimwoldAutopsy</downloadUrl>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<packageId>rim.job.world</packageId>
|
|
||||||
<displayName>RimJobWorld</displayName>
|
|
||||||
<downloadUrl>https://gitgud.io/Ed86/rjw</downloadUrl>
|
|
||||||
</li>
|
|
||||||
</modDependencies>
|
|
||||||
<loadAfter>
|
|
||||||
<li>Ludeon.RimWorld</li>
|
|
||||||
<li>UnlimitedHugs.HugsLib</li>
|
|
||||||
<li>Smuffle.HarvestOrgansPostMortem</li>
|
|
||||||
<li>rim.job.world</li>
|
|
||||||
</loadAfter>
|
|
||||||
</ModMetaData>
|
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
|
|
||||||
<Manifest>
|
|
||||||
<identifier>RJW patch - Harvest Organs Post Mortem</identifier>
|
|
||||||
<version>5371.0.1.4</version>
|
|
||||||
</Manifest>
|
|
Binary file not shown.
Before Width: | Height: | Size: 462 KiB |
37
Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
Normal file
37
Source/RJW_patch_Autopsy/Properties/AssemblyInfo.cs
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("RJW patch - Harvest Organs Post Mortem")]
|
||||||
|
[assembly:
|
||||||
|
AssemblyDescription(
|
||||||
|
"This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("RJW_patch_Autopsy")]
|
||||||
|
[assembly: AssemblyCopyright("©2022 Stardust3D")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
|
// to COM components. If you need to access a type in this assembly from
|
||||||
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
[assembly: Guid("4a00fc3e-123a-492b-96de-06af9c982b7a")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("5000.0.1.4")]
|
||||||
|
[assembly: AssemblyFileVersion("5000.0.1.4")]
|
95
Source/RJW_patch_Autopsy/RJW_patch_Autopsy.csproj
Normal file
95
Source/RJW_patch_Autopsy/RJW_patch_Autopsy.csproj
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{F17C6B3F-BA9D-4133-A201-1265A64BCB71}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>RJW_patch_Autopsy</RootNamespace>
|
||||||
|
<AssemblyName>RJW_patch_Autopsy</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<TargetFrameworkProfile>
|
||||||
|
</TargetFrameworkProfile>
|
||||||
|
<AssemblyOriginatorKeyFile>RJW_patch_Autopsy.snk</AssemblyOriginatorKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>portable</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>..\..\Assemblies\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
<DocumentationFile>
|
||||||
|
</DocumentationFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>portable</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>..\..\Assemblies\</OutputPath>
|
||||||
|
<DefineConstants>
|
||||||
|
</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
<DocumentationFile>..\..\Assemblies\RJW_patch_Autopsy.xml</DocumentationFile>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignAssembly>true</SignAssembly>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<DelaySign>false</DelaySign>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="0Harmony, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\packages\Lib.Harmony.2.2.0\lib\net48\0Harmony.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Assembly-CSharp">
|
||||||
|
<HintPath>..\..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="HugsLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\packages\UnlimitedHugs.Rimworld.HugsLib.9.0.1\lib\net472\HugsLib.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Patches\Harmony.cs" />
|
||||||
|
<Compile Include="Patches\NewMedicalRecipesUtilityPatch.cs" />
|
||||||
|
<Compile Include="Mod.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="..\..\About\About.xml">
|
||||||
|
<Link>About\About.xml</Link>
|
||||||
|
</Content>
|
||||||
|
<Content Include="..\..\About\Manifest.xml">
|
||||||
|
<Link>About\Manifest.xml</Link>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
<None Include="RJW_patch_Autopsy.snk" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\..\RimwoldAutopsy\Source\Autopsy\Autopsy.csproj">
|
||||||
|
<Project>{f17c6b3f-ba9d-4133-a201-1265a64bcb71}</Project>
|
||||||
|
<Name>Autopsy</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\..\..\rjw-base\1.3\Source\RimJobWorld.Main.csproj">
|
||||||
|
<Project>{22f82fff-8bd4-4cee-9f22-c7da71281e72}</Project>
|
||||||
|
<Name>RimJobWorld.Main</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
|
@ -1,53 +0,0 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProjectGuid>{F17C6B3F-BA9D-4133-A201-1265A64BCB71}</ProjectGuid>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>RJW_patch_Autopsy</RootNamespace>
|
|
||||||
<AssemblyName>RJW_patch_Autopsy</AssemblyName>
|
|
||||||
<TargetFramework>net48</TargetFramework>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<TargetFrameworkProfile>
|
|
||||||
</TargetFrameworkProfile>
|
|
||||||
<LangVersion>11</LangVersion>
|
|
||||||
<Copyright>©2023 Stardust3D</Copyright>
|
|
||||||
<Company>Stardust3D</Company>
|
|
||||||
<AssemblyVersion>5371.0.1.4</AssemblyVersion>
|
|
||||||
<FileVersion>5371.0.1.4</FileVersion>
|
|
||||||
<SignAssembly>true</SignAssembly>
|
|
||||||
<AssemblyOriginatorKeyFile>RJW_patch_Autopsy.snk</AssemblyOriginatorKeyFile>
|
|
||||||
<Description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.</Description>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
||||||
<OutputPath>bin\Release\1.3\</OutputPath>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Remove="1.4\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lib.Harmony" Version="2.2.2"/>
|
|
||||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0"/>
|
|
||||||
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.3.3389" />
|
|
||||||
<PackageReference Include="UnlimitedHugs.Rimworld.HugsLib" Version="10.0.1"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="Autopsy">
|
|
||||||
<HintPath>..\..\..\RimwoldAutopsy\1.3\Assemblies\Autopsy.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="RJW">
|
|
||||||
<HintPath>..\..\..\rjw-base\1.3\Assemblies\RJW.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Remove="1.4\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Remove="1.4\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Properties\" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
|
@ -1,53 +0,0 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProjectGuid>{fc20ca27-4400-4aac-99af-f18cafac942e}</ProjectGuid>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>RJW_patch_Autopsy</RootNamespace>
|
|
||||||
<AssemblyName>RJW_patch_Autopsy</AssemblyName>
|
|
||||||
<TargetFramework>net48</TargetFramework>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
<TargetFrameworkProfile>
|
|
||||||
</TargetFrameworkProfile>
|
|
||||||
<LangVersion>11</LangVersion>
|
|
||||||
<Copyright>©2023 Stardust3D</Copyright>
|
|
||||||
<Company>Stardust3D</Company>
|
|
||||||
<AssemblyVersion>5371.0.1.4</AssemblyVersion>
|
|
||||||
<FileVersion>5371.0.1.4</FileVersion>
|
|
||||||
<SignAssembly>true</SignAssembly>
|
|
||||||
<AssemblyOriginatorKeyFile>RJW_patch_Autopsy.snk</AssemblyOriginatorKeyFile>
|
|
||||||
<Description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.</Description>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
||||||
<OutputPath>bin\Release\1.4\</OutputPath>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Remove="1.3\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lib.Harmony" Version="2.2.2"/>
|
|
||||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0"/>
|
|
||||||
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.4.3901" />
|
|
||||||
<PackageReference Include="UnlimitedHugs.Rimworld.HugsLib" Version="10.0.1"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="Autopsy">
|
|
||||||
<HintPath>..\..\..\RimwoldAutopsy\1.4\Assemblies\Autopsy.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="RJW">
|
|
||||||
<HintPath>..\..\..\rjw-base\1.4\Assemblies\RJW.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Remove="1.3\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Remove="1.3\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Properties\" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
5
Source/RJW_patch_Autopsy/packages.config
Normal file
5
Source/RJW_patch_Autopsy/packages.config
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Lib.Harmony" version="2.2.0" targetFramework="net48" />
|
||||||
|
<package id="UnlimitedHugs.Rimworld.HugsLib" version="9.0.1" targetFramework="net48" />
|
||||||
|
</packages>
|
|
@ -8,16 +8,17 @@
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.ullink.msbuild") version "3.15"
|
id("com.ullink.msbuild") version "3.15"
|
||||||
|
//id("com.ullink.nunit") version "1.12"
|
||||||
}
|
}
|
||||||
|
|
||||||
version = "5371.0.1.4"
|
version = "4961.0.1.4"
|
||||||
val friendlyName = "rjw-patch-autopsy"
|
val friendlyName = "rjw-patch-autopsy"
|
||||||
|
|
||||||
tasks.register<com.ullink.Msbuild>("buildC#_1.3") {
|
tasks.register<com.ullink.Msbuild>("buildC#") {
|
||||||
// either a solution file
|
// either a solution file
|
||||||
// solutionFile = "${rootProject.name}.sln"
|
// solutionFile = "${rootProject.name}.sln"
|
||||||
// or a project file (.csproj or .vbproj)
|
// or a project file (.csproj or .vbproj)
|
||||||
projectFile = file("${rootProject.name}/${rootProject.name}_1.3.csproj")
|
projectFile = file("${rootProject.name}/${rootProject.name}.csproj")
|
||||||
|
|
||||||
targets = listOf("Clean", "Rebuild")
|
targets = listOf("Clean", "Rebuild")
|
||||||
configuration = "Release"
|
configuration = "Release"
|
||||||
|
@ -25,22 +26,10 @@ tasks.register<com.ullink.Msbuild>("buildC#_1.3") {
|
||||||
// destinationDir = "build/msbuild/bin"
|
// destinationDir = "build/msbuild/bin"
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register<com.ullink.Msbuild>("buildC#_1.4") {
|
tasks.register<Exec>("sign") {
|
||||||
// either a solution file
|
dependsOn("buildC#")
|
||||||
// solutionFile = "${rootProject.name}.sln"
|
workingDir = project.projectDir.resolve("${rootProject.name}/obj/Release")
|
||||||
// or a project file (.csproj or .vbproj)
|
executable = "H:\\Windows Kits\\10\\bin\\10.0.22000.0\\x64\\signtool.exe"
|
||||||
projectFile = file("${rootProject.name}/${rootProject.name}_1.4.csproj")
|
|
||||||
|
|
||||||
targets = listOf("Clean", "Rebuild")
|
|
||||||
configuration = "Release"
|
|
||||||
|
|
||||||
// destinationDir = "build/msbuild/bin"
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.register<Exec>("sign_1.3") {
|
|
||||||
dependsOn("buildC#_1.3")
|
|
||||||
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48")
|
|
||||||
executable = "H:\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe"
|
|
||||||
args = listOf(
|
args = listOf(
|
||||||
"sign",
|
"sign",
|
||||||
"/seal",
|
"/seal",
|
||||||
|
@ -55,71 +44,36 @@ tasks.register<Exec>("sign_1.3") {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register<Exec>("sign_1.4") {
|
tasks.register("copyDll") {
|
||||||
dependsOn("buildC#_1.4")
|
dependsOn("copyDll_Assemblies", "copyDll_1.3")
|
||||||
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.4/net48")
|
|
||||||
executable = "H:\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe"
|
|
||||||
args = listOf(
|
|
||||||
"sign",
|
|
||||||
"/seal",
|
|
||||||
"/t",
|
|
||||||
"http://timestamp.digicert.com",
|
|
||||||
"/a",
|
|
||||||
"/n",
|
|
||||||
"Stardust3D",
|
|
||||||
"/fd",
|
|
||||||
"certHash",
|
|
||||||
"${rootProject.name}.dll"
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("copy") {
|
tasks.register<Copy>("copyDll_Assemblies") {
|
||||||
dependsOn("copy_1.3", "copy_1.4", "copy_about")
|
dependsOn("sign", "clean")
|
||||||
}
|
from(project.projectDir.resolve("${rootProject.name}/obj/Release/${rootProject.name}.dll"))
|
||||||
|
into(project.projectDir.parentFile.resolve("Assemblies"))
|
||||||
tasks.register<Copy>("copy_about") {
|
|
||||||
from(project.projectDir.resolve("${rootProject.name}/About"))
|
|
||||||
into(project.projectDir.parentFile.resolve("About"))
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.register<Copy>("copy_1.3") {
|
|
||||||
dependsOn("copyDll_1.3")
|
|
||||||
from(project.projectDir.resolve("${rootProject.name}/1.3"))
|
|
||||||
into(project.projectDir.parentFile.resolve("1.3"))
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.register<Copy>("copy_1.4") {
|
|
||||||
dependsOn("copyDll_1.4")
|
|
||||||
from(project.projectDir.resolve("${rootProject.name}/1.4"))
|
|
||||||
into(project.projectDir.parentFile.resolve("1.4"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register<Copy>("copyDll_1.3") {
|
tasks.register<Copy>("copyDll_1.3") {
|
||||||
dependsOn("sign_1.3")
|
dependsOn("sign", "clean")
|
||||||
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48/${rootProject.name}.dll"))
|
from(project.projectDir.resolve("${rootProject.name}/obj/Release/${rootProject.name}.dll"))
|
||||||
into(project.projectDir.parentFile.resolve("1.3/Assemblies"))
|
into(project.projectDir.parentFile.resolve("1.3/Assemblies"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register<Copy>("copyDll_1.4") {
|
|
||||||
dependsOn("sign_1.4")
|
|
||||||
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.4/net48/${rootProject.name}.dll"))
|
|
||||||
into(project.projectDir.parentFile.resolve("1.4/Assemblies"))
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.register<Zip>("buildZip") {
|
tasks.register<Zip>("buildZip") {
|
||||||
dependsOn("clean", ":copy")
|
dependsOn(":copyDll")
|
||||||
into("$friendlyName/1.3") {
|
into("$friendlyName/1.3") {
|
||||||
from(project.projectDir.parentFile.resolve("1.3"))
|
from(project.projectDir.parentFile.resolve("1.3"))
|
||||||
}
|
}
|
||||||
into("$friendlyName/1.4") {
|
|
||||||
from(project.projectDir.parentFile.resolve("1.4"))
|
|
||||||
}
|
|
||||||
into("$friendlyName/About") {
|
into("$friendlyName/About") {
|
||||||
from(project.projectDir.parentFile.resolve("About"))
|
from(project.projectDir.parentFile.resolve("About"))
|
||||||
}
|
}
|
||||||
into("$friendlyName/Defs") {
|
into("$friendlyName/Assemblies") {
|
||||||
from(project.projectDir.parentFile.resolve("Defs"))
|
from(project.projectDir.parentFile.resolve("Assemblies"))
|
||||||
}
|
}
|
||||||
|
/*into("${rootProject.friendlyName}/Defs") {
|
||||||
|
from(project.projectDir.parentFile.resolve("Defs"))
|
||||||
|
}*/
|
||||||
into("$friendlyName/Source/${rootProject.name}") {
|
into("$friendlyName/Source/${rootProject.name}") {
|
||||||
from(project.projectDir.parentFile.resolve("Source/${rootProject.name}"))
|
from(project.projectDir.parentFile.resolve("Source/${rootProject.name}"))
|
||||||
excludes.add("**/obj/**")
|
excludes.add("**/obj/**")
|
||||||
|
@ -127,9 +81,9 @@ tasks.register<Zip>("buildZip") {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.clean {
|
tasks.clean {
|
||||||
delete.add(project.projectDir.parentFile.resolve("1.3"))
|
dependsOn("buildC#")
|
||||||
delete.add(project.projectDir.parentFile.resolve("1.4"))
|
delete.add(project.projectDir.parentFile.resolve("Assemblies"))
|
||||||
delete.add(project.projectDir.parentFile.resolve("About"))
|
delete.add(project.projectDir.parentFile.resolve("1.3/Assemblies"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.build {
|
tasks.build {
|
||||||
|
|
BIN
Source/gradle/wrapper/gradle-wrapper.jar
vendored
BIN
Source/gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
|
@ -1,6 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
||||||
networkTimeout=10000
|
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
35
Source/gradlew
vendored
35
Source/gradlew
vendored
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright © 2015-2021 the original authors.
|
# Copyright © 2015-2021 the original authors.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -32,10 +32,10 @@
|
||||||
# Busybox and similar reduced shells will NOT work, because this script
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
# requires all of these POSIX shell features:
|
# requires all of these POSIX shell features:
|
||||||
# * functions;
|
# * functions;
|
||||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
# * compound commands having a testable exit status, especially «case»;
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
# * various built-in commands including «command», «set», and «ulimit».
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
#
|
#
|
||||||
# Important for patching:
|
# Important for patching:
|
||||||
#
|
#
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
# Darwin, MinGW, and NonStop.
|
# Darwin, MinGW, and NonStop.
|
||||||
#
|
#
|
||||||
# (3) This script is generated from the Groovy template
|
# (3) This script is generated from the Groovy template
|
||||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
# within the Gradle project.
|
# within the Gradle project.
|
||||||
#
|
#
|
||||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
@ -80,11 +80,14 @@ do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# This is normally unused
|
|
||||||
# shellcheck disable=SC2034
|
|
||||||
APP_BASE_NAME=${0##*/}
|
|
||||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
|
|
||||||
|
APP_NAME="Gradle"
|
||||||
|
APP_BASE_NAME=${0##*/}
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD=maximum
|
MAX_FD=maximum
|
||||||
|
|
||||||
|
@ -140,16 +143,12 @@ fi
|
||||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
case $MAX_FD in #(
|
case $MAX_FD in #(
|
||||||
max*)
|
max*)
|
||||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
|
||||||
# shellcheck disable=SC3045
|
|
||||||
MAX_FD=$( ulimit -H -n ) ||
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
warn "Could not query maximum file descriptor limit"
|
warn "Could not query maximum file descriptor limit"
|
||||||
esac
|
esac
|
||||||
case $MAX_FD in #(
|
case $MAX_FD in #(
|
||||||
'' | soft) :;; #(
|
'' | soft) :;; #(
|
||||||
*)
|
*)
|
||||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
|
||||||
# shellcheck disable=SC3045
|
|
||||||
ulimit -n "$MAX_FD" ||
|
ulimit -n "$MAX_FD" ||
|
||||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
esac
|
esac
|
||||||
|
@ -194,10 +193,6 @@ if "$cygwin" || "$msys" ; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
||||||
|
|
||||||
# Collect all arguments for the java command;
|
# Collect all arguments for the java command;
|
||||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
# shell script including quotes and variable substitutions, so put them in
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
@ -210,12 +205,6 @@ set -- \
|
||||||
org.gradle.wrapper.GradleWrapperMain \
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
# Stop when "xargs" is not available.
|
|
||||||
if ! command -v xargs >/dev/null 2>&1
|
|
||||||
then
|
|
||||||
die "xargs is not available"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Use "xargs" to parse quoted args.
|
# Use "xargs" to parse quoted args.
|
||||||
#
|
#
|
||||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
|
15
Source/gradlew.bat
vendored
15
Source/gradlew.bat
vendored
|
@ -14,7 +14,7 @@
|
||||||
@rem limitations under the License.
|
@rem limitations under the License.
|
||||||
@rem
|
@rem
|
||||||
|
|
||||||
@if "%DEBUG%"=="" @echo off
|
@if "%DEBUG%" == "" @echo off
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
@rem
|
@rem
|
||||||
@rem Gradle startup script for Windows
|
@rem Gradle startup script for Windows
|
||||||
|
@ -25,8 +25,7 @@
|
||||||
if "%OS%"=="Windows_NT" setlocal
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
set DIRNAME=%~dp0
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%"=="" set DIRNAME=.
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
@rem This is normally unused
|
|
||||||
set APP_BASE_NAME=%~n0
|
set APP_BASE_NAME=%~n0
|
||||||
set APP_HOME=%DIRNAME%
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@ -41,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
set JAVA_EXE=java.exe
|
set JAVA_EXE=java.exe
|
||||||
%JAVA_EXE% -version >NUL 2>&1
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
if %ERRORLEVEL% equ 0 goto execute
|
if "%ERRORLEVEL%" == "0" goto execute
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
@ -76,15 +75,13 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||||
|
|
||||||
:end
|
:end
|
||||||
@rem End local scope for the variables with windows NT shell
|
@rem End local scope for the variables with windows NT shell
|
||||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||||
|
|
||||||
:fail
|
:fail
|
||||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||||
rem the _cmd.exe /c_ return code!
|
rem the _cmd.exe /c_ return code!
|
||||||
set EXIT_CODE=%ERRORLEVEL%
|
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
exit /b 1
|
||||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
|
||||||
exit /b %EXIT_CODE%
|
|
||||||
|
|
||||||
:mainEnd
|
:mainEnd
|
||||||
if "%OS%"=="Windows_NT" endlocal
|
if "%OS%"=="Windows_NT" endlocal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue