mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2025-07-18 09:27:57 +08:00
Updated project references to "CinematicUnityExploerer" for re-release.
This commit is contained in:
8
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
8
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -10,16 +10,16 @@ body:
|
||||
- type: checkboxes
|
||||
id: latestversion
|
||||
attributes:
|
||||
label: Are you on the latest version of UnityExplorer?
|
||||
label: Are you on the latest version of CinematicUnityExplorer?
|
||||
description: If not, you must update first.
|
||||
options:
|
||||
- label: Yes, I'm on the latest version of UnityExplorer.
|
||||
- label: Yes, I'm on the latest version of CinematicUnityExplorer.
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: version
|
||||
attributes:
|
||||
label: Which release are you using?
|
||||
description: Please select your environment for UnityExplorer.
|
||||
description: Please select your environment for CinematicUnityExplorer.
|
||||
options:
|
||||
- BepInEx IL2CPP
|
||||
- BepInEx IL2CPP CoreCLR
|
||||
@ -59,7 +59,7 @@ body:
|
||||
* Unity log: `%userprofile%\AppData\LocalLow\{Company}\{Game}\Player.log` or `output_log.txt`
|
||||
* BepInEx: `BepInEx\LogOutput.log`
|
||||
* MelonLoader: `MelonLoader\latest.log`
|
||||
* Standalone: `{DLL_Location}\UnityExplorer\Logs\` (pick the most recent one)
|
||||
* Standalone: `{DLL_Location}\CinematicUnityExplorer\Logs\` (pick the most recent one)
|
||||
render: shell
|
||||
validations:
|
||||
required: false
|
||||
|
4
.github/ISSUE_TEMPLATE/enhancement.yaml
vendored
4
.github/ISSUE_TEMPLATE/enhancement.yaml
vendored
@ -1,12 +1,12 @@
|
||||
name: New feature or enhancement
|
||||
description: Suggest or discuss a feature or enhancement for UnityExplorer
|
||||
description: Suggest or discuss a feature or enhancement for CinematicUnityExplorer
|
||||
title: "[Enhancement]: "
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to discuss UnityExplorer, please provide as much detail as possible.
|
||||
Thanks for taking the time to discuss CinematicUnityExplorer, please provide as much detail as possible.
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
|
60
README.md
60
README.md
@ -3,7 +3,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
🎥 Fork of the excellent UnityExplorer mod made by <a href="https://github.com/sinai-dev">sinai-dev</a> focused on providing tools for creating marketing material for Unity games. You can check out the fork features here.
|
||||
🎥 Fork of the excellent UnityExplorer mod made by <a href="https://github.com/sinai-dev">sinai-dev</a> focused on providing tools for creating marketing material for Unity games. You can check out the fork features [here](#fork-features).
|
||||
</p>
|
||||
<p align="center">
|
||||
To see the forks features I have worked on so far check out the <a href="#fork-features">Fork Features</a> section.
|
||||
@ -15,26 +15,26 @@
|
||||
✨ Powered by <a href="https://github.com/yukieiji/UniverseLib">UniverseLib</a>
|
||||
</p>
|
||||
|
||||
# Releases [](../../releases)
|
||||
# Releases [](../../releases)
|
||||
|
||||
[](../../releases/latest) [](https://github.com/originalnicodr/UnityExplorer/actions) [](../../releases/latest)
|
||||
[](../../releases/latest) [](https://github.com/originalnicodr/CinematicUnityExplorer/actions) [](../../releases/latest)
|
||||
|
||||
⚡ Thunderstore releases: [BepInEx Mono](https://thunderstore.io/package/originalnicodr/UnityExplorer) | [BepInEx IL2CPP](https://gtfo.thunderstore.io/package/originalnicodr/UnityExplorer_IL2CPP) | [MelonLoader IL2CPP](https://boneworks.thunderstore.io/package/originalnicodr/UnityExplorer_IL2CPP_ML)
|
||||
⚡ Thunderstore releases: [BepInEx Mono](https://thunderstore.io/package/originalnicodr/CinematicUnityExplorer) | [BepInEx IL2CPP](https://gtfo.thunderstore.io/package/originalnicodr/CinematicUnityExplorer_IL2CPP) | [MelonLoader IL2CPP](https://boneworks.thunderstore.io/package/originalnicodr/CinematicUnityExplorer_IL2CPP_ML)
|
||||
|
||||
## Release schedule
|
||||
|
||||
Nightly builds can be found [here](https://github.com/originalnicodr/UnityExplorer/actions).
|
||||
Nightly builds can be found [here](https://github.com/originalnicodr/CinematicUnityExplorer/actions).
|
||||
|
||||
## BepInEx
|
||||
|
||||
| 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) |
|
||||
| BIE 6.X be.647+ | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip) | ✖️ n/a | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.BepInEx6.Unity.Mono.zip) |
|
||||
| BIE 6.X be.472 to be.577 | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.BepInEx.IL2CPP.CoreCLR.zip) | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.BepInEx6.Mono.zip) |
|
||||
| BIE 5.X | ✖️ n/a | ✖️ n/a | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.BepInEx5.Mono.zip) |
|
||||
|
||||
1. Unzip the release file into a folder
|
||||
2. Take the `plugins/originalnicodr-UnityExplorer` folder and place it in `BepInEx/plugins/`
|
||||
2. Take the `plugins/CinematicUnityExplorer` folder and place it in `BepInEx/plugins/`
|
||||
|
||||
<i>Note: BepInEx 6 is obtainable via [builds.bepinex.dev](https://builds.bepinex.dev/projects/bepinex_be)</i>
|
||||
|
||||
@ -42,9 +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.x | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip) | ✖️ |
|
||||
| ML 0.6(only alpha build) | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.MelonLoader.IL2CPP.net6preview.zip) | ✖️ |
|
||||
| ML 0.5 | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.MelonLoader.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.MelonLoader.Mono.zip) |
|
||||
|
||||
1. Unzip the release file into a folder
|
||||
2. Copy the DLL inside the `Mods` folder into your MelonLoader `Mods` folder
|
||||
@ -54,33 +54,33 @@ Nightly builds can be found [here](https://github.com/originalnicodr/UnityExplor
|
||||
|
||||
| IL2CPP | Mono |
|
||||
| ------ | ---- |
|
||||
| ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.Standalone.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.Standalone.Mono.zip) |
|
||||
| ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.Standalone.IL2CPP.zip) | ✅ [link](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.Standalone.Mono.zip) |
|
||||
|
||||
The standalone release can be used with any injector or loader of your choice, but it requires you to load the dependencies manually.
|
||||
|
||||
1. Ensure the required libs are loaded - UniverseLib, HarmonyX and MonoMod. Take them from the [`UnityExplorer.Editor`](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.Editor.zip) release if you need them.
|
||||
1. Ensure the required libs are loaded - UniverseLib, HarmonyX and MonoMod. Take them from the [`CinematicUnityExplorer.Editor`](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.Editor.zip) release if you need them.
|
||||
2. For IL2CPP, load Il2CppAssemblyUnhollower and start an [Il2CppAssemblyUnhollower runtime](https://github.com/knah/Il2CppAssemblyUnhollower#required-external-setup)
|
||||
2. Load the UnityExplorer DLL
|
||||
2. Load the CinematicUnityExplorer DLL
|
||||
3. Create an instance of Unity Explorer with `UnityExplorer.ExplorerStandalone.CreateInstance();`
|
||||
4. Optionally subscribe to the `ExplorerStandalone.OnLog` event to handle logging if you wish
|
||||
|
||||
## Unity Editor
|
||||
|
||||
1. Download the [`UnityExplorer.Editor`](https://github.com/originalnicodr/UnityExplorer/releases/latest/download/UnityExplorer.Editor.zip) release.
|
||||
1. Download the [`CinematicUnityExplorer.Editor`](https://github.com/originalnicodr/CinematicUnityExplorer/releases/latest/download/CinematicUnityExplorer.Editor.zip) release.
|
||||
2. Install the package, either by using the Package Manager and importing the `package.json` file, or by manually dragging the folder into your `Assets` folder.
|
||||
3. Drag the `Runtime/UnityExplorer` prefab into your scene, or create a GameObject and add the `Explorer Editor Behaviour` script to it.
|
||||
3. Drag the `Runtime/CinematicUnityExplorer` prefab into your scene, or create a GameObject and add the `Explorer Editor Behaviour` script to it.
|
||||
|
||||
# Common issues and solutions
|
||||
|
||||
Although UnityExplorer should work out of the box for most Unity games, in some cases you may need to tweak the settings for it to work properly.
|
||||
Although CinematicUnityExplorer should work out of the box for most Unity games, in some cases you may need to tweak the settings for it to work properly.
|
||||
|
||||
To adjust the settings, open the config file:
|
||||
* BepInEx: `BepInEx\config\com.sinai.unityexplorer.cfg`
|
||||
* BepInEx: `BepInEx\config\com.originalnicodr.cinematicunityexplorer.cfg`
|
||||
* MelonLoader: `UserData\MelonPreferences.cfg`
|
||||
* Standalone: `originalnicodr-UnityExplorer\config.cfg`
|
||||
* Standalone: `CinematicUnityExplorer\config.cfg`
|
||||
|
||||
Try adjusting the following settings and see if it fixes your issues:
|
||||
* `Startup_Delay_Time` - increase to 5-10 seconds (or more as needed), can fix issues with UnityExplorer being destroyed or corrupted during startup.
|
||||
* `Startup_Delay_Time` - increase to 5-10 seconds (or more as needed), can fix issues with CinematicUnityExplorer being destroyed or corrupted during startup.
|
||||
* `Disable_EventSystem_Override` - if input is not working properly, try setting this to `true`.
|
||||
|
||||
If these fixes do not work, please create an issue in this repo and I'll do my best to look into it.
|
||||
@ -88,7 +88,7 @@ If these fixes do not work, please create an issue in this repo and I'll do my b
|
||||
# Features
|
||||
|
||||
<p align="center">
|
||||
<a href="https://raw.githubusercontent.com/originalnicodr/UnityExplorer/master/img/preview.png">
|
||||
<a href="https://raw.githubusercontent.com/originalnicodr/CinematicUnityExplorer/master/img/preview.png">
|
||||
<img src="img/preview.png" />
|
||||
</a>
|
||||
</p>
|
||||
@ -133,7 +133,7 @@ The inspector is used to see detailed information on objects of any type and man
|
||||
### C# Console
|
||||
|
||||
* The C# Console uses the `Mono.CSharp.Evaluator` to define temporary classes or run immediate REPL code.
|
||||
* You can execute a script automatically on startup by naming it `startup.cs` and placing it in the `originalnicodr-UnityExplorer\Scripts\` folder (this folder will be created where you placed the DLL file).
|
||||
* You can execute a script automatically on startup by naming it `startup.cs` and placing it in the `CinematicUnityExplorer\Scripts\` folder (this folder will be created where you placed the DLL file).
|
||||
* See the "Help" dropdown in the C# console menu for more detailed information.
|
||||
|
||||
### Hook Manager
|
||||
@ -150,8 +150,8 @@ The inspector is used to see detailed information on objects of any type and man
|
||||
|
||||
### Freecam
|
||||
|
||||
* UnityExplorer provides a basic Free Camera which you can control with your keyboard and mouse.
|
||||
* Unlike all other features of UnityExplorer, you can still use Freecam while UnityExplorer's menu is hidden.
|
||||
* CinematicUnityExplorer provides a basic Free Camera which you can control with your keyboard and mouse.
|
||||
* Unlike all other features of CinematicUnityExplorer, you can still use Freecam while CinematicUnityExplorer's menu is hidden.
|
||||
* Supports using the game's main Camera or a separate custom Camera.
|
||||
* See the Freecam panel for further instructions and details.
|
||||
|
||||
@ -166,19 +166,19 @@ The inspector is used to see detailed information on objects of any type and man
|
||||
### Settings
|
||||
|
||||
* You can change the settings via the "Options" tab of the menu, or directly from the config file.
|
||||
* BepInEx: `BepInEx\config\com.sinai.unityexplorer.cfg`
|
||||
* BepInEx: `BepInEx\config\com.originalnicodr.cinematicunityexplorer.cfg`
|
||||
* MelonLoader: `UserData\MelonPreferences.cfg`
|
||||
* Standalone `{DLL_location}\originalnicodr-UnityExplorer\config.cfg`
|
||||
* Standalone `{DLL_location}\CinematicUnityExplorer\config.cfg`
|
||||
|
||||
# Building
|
||||
|
||||
1. Run the `build.ps1` powershell script to build UnityExplorer. Releases are found in the `Release` folder.
|
||||
1. Run the `build.ps1` powershell script to build CinematicUnityExplorer. Releases are found in the `Release` folder.
|
||||
|
||||
Building individual configurations from your IDE is fine, though note that the intial build process builds into `Release/<version>/...` instead of the subfolders that the powershell script uses. Batch building is not currently supported with the project.
|
||||
|
||||
# Fork Features
|
||||
|
||||
Keep in mind this is a WIP and I am still working on ironing out some stuff. To see the things I want to improve head out to the [issues page](https://github.com/originalnicodr/UnityExplorer/issues).
|
||||
Keep in mind this is a WIP and I am still working on ironing out some stuff. To see the things I want to improve head out to the [issues page](https://github.com/originalnicodr/CinematicUnityExplorer/issues).
|
||||
|
||||
## Improved Freecam
|
||||
|
||||
@ -217,4 +217,4 @@ Features include:
|
||||
|
||||
### Disclaimer
|
||||
|
||||
UnityExplorer is in no way associated with Unity Technologies. "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere.
|
||||
CinematicUnityExplorer is in no way associated with Unity Technologies. "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere.
|
||||
|
@ -62,7 +62,7 @@ The inspector is used to see detailed information on objects of any type and man
|
||||
### Settings
|
||||
|
||||
* You can change the settings via the "Options" tab of the menu, or directly from the config file.
|
||||
* <AssetsFolder>/sinai-dev-UnityExplorer~/config.cfg
|
||||
* <AssetsFolder>/CinematicUnityExplorer~/config.cfg
|
||||
|
||||
# Acknowledgments
|
||||
|
||||
|
Binary file not shown.
@ -11,7 +11,7 @@ GameObject:
|
||||
- component: {fileID: 2342243352467007560}
|
||||
- component: {fileID: 2342243352467007563}
|
||||
m_Layer: 0
|
||||
m_Name: UnityExplorer
|
||||
m_Name: CinematicUnityExplorer
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -1,19 +1,23 @@
|
||||
{
|
||||
"name": "com.sinai-dev.unityexplorer",
|
||||
"version": "4.7.12",
|
||||
"displayName": "UnityExplorer",
|
||||
"description": "An in-game UI for exploring, debugging and modifying Unity games.",
|
||||
"name": "com.originalnicodr.cinematicunityexplorer",
|
||||
"version": "1.0.0",
|
||||
"displayName": "CinematicUnityExplorer",
|
||||
"description": "UnityExplorer fork focused on providing tools for creating marketing material for Unity games.",
|
||||
"unity": "2017.1",
|
||||
"documentationUrl": "https://github.com/sinai-dev/UnityExplorer",
|
||||
"changelogUrl": "https://github.com/sinai-dev/UnityExplorer/releases",
|
||||
"licensesUrl": "https://github.com/sinai-dev/UnityExplorer/blob/master/LICENSE",
|
||||
"documentationUrl": "https://github.com/originalnicodr/UnityExplorer",
|
||||
"changelogUrl": "https://github.com/originalnicodr/UnityExplorer/releases",
|
||||
"licensesUrl": "https://github.com/originalnicodr/UnityExplorer/blob/master/LICENSE",
|
||||
"keywords": [
|
||||
"inspector",
|
||||
"debug",
|
||||
"runtime"
|
||||
"runtime",
|
||||
"camera-tools",
|
||||
"cinematic",
|
||||
"freecam",
|
||||
"photomode"
|
||||
],
|
||||
"author": {
|
||||
"name": "Sinai",
|
||||
"url": "https://github.com/sinai-dev"
|
||||
"name": "originalnicodr",
|
||||
"url": "https://github.com/originalnicodr"
|
||||
}
|
||||
}
|
180
build.ps1
180
build.ps1
@ -4,31 +4,31 @@ cd ..
|
||||
|
||||
|
||||
# ----------- MelonLoader IL2CPP (net6) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net6preview
|
||||
$Path = "Release\UnityExplorer.MelonLoader.IL2CPP.net6preview"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_ML_Cpp_net6preview
|
||||
$Path = "Release\CinematicUnityExplorer.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/CinematicUnityExplorer.ML.IL2CPP.net6preview.dll $Path/CinematicUnityExplorer.ML.IL2CPP.net6preview.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/UnityExplorer.ML.IL2CPP.net6preview.deps.json
|
||||
Remove-Item $Path/CinematicUnityExplorer.ML.IL2CPP.net6preview.deps.json
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/Iced.dll
|
||||
Remove-Item $Path/UnhollowerBaseLib.dll
|
||||
New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.ML.IL2CPP.net6preview.dll -Destination $Path/Mods -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.ML.IL2CPP.net6preview.dll -Destination $Path/Mods -Force
|
||||
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
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.net6preview.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||
|
||||
# ----------- MelonLoader IL2CPP CoreCLR (net6) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_CoreCLR
|
||||
$Path = "Release\UnityExplorer.MelonLoader.IL2CPP.CoreCLR"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_ML_Cpp_CoreCLR
|
||||
$Path = "Release\CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR"
|
||||
# ILRepack
|
||||
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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net6 /lib:lib/interop /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/UnityExplorer.ML.IL2CPP.CoreCLR.deps.json
|
||||
Remove-Item $Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.deps.json
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/Iced.dll
|
||||
@ -36,70 +36,70 @@ 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.CoreCLR.dll -Destination $Path/Mods -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll -Destination $Path/Mods -Force
|
||||
New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UniverseLib.ML.IL2CPP.Interop.dll -Destination $Path/UserLibs -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip
|
||||
|
||||
# ----------- MelonLoader IL2CPP (net472) -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Cpp_net472
|
||||
$Path = "Release/UnityExplorer.MelonLoader.IL2CPP"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_ML_Cpp_net472
|
||||
$Path = "Release/CinematicUnityExplorer.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/CinematicUnityExplorer.ML.IL2CPP.dll $Path/CinematicUnityExplorer.ML.IL2CPP.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/Iced.dll
|
||||
Remove-Item $Path/UnhollowerBaseLib.dll
|
||||
New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.ML.IL2CPP.dll -Destination $Path/Mods -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.ML.IL2CPP.dll -Destination $Path/Mods -Force
|
||||
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
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.IL2CPP.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.MelonLoader.IL2CPP.zip
|
||||
|
||||
# ----------- MelonLoader Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_ML_Mono
|
||||
$Path = "Release/UnityExplorer.MelonLoader.Mono"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_ML_Mono
|
||||
$Path = "Release/CinematicUnityExplorer.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/CinematicUnityExplorer.ML.Mono.dll $Path/CinematicUnityExplorer.ML.Mono.dll $Path/mcs.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/UnityExplorer.ML.Mono.dll -Destination $Path/Mods -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.ML.Mono.dll -Destination $Path/Mods -Force
|
||||
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
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.MelonLoader.Mono.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.MelonLoader.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.MelonLoader.Mono.zip
|
||||
|
||||
# ----------- BepInEx IL2CPP -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE_Cpp
|
||||
$Path = "Release/UnityExplorer.BepInEx.IL2CPP"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE_Cpp
|
||||
$Path = "Release/CinematicUnityExplorer.BepInEx.IL2CPP"
|
||||
# ILRepack
|
||||
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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472/BepInEx/build423~577 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.BIE.IL2CPP.dll $Path/CinematicUnityExplorer.BIE.IL2CPP.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/UnhollowerBaseLib.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.BIE.IL2CPP.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
New-Item -Path "$Path" -Name "plugins/CinematicUnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.BIE.IL2CPP.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx.IL2CPP.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.BepInEx.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.BepInEx.IL2CPP.zip
|
||||
|
||||
# ----------- BepInEx IL2CPP CoreCLR -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE_CoreCLR
|
||||
$Path = "Release/UnityExplorer.BepInEx.IL2CPP.CoreCLR"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE_CoreCLR
|
||||
$Path = "Release/CinematicUnityExplorer.BepInEx.IL2CPP.CoreCLR"
|
||||
# ILRepack
|
||||
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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472/BepInEx/build423~577 /lib:lib/net6/ /lib:lib/interop/ /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path/CinematicUnityExplorer.BIE.IL2CPP.CoreCLR.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
@ -107,20 +107,20 @@ 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.IL2CPP.CoreCLR.deps.json
|
||||
Remove-Item $Path/CinematicUnityExplorer.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.BIE.IL2CPP.Interop.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
New-Item -Path "$Path" -Name "plugins/CinematicUnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.BIE.IL2CPP.CoreCLR.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.BIE.IL2CPP.Interop.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.BepInEx.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.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"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE_Unity_Cpp
|
||||
$Path = "Release/CinematicUnityExplorer.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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472/BepInEx/build647+ /lib:lib/net6/ /lib:lib/interop/ /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.BIE.Unity.IL2CPP.CoreCLR.dll $Path/CinematicUnityExplorer.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
|
||||
@ -128,91 +128,91 @@ 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
|
||||
Remove-Item $Path/CinematicUnityExplorer.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
|
||||
New-Item -Path "$Path" -Name "plugins/CinematicUnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.BIE.Unity.IL2CPP.CoreCLR.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.BIE.IL2CPP.Interop.dll -Destination $Path/plugins/CinematicUnityExplorer -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
|
||||
Remove-Item $Path/../CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip
|
||||
|
||||
# ----------- BepInEx 5 Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE5_Mono
|
||||
$Path = "Release/UnityExplorer.BepInEx5.Mono"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE5_Mono
|
||||
$Path = "Release/CinematicUnityExplorer.BepInEx5.Mono"
|
||||
# ILRepack
|
||||
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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:lib/net35/BepInEx /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.BIE5.Mono.dll $Path/CinematicUnityExplorer.BIE5.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.BIE5.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
New-Item -Path "$Path" -Name "plugins/CinematicUnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.BIE5.Mono.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx5.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx5.Mono.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.BepInEx5.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.BepInEx5.Mono.zip
|
||||
|
||||
# ----------- BepInEx 6 Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE6_Mono
|
||||
$Path = "Release/UnityExplorer.BepInEx6.Mono"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE6_Mono
|
||||
$Path = "Release/CinematicUnityExplorer.BepInEx6.Mono"
|
||||
# ILRepack
|
||||
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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:lib/net35/BepInEx/build423~577 /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.BIE6.Mono.dll $Path/CinematicUnityExplorer.BIE6.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.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||
New-Item -Path "$Path" -Name "plugins/CinematicUnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.BIE6.Mono.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx6.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx6.Mono.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.BepInEx6.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.BepInEx6.Mono.zip
|
||||
|
||||
# ----------- BepInEx 6 Unity Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_BIE6_Unity_Mono
|
||||
$Path = "Release/UnityExplorer.BepInEx6.Unity.Mono"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_BIE6_Unity_Mono
|
||||
$Path = "Release/CinematicUnityExplorer.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
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:lib/net35/BepInEx/build647+ /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.BIE6.Unity.Mono.dll $Path/CinematicUnityExplorer.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
|
||||
New-Item -Path "$Path" -Name "plugins/CinematicUnityExplorer" -ItemType "directory" -Force
|
||||
Move-Item -Path $Path/CinematicUnityExplorer.BIE6.Unity.Mono.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
Move-Item -Path $Path/UniverseLib.Mono.dll -Destination $Path/plugins/CinematicUnityExplorer -Force
|
||||
# (create zip archive)
|
||||
Remove-Item $Path/../UnityExplorer.BepInEx6.Unity.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.BepInEx6.Unity.Mono.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.BepInEx6.Unity.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.BepInEx6.Unity.Mono.zip
|
||||
|
||||
# ----------- Standalone Mono -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_STANDALONE_Mono
|
||||
$Path = "Release/UnityExplorer.Standalone.Mono"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_STANDALONE_Mono
|
||||
$Path = "Release/CinematicUnityExplorer.Standalone.Mono"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Path/UnityExplorer.Standalone.Mono.dll $Path/UnityExplorer.Standalone.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net35 /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.Standalone.Mono.dll $Path/CinematicUnityExplorer.Standalone.Mono.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
# (cleanup and move files)
|
||||
Remove-Item $Path/Tomlet.dll
|
||||
Remove-Item $Path/mcs.dll
|
||||
Remove-Item $Path/../UnityExplorer.Standalone.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.Standalone.Mono.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.Standalone.Mono.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.Standalone.Mono.zip
|
||||
|
||||
# ----------- Standalone IL2CPP -----------
|
||||
dotnet build src/UnityExplorer.sln -c Release_STANDALONE_Cpp
|
||||
$Path = "Release/UnityExplorer.Standalone.IL2CPP"
|
||||
dotnet build src/CinematicUnityExplorer.sln -c Release_STANDALONE_Cpp
|
||||
$Path = "Release/CinematicUnityExplorer.Standalone.IL2CPP"
|
||||
# ILRepack
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/UnityExplorer.Standalone.IL2CPP.dll $Path/UnityExplorer.Standalone.IL2CPP.dll $Path/mcs.dll $Path/Tomlet.dll
|
||||
lib/ILRepack.exe /target:library /lib:lib/net472 /lib:lib/unhollowed /lib:$Path /internalize /out:$Path/CinematicUnityExplorer.Standalone.IL2CPP.dll $Path/CinematicUnityExplorer.Standalone.IL2CPP.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/UnhollowerBaseLib.dll
|
||||
Remove-Item $Path/../UnityExplorer.Standalone.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../UnityExplorer.Standalone.IL2CPP.zip
|
||||
Remove-Item $Path/../CinematicUnityExplorer.Standalone.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\$Path\* $Path/../CinematicUnityExplorer.Standalone.IL2CPP.zip
|
||||
|
||||
# ----------- Editor (mono) -----------
|
||||
$Path1 = "Release/UnityExplorer.Standalone.Mono"
|
||||
$Path1 = "Release/CinematicUnityExplorer.Standalone.Mono"
|
||||
$Path2 = "UnityEditorPackage/Runtime"
|
||||
Copy-Item $Path1/UnityExplorer.STANDALONE.Mono.dll -Destination $Path2
|
||||
Copy-Item $Path1/CinematicUnityExplorer.STANDALONE.Mono.dll -Destination $Path2
|
||||
Copy-Item $Path1/UniverseLib.Mono.dll -Destination $Path2
|
||||
Remove-Item Release/UnityExplorer.Editor.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\UnityEditorPackage\* Release/UnityExplorer.Editor.zip
|
||||
Remove-Item Release/CinematicUnityExplorer.Editor.zip -ErrorAction SilentlyContinue
|
||||
compress-archive .\UnityEditorPackage\* Release/CinematicUnityExplorer.Editor.zip
|
@ -674,7 +674,7 @@ Doorstop example:
|
||||
// It is recommended to use the Log panel (or a console log window) while using this tool.
|
||||
// Use the Help dropdown to see detailed examples of how to use the console.
|
||||
|
||||
// To execute a script automatically on startup, put the script at 'sinai-dev-UnityExplorer\Scripts\startup.cs'</color>";
|
||||
// To execute a script automatically on startup, put the script at 'CinematicUnityExplorer\Scripts\startup.cs'</color>";
|
||||
|
||||
internal const string HELP_USINGS = @"// You can add a using directive to any namespace, but you must compile for it to take effect.
|
||||
// It will remain in effect until you Reset the console.
|
||||
|
@ -31,7 +31,7 @@ namespace UnityExplorer
|
||||
|
||||
cylinder.transform.rotation = Quaternion.LookRotation(Vector3.back, Vector3.up);
|
||||
|
||||
GameObject arrow = new GameObject("UE-Arrow");
|
||||
GameObject arrow = new GameObject("CUE-Arrow");
|
||||
cylinder.transform.SetParent(arrow.transform, true);
|
||||
arrow.transform.position = arrowPosition;
|
||||
arrow.transform.rotation = arrowRotation;
|
||||
@ -57,7 +57,7 @@ namespace UnityExplorer
|
||||
}
|
||||
|
||||
private static void ChangeArrowColor(Light __instance, Color __0){
|
||||
if (!__instance.name.Contains("UE - Light"))
|
||||
if (!__instance.name.Contains("CUE - Light"))
|
||||
return;
|
||||
|
||||
Renderer[] renderers = __instance.GetComponentsInChildren<Renderer>();
|
||||
|
@ -76,7 +76,7 @@ namespace UnityExplorer.UI.Panels
|
||||
private void CopyLight(){
|
||||
GameObject newLight = UnityEngine.Object.Instantiate(light);
|
||||
CopyFreeCamTransform(newLight);
|
||||
newLight.name = $"UE - Light {GetLightsManagerPanel().lightCounter}";
|
||||
newLight.name = $"CUE - Light {GetLightsManagerPanel().lightCounter}";
|
||||
|
||||
GetLightsManagerPanel().CreatedLights.Add(newLight);
|
||||
GetLightsManagerPanel().lightsScrollPool.Refresh(true, false);
|
||||
|
@ -320,7 +320,7 @@ namespace UniverseLib.Input
|
||||
public static void OverrideMouseButton(ref bool __result, ref int button)
|
||||
{
|
||||
getMouseButton[button] = __result;
|
||||
// Since UnityExplorer uses Unity's native UI for its menu, we can't switch off the mouse interaction with it on this wrapper.
|
||||
// Since CinematicUnityExplorer uses Unity's native UI for its menu, we can't switch off the mouse interaction with it on this wrapper.
|
||||
// Therefore, if we still want to interact with the Unity Explorer menu we would need to let the button action pass through when it's open.
|
||||
if (FreeCamPanel.ShouldOverrideInput() && !(button == 0 && UIManager.ShowMenu)){
|
||||
__result = false;
|
||||
@ -330,7 +330,7 @@ namespace UniverseLib.Input
|
||||
public static void OverrideMouseButtonDown(ref bool __result, ref int button)
|
||||
{
|
||||
getMouseButtonDown[button] = __result;
|
||||
// Since UnityExplorer uses Unity's native UI for its menu, we can't switch off the mouse interaction with it on this wrapper.
|
||||
// Since CinematicUnityExplorer uses Unity's native UI for its menu, we can't switch off the mouse interaction with it on this wrapper.
|
||||
// Therefore, if we still want to interact with the Unity Explorer menu we would need to let the button action pass through when it's open.
|
||||
if (FreeCamPanel.ShouldOverrideInput() && !(button == 0 && UIManager.ShowMenu)){
|
||||
__result = false;
|
||||
|
@ -9,7 +9,7 @@
|
||||
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>UnityExplorer</RootNamespace>
|
||||
<RootNamespace>CinematicUnityExplorer</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>
|
||||
@ -39,86 +39,86 @@
|
||||
<!-- ML IL2CPP Unhollower net6 -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net6'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP.net6preview\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.MelonLoader.IL2CPP.net6preview\</OutputPath>
|
||||
<DefineConstants>CPP,ML,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP.net6preview</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.ML.IL2CPP.net6preview</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML IL2CPP net472 (TEMP) -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_net472'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.MelonLoader.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,ML,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.ML.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML IL2CPP CoreCLR -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Cpp_CoreCLR'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.IL2CPP.CoreCLR\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,ML,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.IL2CPP.CoreCLR</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.ML.IL2CPP.CoreCLR</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- ML MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='ML_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.MelonLoader.Mono\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.MelonLoader.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,ML</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.ML.Mono</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.ML.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX IL2CPP -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Cpp'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.IL2CPP\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.BepInEx.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.IL2CPP</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.BIE.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX IL2CPP CoreCLR -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE_Cpp_CoreCLR'">
|
||||
<TargetFramework>net6</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx.IL2CPP.CoreCLR\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.BepInEx.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.IL2CPP.CoreCLR</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.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>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR\</OutputPath>
|
||||
<DefineConstants>CPP,BIE,BIE6,BIPUNITY,INTEROP</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE.Unity.IL2CPP.CoreCLR</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.BIE.Unity.IL2CPP.CoreCLR</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 6 MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE6_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx6.Mono\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.BepInEx6.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIE6</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE6.Mono</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.BIE6.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 6 Unity MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE6_Unity_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx6.Unity.Mono\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.BepInEx6.Unity.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIPUNITY,BIE6</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE6.Unity.Mono</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.BIE6.Unity.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- BEPINEX 5 MONO -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='BIE5_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.BepInEx5.Mono\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.BepInEx5.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,BIE,BIE5</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.BIE5.Mono</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.BIE5.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- STANDALONE Mono -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='STANDALONE_Mono'">
|
||||
<TargetFramework>net35</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.Standalone.Mono\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.Standalone.Mono\</OutputPath>
|
||||
<DefineConstants>MONO,STANDALONE</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.STANDALONE.Mono</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.STANDALONE.Mono</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<!-- STANDALONE Il2Cpp -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='STANDALONE_Cpp'">
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputPath>..\Release\UnityExplorer.Standalone.IL2CPP\</OutputPath>
|
||||
<OutputPath>..\Release\CinematicUnityExplorer.Standalone.IL2CPP\</OutputPath>
|
||||
<DefineConstants>CPP,STANDALONE,UNHOLLOWER</DefineConstants>
|
||||
<AssemblyName>UnityExplorer.STANDALONE.IL2CPP</AssemblyName>
|
||||
<AssemblyName>CinematicUnityExplorer.STANDALONE.IL2CPP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- ~~~~~ NUGET ~~~~~ -->
|
@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.1.32328.378
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnityExplorer", "UnityExplorer.csproj", "{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CinematicUnityExplorer", "CinematicUnityExplorer.csproj", "{B21DBDE3-5D6F-4726-93AB-CC3CC68BAE7D}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
@ -11,7 +11,7 @@ namespace UnityExplorer.Config
|
||||
// See the UnityExplorer.Loader namespace for the implementations.
|
||||
public static ConfigHandler Handler { get; private set; }
|
||||
|
||||
// Actual UE Settings
|
||||
// Actual CUE Settings
|
||||
public static ConfigElement<KeyCode> Master_Toggle;
|
||||
public static ConfigElement<bool> Hide_On_Startup;
|
||||
public static ConfigElement<float> Startup_Delay_Time;
|
||||
@ -103,12 +103,12 @@ namespace UnityExplorer.Config
|
||||
|
||||
private static void CreateConfigElements()
|
||||
{
|
||||
Master_Toggle = new("UnityExplorer Toggle",
|
||||
"The key to enable or disable UnityExplorer's menu and features.",
|
||||
Master_Toggle = new("CinematicUnityExplorer Toggle",
|
||||
"The key to enable or disable CinematicUnityExplorer's menu and features.",
|
||||
KeyCode.F7);
|
||||
|
||||
Hide_On_Startup = new("Hide On Startup",
|
||||
"Should UnityExplorer be hidden on startup?",
|
||||
"Should CinematicUnityExplorer be hidden on startup?",
|
||||
false);
|
||||
|
||||
Startup_Delay_Time = new("Startup Delay Time",
|
||||
@ -116,26 +116,26 @@ namespace UnityExplorer.Config
|
||||
1f);
|
||||
|
||||
Target_Display = new("Target Display",
|
||||
"The monitor index for UnityExplorer to use, if you have multiple. 0 is the default display, 1 is secondary, etc. " +
|
||||
"The monitor index for CinematicUnityExplorer to use, if you have multiple. 0 is the default display, 1 is secondary, etc. " +
|
||||
"Restart recommended when changing this setting. Make sure your extra monitors are the same resolution as your primary monitor.",
|
||||
0);
|
||||
|
||||
Force_Unlock_Mouse = new("Force Unlock Mouse",
|
||||
"Force the Cursor to be unlocked (visible) when the UnityExplorer menu is open.",
|
||||
"Force the Cursor to be unlocked (visible) when the CinematicUnityExplorer menu is open.",
|
||||
true);
|
||||
Force_Unlock_Mouse.OnValueChanged += (bool value) => UniverseLib.Config.ConfigManager.Force_Unlock_Mouse = value;
|
||||
|
||||
Force_Unlock_Toggle = new("Force Unlock Toggle Key",
|
||||
"The keybind to toggle the 'Force Unlock Mouse' setting. Only usable when UnityExplorer is open.",
|
||||
"The keybind to toggle the 'Force Unlock Mouse' setting. Only usable when CinematicUnityExplorer is open.",
|
||||
KeyCode.None);
|
||||
|
||||
Disable_EventSystem_Override = new("Disable EventSystem override",
|
||||
"If enabled, UnityExplorer will not override the EventSystem from the game.\n<b>May require restart to take effect.</b>",
|
||||
"If enabled, CinematicUnityExplorer will not override the EventSystem from the game.\n<b>May require restart to take effect.</b>",
|
||||
false);
|
||||
Disable_EventSystem_Override.OnValueChanged += (bool value) => UniverseLib.Config.ConfigManager.Disable_EventSystem_Override = value;
|
||||
|
||||
Default_Output_Path = new("Default Output Path",
|
||||
"The default output path when exporting things from UnityExplorer.",
|
||||
"The default output path when exporting things from CinematicUnityExplorer.",
|
||||
Path.Combine(ExplorerCore.ExplorerFolder, "Output"));
|
||||
|
||||
DnSpy_Path = new("dnSpy Path",
|
||||
@ -143,15 +143,15 @@ namespace UnityExplorer.Config
|
||||
@"C:/Program Files/dnspy/dnSpy.exe");
|
||||
|
||||
Main_Navbar_Anchor = new("Main Navbar Anchor",
|
||||
"The vertical anchor of the main UnityExplorer Navbar, in case you want to move it.",
|
||||
"The vertical anchor of the main CinematicUnityExplorer Navbar, in case you want to move it.",
|
||||
UIManager.VerticalAnchor.Top);
|
||||
|
||||
Log_Unity_Debug = new("Log Unity Debug",
|
||||
"Should UnityEngine.Debug.Log messages be printed to UnityExplorer's log?",
|
||||
"Should UnityEngine.Debug.Log messages be printed to CinematicUnityExplorer's log?",
|
||||
false);
|
||||
|
||||
Log_To_Disk = new("Log To Disk",
|
||||
"Should UnityExplorer save log files to the disk?",
|
||||
"Should CinematicUnityExplorer save log files to the disk?",
|
||||
true);
|
||||
|
||||
World_MouseInspect_Keybind = new("World Mouse-Inspect Keybind",
|
||||
@ -189,7 +189,7 @@ namespace UnityExplorer.Config
|
||||
|
||||
Screenshot = new("Take a screenshot",
|
||||
"Takes a screenshot with the size multiplier specified in the Misc panel.\n" +
|
||||
"Saves the screenshot to 'sinai-dev-UnityExplorer\\Screenshots' in png format.",
|
||||
"Saves the screenshot to 'CinematicUnityExplorer\\Screenshots' in png format.",
|
||||
KeyCode.None);
|
||||
|
||||
HUD_Toggle = new("HUD Toggle",
|
||||
|
@ -19,14 +19,14 @@ namespace UnityExplorer
|
||||
{
|
||||
public static class ExplorerCore
|
||||
{
|
||||
public const string NAME = "UnityExplorer";
|
||||
public const string VERSION = "4.11.1";
|
||||
public const string AUTHOR = "Sinai, yukieiji";
|
||||
public const string GUID = "com.sinai.unityexplorer";
|
||||
public const string NAME = "CinematicUnityExplorer";
|
||||
public const string VERSION = "1.0.0";
|
||||
public const string AUTHOR = "originalnicodr, Sinai, yukieiji";
|
||||
public const string GUID = "com.originalnicodr.cinematicunityexplorer";
|
||||
|
||||
public static IExplorerLoader Loader { get; private set; }
|
||||
public static string ExplorerFolder => Path.Combine(Loader.ExplorerFolderDestination, Loader.ExplorerFolderName);
|
||||
public const string DEFAULT_EXPLORER_FOLDER_NAME = "sinai-dev-UnityExplorer";
|
||||
public const string DEFAULT_EXPLORER_FOLDER_NAME = "CinematicUnityExplorer";
|
||||
|
||||
public static HarmonyLib.Harmony Harmony { get; } = new HarmonyLib.Harmony(GUID);
|
||||
|
||||
@ -36,7 +36,7 @@ namespace UnityExplorer
|
||||
public static void Init(IExplorerLoader loader)
|
||||
{
|
||||
if (Loader != null)
|
||||
throw new Exception("UnityExplorer is already loaded.");
|
||||
throw new Exception("CinematicUnityExplorer is already loaded.");
|
||||
|
||||
Loader = loader;
|
||||
|
||||
@ -147,7 +147,7 @@ namespace UnityExplorer
|
||||
string legacyPath = Path.Combine(Loader.ExplorerFolderDestination, "UnityExplorer");
|
||||
if (Directory.Exists(legacyPath))
|
||||
{
|
||||
LogWarning($"Attempting to migrate old 'UnityExplorer/' folder to 'sinai-dev-UnityExplorer/'...");
|
||||
LogWarning($"Attempting to migrate old 'UnityExplorer/' folder to 'CinematicUnityExplorer/'...");
|
||||
|
||||
// If new folder doesn't exist yet, let's just use Move().
|
||||
if (!Directory.Exists(ExplorerFolder))
|
||||
|
@ -367,7 +367,7 @@ namespace UnityExplorer.Inspectors
|
||||
}
|
||||
else
|
||||
{
|
||||
Notification.ShowMessage($"Please set a valid dnSpy path in UnityExplorer Settings.");
|
||||
Notification.ShowMessage($"Please set a valid dnSpy path in CinematicUnityExplorer Settings.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,24 +45,24 @@ namespace UnityExplorer
|
||||
Action<object> IExplorerLoader.OnLogError => (object log) => { OnLog?.Invoke(log?.ToString() ?? "", LogType.Error); };
|
||||
|
||||
/// <summary>
|
||||
/// Call this to initialize UnityExplorer without adding a log listener or Unhollowed modules path.
|
||||
/// The default Unhollowed path "sinai-dev-UnityExplorer\Modules\" will be used.
|
||||
/// Call this to initialize CinematicUnityExplorer without adding a log listener or Unhollowed modules path.
|
||||
/// The default Unhollowed path "CinematicUnityExplorer\Modules\" will be used.
|
||||
/// </summary>
|
||||
/// <returns>The new (or active, if one exists) instance of ExplorerStandalone.</returns>
|
||||
public static ExplorerStandalone CreateInstance() => CreateInstance(null, null);
|
||||
|
||||
/// <summary>
|
||||
/// Call this to initialize UnityExplorer and add a listener for UnityExplorer's log messages, without specifying an Unhollowed modules path.
|
||||
/// The default Unhollowed path "sinai-dev-UnityExplorer\Modules\" will be used.
|
||||
/// Call this to initialize CinematicUnityExplorer and add a listener for CinematicUnityExplorer's log messages, without specifying an Unhollowed modules path.
|
||||
/// The default Unhollowed path "CinematicUnityExplorer\Modules\" will be used.
|
||||
/// </summary>
|
||||
/// <param name="logListener">Your log listener to handle UnityExplorer logs.</param>
|
||||
/// <param name="logListener">Your log listener to handle CinematicUnityExplorer logs.</param>
|
||||
/// <returns>The new (or active, if one exists) instance of ExplorerStandalone.</returns>
|
||||
public static ExplorerStandalone CreateInstance(Action<string, LogType> logListener) => CreateInstance(logListener, null);
|
||||
|
||||
/// <summary>
|
||||
/// Call this to initialize UnityExplorer with the provided log listener and Unhollowed modules path.
|
||||
/// Call this to initialize CinematicUnityExplorer with the provided log listener and Unhollowed modules path.
|
||||
/// </summary>
|
||||
/// <param name="logListener">Your log listener to handle UnityExplorer logs.</param>
|
||||
/// <param name="logListener">Your log listener to handle CinematicUnityExplorer logs.</param>
|
||||
/// <param name="unhollowedModulesPath">The path of the Unhollowed modules, either relative or absolute.</param>
|
||||
/// <returns>The new (or active, if one exists) instance of ExplorerStandalone.</returns>
|
||||
public static ExplorerStandalone CreateInstance(Action<string, LogType> logListener, string unhollowedModulesPath)
|
||||
|
@ -692,7 +692,7 @@ namespace UnityExplorer.UI.Panels
|
||||
// Dummy UI class to unlock the cursor when freecam is active but the UI is hidden
|
||||
internal class FreecamCursorUnlocker : UIBase
|
||||
{
|
||||
public FreecamCursorUnlocker() : base("freecam.cursor.unlocker.unityexplorer", () => { }) { }
|
||||
public FreecamCursorUnlocker() : base("freecam.cursor.unlocker.cinematicunityexplorer", () => { }) { }
|
||||
|
||||
public void Enable(){
|
||||
Enabled = true;
|
||||
|
@ -114,7 +114,7 @@ namespace UnityExplorer.UI.Panels
|
||||
foreach(UnityEngine.Light light in gameLights)
|
||||
{
|
||||
//We want to avoid grabbing our own lights
|
||||
if(!light.name.Contains("UE - Light")){
|
||||
if(!light.name.Contains("CUE - Light")){
|
||||
vanillaGameLights.Add(light);
|
||||
light.enabled = false;
|
||||
}
|
||||
@ -131,7 +131,7 @@ namespace UnityExplorer.UI.Panels
|
||||
}
|
||||
|
||||
private void CreateLight(LightType requestedType){
|
||||
GameObject obj = new($"UE - Light {lightCounter}");
|
||||
GameObject obj = new($"CUE - Light {lightCounter}");
|
||||
//DontDestroyOnLoad(obj);
|
||||
obj.hideFlags = HideFlags.HideAndDontSave;
|
||||
Light lightComponent = obj.AddComponent<UnityEngine.Light>();
|
||||
|
@ -57,7 +57,7 @@ namespace UnityExplorer.UI.Panels
|
||||
|
||||
private void SetupIO()
|
||||
{
|
||||
string fileName = $"UnityExplorer {DateTime.Now:u}.txt";
|
||||
string fileName = $"CinematicUnityExplorer {DateTime.Now:u}.txt";
|
||||
fileName = IOUtility.EnsureValidFilename(fileName);
|
||||
string path = Path.Combine(ExplorerCore.ExplorerFolder, "Logs");
|
||||
CurrentStreamPath = IOUtility.EnsureValidFilePath(Path.Combine(path, fileName));
|
||||
|
@ -241,9 +241,9 @@ namespace UnityExplorer.UI
|
||||
SetNavBarAnchor();
|
||||
};
|
||||
|
||||
// UnityExplorer title
|
||||
// CinematicUnityExplorer title
|
||||
|
||||
string titleTxt = $"UE <i><color=grey>{ExplorerCore.VERSION}</color></i>";
|
||||
string titleTxt = $"CUE <i><color=grey>{ExplorerCore.VERSION}</color></i>";
|
||||
Text title = UIFactory.CreateLabel(navbarPanel, "Title", titleTxt, TextAnchor.MiddleCenter, default, true, 14);
|
||||
UIFactory.SetLayoutElement(title.gameObject, minWidth: 75, flexibleWidth: 0);
|
||||
|
||||
|
@ -150,7 +150,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
if (AudioPlayerObject)
|
||||
return;
|
||||
|
||||
AudioPlayerObject = new GameObject("UnityExplorer.AudioPlayer");
|
||||
AudioPlayerObject = new GameObject("CinematicUnityExplorer.AudioPlayer");
|
||||
UnityEngine.Object.DontDestroyOnLoad(AudioPlayerObject);
|
||||
AudioPlayerObject.hideFlags = HideFlags.HideAndDontSave;
|
||||
AudioPlayerObject.transform.position = new(int.MinValue, int.MinValue); // move it as far away as possible
|
||||
|
Reference in New Issue
Block a user