ghorsington / CM3D2.YATranslator

Yet Another Translator -- Translation plug-in for CM3D2 remade from scratch
https://coder.horse/CM3D2.YATranslator
The Unlicense
28 stars 5 forks source link

1.52 Sybaris NullReferenceException Error #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

I decided to hop on your new project. There were no errors when building. I cleaned up the old TranslationPlus and put YAT, no errors when loading plugin

Unfortunately translations don't load, there are errors with every new scene loading.

I'm using 4.2 UI translation files and system text translation v. 07/31/17

I'm available if you need anything to test out or need more info/data. (of course if all this is because I messed up something, then sorry for trouble)

debug debug2 debug3 debug4

ghorsington commented 7 years ago

Greetings!

Thank you for reporting this one.

Since the wiki isn't yet ready, here's a brief explanation: It's most likely due to Sybaris failing to apply the patcher. Unfortunately Sybaris doesn't natively provide a means to log these problems properly. However, there is a solution: a custom-made Sybaris.Loader.

Download this: Sybaris.Loader_Custom.zip

Put the DLL into Sybaris\Loader folder. Back up the DLL you currently have there before replacing! After that, run CM3D2. After the game has launched, you should see these two files in your CM3D2 root directory (where CM3D2x86/64.exe is located):

Copy the contents of Sybaris_patch.log here. It should contain information about the patching error.

ghost commented 7 years ago

Sybaris_patch.txt

ghorsington commented 7 years ago

It seems that your Cecil.Inject might be outdated.

Make sure you actually have the latest Cecil.Inject installed in your Loader folder. Make also sure to build with the latest version of it (or use the prebuilt release).

Or you could build YAT with the same version of Cecil.Inject that you have in your Loader folder.

ghost commented 7 years ago

Ok, now it works.

I'm sorry for wasting your time.

ghorsington commented 7 years ago

It's fine.

That's why I'm here.

This just reminds me to include this into the FAQs.