mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 06:08:16 +08:00
1.8.3
* Merging `mcs.dll` into the main `Explorer.dll` file, no longer needs to be in the Mods / Plugins folder.
This commit is contained in:
parent
bf6d526284
commit
e7aa01ebc8
@ -27,14 +27,12 @@
|
|||||||
<AssemblyName>Explorer</AssemblyName>
|
<AssemblyName>Explorer</AssemblyName>
|
||||||
<!-- Set this to the MelonLoader Il2Cpp Game folder, without the ending '\' character. -->
|
<!-- Set this to the MelonLoader Il2Cpp Game folder, without the ending '\' character. -->
|
||||||
<MLCppGameFolder>D:\Steam\steamapps\common\Hellpoint</MLCppGameFolder>
|
<MLCppGameFolder>D:\Steam\steamapps\common\Hellpoint</MLCppGameFolder>
|
||||||
<!--<MLCppGameFolder>D:\source\Unity Projects\Test\_BUILD</MLCppGameFolder>-->
|
|
||||||
<!-- Set this to the MelonLoader Mono Game folder, without the ending '\' character. -->
|
<!-- Set this to the MelonLoader Mono Game folder, without the ending '\' character. -->
|
||||||
<MLMonoGameFolder>D:\Steam\steamapps\common\Outward</MLMonoGameFolder>
|
<MLMonoGameFolder>D:\Steam\steamapps\common\Outward</MLMonoGameFolder>
|
||||||
<!-- Set this to the BepInEx Il2Cpp Game folder, without the ending '\' character. -->
|
<!-- Set this to the BepInEx Il2Cpp Game folder, without the ending '\' character. -->
|
||||||
<BIECppGameFolder>D:\Steam\steamapps\common\Outward - Il2Cpp</BIECppGameFolder>
|
<BIECppGameFolder>D:\Steam\steamapps\common\Outward - Il2Cpp</BIECppGameFolder>
|
||||||
<!-- Set this to the BepInEx Mono Game folder, without the ending '\' character. -->
|
<!-- Set this to the BepInEx Mono Game folder, without the ending '\' character. -->
|
||||||
<BIEMonoGameFolder>D:\Steam\steamapps\common\Outward</BIEMonoGameFolder>
|
<BIEMonoGameFolder>D:\Steam\steamapps\common\Outward</BIEMonoGameFolder>
|
||||||
<!-- <BIEMonoGameFolder>D:\source\Unity Projects\! My Unity Games\NewInputSystemTest\_BUILD</BIEMonoGameFolder> -->
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_ML_Cpp|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_ML_Cpp|AnyCPU' ">
|
||||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
@ -95,11 +93,11 @@
|
|||||||
<!-- MCS ref -->
|
<!-- MCS ref -->
|
||||||
<Reference Include="mcs" Condition="'$(IsNet35)'=='false'">
|
<Reference Include="mcs" Condition="'$(IsNet35)'=='false'">
|
||||||
<HintPath>..\lib\mcs.dll</HintPath>
|
<HintPath>..\lib\mcs.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="mcs" Condition="'$(IsNet35)'=='true'">
|
<Reference Include="mcs" Condition="'$(IsNet35)'=='true'">
|
||||||
<HintPath>..\lib\mcs.NET35.dll</HintPath>
|
<HintPath>..\lib\mcs.NET35.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<!-- Universal Mono UnityEngine.dll ref (v5.3) -->
|
<!-- Universal Mono UnityEngine.dll ref (v5.3) -->
|
||||||
|
@ -62,24 +62,11 @@ namespace Explorer
|
|||||||
SceneManager.activeSceneChanged += DoSceneChange;
|
SceneManager.activeSceneChanged += DoSceneChange;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
LoadMCS();
|
|
||||||
|
|
||||||
new ExplorerCore();
|
new ExplorerCore();
|
||||||
|
|
||||||
//HarmonyInstance.PatchAll();
|
//HarmonyInstance.PatchAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoadMCS()
|
|
||||||
{
|
|
||||||
#if NET35
|
|
||||||
var path = @"BepInEx\plugins\mcs.NET35.dll";
|
|
||||||
#else
|
|
||||||
var path = @"BepInEx\plugins\mcs.dll";
|
|
||||||
#endif
|
|
||||||
Assembly.Load(File.ReadAllBytes(path));
|
|
||||||
ExplorerCore.Log("Loaded mcs!");
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static void DoSceneChange(Scene arg0, Scene arg1)
|
internal static void DoSceneChange(Scene arg0, Scene arg1)
|
||||||
{
|
{
|
||||||
ExplorerCore.OnSceneChange();
|
ExplorerCore.OnSceneChange();
|
||||||
|
@ -5,7 +5,7 @@ namespace Explorer
|
|||||||
public class ExplorerCore
|
public class ExplorerCore
|
||||||
{
|
{
|
||||||
public const string NAME = "Explorer (" + PLATFORM + ", " + MODLOADER + ")";
|
public const string NAME = "Explorer (" + PLATFORM + ", " + MODLOADER + ")";
|
||||||
public const string VERSION = "1.8.23";
|
public const string VERSION = "1.8.3";
|
||||||
public const string AUTHOR = "Sinai";
|
public const string AUTHOR = "Sinai";
|
||||||
public const string GUID = "com.sinai.explorer";
|
public const string GUID = "com.sinai.explorer";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user