mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2026-10-10 20:23:13 +08:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e1fb0e27b | |||
| 6b8a7d90c8 | |||
| 1b4657dead | |||
| 1af20ead9f | |||
| 706a18d1f6 | |||
| 81dd8bad0e | |||
| 97dffc81e1 | |||
| bf2b22e768 |
@@ -34,53 +34,59 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.BepInEx.IL2CPP.zip
|
name: UnityExplorer.BepInEx.IL2CPP.zip
|
||||||
path: ./Release/UnityExplorer.BepInEx.IL2CPP.zip
|
path: ./Release/UnityExplorer.BepInEx.IL2CPP/
|
||||||
|
|
||||||
|
# BepInEx IL2CPP CoreCLR
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip
|
||||||
|
path: ./Release/UnityExplorer.BepInEx.IL2CPP.CoreCLR/
|
||||||
|
|
||||||
# BepInEx 5 Mono
|
# BepInEx 5 Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.BepInEx5.Mono.zip
|
name: UnityExplorer.BepInEx5.Mono.zip
|
||||||
path: ./Release/UnityExplorer.BepInEx5.Mono.zip
|
path: ./Release/UnityExplorer.BepInEx5.Mono/
|
||||||
|
|
||||||
# BepInEx 6 Mono
|
# BepInEx 6 Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.BepInEx6.Mono.zip
|
name: UnityExplorer.BepInEx6.Mono.zip
|
||||||
path: ./Release/UnityExplorer.BepInEx6.Mono.zip
|
path: ./Release/UnityExplorer.BepInEx6.Mono/
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.Editor.zip
|
name: UnityExplorer.Editor.zip
|
||||||
path: ./Release/UnityExplorer.Editor.zip
|
path: ./UnityEditorPackage/
|
||||||
|
|
||||||
# MelonLoader IL2CPP net6preview
|
# MelonLoader IL2CPP net6preview
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
name: UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
||||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.net6preview.zip
|
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.net6preview/
|
||||||
|
|
||||||
# MelonLoader IL2CPP net472
|
# MelonLoader IL2CPP net472
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.MelonLoader.IL2CPP.zip
|
name: UnityExplorer.MelonLoader.IL2CPP.zip
|
||||||
path: ./Release/UnityExplorer.MelonLoader.IL2CPP.zip
|
path: ./Release/UnityExplorer.MelonLoader.IL2CPP/
|
||||||
|
|
||||||
# MelonLoader Mono
|
# MelonLoader Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.MelonLoader.Mono.zip
|
name: UnityExplorer.MelonLoader.Mono.zip
|
||||||
path: ./Release/UnityExplorer.MelonLoader.Mono.zip
|
path: ./Release/UnityExplorer.MelonLoader.Mono/
|
||||||
|
|
||||||
# Standalone Il2Cpp
|
# Standalone Il2Cpp
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.Standalone.IL2CPP.zip
|
name: UnityExplorer.Standalone.IL2CPP.zip
|
||||||
path: ./Release/UnityExplorer.Standalone.IL2CPP.zip
|
path: ./Release/UnityExplorer.Standalone.IL2CPP/
|
||||||
|
|
||||||
# Standalone Mono
|
# Standalone Mono
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: UnityExplorer.Standalone.Mono.zip
|
name: UnityExplorer.Standalone.Mono.zip
|
||||||
path: ./Release/UnityExplorer.Standalone.Mono.zip
|
path: ./Release/UnityExplorer.Standalone.Mono/
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ Nightly builds can be found [here](https://github.com/sinai-dev/UnityExplorer/ac
|
|||||||
| Release | IL2CPP | Mono |
|
| Release | IL2CPP | Mono |
|
||||||
| ------- | ------ | ---- |
|
| ------- | ------ | ---- |
|
||||||
| BIE 6.X | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Mono.zip) |
|
| BIE 6.X | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.zip) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx6.Mono.zip) |
|
||||||
|
| BIE 6.X (CoreCLR) | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip) | ✖ |
|
||||||
| BIE 5.X | ✖️ n/a | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx5.Mono.zip) |
|
| BIE 5.X | ✖️ n/a | ✅ [link](https://github.com/sinai-dev/UnityExplorer/releases/latest/download/UnityExplorer.BepInEx5.Mono.zip) |
|
||||||
|
|
||||||
1. Unzip the release file into a folder
|
1. Unzip the release file into a folder
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -12,7 +12,7 @@ Remove-Item $Path/UnhollowerBaseLib.dll
|
|||||||
New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force
|
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/UnityExplorer.ML.IL2CPP.net6preview.dll -Destination $Path/Mods -Force
|
||||||
New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||||
Move-Item -Path $Path/UniverseLib.IL2CPP.dll -Destination $Path/UserLibs -Force
|
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/UserLibs -Force
|
||||||
# (create zip archive)
|
# (create zip archive)
|
||||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip -ErrorAction SilentlyContinue
|
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip -ErrorAction SilentlyContinue
|
||||||
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip .\$Path\*
|
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.net6preview.zip .\$Path\*
|
||||||
@@ -30,7 +30,7 @@ Remove-Item $Path/UnhollowerBaseLib.dll
|
|||||||
New-Item -Path "$Path" -Name "Mods" -ItemType "directory" -Force
|
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/UnityExplorer.ML.IL2CPP.dll -Destination $Path/Mods -Force
|
||||||
New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
New-Item -Path "$Path" -Name "UserLibs" -ItemType "directory" -Force
|
||||||
Move-Item -Path $Path/UniverseLib.IL2CPP.dll -Destination $Path/UserLibs -Force
|
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/UserLibs -Force
|
||||||
# (create zip archive)
|
# (create zip archive)
|
||||||
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.zip -ErrorAction SilentlyContinue
|
Remove-Item $Path/../UnityExplorer.MelonLoader.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||||
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.zip .\$Path\*
|
7z a $Path/../UnityExplorer.MelonLoader.IL2CPP.zip .\$Path\*
|
||||||
@@ -64,11 +64,32 @@ Remove-Item $Path/UnhollowerBaseLib.dll
|
|||||||
New-Item -Path "$Path" -Name "plugins" -ItemType "directory" -Force
|
New-Item -Path "$Path" -Name "plugins" -ItemType "directory" -Force
|
||||||
New-Item -Path "$Path" -Name "plugins/sinai-dev-UnityExplorer" -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/UnityExplorer.BIE.IL2CPP.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||||
Move-Item -Path $Path/UniverseLib.IL2CPP.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
Move-Item -Path $Path/UniverseLib.IL2CPP.Unhollower.dll -Destination $Path/plugins/sinai-dev-UnityExplorer -Force
|
||||||
# (create zip archive)
|
# (create zip archive)
|
||||||
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.zip -ErrorAction SilentlyContinue
|
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.zip -ErrorAction SilentlyContinue
|
||||||
7z a $Path/../UnityExplorer.BepInEx.IL2CPP.zip .\$Path\*
|
7z a $Path/../UnityExplorer.BepInEx.IL2CPP.zip .\$Path\*
|
||||||
|
|
||||||
|
# ----------- 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
|
||||||
|
# (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.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
|
||||||
|
# (create zip archive)
|
||||||
|
Remove-Item $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip -ErrorAction SilentlyContinue
|
||||||
|
7z a $Path/../UnityExplorer.BepInEx.IL2CPP.CoreCLR.zip .\$Path\*
|
||||||
|
|
||||||
# ----------- BepInEx 5 Mono -----------
|
# ----------- BepInEx 5 Mono -----------
|
||||||
dotnet build src/UnityExplorer.sln -c Release_BIE5_Mono
|
dotnet build src/UnityExplorer.sln -c Release_BIE5_Mono
|
||||||
$Path = "Release/UnityExplorer.BepInEx5.Mono"
|
$Path = "Release/UnityExplorer.BepInEx5.Mono"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +1,8 @@
|
|||||||
using System;
|
using System.Text;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using UnityExplorer.CSConsole.Lexers;
|
using UnityExplorer.CSConsole.Lexers;
|
||||||
using UnityExplorer.UI.Panels;
|
using UnityExplorer.UI.Panels;
|
||||||
using UnityExplorer.UI.Widgets.AutoComplete;
|
using UnityExplorer.UI.Widgets.AutoComplete;
|
||||||
using UniverseLib;
|
|
||||||
using UniverseLib.UI.Models;
|
using UniverseLib.UI.Models;
|
||||||
using UniverseLib.Utility;
|
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole
|
namespace UnityExplorer.CSConsole
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,23 +1,10 @@
|
|||||||
using HarmonyLib;
|
using Mono.CSharp;
|
||||||
using Mono.CSharp;
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.EventSystems;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
using UnityExplorer.UI;
|
using UnityExplorer.UI;
|
||||||
using UnityExplorer.UI.Panels;
|
using UnityExplorer.UI.Panels;
|
||||||
using UnityExplorer.UI.Widgets.AutoComplete;
|
|
||||||
using UniverseLib;
|
|
||||||
using UniverseLib.Input;
|
using UniverseLib.Input;
|
||||||
using UniverseLib.Runtime;
|
|
||||||
using UniverseLib.UI.Models;
|
using UniverseLib.UI.Models;
|
||||||
using UniverseLib.Utility;
|
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole
|
namespace UnityExplorer.CSConsole
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System.Text;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using UnityExplorer.CSConsole.Lexers;
|
using UnityExplorer.CSConsole.Lexers;
|
||||||
using UniverseLib.Utility;
|
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole
|
namespace UnityExplorer.CSConsole
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using UnityEngine;
|
namespace UnityExplorer.CSConsole.Lexers
|
||||||
|
|
||||||
namespace UnityExplorer.CSConsole.Lexers
|
|
||||||
{
|
{
|
||||||
public class CommentLexer : Lexer
|
public class CommentLexer : Lexer
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user