diff --git a/README.md b/README.md index ac30ed6..3da86d6 100644 --- a/README.md +++ b/README.md @@ -155,35 +155,7 @@ If you'd like to build this yourself, you will need to have installed BepInEx an 4. Open the `src\Explorer.sln` project. 5. Select `Solution 'Explorer' (1 of 1 project)` in the Solution Explorer panel, and set the Active config property to the version you want to build, then build it. 5. The DLLs are built to the `Release\` folder in the root of the repository. - -[ILRepack](https://github.com/gluck/il-repack) is used to merge `lib\mcs.dll` and the release dll. Download the ILRepack nuget package and take the `ILRepack.exe` file from it. - -Put `ILRepack.exe` in the `Release\` folder, then create a `merge.bat` file like so: - -```batch -:: Set GameFolder to the full path of the game you have installed MelonLoader and/or BepInEx for. -SET GameFolder="..." - -:: Only include the lines for the version(s) you are building. - -:: MelonLoader Il2CPP: -ILRepack.exe /lib:"%GameFolder%\MelonLoader" /lib:"%GameFolder%\MelonLoader\Managed" /out:"Explorer.MelonLoader.Il2Cpp\Explorer.dll" "Explorer.MelonLoader.Il2Cpp\Explorer.dll" "..\lib\mcs.dll" - -:: MelonLoader Mono -ILRepack.exe /lib:"..\lib" /lib:"%GameFolder%\MelonLoader" /out:"Explorer.MelonLoader.Mono\Explorer.dll" "Explorer.MelonLoader.Mono\Explorer.dll" "..\lib\mcs.dll" - -:: MelonLoader Mono .NET35 -ILRepack.exe /lib:"..\lib" /lib:"%GameFolder%\MelonLoader" /out:"Explorer.MelonLoader.Mono.NET35\Explorer.dll" "Explorer.MelonLoader.Mono.NET35\Explorer.dll" "..\lib\mcs.NET35.dll" - -:: BepInEx Il2Cpp -ILRepack.exe /lib:"%GameFolder%\BepInEx\core" /lib:"%GameFolder%\BepInEx\unhollowed" /out:"Explorer.BepInEx.Il2Cpp\Explorer.dll" "Explorer.BepInEx.Il2Cpp\Explorer.dll" "..\lib\mcs.dll" - -:: BepInEx Mono -ILRepack.exe /lib:"..\lib" /lib:"%GameFolder%\BepInEx\core" /out:"Explorer.BepInEx.Mono\Explorer.dll" "Explorer.BepInEx.Mono\Explorer.dll" "..\lib\mcs.dll" - -:: BepInEx Mono .NET35 -ILRepack.exe /lib:"..\lib" /lib:"%GameFolder%\BepInEx\core" /out:"Explorer.BepInEx.Mono.NET35\Explorer.dll" "Explorer.BepInEx.Mono.NET35\Explorer.dll" "..\lib\mcs.NET35.dll" -``` +6. If ILRepack fails or is missing, use the NuGet package manager to re-install `ILRepack.Lib.MSBuild.Task`, then re-build. ## Credits diff --git a/lib/0Harmony.dll b/lib/0Harmony.dll new file mode 100644 index 0000000..7c89b44 Binary files /dev/null and b/lib/0Harmony.dll differ diff --git a/lib/BepInEx.Core.dll b/lib/BepInEx.Core.dll new file mode 100644 index 0000000..5121282 Binary files /dev/null and b/lib/BepInEx.Core.dll differ diff --git a/lib/BepInEx.IL2CPP.dll b/lib/BepInEx.IL2CPP.dll new file mode 100644 index 0000000..b8203de Binary files /dev/null and b/lib/BepInEx.IL2CPP.dll differ diff --git a/lib/BepInEx.dll b/lib/BepInEx.dll new file mode 100644 index 0000000..4f11349 Binary files /dev/null and b/lib/BepInEx.dll differ diff --git a/lib/MelonLoader.ModHandler.dll b/lib/MelonLoader.ModHandler.dll new file mode 100644 index 0000000..11c5908 Binary files /dev/null and b/lib/MelonLoader.ModHandler.dll differ diff --git a/src/Explorer.csproj b/src/Explorer.csproj index b467ce3..6a6bd33 100644 --- a/src/Explorer.csproj +++ b/src/Explorer.csproj @@ -28,11 +28,13 @@ D:\Steam\steamapps\common\Hellpoint - D:\Steam\steamapps\common\Outward + D:\Steam\steamapps\common\Outward_Mono - D:\Steam\steamapps\common\Outward - Il2Cpp + D:\Steam\steamapps\common\Outward - D:\Steam\steamapps\common\Outward + D:\Steam\steamapps\common\Outward_Mono + + v4.7.2 @@ -275,5 +277,16 @@ + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + \ No newline at end of file diff --git a/src/ILRepack.targets b/src/ILRepack.targets new file mode 100644 index 0000000..6300852 --- /dev/null +++ b/src/ILRepack.targets @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/packages.config b/src/packages.config new file mode 100644 index 0000000..8bea2b6 --- /dev/null +++ b/src/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file