![]() Last but not least, MelonLoader adapts the Harmony library to work on IL2CPP games, so we can also continue to work with the usual method patching approach that we have been using so far and are used to. Doing so would've likely also introduced a number of subtle bugs into our mods, so I'm glad we don't have to do that. Moreover, MelonLoader also creates a Mono assembly domain that we can run C# code in! So we can even continue writing mods in C# and don't have to rewrite literally all of our code in C++. MelonLoader solved a large number of issues that we would've had to solve ourselves, starting from injecting our mods into the running executable, finding the game methods in the large blob of x86 assembly that is GameAssembly.dll, and finally detouring these methods to make them run our own code. An early version of that mod loader was only intended for VRChat (which also uses IL2CPP), but the developers realized that they could essentially create a "universal" mod loader that works for a large number of IL2CPP Unity games - including The Long Dark, as it turns out. However, recently, MelonLoader was released. So for a while, things really looked grim. When TLD switched over to IL2CPP, there were pretty much no tools or libraries that would have helped with modding. My stance on it has always been "not impossible, but exponentially more difficult". ![]() Both MelonLoader and DeveloperConsole are compatible with the new version, and are expected to stay compatible for many versions to come. Please let me know what mods you're most looking forward to :)Įdit: As we speak, TLD v1.78 has been released. More mods will follow soon-ish, but which mods get ported first and which get ported later (or not at all) depends a great deal on your interest in these mods. Wait for the download and installation to complete!įinally, we can install the developer console:Ĭreate a new directory called "Mods" inside your TheLongDark install directory and move DeveloperConsole.dll into that newly created "Mods" directory at C:\Program Files\Steam\SteamApps\common\TheLongDark) Select the tld.exe executable in your TheLongDark install directory (e.g. Move Binoculars.dll and Binoculars.modcomponent into your mods folder.If you have turned on sharing crash reports and analytics, launch TLD and turn these off first.Download Binoculars.dll and Binoculars.modcomponent from the releases page.Move ModComponent.dll and ModSettings.dll into the Mods folder in your TLD install directory.If you haven't done so already, download the latest version of ModSettings.dll from its release page.If you haven't done so already, download the latest version of ModComponent.dll from its releases page and any dependencies.If you haven't done so already, install MelonLoader by downloading and running.Your support helps to ensure that I can continue making mods for you at the pace I am :) Installation If you feel that I have improved your playing experience, please consider supporting me on my Patreon. Modding takes lots of time, and I have expenses like food, internet, and rent. You are so special, and I would appreciate your support. I know many people might skip over this, but I hope you don't. I am very grateful for all the contributions he made to the modding community, and I'm honored to have adopted so many of his mods. WulfMarius is the original creator of the Binoculars.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |