This repository was archived by the owner on Nov 19, 2024. It is now read-only.
forked from LavaGang/MelonLoader
-
Notifications
You must be signed in to change notification settings - Fork 21
Mod Development
Trevor edited this page Sep 2, 2023
·
3 revisions
The MelonWiki is mostly accurate, please use that for reference.
However, do not use .NET 6 for mods. Lemon is still based on MelonLoader 0.5.7, which uses .NET Framework 4.7.2 for Il2Cpp mods.
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.