forked from LavaGang/MelonLoader
-
Notifications
You must be signed in to change notification settings - Fork 15
Mod Development
Trevor edited this page Oct 2, 2024
·
4 revisions
The MelonWiki Quick Start guide is accurate for use with Lemon.
Standard assemblies (primarily MelonLoader.dll) use .NET 8 for compilation, so your mod may need to be built with .NET 8 if you are not cross-compiling for standard MelonLoader. However, the differences between Lemon and Melon should be small enough to where you can reference the PC version for quest just fine.
A few extra things, to check if the user is running Lemon you can use either
-
MelonUtils.CurrentPlatform == (MelonPlatformAttribute.CompatiblePlatforms)3if you're using base MelonLoader assemblies -
MelonUtils.CurrentPlatform == MelonPlatformAttribute.CompatiblePlatforms.ANDROIDif you're using LemonLoader assemblies
Lemon 0.2.0 has implemented the NativeLibrary helper class from MelonLoader, meaning you can load custom native libraries that were not packed into the game's APK. See the NativeLibrary class for more information.