Albeoris/Memoria.FFPR

Recent update (1/30/2024) broke Memoria, can no longer extract files

Closed this issue · 4 comments

The most recent update that dropped today (1/30/2024) for Final Fantasy I-VI Pixel Remaster broke Memoria and files can no longer be extracted.

Here is a snippet of the LogOutput.log that I'm getting that might help solve this:

[Info :Memoria FF PR] [Harmony] SystemConfig_BattleType successfully applied. [Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Last.Management.UserDataManager and name FromJson and parameters [Error :Memoria FF PR] Failed to initialize the mod: System.Exception: Failed to patch methods. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static void Memoria.FFPR.IL2CPP.HarmonyHooks.UserDataManager_FromJson::Postfix(string json) at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00068] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0006c] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 at Memoria.FFPR.EntryPoint.PatchMethods () [0x00040] in <0c162c4635614a789ada51182df596c0>:0 --- End of inner exception stack trace --- at Memoria.FFPR.EntryPoint.PatchMethods () [0x000c7] in <0c162c4635614a789ada51182df596c0>:0 at Memoria.FFPR.EntryPoint.Load () [0x00040] in <0c162c4635614a789ada51182df596c0>:0 [Error : BepInEx] Error loading [Memoria FF PR 1.0.0]: System.Exception: Failed to patch methods. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static void Memoria.FFPR.IL2CPP.HarmonyHooks.UserDataManager_FromJson::Postfix(string json) at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00068] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0006c] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <e91f9877f5984f8e82e24dfb4afeb4ec>:0 at Memoria.FFPR.EntryPoint.PatchMethods () [0x00040] in <0c162c4635614a789ada51182df596c0>:0 --- End of inner exception stack trace --- at Memoria.FFPR.EntryPoint.PatchMethods () [0x000c7] in <0c162c4635614a789ada51182df596c0>:0 at Memoria.FFPR.EntryPoint.Load () [0x00093] in <0c162c4635614a789ada51182df596c0>:0 at BepInEx.IL2CPP.IL2CPPChainloader.LoadPlugin (BepInEx.PluginInfo pluginInfo, System.Reflection.Assembly pluginAssembly) [0x00011] in <c0121e200c83491fbf9ba7d59e7f512a>:0 at BepInEx.Bootstrap.BaseChainloader1[TPlugin].LoadPlugins (System.Collections.Generic.IList1[T] plugins) [0x0025c] in <c7fa4791a6ea40b480e1c7d3e638b502>:0 [Message: BepInEx] Chainloader startup complete [Error :Unhollower] Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.MissingMethodException: Method not found: void Last.Management.ResourceManager.DestroyGroupAsset(string) at (wrapper dynamic-method) Memoria.FFPR.IL2CPP.ResourceExporter.Trampoline_VoidThisMemoria.FFPR.IL2CPP.ResourceExporterUpdate(intptr,UnhollowerBaseLib.Runtime.Il2CppMethodInfo*) [Info :Memoria IL2CPP] [ContentCatalogData_CreateLocator] Resource file extensions have been successfully parsed. [Error :Unhollower] Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.MissingMethodException: Method not found: void Last.Management.ResourceManager.DestroyGroupAsset(string) at (wrapper dynamic-method) Memoria.FFPR.IL2CPP.ResourceExporter.Trampoline_VoidThisMemoria.FFPR.IL2CPP.ResourceExporterUpdate(intptr,UnhollowerBaseLib.Runtime.Il2CppMethodInfo*) [Error :Unhollower] Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.MissingMethodException: Method not found: void Last.Management.ResourceManager.DestroyGroupAsset(string) at (wrapper dynamic-method) Memoria.FFPR.IL2CPP.ResourceExporter.Trampoline_VoidThisMemoria.FFPR.IL2CPP.ResourceExporterUpdate(intptr,UnhollowerBaseLib.Runtime.Il2CppMethodInfo*)

Seconded. Had no idea an update happened, was just trying to mod!

[Error :Memoria FF PR] Failed to initialize the mod: System.Exception: Failed to patch methods. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static void Memoria.FFPR.IL2CPP.HarmonyHooks.UserDataManager_FromJson::Postfix(string json)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in :0
...

For now, I got mods to work by using this method:
`1. Find the app ID, depot ID, and manifest ID of the build you are searching for on steamDB

  1. open steam console via run cmd "steam://open/console"

  2. type e.g. for the last build of FF1PR "download_depot 1173770 1173771 7298630835695188662"

  3. Run mods and game from new given directory`