2021-11-27 01:28:22 +00:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2021-11-20 19:49:50 +00:00
|
|
|
|
<PropertyGroup>
|
2021-11-27 01:28:22 +00:00
|
|
|
|
<AssemblyTitle>Quantum Space Buddies</AssemblyTitle>
|
|
|
|
|
<Description>Multiplayer mod for Outer Wilds</Description>
|
2021-11-27 03:17:03 +00:00
|
|
|
|
<Product>Quantum Space Buddies</Product>
|
|
|
|
|
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
2020-02-10 22:03:28 +00:00
|
|
|
|
<ProjectGuid>{1F00090A-C697-4C55-B401-192F3CFB9DC2}</ProjectGuid>
|
2022-02-11 01:46:46 +00:00
|
|
|
|
<OutputPath Condition="Exists('$(OwmlDir)')">$(OwmlDir)\Mods\QSB</OutputPath>
|
2022-02-03 08:18:13 +00:00
|
|
|
|
<NoWarn>CS1998;CS0649</NoWarn>
|
2020-02-10 22:03:28 +00:00
|
|
|
|
</PropertyGroup>
|
2022-02-11 04:28:07 +00:00
|
|
|
|
|
2022-02-11 07:10:21 +00:00
|
|
|
|
<Target Name="clean before building" BeforeTargets="PreBuildEvent">
|
2022-02-11 13:12:40 +00:00
|
|
|
|
<Exec Command="del /f /q "$(OutputPath)\*.dll"" IgnoreExitCode="true" />
|
|
|
|
|
<Exec Command="del /f /q "$(OutputPath)\*.exe"" IgnoreExitCode="true" />
|
|
|
|
|
<Exec Command="del /f /q "$(OutputPath)\*.pdb"" IgnoreExitCode="true" />
|
|
|
|
|
<Exec Command="del /f /q "$(OutputPath)\AssetBundles\*"" IgnoreExitCode="true" />
|
2022-02-11 07:10:21 +00:00
|
|
|
|
</Target>
|
2022-02-11 13:04:56 +00:00
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<GameDllsDir Condition="Exists('$(GameDir)')">$(GameDir)\OuterWilds_Data\Managed</GameDllsDir>
|
|
|
|
|
<UnityDllsDir Condition="Exists('$(UnityAssetsDir)')">$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
|
|
|
|
</PropertyGroup>
|
2022-02-11 05:49:06 +00:00
|
|
|
|
<Target Name="remove dumb files" AfterTargets="PostBuildEvent">
|
2022-02-11 07:10:21 +00:00
|
|
|
|
<Exec Command="del /f /q "$(OutputPath)\*.exe.config"" />
|
2022-01-14 22:14:40 +00:00
|
|
|
|
</Target>
|
2022-02-11 04:28:07 +00:00
|
|
|
|
<Target Name="weave qsb" AfterTargets="PostBuildEvent">
|
|
|
|
|
<Exec Command=""..\MirrorWeaver\bin\$(Configuration)\MirrorWeaver" "$(TargetPath)" ..\GameDlls" />
|
|
|
|
|
</Target>
|
2022-02-11 13:04:56 +00:00
|
|
|
|
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)') and Exists('$(GameDllsDir)')">
|
2022-02-11 07:10:21 +00:00
|
|
|
|
<Exec Command="del /f /q "$(UnityDllsDir)\*.dll"" />
|
|
|
|
|
<Exec Command="del /f /q "$(UnityDllsDir)\*.exe"" />
|
2022-02-14 05:36:35 +00:00
|
|
|
|
<Exec Command="del /f /q "$(UnityDllsDir)\*.pdb"" />
|
2022-02-11 04:28:07 +00:00
|
|
|
|
|
|
|
|
|
<Exec Command="copy /y "$(OutputPath)\*.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(OutputPath)\*.exe" "$(UnityDllsDir)"" />
|
2022-02-19 17:09:48 +00:00
|
|
|
|
<Exec Command="copy /y "$(OutputPath)\*.pdb" "$(UnityDllsDir)"" IgnoreExitCode="true" />
|
2022-02-11 04:28:07 +00:00
|
|
|
|
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\Assembly-CSharp*.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\Unity.InputSystem.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\UnityEngine.UI.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\EOS-SDK.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\UniSense.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\Autofac.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\Newtonsoft.Json.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\0Harmony.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\MonoMod*.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\Mono.Cecil.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\OWML*.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
<Exec Command="copy /y "$(GameDllsDir)\NAudio-Unity.dll" "$(UnityDllsDir)"" />
|
|
|
|
|
</Target>
|
2022-02-09 20:00:14 +00:00
|
|
|
|
|
2020-02-10 22:03:28 +00:00
|
|
|
|
<ItemGroup>
|
2020-12-20 23:17:31 +00:00
|
|
|
|
<None Include="default-config.json">
|
2022-02-03 06:02:10 +00:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
2020-12-20 23:17:31 +00:00
|
|
|
|
</None>
|
|
|
|
|
<None Include="manifest.json">
|
2022-02-03 06:02:10 +00:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
2020-12-20 23:17:31 +00:00
|
|
|
|
</None>
|
2022-02-11 02:34:47 +00:00
|
|
|
|
<None Include="AssetBundles\*">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-02-11 05:49:06 +00:00
|
|
|
|
<None Remove="AssetBundles\AssetBundles" />
|
|
|
|
|
<None Remove="AssetBundles\*.manifest" />
|
2022-02-11 13:34:48 +00:00
|
|
|
|
<None Condition="Exists('debugsettings.json')" Include="debugsettings.json">
|
2022-02-11 02:34:47 +00:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2021-10-12 15:56:07 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2022-02-04 14:33:49 +00:00
|
|
|
|
<PackageReference Include="OuterWildsGameLibs" Version="1.1.12.168" IncludeAssets="compile" />
|
2022-01-16 05:32:27 +00:00
|
|
|
|
<Reference Include="..\Mirror\*.dll" />
|
2022-01-29 02:37:28 +00:00
|
|
|
|
<Reference Include="..\UniTask\*.dll" />
|
2022-02-21 09:22:09 +00:00
|
|
|
|
<Reference Include="..\ProxyScripts\*.dll" />
|
2022-02-06 02:52:24 +00:00
|
|
|
|
<ProjectReference Include="..\EpicOnlineTransport\EpicOnlineTransport.csproj" />
|
2022-02-07 05:38:14 +00:00
|
|
|
|
<ProjectReference Include="..\EpicRerouter\EpicRerouter.csproj" />
|
2022-01-16 05:49:59 +00:00
|
|
|
|
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />
|
2022-02-07 08:01:28 +00:00
|
|
|
|
<PackageReference Include="HarmonyX" Version="2.9.0" IncludeAssets="compile" />
|
|
|
|
|
<PackageReference Include="OWML" Version="2.3.2" IncludeAssets="compile" />
|
2021-11-27 01:28:22 +00:00
|
|
|
|
</ItemGroup>
|
2021-11-30 01:23:35 +00:00
|
|
|
|
</Project>
|