Closed Jonyleo closed 2 years ago
Weird followup, If I leave the start function empty it no longer gives out warnings
Assembly dir: ...\Little Witch in the Woods\LWIW_Data\Managed
Opening assembly ...\Little Witch in the Woods\LWITW_Mods\net5.0\LWITW_ModLoader.dll
Opened Assembly DLL (3072 bytes); opening its main image
Image opened; loading included assembly
Assembly loaded; looking for Doorstop.Entrypoint:Start
Invoking method 0000015015F49968
Done
Fixed it, change bootstrap.c:118 from string_to_utf8 to string_to_utf16
Probably only when it's unicode, so something like
utf16()...
utf8()
I'm having problems debbuging an error message.
Info: Game: Little witch in the woods OS: Win 10 Visual Studio 2019 (used to build the entrypoint [release mode])
Steps to reproduce:
Using the Example entrypoint class in the README. Placed winhttp.dll and .ini files in the game's root directory Placed entrypoint in LWITW_Mods/net5.0/LWITW_ModLoader.dll Changed ini file to reflect the entrypoint location. Run the game and get this error:
(changed private information to ...)
As you can see, that error message is pretty much unreadable.
Note: not sure if this is worth anything, but the dll is not 4096 bytes in size, it's actually 5K, let me know if that is a problem
Any help? Thank you