MelonLoader
The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
模組介紹 作者原文
GENERAL INFORMATION:
- Debug Mode is for Development Purposes.
Use it to help Develop and Debug MelonLoader, Plugins, and Mods.
- All Logs are made in the created MelonLoader/Logs folder in your Game's Installation Folder.
- All Plugins get placed in the created Plugins folder in your Game's Installation Folder.
- All Mods get placed in the created Mods folder in your Game's Installation Folder.
- The Official Wiki
- Proxies
- Launch Options
- Debugging
- Linux Support (__WINE / STEAM PROTON / NATIVE__)
- Android & Oculus Quest Support (__WIP__)
| Usage Guides: |
| - |
| INSTALLER |
| MANUAL USE |
| Example Projects: |
| - |
| TestPlugin |
| TestMod |
| Nightly Builds: |
| - |
| master |
| alpha-development |
| universality |
REQUIREMENTS:
Il2Cpp Games:
-.NET 6.0 Desktop Runtime
On Windows, the.NET 6.0 Desktop Runtime will be installed automatically
HOW TO USE THE INSTALLER:
- Follow the Instructions in one of the Guides linked below.
| Installer Guides: |
| - |
| INSTALL |
| UPDATE |
| RE-INSTALL |
| UN-INSTALL |
HOW TO MANUALLY USE MELONLOADER:
UPDATE / RE-INSTALL:
- Follow the Steps to UN-INSTALL
- Follow the Steps to INSTALL
INSTALL:
- Make sure the Game is Closed and Not Running before attempting to Install.
- Make sure you have all the Requirements Installed before attempting to Install.
- Download MelonLoader Archive from Releases
- Extract the MelonLoader folder from the MelonLoader Archive to the Game's Installation Folder.
- Extract version.dll & dobby.dll from the MelonLoader Archive to the Game's Installation Folder.
UN-INSTALL:
- Make sure the Game is Closed and Not Running before attempting to UN-INSTALL.
- Remove the version.dll file from the Game's Installation Folder.
- Remove the MelonLoader folder from the Game's Installation Folder.
These additional steps below are OPTIONAL if you want to do a FULL UN-INSTALL.
- Remove the Plugins folder from the Game's Installation Folder.
- Remove the Mods folder from the Game's Installation Folder.
- Remove the UserData folder from the Game's Installation Folder.
CONFIG:
MelonLoader has its own config file at./UserData/Loader.cfg (you need to run MelonLoader at least once for it to appear).
Here is a list of the current config options (and their default values):
[loader]
Disables MelonLoader. Equivalent to the '--no-mods' launch option
disable = false
Equivalent to the '--melonloader.debug' launch option
debug_mode = true
Capture all Unity player logs into MelonLoader's logs even if the game disabled them. NOTE: Depending on the game or Unity version, these logs can be overly verbose. Equivalent to the '--melonloader.captureplayerlogs' launch option
capture_player_logs = true
The maximum Harmony log verbosity to capture into MelonLoader's logs. Possible values in verbosity order are: "None", "Error", "Warn", "Info", "Debug", or "IL". Equivalent to the '--melonloader.harmonyloglevel' launch option
harmony_log_level = "Warn"
Only use this if the game freezes when trying to quit. Equivalent to the '--quitfix' launch option
force_quit = false
Disables the start screen. Equivalent to the '--melonloader.disablestartscreen' launch option
disable_start_screen = false
Starts the dotnet debugger on Windows and wait it is attached or just wait until one is attached without launch on other OSes (only for Il2Cpp games). Equivalent to the '--melonloader.launchdebugger' launch option
launch_debugger = false
Sets the loader theme. Currently, the only available themes are "Normal" and "Lemon". Equivalent to the '--melonloader.consolemode' launch option (0 for Normal, 4 for Lemon)
theme = "Normal"
[console]
Hides warnings from displaying. Equivalent to the '--melonloader.hidewarnings' launch option
hide_warnings = false
Hides the console. Equivalent to the '--melonloader.hideconsole' launch option
hide_console = false
Forces the console to always stay on-top of all other applications. Equivalent to the '--melonloader.consoleontop' launch option
console_
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。