Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytra committed Sep 6, 2024
1 parent 7ffd270 commit aaaff1f
Show file tree
Hide file tree
Showing 11 changed files with 475 additions and 164 deletions.
8 changes: 1 addition & 7 deletions MonkeyLoader.ModTemplate.sln → ArrayEditing.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33516.290
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonkeyLoader.ModTemplate", "MonkeyLoader.ModTemplate\MonkeyLoader.ModTemplate.csproj", "{40835522-1978-431B-A395-0870583B80F5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ArrayEditing", "ArrayEditing\ArrayEditing.csproj", "{40835522-1978-431B-A395-0870583B80F5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{07124CF9-EE3D-4A7E-A2F8-8FD07966E423}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonkeyLoader.ModTemplate.PrePatcher", "MonkeyLoader.ModTemplate.PrePatcher\MonkeyLoader.ModTemplate.PrePatcher.csproj", "{F500B1A2-B913-4D93-941D-9BB5ABBDC800}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -23,10 +21,6 @@ Global
{40835522-1978-431B-A395-0870583B80F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40835522-1978-431B-A395-0870583B80F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40835522-1978-431B-A395-0870583B80F5}.Release|Any CPU.Build.0 = Release|Any CPU
{F500B1A2-B913-4D93-941D-9BB5ABBDC800}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F500B1A2-B913-4D93-941D-9BB5ABBDC800}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F500B1A2-B913-4D93-941D-9BB5ABBDC800}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F500B1A2-B913-4D93-941D-9BB5ABBDC800}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
460 changes: 460 additions & 0 deletions ArrayEditing/ArrayEditing.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyTitle>MonkeyLoader.ModTemplate</AssemblyTitle>
<RootNamespace>MonkeyLoader.ModTemplate</RootNamespace>
<AssemblyTitle>ArrayEditing</AssemblyTitle>
<RootNamespace>ArrayEditing</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>MonkeyLoader.ModTemplate.Resonite</PackageId>
<Title>MonkeyLoader Resonite Mod Template</Title>
<Authors>Banane9</Authors>
<Version>0.4.0</Version>
<Description>This is a template for a Resonite MonkeyLoader mod.</Description>
<PackageId>ArrayEditing</PackageId>
<Title>Array Editing</Title>
<Authors>Banane9, Nytra</Authors>
<Version>1.0.0</Version>
<Description>Adds proxy list UI for editing arrays in inspectors. Also improves the look of list UI a bit.</Description>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ResoniteModdingGroup/MonkeyLoader.ModTemplate</PackageProjectUrl>
<PackageProjectUrl>https://github.com/Nytra/ResoniteArrayEditing</PackageProjectUrl>
<PackageTags>mod; mods; monkeyloader; resonite</PackageTags>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);AddExtraFilesToPackage</TargetsForTfmSpecificContentInPackage>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage)</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -24,12 +24,6 @@
<PackageValidationBaselineVersion>0.1.0-beta</PackageValidationBaselineVersion> -->
</PropertyGroup>

<Target Name="AddExtraFilesToPackage">
<ItemGroup>
<TfmSpecificPackageFile Include="$(ProjectDir)..\MonkeyLoader.ModTemplate.PrePatcher\bin\$(Configuration)\$(TargetFramework)\MonkeyLoader.ModTemplate.PrePatcher.*" PackagePath="lib/$(TargetFramework)/pre-patchers/" />
</ItemGroup>
</Target>

<Target Name="CopyPackage" AfterTargets="Pack">
<Copy Condition="'$(CopyToLibraries)'=='true'" SourceFiles="$(OutputPath)..\$(PackageId).$(PackageVersion).nupkg" DestinationFiles="$(ResonitePath)\MonkeyLoader\Mods\$(PackageId).nupkg" />
<Message Condition="'$(CopyToLibraries)'=='true'" Text="Copied '$(OutputPath)..\$(PackageId).$(PackageVersion).nupkg' to '$(ResonitePath)\MonkeyLoader\Mods\$(PackageId).nupkg'" Importance="high" />
Expand All @@ -41,29 +35,18 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MonkeyLoader" Version="0.19.0-beta" />
<PackageReference Include="MonkeyLoader" Version="0.22.12-beta" />
<PackageReference Include="MonkeyLoader.GamePacks.Unity" Version="0.6.0-beta" />
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.16.6-beta" GeneratePathProperty="true" />
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.19.2-beta" GeneratePathProperty="true" />
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Resonite.Elements.Core" Version="1.0.2" />
<PackageReference Include="Resonite.FrooxEngine" Version="2024.6.11.74" />
<PackageReference Include="Resonite.Elements.Core" Version="1.2.1" />
<PackageReference Include="Resonite.FrooxEngine" Version="2024.8.6.1341" />
<PackageReference Include="System.Text.Json" Version="8.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<!-- Reference the pre-patcher assembly from the Game Pack because PackageReference is stupid -->
<Reference Include="MonkeyLoader.Resonite.Data">
<HintPath>$(PkgMonkeyLoader_GamePacks_Resonite)\lib\net462\pre-patchers\MonkeyLoader.Resonite.Data.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MonkeyLoader.ModTemplate.PrePatcher\MonkeyLoader.ModTemplate.PrePatcher.csproj" PrivateAssets="All" />
</ItemGroup>
</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
<ResonitePath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\Resonite\')">C:\Program Files (x86)\Steam\steamapps\common\Resonite</ResonitePath>
<ResonitePath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/Resonite/')">$(HOME)/.steam/steam/steamapps/common/Resonite</ResonitePath>
<ResonitePath Condition="Exists('D:/Files/Games/Resonite/app/')">D:/Files/Games/Resonite/app</ResonitePath>
<ResonitePath Condition="Exists('G:\SteamLibrary\steamapps\common\Resonite\')">G:\SteamLibrary\steamapps\common\Resonite</ResonitePath>
</PropertyGroup>
</Project>
42 changes: 0 additions & 42 deletions MonkeyLoader.ModTemplate.PrePatcher/BasicPrePatcher.cs

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions MonkeyLoader.ModTemplate.PrePatcher/MyConfig.cs

This file was deleted.

29 changes: 0 additions & 29 deletions MonkeyLoader.ModTemplate/BasicPatcher.cs

This file was deleted.

0 comments on commit aaaff1f

Please sign in to comment.