Add mad games tycoon2 mods

This commit is contained in:
2024-04-17 13:23:30 +02:00
parent 67d1d90db2
commit 714190851d
16 changed files with 69 additions and 65 deletions

Binary file not shown.

View File

@@ -6,7 +6,6 @@ using BepInEx;
using BepInEx.Configuration; using BepInEx.Configuration;
using HarmonyLib; using HarmonyLib;
using HarmonyLib.Tools; using HarmonyLib.Tools;
using Pathfinding;
namespace CykaMod { namespace CykaMod {
[BepInPlugin(pluginGuid, pluginName, pluginVersion)] [BepInPlugin(pluginGuid, pluginName, pluginVersion)]
@@ -272,4 +271,4 @@ namespace CykaMod {
amount *= Main.money.Value; amount *= Main.money.Value;
} }
} }
} }

View File

@@ -1,71 +1,63 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{06AA059A-C853-42AD-BBF8-122CFB2EEA29}</ProjectGuid> <ProjectGuid>{06AA059A-C853-42AD-BBF8-122CFB2EEA29}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CykaMod</RootNamespace> <RootNamespace>CykaMod</RootNamespace>
<AssemblyName>CykaMod</AssemblyName> <AssemblyName>CykaMod</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath> <OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath> <OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="0Harmony"> <Compile Include="Class1.cs" />
<HintPath>Libraries\0Harmony.dll</HintPath> <Compile Include="Properties\AssemblyInfo.cs" />
</Reference> </ItemGroup>
<Reference Include="Assembly-CSharp"> <ItemGroup>
<HintPath>Libraries\Assembly-CSharp.dll</HintPath> <Reference Include="0Harmony">
</Reference> <HintPath>libs\0Harmony.dll</HintPath>
<Reference Include="AstarPathfindingProject"> </Reference>
<HintPath>Libraries\AstarPathfindingProject.dll</HintPath> <Reference Include="Assembly-CSharp">
</Reference> <HintPath>libs\Assembly-CSharp.dll</HintPath>
<Reference Include="BepInEx"> </Reference>
<HintPath>Libraries\BepInEx.dll</HintPath> <Reference Include="BepInEx">
</Reference> <HintPath>libs\BepInEx.dll</HintPath>
<Reference Include="System" /> </Reference>
<Reference Include="System.Core" /> <Reference Include="UnityEngine">
<Reference Include="System.Data" /> <HintPath>libs\UnityEngine.dll</HintPath>
<Reference Include="System.Xml" /> </Reference>
<Reference Include="UnityEngine"> <Reference Include="UnityEngine.CoreModule">
<HintPath>Libraries\UnityEngine.dll</HintPath> <HintPath>libs\UnityEngine.CoreModule.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEngine.CoreModule"> </ItemGroup>
<HintPath>Libraries\UnityEngine.CoreModule.dll</HintPath> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Reference> <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
</ItemGroup>
<ItemGroup>
<Compile Include="Class1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
</Target> </Target>
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
</Project>
</Project>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
for lib in $(cat libs.txt); do find 'C:\Program Files (x86)\Steam\steamapps\common\Mad Games Tycoon 2' -name "$lib" | sed 's|\\|/|g' | xargs -I% -- cp '%' .; done

View File

@@ -0,0 +1,6 @@
0Harmony.dll
Assembly-CSharp.dll
BepInEx.dll
ConfigurationManager.dll
UnityEngine.CoreModule.dll
UnityEngine.dll

View File

@@ -5,6 +5,12 @@
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005CLibraries_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005CLibraries_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005CLibraries_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005CLibraries_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005CLibraries_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005CLibraries_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CBackup_002DProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CBackup_002DProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CBackup_002DProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CBackup_002DProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CBackup_002DProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CMadGamesTycoon2_005CCykaMod_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue">&lt;AssemblyExplorer&gt;&#xD; <s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue">&lt;AssemblyExplorer&gt;&#xD;
&lt;Assembly Path="C:\Users\Administrator\RiderProjects\Bepinex\Projects\MadGamesTycoon2\CykaMod\Libraries\Assembly-CSharp.dll" /&gt;&#xD; &lt;Assembly Path="C:\Users\Administrator\RiderProjects\Bepinex\Projects\MadGamesTycoon2\CykaMod\Libraries\Assembly-CSharp.dll" /&gt;&#xD;
&lt;Assembly Path="C:\Users\Administrator\Seafile\Backup-Projects-Rider\RiderProjects\Bepinex\Projects\MadGamesTycoon2\CykaMod\libs\0Harmony.dll" /&gt;&#xD;
&lt;/AssemblyExplorer&gt;</s:String></wpf:ResourceDictionary> &lt;/AssemblyExplorer&gt;</s:String></wpf:ResourceDictionary>