Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions ActivatableEquipment/CustomActivatableEquipment.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,35 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>..\..\..\Mods\ModTek\AssembliesOverride\0Harmony.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\ModTek\AssembliesOverride\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\Mods\.modtek\AssembliesInjected\Assembly-CSharp.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\.modtek\AssembliesInjected\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="CustomAmmoCategories">
<HintPath>$(BattleTechGameDir)\Mods\Core\CustomAmmoCategories\CustomAmmoCategories.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\CustomAmmoCategories\CustomAmmoCategories.dll</HintPath>
</Reference>
<Reference Include="CustomComponents">
<HintPath>$(BattleTechGameDir)\Mods\Core\CustomComponents\CustomComponents.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\CustomComponents\CustomComponents.dll</HintPath>
</Reference>
<Reference Include="CustomLocalSettings">
<HintPath>$(BattleTechGameDir)\Mods\Core\CustomLocalSettings\CustomLocalSettings.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\CustomLocalSettings\CustomLocalSettings.dll</HintPath>
</Reference>
<Reference Include="DOTweenPro, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\DOTweenPro.dll</HintPath>
</Reference>
<Reference Include="CustomPrewarm">
<HintPath>..\..\..\Mods\Core\CustomPrewarm\CustomPrewarm.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\CustomPrewarm\CustomPrewarm.dll</HintPath>
</Reference>
<Reference Include="DOTweenPro, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Reference Include="InControl">
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\InControl.dll</HintPath>
</Reference>
<Reference Include="IRBTModUtils">
<HintPath>..\..\..\Mods\Core\IRBTModUtils\IRBTModUtils.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\IRBTModUtils\IRBTModUtils.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down Expand Up @@ -104,11 +106,11 @@
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>..\..\..\BattleTech_Data\Managed\UnityEngine.UI.dll</HintPath>
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\BattleTech_Data\Managed\UnityEngine.UIModule.dll</HintPath>
<HintPath>$(BattleTechGameDir)\BattleTech_Data\Managed\UnityEngine.UIModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -151,11 +153,11 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if exist "$(BattleTechGameDir)\Mods\Core\ActivatableEquipment" (
<PostBuildEvent>if exist "$(BattleTechGameDir)\Mods\CustomActivatableEquipment" (
echo %25BattleTechGameDir%25
xcopy "$(TargetPath)" "$(BattleTechGameDir)\Mods\Core\ActivatableEquipment" /y
xcopy /Y /S /E "$(ProjectDir)..\AdditionalFiles\Localization" "$(BattleTechGameDir)\Mods\Core\ActivatableEquipment\Localization"
xcopy /Y "$(ProjectDir)..\AdditionalFiles\Readme.txt" "$(BattleTechGameDir)\Mods\Core\ActivatableEquipment"
xcopy "$(TargetPath)" "$(BattleTechGameDir)\Mods\CustomActivatableEquipment" /y
xcopy /Y /S /E "$(ProjectDir)..\AdditionalFiles\Localization" "$(BattleTechGameDir)\Mods\CustomActivatableEquipment\Localization"
xcopy /Y "$(ProjectDir)..\AdditionalFiles\Readme.txt" "$(BattleTechGameDir)\Mods\CustomActivatableEquipment"
)
if exist "$(BattleTechGameDir)\Mods\Core\CustomActivatableEquipment" (
echo %25BattleTechGameDir%25
Expand Down
4 changes: 4 additions & 0 deletions ActivatableEquipment/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
</packages>
8 changes: 4 additions & 4 deletions ComponentRefInjector/ComponentRefInjector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Cecil">
<HintPath>..\..\..\Mods\ModTek\Mono.Cecil.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\ModTek\Mono.Cecil.dll</HintPath>
</Reference>
<Reference Include="Mono.Cecil.Mdb">
<HintPath>..\..\..\Mods\ModTek\Mono.Cecil.Mdb.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\ModTek\Mono.Cecil.Mdb.dll</HintPath>
</Reference>
<Reference Include="Mono.Cecil.Pdb">
<HintPath>..\..\..\Mods\ModTek\Mono.Cecil.Pdb.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\ModTek\Mono.Cecil.Pdb.dll</HintPath>
</Reference>
<Reference Include="Mono.Cecil.Rocks">
<HintPath>..\..\..\Mods\ModTek\Mono.Cecil.Rocks.dll</HintPath>
<HintPath>$(BattleTechGameDir)\Mods\ModTek\Mono.Cecil.Rocks.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
15 changes: 15 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BattleTechGameDir>E:\SteamLibrary\steamapps\common\BATTLETECH</BattleTechGameDir>

<!--
If your MechEngineer checkout is outside of the BATTLETECH Mods directory
you need to uncomment and adjust the following settings.
-->
<!-- where should the MechEngineer DLL be copied to? -->
<MechEngineerModPath>$(BattleTechGameDir)\Mods\MechEngineer</MechEngineerModPath>
<!-- where can the CustomComponents DLL be found? -->
<CustomComponentsModPath>$(BattleTechGameDir)\Mods\CustomComponents</CustomComponentsModPath>
</PropertyGroup>
</Project>