Practice Mod not Working (Il2CppAssemblyGenerator Fail)
3 months ago
North Rhine-Westphalia, Germany

Hello!

The mod does not work. I have tried different versions of MelonLoader but it doesn't work. The console gives me the following error message (short):

[01:14:49.671] [Il2CppAssemblyGenerator]
[01:14:49.672] [Il2CppAssemblyGenerator] Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL! ---> System.OverflowException: Provided address, 0x11, was less than image base, 0x180000000
[01:14:49.677] [Il2CppAssemblyGenerator]    bei LibCpp2IL.PE.PE.MapVirtualAddressToRaw(UInt64 uiAddr, Boolean throwOnError) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\PE\PE.cs:Zeile 85.
[01:14:49.679] [Il2CppAssemblyGenerator]    bei LibCpp2IL.Il2CppBinary.ReadNUintArrayAtVirtualAddress(UInt64 addr, Int64 count) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\Il2CppBinary.cs:Zeile 314.
[01:14:49.682] [Il2CppAssemblyGenerator]    bei LibCpp2IL.Il2CppBinary.Init(UInt64 pCodeRegistration, UInt64 pMetadataRegistration) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\Il2CppBinary.cs:Zeile 77.
[01:14:49.685] [Il2CppAssemblyGenerator]    bei LibCpp2IL.LibCpp2IlBinaryRegistry.CreateAndInit(Byte[] buffer, Il2CppMetadata metadata) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlBinaryRegistry.cs:Zeile 79.
[01:14:49.688] [Il2CppAssemblyGenerator]    bei LibCpp2IL.LibCpp2IlMain.Initialize(Byte[] binaryBytes, Byte[] metadataBytes, UnityVersion unityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:Zeile 159.
[01:14:49.692] [Il2CppAssemblyGenerator]    bei LibCpp2IL.LibCpp2IlMain.LoadFromFile(String pePath, String metadataPath, UnityVersion unityVersion) in C:\Users\Sam\RiderProjects\Cpp2IL\LibCpp2IL\LibCpp2IlMain.cs:Zeile 202.
[01:14:49.698] [Il2CppAssemblyGenerator]    bei Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:Zeile 54.
[01:14:49.702] [Il2CppAssemblyGenerator]    --- Ende der internen Ausnahmestapel³berwachung ---
[01:14:49.716] [Il2CppAssemblyGenerator]    bei Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, UnityVersion unityVersion, Boolean allowUserToInputAddresses) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Cpp2IlApi.cs:Zeile 66.
[01:14:49.719] [Il2CppAssemblyGenerator]    bei Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:Zeile 417.
[01:14:49.721] [Il2CppAssemblyGenerator]    bei Cpp2IL.Program.Main(String[] args) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:Zeile 359.

Thanks for the Help!

(complete error message: https://pastebin.com/raw/9LpvAKmF )

Switzerland

I don't think the mod works with recent versions of MelonLoader. Try with MelonLoader version 0.5.7.

North Rhine-Westphalia, Germany

Hello!

Thanks for the answer. I'm already using version 0.5.7. Versions lower than that didn't work either. In another thread it says you should use version 0.4.3. Unfortunately that doesn't work either.

Switzerland

In that case, I'm not sure what the problem could be. I would suggest you join the Discord server and ask for help in there.