XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

Incompatibility with Later Alligator

Open andrepgfon opened this issue 3 years ago • 3 comments

After installing both standalone with ReiPatcher and BepinEx (after deleting all contents of the game file and installing the game again), I haven't been able to get the UI to work or the Autotranslation file to be generated at all.

The only file I got was a preloader_(...).log file, whose contents I will display below.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: void System.Reflection.Module.GetPEKind(System.Reflection.PortableExecutableKinds&,System.Reflection.ImageFileMachine&) at BepInEx.Preloader.PreloaderRunner.PreloaderPreMain () [0x00000] in <20f8bb4264e44cfaa119110623716c77>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <0a1fac5e64de423db1eb2e72e888e018>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <0a1fac5e64de423db1eb2e72e888e018>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <0a1fac5e64de423db1eb2e72e888e018>:0 at BepInEx.Preloader.Entrypoint.Main () [0x0008b] in <20f8bb4264e44cfaa119110623716c77>:0

I would like to ask if I am doing something wrong (or if there is any important information missing from this description). Thanks in advance!

andrepgfon avatar Jan 18 '22 21:01 andrepgfon

If you've had both ReiPatcher and BepInEx installed, I'd ask that you start completely over (fresh install) and only use BepInEx.

ReiPatcher modifies some files during patching, so in order to properly uninstall it you need to both delete a lot of DLLs in the managed directory and rename one as well.

The error you're getting here certainly could look like it is trying to work with a patched DLL.

gravydevsupreme avatar Jan 19 '22 21:01 gravydevsupreme

Does ReiPatcher change files outside the game file? I deleted the whole game folder (including the managed DLLs) and reinstalled the game before trying it with BepInEx.

andrepgfon avatar Jan 20 '22 00:01 andrepgfon

It does not change files outside the game directory. I would recommend trying just running the game with BepInEx without this plugin to see if the problem persists.

Looks like a problem related to BepInEx.

gravydevsupreme avatar Jan 22 '22 20:01 gravydevsupreme