mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2025-07-18 09:27:57 +08:00
Update UnityExplorer from another fork (#33)
Co-authored-by: yukieiji <yuki31gakki97@yahoo.co.jp> Co-authored-by: 1A3 <mcplayer1a3@gmail.com>
This commit is contained in:

committed by
GitHub

parent
d8151bd99d
commit
89ee7747e5
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
@ -1,3 +1,4 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
ko_fi: sinaidev
|
||||
github: originalnicodr
|
||||
|
||||
|
7
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
7
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -22,9 +22,14 @@ body:
|
||||
description: Please select your environment for UnityExplorer.
|
||||
options:
|
||||
- BepInEx IL2CPP
|
||||
- BepInEx IL2CPP CoreCLR
|
||||
- BepInEx Unity IL2CPP CoreCLR
|
||||
- BepInEx 6.X Mono
|
||||
- BepInEx 6.X Unity Mono
|
||||
- BepInEx 5.X Mono
|
||||
- MelonLoader IL2CPP
|
||||
- MelonLoader IL2CPP net6preview
|
||||
- MelonLoader IL2CPP CoreCLR
|
||||
- MelonLoader Mono
|
||||
- Standalone IL2CPP
|
||||
- Standalone Mono
|
||||
@ -57,4 +62,4 @@ body:
|
||||
* Standalone: `{DLL_Location}\UnityExplorer\Logs\` (pick the most recent one)
|
||||
render: shell
|
||||
validations:
|
||||
required: false
|
||||
required: false
|
||||
|
111
.github/workflows/dotnet.yml
vendored
111
.github/workflows/dotnet.yml
vendored
@ -1,6 +1,6 @@
|
||||
name: Build UnityExplorer
|
||||
|
||||
# Controls when the action will run.
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
@ -15,78 +15,93 @@ jobs:
|
||||
steps:
|
||||
# Setup
|
||||
|
||||
- name: Checkout latest
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v2
|
||||
- name: Checkout latest
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
dotnet-version: '6.0.x'
|
||||
include-prerelease: true
|
||||
|
||||
submodules: true
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '6.x'
|
||||
# Run build script
|
||||
- run: |
|
||||
./build.ps1
|
||||
|
||||
- name: Build UE
|
||||
run: ./build.ps1
|
||||
|
||||
# Upload artifacts
|
||||
|
||||
# BepInEx IL2CPP
|
||||
- uses: actions/upload-artifact@v2
|
||||
- name: Upload BepInEx.IL2CPP
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.BepInEx.IL2CPP.zip
|
||||
path: ./Release/UnityExplorer.BepInEx.IL2CPP/
|
||||
|
||||
# BepInEx IL2CPP CoreCLR
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload BepInEx.IL2CPP.CoreCLR
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip
|
||||
path: ./Release/UnityExplorer.BepInEx.IL2CPP.CoreCLR/
|
||||
|
||||
# BepInEx 5 Mono
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload BepInEx.Unity.IL2CPP.CoreCLR
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip
|
||||
path: ./Release/UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR/
|
||||
|
||||
- name: Upload BepInEx5.Mono
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.BepInEx5.Mono.zip
|
||||
path: ./Release/UnityExplorer.BepInEx5.Mono/
|
||||
|
||||
# BepInEx 6 Mono
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload BepInEx6.Mono
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.BepInEx6.Mono.zip
|
||||
path: ./Release/UnityExplorer.BepInEx6.Mono/
|
||||
|
||||
# Editor
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload BepInEx6.Unity.Mono
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.Editor.zip
|
||||
path: ./UnityEditorPackage/
|
||||
|
||||
# MelonLoader IL2CPP net6preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.net6preview/
|
||||
|
||||
# MelonLoader IL2CPP net472
|
||||
- uses: actions/upload-artifact@v2
|
||||
name: UnityExplorer.BepInEx6.Unity.Mono.zip
|
||||
path: ./Release/UnityExplorer.BepInEx6.Unity.Mono/
|
||||
|
||||
- name: Upload MelonLoader.IL2CPP
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.MelonLoader.IL2CPP.zip
|
||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP/
|
||||
|
||||
# MelonLoader Mono
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload MelonLoader.IL2CPP.net6preview
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.net6preview/
|
||||
|
||||
- name: Upload MelonLoader.IL2CPP.CoreCLR
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip
|
||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.CoreCLR/
|
||||
|
||||
- name: Upload MelonLoader.Mono
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.MelonLoader.Mono.zip
|
||||
path: ./Release/UnityExplorer.MelonLoader.Mono/
|
||||
|
||||
# Standalone Il2Cpp
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload Standalone.IL2CPP
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.Standalone.IL2CPP.zip
|
||||
path: ./Release/UnityExplorer.Standalone.IL2CPP/
|
||||
|
||||
# Standalone Mono
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
||||
- name: Upload Standalone.Mono
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.Standalone.Mono.zip
|
||||
path: ./Release/UnityExplorer.Standalone.Mono/
|
||||
|
||||
|
||||
- name: Upload Editor
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: UnityExplorer.Editor.zip
|
||||
path: ./UnityEditorPackage/
|
||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "UniverseLib"]
|
||||
path = UniverseLib
|
||||
url = https://github.com/yukieiji/UniverseLib
|
15
README.md
15
README.md
@ -12,7 +12,7 @@
|
||||
✔️ Supports most Unity versions from 5.2 to 2021+ (IL2CPP and Mono).
|
||||
</p>
|
||||
<p align="center">
|
||||
✨ Powered by <a href="https://github.com/sinai-dev/UniverseLib">UniverseLib</a>
|
||||
✨ Powered by <a href="https://github.com/yukieiji/UniverseLib">UniverseLib</a>
|
||||
</p>
|
||||
|
||||
# Releases [](../../releases)
|
||||
@ -27,11 +27,11 @@ Nightly builds can be found [here](https://github.com/originalnicodr/UnityExplor
|
||||
|
||||
## BepInEx
|
||||
|
||||
| Release | IL2CPP | Mono |
|
||||
| ------- | ------ | ---- |
|
||||
| BIE 6.X | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Mono.zip) |
|
||||
| BIE 6.X (CoreCLR) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip) | ✖ |
|
||||
| BIE 5.X | ✖️ n/a | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx5.Mono.zip) |
|
||||
| Release | IL2CPP(CoreCLR) | IL2CPP(Unhollower) | Mono |
|
||||
| ------- | ------ | ------ | ---- |
|
||||
| BIE 6.X be.647+ | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip) | ✖️ n/a | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Unity.Mono.zip) |
|
||||
| BIE 6.X be.472 to be.577 | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Mono.zip) |
|
||||
| BIE 5.X | ✖️ n/a | ✖️ n/a | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx5.Mono.zip) |
|
||||
|
||||
1. Unzip the release file into a folder
|
||||
2. Take the `plugins/originalnicodr-UnityExplorer` folder and place it in `BepInEx/plugins/`
|
||||
@ -42,8 +42,9 @@ Nightly builds can be found [here](https://github.com/originalnicodr/UnityExplor
|
||||
|
||||
| Release | IL2CPP | Mono |
|
||||
| ------- | ------ | ---- |
|
||||
| ML 0.6.x | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip) | ✖️ |
|
||||
| ML 0.6(only alpha build) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.net6preview.zip) | ✖️ |
|
||||
| ML 0.5 | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.Mono.zip) |
|
||||
| ML 0.6 | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.MelonLoader.IL2CPP.net6preview.zip) | ✖️ |
|
||||
|
||||
1. Unzip the release file into a folder
|
||||
2. Copy the DLL inside the `Mods` folder into your MelonLoader `Mods` folder
|
||||
|
Binary file not shown.
Binary file not shown.
1
UniverseLib
Submodule
1
UniverseLib
Submodule
Submodule UniverseLib added at 3dc1aba123
100
build.ps1
100
build.ps1
@ -1,8 +1,13 @@
|
||||
# ----------- MelonLoader IL2CPP Unhollower (net6) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net6
|
||||
cd UniverseLib
|
||||
.\build.ps1
|
||||
cd ..
|
||||
|
||||
|
||||
# ----------- MelonLoader IL2CPP (net6) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net6preview
|
||||
$Path = "Release\UnityExplorer.MelonLoader.IL2CPP.net6preview"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.ML.IL2CPP.net6preview.dll $Path/UnityExplorer.ML.IL2CPP.net6preview.dll $Path/mcs.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.ML.IL2CPP.net6preview.dll $Path/UnityExplorer.ML.IL2CPP.net6preview.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/UnityExplorer.ML.IL2CPP.net6preview.deps.json
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
@ -15,15 +20,15 @@ New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/UserLibs -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||
|
||||
# ----------- MelonLoader IL2CPP Interop (net6) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net6_interop
|
||||
$Path = "Release\UnityExplorer.MelonLoader.IL2CPP.net6preview.interop"
|
||||
# ----------- MelonLoader IL2CPP CoreCLR (net6) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_CoreCLR
|
||||
$Path = "Release\UnityExplorer.MelonLoader.IL2CPP.CoreCLR"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/interop /lib:$Path /internalize /out:$Path/UnityExplorer.ML.IL2CPP.net6preview.interop.dll $Path/UnityExplorer.ML.IL2CPP.net6preview.interop.dll $Path/mcs.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/interop /lib:$Path /internalize /out:$Path/UnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/UnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/UnityExplorer.ML.IL2CPP.net6preview.interop.deps.json
|
||||
Remove-Item $Path/UnityExplorer.ML.IL2CPP.CoreCLR.deps.json
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/Iced.dll
|
||||
@ -31,18 +36,18 @@ Remove-Item $Path/Il2CppInterop.Common.dll
|
||||
Remove-Item $Path/Il2CppInterop.Runtime.dll
|
||||
Remove-Item $Path/Microsoft.Extensions.Logging.Abstractions.dll
|
||||
New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.ML.IL2CPP.net6preview.interop.dll -Destination $Path/Mods -Force
|
||||
Move-Item -Path $Path/UnityExplorer.ML.IL2CPP.CoreCLR.dll -Destination $Path/Mods -Force
|
||||
New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Interop.ML.dll -Destination $Path/UserLibs -Force
|
||||
Move-Item -Path $Path/UniverseLib.ML.IL2CPP.Interop.dll -Destination $Path/UserLibs -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.interop.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.interop.zip .\$Path\*
|
||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip
|
||||
|
||||
# ----------- MelonLoader IL2CPP (net472) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net472
|
||||
$Path = "Release/UnityExplorer.MelonLoader.IL2CPP"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472 /lib:lib/net35 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.ML.IL2CPP.dll $Path/UnityExplorer.ML.IL2CPP.dll $Path/mcs.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472 /lib:lib/net35 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.ML.IL2CPP.dll $Path/UnityExplorer.ML.IL2CPP.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -54,13 +59,13 @@ New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/UserLibs -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.IL2CPP.zip
|
||||
|
||||
# ----------- MelonLoader Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Mono
|
||||
$Path = "Release/UnityExplorer.MelonLoader.Mono"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Path/UnityExplorer.ML.Mono.dll $Path/UnityExplorer.ML.Mono.dll $Path/mcs.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Path/UnityExplorer.ML.Mono.dll $Path/UnityExplorer.ML.Mono.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -70,13 +75,13 @@ New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/UserLibs -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.MelonLoader.Mono.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.MelonLoader.Mono.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.Mono.zip
|
||||
|
||||
# ----------- BepInEx IL2CPP -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE_Cpp
|
||||
$Path = "Release/UnityExplorer.BepInEx.IL2CPP"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.BIE.IL2CPP.dll $Path/UnityExplorer.BIE.IL2CPP.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472/BepInEx/build423~577 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.BIE.IL2CPP.dll $Path/UnityExplorer.BIE.IL2CPP.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -88,13 +93,13 @@ Move-Item -Path $Path/UnityExplorer.BIE.IL2CPP.dll -Destination $Path/plugins/si
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.BepInEx.IL2CPP.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx.IL2CPP.zip
|
||||
|
||||
# ----------- BepInEx IL2CPP CoreCLR -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE_CoreCLR
|
||||
$Path = "Release/UnityExplorer.BepInEx.IL2CPP.CoreCLR"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472 /lib:lib/net6/ /lib:lib/interop/ /lib:$Path /internalize /out:$Path/UnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path/UnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472/BepInEx/build423~577 /lib:lib/net6/ /lib:lib/interop/ /lib:$Path /internalize /out:$Path/UnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path/UnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -106,16 +111,37 @@ Remove-Item $Path/UnityExplorer.BIE.IL2CPP.CoreCLR.deps.json
|
||||
New-Item -Path "$Path" -Name "plugins" -ItemType "directory" -Force
|
||||
New-Item -Path "$Path" -Name "plugins/sinai-dev-UnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.BIE.IL2CPP.CoreCLR.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Interop.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.BIE.IL2CPP.Interop.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip
|
||||
|
||||
# ----------- BepInEx Unity IL2CPP CoreCLR -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE_Unity_Cpp
|
||||
$Path = "Release/UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472/BepInEx/build647+ /lib:lib/net6/ /lib:lib/interop/ /lib:$Path /internalize /out:$Path/UnityExplorer.BIE.Unity.IL2CPP.CoreCLR.dll $Path/UnityExplorer.BIE.Unity.IL2CPP.CoreCLR.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/Iced.dll
|
||||
Remove-Item $Path/Il2CppInterop.Common.dll
|
||||
Remove-Item $Path/Il2CppInterop.Runtime.dll
|
||||
Remove-Item $Path/Microsoft.Extensions.Logging.Abstractions.dll
|
||||
Remove-Item $Path/UnityExplorer.BIE.Unity.IL2CPP.CoreCLR.deps.json
|
||||
New-Item -Path "$Path" -Name "plugins" -ItemType "directory" -Force
|
||||
New-Item -Path "$Path" -Name "plugins/sinai-dev-UnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.BIE.Unity.IL2CPP.CoreCLR.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.BIE.IL2CPP.Interop.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip
|
||||
|
||||
# ----------- BepInEx 5 Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE5_Mono
|
||||
$Path = "Release/UnityExplorer.BepInEx5.Mono"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Path/UnityExplorer.BIE5.Mono.dll $Path/UnityExplorer.BIE5.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:lib/net35/BepInEx /lib:$Path /internalize /out:$Path/UnityExplorer.BIE5.Mono.dll $Path/UnityExplorer.BIE5.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -125,13 +151,13 @@ Move-Item -Path $Path/UnityExplorer.BIE5.Mono.dll -Destination $Path/plugins/sin
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx5.Mono.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.BepInEx5.Mono.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx5.Mono.zip
|
||||
|
||||
# ----------- BepInEx 6 Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE6_Mono
|
||||
$Path = "Release/UnityExplorer.BepInEx6.Mono"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Path/UnityExplorer.BIE6.Mono.dll $Path/UnityExplorer.BIE6.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:lib/net35/BepInEx/build423~577 /lib:$Path /internalize /out:$Path/UnityExplorer.BIE6.Mono.dll $Path/UnityExplorer.BIE6.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -141,7 +167,23 @@ Move-Item -Path $Path/UnityExplorer.BIE6.Mono.dll -Destination $Path/plugins/sin
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx6.Mono.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.BepInEx6.Mono.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx6.Mono.zip
|
||||
|
||||
# ----------- BepInEx 6 Unity Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE6_Unity_Mono
|
||||
$Path = "Release/UnityExplorer.BepInEx6.Unity.Mono"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:lib/net35/BepInEx/build647+ /lib:$Path /internalize /out:$Path/UnityExplorer.BIE6.Unity.Mono.dll $Path/UnityExplorer.BIE6.Unity.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
New-Item -Path "$Path" -Name "plugins" -ItemType "directory" -Force
|
||||
New-Item -Path "$Path" -Name "plugins/sinai-dev-UnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.BIE6.Unity.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx6.Unity.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx6.Unity.Mono.zip
|
||||
|
||||
# ----------- Standalone Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_STANDALONE_Mono
|
||||
@ -152,7 +194,7 @@ lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Pa
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/../UnityExplorer.Standalone.Mono.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.Standalone.Mono.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.Standalone.Mono.zip
|
||||
|
||||
# ----------- Standalone IL2CPP -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_STANDALONE_Cpp
|
||||
@ -165,7 +207,7 @@ Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/Iced.dll
|
||||
Remove-Item $Path/UnhollowerBaseLib.dll
|
||||
Remove-Item $Path/../UnityExplorer.Standalone.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
7z a $Path/../UnityExplorer.Standalone.IL2CPP.zip .\$Path\*
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.Standalone.IL2CPP.zip
|
||||
|
||||
# ----------- Editor (mono) -----------
|
||||
$Path1 = "Release/UnityExplorer.Standalone.Mono"
|
||||
@ -173,4 +215,4 @@ $Path2 = "UnityEditorPackage/Runtime"
|
||||
Copy-Item $Path1/UnityExplorer.STANDALONE.Mono.dll -Destination $Path2
|
||||
Copy-Item $Path1/UniverseLib.Mono.dll -Destination $Path2
|
||||
Remove-Item Release/UnityExplorer.Editor.zip -ErrorAction SilentlyContinue
|
||||
7z a Release/UnityExplorer.Editor.zip .\UnityEditorPackage\*
|
||||
compress-archive .\UnityEditorPackage\* Release/UnityExplorer.Editor.zip
|
BIN
lib/net35/BepInEx/build647+/BepInEx.Core.dll
Normal file
BIN
lib/net35/BepInEx/build647+/BepInEx.Core.dll
Normal file
Binary file not shown.
BIN
lib/net35/BepInEx/build647+/BepInEx.Unity.Mono.dll
Normal file
BIN
lib/net35/BepInEx/build647+/BepInEx.Unity.Mono.dll
Normal file
Binary file not shown.
BIN
lib/net472/BepInEx/build647+/BepInEx.Core.dll
Normal file
BIN
lib/net472/BepInEx/build647+/BepInEx.Core.dll
Normal file
Binary file not shown.
BIN
lib/net472/BepInEx/build647+/BepInEx.Unity.Common.dll
Normal file
BIN
lib/net472/BepInEx/build647+/BepInEx.Unity.Common.dll
Normal file
Binary file not shown.
BIN
lib/net472/BepInEx/build647+/BepInEx.Unity.IL2CPP.dll
Normal file
BIN
lib/net472/BepInEx/build647+/BepInEx.Unity.IL2CPP.dll
Normal file
Binary file not shown.
@ -22,6 +22,7 @@ namespace UnityExplorer.Config
|
||||
public static ConfigElement<string> Default_Output_Path;
|
||||
public static ConfigElement<string> DnSpy_Path;
|
||||
public static ConfigElement<bool> Log_Unity_Debug;
|
||||
public static ConfigElement<bool> Log_To_Disk;
|
||||
public static ConfigElement<UIManager.VerticalAnchor> Main_Navbar_Anchor;
|
||||
public static ConfigElement<KeyCode> World_MouseInspect_Keybind;
|
||||
public static ConfigElement<KeyCode> UI_MouseInspect_Keybind;
|
||||
@ -80,7 +81,8 @@ namespace UnityExplorer.Config
|
||||
InternalHandler.LoadConfig();
|
||||
|
||||
#if STANDALONE
|
||||
Loader.Standalone.ExplorerEditorBehaviour.Instance?.LoadConfigs();
|
||||
if (Loader.Standalone.ExplorerEditorBehaviour.Instance)
|
||||
Loader.Standalone.ExplorerEditorBehaviour.Instance.LoadConfigs();
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -147,6 +149,10 @@ namespace UnityExplorer.Config
|
||||
"Should UnityEngine.Debug.Log messages be printed to UnityExplorer's log?",
|
||||
false);
|
||||
|
||||
Log_To_Disk = new("Log To Disk",
|
||||
"Should UnityExplorer save log files to the disk?",
|
||||
true);
|
||||
|
||||
World_MouseInspect_Keybind = new("World Mouse-Inspect Keybind",
|
||||
"Optional keybind to being a World-mode Mouse Inspect.",
|
||||
KeyCode.None);
|
||||
|
@ -53,8 +53,8 @@ namespace UnityExplorer
|
||||
{
|
||||
if (quitting) return;
|
||||
quitting = true;
|
||||
|
||||
TryDestroy(UIManager.UIRoot?.transform.root.gameObject);
|
||||
if (UIManager.UIRoot)
|
||||
TryDestroy(UIManager.UIRoot.transform.root.gameObject);
|
||||
|
||||
TryDestroy((typeof(Universe).Assembly.GetType("UniverseLib.UniversalBehaviour")
|
||||
.GetProperty("Instance", BindingFlags.Static | BindingFlags.NonPublic)
|
||||
|
@ -20,8 +20,8 @@ namespace UnityExplorer
|
||||
public static class ExplorerCore
|
||||
{
|
||||
public const string NAME = "UnityExplorer";
|
||||
public const string VERSION = "4.9.0";
|
||||
public const string AUTHOR = "Sinai";
|
||||
public const string VERSION = "4.11.1";
|
||||
public const string AUTHOR = "Sinai, yukieiji";
|
||||
public const string GUID = "com.sinai.unityexplorer";
|
||||
|
||||
public static IExplorerLoader Loader { get; private set; }
|
||||
|
@ -11,7 +11,7 @@ namespace UnityExplorer.Inspectors
|
||||
{
|
||||
public class GameObjectInspector : InspectorBase
|
||||
{
|
||||
public new GameObject Target => base.Target as GameObject;
|
||||
public new GameObject Target => base.Target.TryCast<GameObject>();
|
||||
|
||||
public GameObject Content;
|
||||
|
||||
@ -31,7 +31,7 @@ namespace UnityExplorer.Inspectors
|
||||
{
|
||||
base.OnBorrowedFromPool(target);
|
||||
|
||||
base.Target = target as GameObject;
|
||||
base.Target = target.TryCast<GameObject>();
|
||||
|
||||
Controls.UpdateGameObjectInfo(true, true);
|
||||
Controls.TransformControl.UpdateTransformControlValues(true);
|
||||
|
@ -27,7 +27,7 @@ namespace UnityExplorer
|
||||
if (TryFocusActiveInspector(obj))
|
||||
return;
|
||||
|
||||
if (obj is GameObject)
|
||||
if (obj.TryCast<GameObject>() != null)
|
||||
CreateInspector<GameObjectInspector>(obj);
|
||||
else
|
||||
CreateInspector<ReflectionInspector>(obj, false, parent);
|
||||
|
@ -5,8 +5,17 @@ using HarmonyLib;
|
||||
using UnityExplorer.Config;
|
||||
using UnityExplorer.Loader.BIE;
|
||||
#if CPP
|
||||
#if BIPUNITY
|
||||
using BepInEx.Unity.IL2CPP;
|
||||
#else
|
||||
using BepInEx.IL2CPP;
|
||||
#endif
|
||||
#endif
|
||||
#if MONO
|
||||
#if BIPUNITY
|
||||
using BepInEx.Unity.Mono;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace UnityExplorer
|
||||
{
|
||||
|
@ -23,10 +23,15 @@ namespace UnityExplorer
|
||||
public string ExplorerFolderName => ExplorerCore.DEFAULT_EXPLORER_FOLDER_NAME;
|
||||
public string ExplorerFolderDestination => MelonHandler.ModsDirectory;
|
||||
|
||||
#if INTEROP
|
||||
public string UnhollowedModulesFolder => Path.Combine(
|
||||
Path.GetDirectoryName(MelonHandler.ModsDirectory),
|
||||
Path.Combine("MelonLoader", "Il2CppAssemblies"));
|
||||
|
||||
#else
|
||||
public string UnhollowedModulesFolder => Path.Combine(
|
||||
Path.GetDirectoryName(MelonHandler.ModsDirectory),
|
||||
Path.Combine("MelonLoader", "Managed"));
|
||||
#endif
|
||||
public ConfigHandler ConfigHandler => _configHandler;
|
||||
public MelonLoaderConfigHandler _configHandler;
|
||||
|
||||
|
@ -80,8 +80,10 @@ namespace UnityExplorer.ObjectExplorer
|
||||
|
||||
if (type == typeof(GameObject))
|
||||
go = obj.TryCast<GameObject>();
|
||||
else if (typeof(Component).IsAssignableFrom(type))
|
||||
go = obj.TryCast<Component>()?.gameObject;
|
||||
else if (
|
||||
typeof(Component).IsAssignableFrom(type) &&
|
||||
obj is Component comp)
|
||||
go = comp.gameObject;
|
||||
|
||||
if (go)
|
||||
{
|
||||
|
@ -117,9 +117,9 @@ namespace UnityExplorer.Tests
|
||||
Type type,
|
||||
GameObject go)
|
||||
{
|
||||
ExplorerCore.Log($"_string: {_string}, integer: {integer}, color: {color.ToString()}, flags: {flags}, " +
|
||||
$"vector: {vector.ToString()}, quaternion: {quaternion.ToString()}, obj: {obj?.ToString() ?? "null"}," +
|
||||
$"type: {type?.FullName ?? "null"}, go: {go?.ToString() ?? "null"}");
|
||||
ExplorerCore.Log($"_string: {_string}, integer: {integer}, color: {color}, flags: {flags}, " +
|
||||
$"vector: {vector}, quaternion: {quaternion}, obj: {obj?.ToString() ?? "null"}," +
|
||||
$"type: {type?.FullName ?? "null"}, go: {go}");
|
||||
}
|
||||
|
||||
private static void Init_Mono()
|
||||
|
@ -73,7 +73,8 @@ namespace UnityExplorer.UI.Panels
|
||||
File.Delete(files[i]);
|
||||
}
|
||||
|
||||
File.WriteAllLines(CurrentStreamPath, Logs.Select(it => it.message).ToArray());
|
||||
if (ConfigManager.Log_To_Disk.Value)
|
||||
File.WriteAllLines(CurrentStreamPath, Logs.Select(it => it.message).ToArray());
|
||||
}
|
||||
|
||||
// Logging
|
||||
@ -82,7 +83,7 @@ namespace UnityExplorer.UI.Panels
|
||||
{
|
||||
Logs.Add(new LogInfo(message, type));
|
||||
|
||||
if (CurrentStreamPath != null)
|
||||
if (CurrentStreamPath != null && ConfigManager.Log_To_Disk.Value)
|
||||
File.AppendAllText(CurrentStreamPath, '\n' + message);
|
||||
|
||||
if (logScrollPool != null)
|
||||
|
@ -49,7 +49,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
{
|
||||
if (material.GetTexture(property) is Texture texture)
|
||||
{
|
||||
if (texture.TryCast<Texture2D>() is null && texture.TryCast<Cubemap>() is null)
|
||||
if (texture.TryCast<Texture2D>() == null && texture.TryCast<Cubemap>() == null)
|
||||
continue;
|
||||
|
||||
textures.Add(property, texture);
|
||||
|
@ -28,7 +28,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
{
|
||||
Texture2D or Cubemap => Pool<Texture2DWidget>.Borrow(),
|
||||
Sprite s when s.texture => Pool<Texture2DWidget>.Borrow(),
|
||||
Image i when i.sprite?.texture => Pool<Texture2DWidget>.Borrow(),
|
||||
Image i when i.sprite && i.sprite.texture => Pool<Texture2DWidget>.Borrow(),
|
||||
|
||||
Material when MaterialWidget.MaterialWidgetSupported => Pool<MaterialWidget>.Borrow(),
|
||||
|
||||
|
@ -1,268 +1,349 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>embedded</DebugType>
|
||||
<RootNamespace>UnityExplorer</RootNamespace>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Configurations>BIE_Cpp;BIE_Cpp_CoreCLR;BIE5_Mono;BIE6_Mono;ML_Cpp_net6;ML_Cpp_net6_interop;ML_Cpp_net472;ML_Mono;STANDALONE_Mono;STANDALONE_Cpp</Configurations>
|
||||
</PropertyGroup>
|
||||
<!-- ~~~~~ CONFIGURATIONS ~~~~~ -->
|
||||
<!-- ML IL2CPP Unhollower net6 -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net6'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP.net6preview\</OutputPath>
|
||||
<DefineConstants>CPP,ML,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP.net6preview</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML IL2CPP Interop net6 -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net6_interop'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP.net6preview.interop\</OutputPath>
|
||||
<DefineConstants>CPP,ML,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP.net6preview.interop</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML IL2CPP net472 (TEMP) -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net472'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,ML,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,ML</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX IL2CPP -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Cpp'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX IL2CPP CoreCLR -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.IL2CPP.CoreCLR</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 6 MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE6_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx6.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIE6</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE6.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 5 MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE5_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx5.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIE5</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE5.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- STANDALONE Mono -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='STANDALONE_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.Standalone.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,STANDALONE</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.STANDALONE.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- STANDALONE Il2Cpp -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='STANDALONE_Cpp'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.Standalone.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,STANDALONE,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.STANDALONE.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>UnityExplorer</RootNamespace>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||
<Configurations>BIE_Cpp;BIE_Cpp_CoreCLR;BIE_Unity_Cpp_CoreCLR;BIE5_Mono;BIE6_Mono;BIE6_Unity_Mono;ML_Cpp_net6;ML_Cpp_CoreCLR;ML_Cpp_net472;ML_Mono;STANDALONE_Mono;STANDALONE_Cpp</Configurations>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- ~~~~~ NUGET ~~~~~ -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="HarmonyX" Version="2.5.2" IncludeAssets="compile" />
|
||||
<PackageReference Include="Samboy063.Tomlet" Version="3.1.3" />
|
||||
</ItemGroup>
|
||||
<!-- il2cpp nuget -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6' or '$(Configuration)'=='ML_Cpp_net472' or '$(Configuration)'=='STANDALONE_Cpp' or '$(Configuration)'=='BIE_Cpp'">
|
||||
<PackageReference Include="Il2CppAssemblyUnhollower.BaseLib" Version="0.4.22" />
|
||||
<PackageReference Include="UniverseLib.IL2CPP.Unhollower" Version="1.5.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR'">
|
||||
<PackageReference Include="Il2CppInterop.Common" Version="1.0.0" />
|
||||
<PackageReference Include="Il2CppInterop.Runtime" Version="1.0.0" />
|
||||
<PackageReference Include="UniverseLib.IL2CPP.Interop" Version="1.5.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6_interop'">
|
||||
<PackageReference Include="Il2CppInterop.Common" Version="1.0.0" />
|
||||
<PackageReference Include="Il2CppInterop.Runtime" Version="1.0.0" />
|
||||
<PackageReference Include="UniverseLib.IL2CPP.Interop.ML" Version="1.5.4.1" />
|
||||
</ItemGroup>
|
||||
<!-- mono nuget -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono' or '$(Configuration)'=='BIE5_Mono' or '$(Configuration)'=='ML_Mono' or '$(Configuration)'=='STANDALONE_Mono'">
|
||||
<PackageReference Include="UniverseLib.Mono" Version="1.5.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- ~~~~~ ASSEMBLY REFERENCES ~~~~~ -->
|
||||
<!-- net6 -->
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net6'">
|
||||
<Reference Include="mcs">
|
||||
<HintPath>..\lib\net6\mcs.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- net35 / net472 -->
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net35' or '$(TargetFramework)'=='net472'">
|
||||
<Reference Include="mcs">
|
||||
<HintPath>..\lib\net35\mcs.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- MelonLoader net6 -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6' or '$(Configuration)'=='ML_Cpp_net6_interop'">
|
||||
<Reference Include="MelonLoader">
|
||||
<HintPath>..\lib\net6\MelonLoader.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- MelonLoader net35 -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Mono' or '$(Configuration)'=='ML_Cpp_net472'">
|
||||
<Reference Include="MelonLoader">
|
||||
<HintPath>..\lib\net35\MelonLoader.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx 5 Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE5_Mono'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net35\BepInEx.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx 6 Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net35\BepInEx.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BepInEx.Unity">
|
||||
<HintPath>..\lib\net35\BepInEx.Unity.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx Il2Cpp -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp' or '$(Configuration)'=='BIE_Cpp_CoreCLR'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net472\BepInEx.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BepInEx.IL2CPP">
|
||||
<HintPath>..\lib\net472\BepInEx.IL2CPP.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono' or '$(Configuration)'=='BIE5_Mono' or '$(Configuration)'=='ML_Mono' or '$(Configuration)'=='STANDALONE_Mono'">
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\lib\net35\UnityEngine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>..\lib\net35\UnityEngine.UI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- Il2Cpp Unhollower -->
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6' or '$(Configuration)'=='ML_Cpp_net472' or '$(Configuration)'=='STANDALONE_Cpp' or '$(Configuration)'=='BIE_Cpp'">
|
||||
<Reference Include="Il2Cppmscorlib">
|
||||
<HintPath>..\lib\unhollowed\Il2Cppmscorlib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Il2CppSystem.Core">
|
||||
<HintPath>..\lib\unhollowed\Il2CppSystem.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.AudioModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.AudioModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.CoreModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.CoreModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.PhysicsModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.PhysicsModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.TextRenderingModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.TextRenderingModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.UI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UIModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.UIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.IMGUIModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.IMGUIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Exec Command="dotnet build ..\UniverseLib\src\UniverseLib.sln -c Release_IL2CPP_Unhollower" />
|
||||
</ItemGroup>
|
||||
<!-- Il2Cpp Interop -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR' or '$(Configuration)'=='ML_Cpp_net6_interop'">
|
||||
<Reference Include="Il2Cppmscorlib">
|
||||
<HintPath>..\lib\interop\Il2Cppmscorlib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Il2CppSystem.Core">
|
||||
<HintPath>..\lib\interop\Il2CppSystem.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\lib\interop\UnityEngine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.AudioModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.AudioModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.CoreModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.CoreModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.PhysicsModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.PhysicsModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.TextRenderingModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.TextRenderingModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>..\lib\interop\UnityEngine.UI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UIModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.UIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.IMGUIModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.IMGUIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR' or '$(Configuration)'=='BIE_Unity_Cpp_CoreCLR'">
|
||||
<Exec Command="dotnet build ..\UniverseLib\src\UniverseLib.sln -c Release_IL2CPP_Interop_BIE" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<Exec Command="dotnet build ..\UniverseLib\src\UniverseLib.sln -c Release_IL2CPP_Interop_ML" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono' or '$(Configuration)'=='BIE6_Unity_Mono' or '$(Configuration)'=='BIE5_Mono' or '$(Configuration)'=='ML_Mono' or '$(Configuration)'=='STANDALONE_Mono'">
|
||||
<Exec Command="dotnet build ..\UniverseLib\src\UniverseLib.sln -c Release_Mono" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<EditorConfigFiles Remove=".editorconfig" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- ~~~~~ CONFIGURATIONS ~~~~~ -->
|
||||
<!-- ML IL2CPP Unhollower net6 -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net6'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP.net6preview\</OutputPath>
|
||||
<DefineConstants>CPP,ML,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP.net6preview</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML IL2CPP net472 (TEMP) -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net472'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,ML,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML IL2CPP CoreCLR -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,ML,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP.CoreCLR</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,ML</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX IL2CPP -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Cpp'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX IL2CPP CoreCLR -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.IL2CPP.CoreCLR</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX UNITY IL2CPP CoreCLR -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Unity_Cpp_CoreCLR'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,BIPUNITY,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.Unity.IL2CPP.CoreCLR</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 6 MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE6_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx6.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIE6</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE6.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 6 Unity MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE6_Unity_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx6.Unity.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIPUNITY,BIE6</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE6.Unity.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 5 MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE5_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx5.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIE5</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE5.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- STANDALONE Mono -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='STANDALONE_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.Standalone.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,STANDALONE</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.STANDALONE.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- STANDALONE Il2Cpp -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='STANDALONE_Cpp'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.Standalone.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,STANDALONE,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.STANDALONE.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- ~~~~~ NUGET ~~~~~ -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="HarmonyX" Version="2.5.2" IncludeAssets="compile" />
|
||||
<PackageReference Include="Samboy063.Tomlet" Version="3.1.3" />
|
||||
<PackageReference Include="Microsoft.Unity.Analyzers" Version="1.16.1">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- il2cpp Unhollower nuget -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6' or '$(Configuration)'=='ML_Cpp_net472' or '$(Configuration)'=='STANDALONE_Cpp' or '$(Configuration)'=='BIE_Cpp'">
|
||||
<PackageReference Include="Il2CppAssemblyUnhollower.BaseLib" Version="0.4.22" />
|
||||
<Reference Include="UniverseLib">
|
||||
<HintPath>..\UniverseLib\Release\UniverseLib.Il2Cpp.Unhollower\UniverseLib.IL2CPP.Unhollower.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- il2cpp Interop nuget -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR' or '$(Configuration)'=='BIE_Unity_Cpp_CoreCLR' or '$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<PackageReference Include="Il2CppInterop.Common" Version="1.0.0" />
|
||||
<PackageReference Include="Il2CppInterop.Runtime" Version="1.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- BIE il2cpp Interop -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR' or '$(Configuration)'=='BIE_Unity_Cpp_CoreCLR'">
|
||||
<Reference Include="UniverseLib">
|
||||
<HintPath>..\UniverseLib\Release\UniverseLib.Il2Cpp.Interop\UniverseLib.BIE.IL2CPP.Interop.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- ML il2cpp Interop -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<Reference Include="UniverseLib">
|
||||
<HintPath>..\UniverseLib\Release\UniverseLib.Il2Cpp.Interop\UniverseLib.ML.IL2CPP.Interop.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- mono nuget -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono' or '$(Configuration)'=='BIE6_Unity_Mono' or '$(Configuration)'=='BIE5_Mono' or '$(Configuration)'=='ML_Mono' or '$(Configuration)'=='STANDALONE_Mono'">
|
||||
<Reference Include="UniverseLib">
|
||||
<HintPath>..\UniverseLib\Release\UniverseLib.Mono\UniverseLib.Mono.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- ~~~~~ ASSEMBLY REFERENCES ~~~~~ -->
|
||||
<!-- net6 -->
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net6'">
|
||||
<Reference Include="mcs">
|
||||
<HintPath>..\lib\net6\mcs.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- net35 / net472 -->
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net35' or '$(TargetFramework)'=='net472'">
|
||||
<Reference Include="mcs">
|
||||
<HintPath>..\lib\net35\mcs.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- MelonLoader net6 -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6' or '$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<Reference Include="MelonLoader">
|
||||
<HintPath>..\lib\net6\MelonLoader.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- MelonLoader net35 -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Mono' or '$(Configuration)'=='ML_Cpp_net472'">
|
||||
<Reference Include="MelonLoader">
|
||||
<HintPath>..\lib\net35\MelonLoader.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx 5 Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE5_Mono'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net35\BepInEx\BepInEx.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx 6 Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net35\BepInEx\build423~577\BepInEx.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BepInEx.Unity">
|
||||
<HintPath>..\lib\net35\BepInEx\build423~577\BepInEx.Unity.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx 6 Unity Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Unity_Mono'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net35\BepInEx\build647+\BepInEx.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BepInEx.Unity">
|
||||
<HintPath>..\lib\net35\BepInEx\build647+\BepInEx.Unity.Mono.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- BepInEx Il2Cpp -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp' or '$(Configuration)'=='BIE_Cpp_CoreCLR'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net472\BepInEx\build423~577\BepInEx.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BepInEx.IL2CPP">
|
||||
<HintPath>..\lib\net472\BepInEx\build423~577\BepInEx.IL2CPP.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Unity_Cpp_CoreCLR'">
|
||||
<Reference Include="BepInEx">
|
||||
<HintPath>..\lib\net472\BepInEx\build647+\BepInEx.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BepInEx.IL2CPP">
|
||||
<HintPath>..\lib\net472\BepInEx\build647+\BepInEx.Unity.IL2CPP.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- Mono -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE6_Mono' or '$(Configuration)'=='BIE6_Unity_Mono' or '$(Configuration)'=='BIE5_Mono' or '$(Configuration)'=='ML_Mono' or '$(Configuration)'=='STANDALONE_Mono'">
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\lib\net35\UnityEngine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>..\lib\net35\UnityEngine.UI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- Il2Cpp Unhollower -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='ML_Cpp_net6' or '$(Configuration)'=='ML_Cpp_net472' or '$(Configuration)'=='STANDALONE_Cpp' or '$(Configuration)'=='BIE_Cpp'">
|
||||
<Reference Include="Il2Cppmscorlib">
|
||||
<HintPath>..\lib\unhollowed\Il2Cppmscorlib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Il2CppSystem.Core">
|
||||
<HintPath>..\lib\unhollowed\Il2CppSystem.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.AudioModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.AudioModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.CoreModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.CoreModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.PhysicsModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.PhysicsModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.TextRenderingModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.TextRenderingModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.UI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UIModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.UIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.IMGUIModule">
|
||||
<HintPath>..\lib\unhollowed\UnityEngine.IMGUIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<!-- Il2Cpp Interop -->
|
||||
<ItemGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR' or '$(Configuration)'=='BIE_Unity_Cpp_CoreCLR' or '$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<Reference Include="Il2Cppmscorlib">
|
||||
<HintPath>..\lib\interop\Il2Cppmscorlib.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Il2CppSystem.Core">
|
||||
<HintPath>..\lib\interop\Il2CppSystem.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\lib\interop\UnityEngine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.AudioModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.AudioModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.CoreModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.CoreModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.PhysicsModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.PhysicsModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.TextRenderingModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.TextRenderingModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UI">
|
||||
<HintPath>..\lib\interop\UnityEngine.UI.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.UIModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.UIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine.IMGUIModule">
|
||||
<HintPath>..\lib\interop\UnityEngine.IMGUIModule.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -7,32 +7,38 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnityExplorer", "UnityExplo
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Release_BIE_Cpp|Any CPU = Release_BIE_Cpp|Any CPU
|
||||
Release_BIE_CoreCLR|Any CPU = Release_BIE_CoreCLR|Any CPU
|
||||
Release_BIE_Cpp|Any CPU = Release_BIE_Cpp|Any CPU
|
||||
Release_BIE_Unity_Cpp|Any CPU = Release_BIE_Unity_Cpp|Any CPU
|
||||
Release_BIE5_Mono|Any CPU = Release_BIE5_Mono|Any CPU
|
||||
Release_BIE6_Mono|Any CPU = Release_BIE6_Mono|Any CPU
|
||||
Release_BIE6_Unity_Mono|Any CPU = Release_BIE6_Unity_Mono|Any CPU
|
||||
Release_ML_Cpp_CoreCLR|Any CPU = Release_ML_Cpp_CoreCLR|Any CPU
|
||||
Release_ML_Cpp_net472|Any CPU = Release_ML_Cpp_net472|Any CPU
|
||||
Release_ML_Cpp_net6|Any CPU = Release_ML_Cpp_net6|Any CPU
|
||||
Release_ML_Cpp_net6_interop|Any CPU = Release_ML_Cpp_net6_interop|Any CPU
|
||||
Release_ML_Cpp_net6preview|Any CPU = Release_ML_Cpp_net6preview|Any CPU
|
||||
Release_ML_Mono|Any CPU = Release_ML_Mono|Any CPU
|
||||
Release_STANDALONE_Cpp|Any CPU = Release_STANDALONE_Cpp|Any CPU
|
||||
Release_STANDALONE_Mono|Any CPU = Release_STANDALONE_Mono|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_Cpp|Any CPU.ActiveCfg = BIE_Cpp|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_Cpp|Any CPU.Build.0 = BIE_Cpp|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_CoreCLR|Any CPU.ActiveCfg = BIE_Cpp_CoreCLR|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_CoreCLR|Any CPU.Build.0 = BIE_Cpp_CoreCLR|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_Cpp|Any CPU.ActiveCfg = BIE_Cpp|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_Cpp|Any CPU.Build.0 = BIE_Cpp|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_Unity_Cpp|Any CPU.ActiveCfg = BIE_Unity_Cpp_CoreCLR|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE_Unity_Cpp|Any CPU.Build.0 = BIE_Unity_Cpp_CoreCLR|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE5_Mono|Any CPU.ActiveCfg = BIE5_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE5_Mono|Any CPU.Build.0 = BIE5_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE6_Mono|Any CPU.ActiveCfg = BIE6_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE6_Mono|Any CPU.Build.0 = BIE6_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE6_Unity_Mono|Any CPU.ActiveCfg = BIE6_Unity_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_BIE6_Unity_Mono|Any CPU.Build.0 = BIE6_Unity_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_CoreCLR|Any CPU.ActiveCfg = ML_Cpp_CoreCLR|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_CoreCLR|Any CPU.Build.0 = ML_Cpp_CoreCLR|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net472|Any CPU.ActiveCfg = ML_Cpp_net472|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net472|Any CPU.Build.0 = ML_Cpp_net472|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net6|Any CPU.ActiveCfg = ML_Cpp_net6|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net6|Any CPU.Build.0 = ML_Cpp_net6|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net6_interop|Any CPU.ActiveCfg = ML_Cpp_net6_interop|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net6_interop|Any CPU.Build.0 = ML_Cpp_net6_interop|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net6preview|Any CPU.ActiveCfg = ML_Cpp_net6|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Cpp_net6preview|Any CPU.Build.0 = ML_Cpp_net6|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Mono|Any CPU.ActiveCfg = ML_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_ML_Mono|Any CPU.Build.0 = ML_Mono|Any CPU
|
||||
{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}.Release_STANDALONE_Cpp|Any CPU.ActiveCfg = STANDALONE_Cpp|Any CPU
|
||||
|
Reference in New Issue
Block a user