This repository was archived by the owner on May 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-31
lines changed Expand file tree Collapse file tree 2 files changed +8
-31
lines changed Original file line number Diff line number Diff line change 4
4
using System . Linq ;
5
5
using System . Text ;
6
6
using UnityEngine ;
7
- using System . IO ;
8
- using System . Reflection ;
9
7
using MelonLoader ;
10
- using Harmony ;
11
- using UnhollowerBaseLib . Runtime ;
12
- using UnhollowerRuntimeLib ;
13
8
using UnhollowerBaseLib ;
14
- using System . Runtime . CompilerServices ;
15
- using UnhollowerBaseLib . Attributes ;
16
9
17
10
namespace Explorer
18
11
{
19
12
public class CppExplorer : MelonMod
20
13
{
21
14
// consts
22
15
23
- public const string ID = "com.sinai.explorer " ;
16
+ public const string ID = "com.sinai.cppexplorer " ;
24
17
public const string NAME = "IL2CPP Runtime Explorer" ;
25
- public const string VERSION = "0.91 " ;
18
+ public const string VERSION = "1.0.0 " ;
26
19
public const string AUTHOR = "Sinai" ;
27
20
28
21
// fields
@@ -65,32 +58,16 @@ public override void OnApplicationStart()
65
58
66
59
Instance = this ;
67
60
68
- LoadMCS ( ) ;
69
-
70
61
new MainMenu ( ) ;
71
62
new WindowManager ( ) ;
72
63
73
- var harmony = HarmonyInstance . Create ( ID ) ;
74
- harmony . PatchAll ( ) ;
64
+ // var harmony = HarmonyInstance.Create(ID);
65
+ // harmony.PatchAll();
75
66
76
67
// done init
77
68
ShowMenu = true ;
78
69
}
79
70
80
- private void LoadMCS ( )
81
- {
82
- var mcsPath = @"Mods\mcs.dll" ;
83
- if ( File . Exists ( mcsPath ) )
84
- {
85
- Assembly . Load ( File . ReadAllBytes ( mcsPath ) ) ;
86
- MelonLogger . Log ( "Loaded mcs.dll" ) ;
87
- }
88
- else
89
- {
90
- MelonLogger . LogError ( "Could not find mcs.dll!" ) ;
91
- }
92
- }
93
-
94
71
public override void OnLevelWasLoaded ( int level )
95
72
{
96
73
if ( ScenePage . Instance != null )
Original file line number Diff line number Diff line change 10
10
// General Information about an assembly is controlled through the following
11
11
// set of attributes. Change these attribute values to modify the information
12
12
// associated with an assembly.
13
- [ assembly: AssemblyTitle ( " CppExplorer" ) ]
13
+ [ assembly: AssemblyTitle ( CppExplorer . NAME ) ]
14
14
[ assembly: AssemblyDescription ( "" ) ]
15
15
[ assembly: AssemblyConfiguration ( "" ) ]
16
- [ assembly: AssemblyCompany ( "" ) ]
17
- [ assembly: AssemblyProduct ( " CppExplorer" ) ]
18
- [ assembly: AssemblyCopyright ( "By Sinai " ) ]
16
+ [ assembly: AssemblyCompany ( CppExplorer . AUTHOR ) ]
17
+ [ assembly: AssemblyProduct ( CppExplorer . NAME ) ]
18
+ [ assembly: AssemblyCopyright ( "" ) ]
19
19
[ assembly: AssemblyTrademark ( "" ) ]
20
20
[ assembly: AssemblyCulture ( "" ) ]
21
21
You can’t perform that action at this time.
0 commit comments