Albeoris / Memoria.FFPR

MIT License
69 stars 5 forks source link

Exception on load results in Memoria not functioning #6

Closed gameboy9 closed 3 years ago

gameboy9 commented 3 years ago

This happened after Windows Defender sent a bunch of files to the cloud for processing. Not sure if it knocked out some files in the process.

I did try deleting all files and reextracted from the beginning. It doesn't appear that any files are being deleted or quarantined by Windows Defender.

However, I'm still getting a preloader_yyyymmdd_hhmmss_mss.log file that says this:

System.ComponentModel.Win32Exception (0x80004005): Failed to query memory information of 0x7FFFFFFF0000: The parameter is incorrect.

  at BepInEx.IL2CPP.Hook.Allocator.WindowsPageAllocator.AllocateChunk (System.IntPtr hint) [0x0002e] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Hook.Allocator.PageAllocator.Allocate (System.IntPtr hint) [0x0008e] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Hook.Allocator.WindowsPageAllocator.Allocate (System.IntPtr hint) [0x00000] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Hook.FastNativeDetour.GenerateTrampolineInner (System.Int32& trampolineLength, System.Int32& jmpLength) [0x00045] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Hook.FastNativeDetour.GenerateTrampoline (System.Reflection.MethodBase signature) [0x0000e] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Hook.FastNativeDetour.GenerateTrampoline[T] () [0x0004a] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Hook.FastNativeDetour.CreateAndApply[T] (System.IntPtr from, T to, T& original, System.Nullable`1[T] callingConvention) [0x0002c] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.IL2CPPChainloader.Initialize (System.String gameExePath) [0x000ae] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.Preloader.Run () [0x00206] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.UnityPreloaderRunner.PreloaderMain (System.String[] args) [0x0007e] in <08c28cfe3f9143da91029cbb9864e38a>:0 
  at BepInEx.IL2CPP.DoorstopEntrypoint.Main (System.String[] args) [0x00055] in <08c28cfe3f9143da91029cbb9864e38a>:0 
gameboy9 commented 3 years ago

(Just for confirmation purposes since I didn't originally write this down... this results in Memoria not working at all)

gameboy9 commented 3 years ago

It appears that Windows Defender may have quarantined the Memoria DLL and PDB... but I'm not sure of this yet. When they came back, however, all was good again.

I'm going to close this for now; I'll reopen if I can consistently reproduce the issue.