Cpp2IL icon indicating copy to clipboard operation
Cpp2IL copied to clipboard

Add Support for Unity 2021.3.9f1

Open MintzHydra opened this issue 2 years ago • 13 comments

been looking for il2cppinspector that support 2021.3.9f1 but seem the repo is unmaintaned...and no guide how to update it...looking for cpp2il that support 2021.3.9f1 thank you

MintzHydra avatar Jul 31 '23 15:07 MintzHydra

Cpp2il does support 2021.3.9

SamboyCoding avatar Jul 31 '23 15:07 SamboyCoding

which version? the latest released or build from sources?

MintzHydra avatar Jul 31 '23 15:07 MintzHydra

it said ===Cpp2IL by Samboy063=== A Tool to Reverse Unity's "il2cpp" Build Process. Version 2022.1.0-pre-release.12

[Info] [Program] Running on Win32NT [Info] [Plugins] Loading plugins from D:\ModToramPython\Cpp2IL-2022.1.0-pre-release.12-Windows-Netframework472\Plugins... [Info] [Plugins] Using Plugin: Cpp2IL Built-In [Fail] [Program] Execution Failed: Could not find a valid unity game at C:\Program

MintzHydra avatar Jul 31 '23 16:07 MintzHydra

put quotes around the game path

SamboyCoding avatar Jul 31 '23 16:07 SamboyCoding

now its appear [Fail] [Program]

Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL! ---> System.Exception: Failed to find pCodegenModules at LibCpp2IL.BinarySearcher.FindCodeRegistrationPost2019() in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\BinarySearcher.cs:line 196 at LibCpp2IL.Il2CppBinary.FindCodeAndMetadataReg(Int32 methodCount, Int32 typeDefinitionsCount) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\Il2CppBinary.cs:line 450 at LibCpp2IL.LibCpp2IlBinaryRegistry.CreateAndInit(Byte[] buffer, Il2CppMetadata metadata) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlBinaryRegistry.cs:line 68 at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[] binaryBytes, Byte[] metadataBytes, UnityVersion unityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:line 159 at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String pePath, String metadataPath, UnityVersion unityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:line 202 at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:line 55 --- End of inner exception stack trace --- at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:line 67 at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 487 at Cpp2IL.Program.Main(String[] args) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 429

Waiting for you to press enter - feel free to copy the error...

MintzHydra avatar Jul 31 '23 16:07 MintzHydra

the other error appeared

MintzHydra avatar Jul 31 '23 16:07 MintzHydra

Try a release build not a pre-release

SamboyCoding avatar Jul 31 '23 16:07 SamboyCoding

the release build has error too

[Fail] [Program]

Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL! ---> System.Exception: Failed to find pCodegenModules at LibCpp2IL.BinarySearcher.FindCodeRegistrationPost2019() in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/BinarySearcher.cs:line 178 at LibCpp2IL.Il2CppBinary.PlusSearch(Int32 methodCount, Int32 typeDefinitionsCount) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/Il2CppBinary.cs:line 419 at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[] binaryBytes, Byte[] metadataBytes, Int32[] unityVersion) in /home/runner/work/Cpp2IL/Cpp2IL/LibCpp2IL/LibCpp2IlMain.cs:line 166 at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, Int32[] unityVersion, Boolean allowUserToInputAddresses) in /home/runner/work/Cpp2IL/Cpp2IL/Cpp2IL.Core/Cpp2IlApi.cs:line 176 --- End of inner exception stack trace --- at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, Int32[] unityVersion, Boolean allowUserToInputAddresses) in /home/runner/work/Cpp2IL/Cpp2IL/Cpp2IL.Core/Cpp2IlApi.cs:line 190 at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in /home/runner/work/Cpp2IL/Cpp2IL/Cpp2IL/Program.cs:line 387 at Cpp2IL.Program.Main(String[] args) in /home/runner/work/Cpp2IL/Cpp2IL/Cpp2IL/Program.cs:line 331

Waiting for you to press enter - feel free to copy the error...

MintzHydra avatar Jul 31 '23 16:07 MintzHydra

That usually implies your game is protected somehow.

SamboyCoding avatar Jul 31 '23 16:07 SamboyCoding

I can say for certain that 2021.3.12f1, 2021.3.16f1, and 2021.3.26f1 all work

SamboyCoding avatar Jul 31 '23 16:07 SamboyCoding

do you have a solution? because il2cpp inspector that usually i used is not supported 2021.3.9f1 yet

MintzHydra avatar Jul 31 '23 16:07 MintzHydra

Or maybe there are other similar applications?

MintzHydra avatar Jul 31 '23 16:07 MintzHydra

image

MintzHydra avatar Jul 31 '23 17:07 MintzHydra