【搬运】MelonLoader 模组加载器 0.71beta
本帖最后由 smile417 于 2025-12-10 08:16 编辑转自github:https://github.com/LavaGang/MelonLoader/tree/master/MelonLoader
GENERAL INFORMATION:一般信息:
[*]Debug Mode is for Development Purposes.
调试模式用于开发目的。
Use it to help Develop and Debug MelonLoader, Plugins, and Mods.
使用它来帮助开发和调试 MelonLoader、插件和模组。
[*]All Logs are made in the created MelonLoader/Logs folder in your Game's Installation Folder.
所有日志都保存在游戏安装文件夹中创建的 MelonLoader/Logs 文件夹中。
[*]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.
所有 Mod 都放置在游戏安装文件夹中创建的 Mods 文件夹中。
[*]The Official Wiki
官方维基
[*]Proxies代理
[*]Launch Options启动选项
[*]Debugging调试
[*]Linux Support (WINE / STEAM PROTON / NATIVE)
Linux 支持(WINE / STEAM PROTON / NATIVE)
[*]Android & Oculus Quest Support (WIP)
Android 和 Oculus Quest 支持 (WIP)
Usage Guides:使用指南:
INSTALLER
MANUAL USE手动使用
Example Projects:示例项目:
TestPlugin测试插件
TestMod测试模组
Nightly Builds:夜间构建:
master主人
alpha-development阿尔法开发
universality普遍性
SPECIAL THANKS TO OUR WONDERFUL PATRONS
特别感谢我们出色的顾客
[*]Givo吉沃
[*]Florian Fahrenberger弗洛里安·法伦伯格
[*]Python蟒
[*]SirCoolnessSirCoolness 先生
[*]SlidyDev滑道开发
REQUIREMENTS:要求:
Il2Cpp Games:Il2Cpp 游戏:
[*].NET 6.0 Desktop Runtime
.NET 6.0 桌面运行时
On Windows, the .NET 6.0 Desktop Runtime will be installed automatically
在 Windows 上,将自动安装 .NET 6.0 桌面运行时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:
如何手动使用 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 [x86] [x64]
下载 MelonLoader [x86] [x64]
[*]Extract the MelonLoader folder from the MelonLoader Zip Archive to the Game's Installation Folder.
将 MelonLoader 文件夹从 MelonLoader Zip 存档解压到游戏的安装文件夹中。
[*]Extract version.dll & dobby.dll from the MelonLoader Zip Archive to the Game's Installation Folder.
将 MelonLoader Zip 存档中的 version.dll 和 dobby.dll 解压到游戏的安装文件夹中。
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.
从游戏的安装文件夹中删除 version.dll 文件。
[*]Remove the MelonLoader folder from the Game's Installation Folder.
从游戏的安装文件夹中删除 MelonLoader 文件夹。
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.
从游戏的 安装(Installation) 文件夹中删除 插件(Plugins) 文件夹。
[*]Remove the Mods folder from the Game's Installation Folder.
从游戏的安装文件夹中删除 Mods 文件夹。
[*]Remove the UserData folder from the Game's Installation Folder.
从游戏的 安装文件夹(Installation Folder) 中删除 UserData 文件夹。
CONFIG:配置:
MelonLoader has its own config file at ./UserData/Loader.cfg (you need to run MelonLoader at least once for it to appear).
MelonLoader 有自己的配置文件,位于 ./UserData/Loader.cfg(您需要至少运行一次 MelonLoader 才能显示)。Here is a list of the current config options (and their default values):
以下是当前配置选项(及其默认值)的列表:# Disables MelonLoader. Equivalent to the '--no-mods' launch optiondisable = false# Equivalent to the '--melonloader.debug' launch optiondebug_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 optioncapture_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 optionharmony_log_level = "Warn"# Only use this if the game freezes when trying to quit. Equivalent to the '--quitfix' launch optionforce_quit = false# Disables the start screen. Equivalent to the '--melonloader.disablestartscreen' launch optiondisable_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 optionlaunch_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"# Hides warnings from displaying. Equivalent to the '--melonloader.hidewarnings' launch optionhide_warnings = false# Hides the console. Equivalent to the '--melonloader.hideconsole' launch optionhide_console = false# Forces the console to always stay on-top of all other applications. Equivalent to the '--melonloader.consoleontop' launch optionconsole_on_top = false# Keeps the console title as original. Equivalent to the '--melonloader.consoledst' launch optiondont_set_title = false# Sets the maximum amount of log files in the Logs folder (Default: 10). Equivalent to the '--melonloader.maxlogs' launch optionmax_logs = 10# Let the Mono debug server wait until a debugger is attached when debug_mode is true (only for Mono games). Equivalent to the '--melonloader.debugsuspend' launch optiondebug_suspend = false# The IP address the Mono debug server will listen to when debug_mode is true (only for Mono games). Equivalent to the '--melonloader.debugipaddress' launch optiondebug_ip_address = "127.0.0.1"# The port the Mono debug server will listen to when debug_mode is true (only for Mono games). Equivalent to the '--melonloader.debugport' launch optiondebug_port = 55555# Overrides the detected UnityEngine version. Equivalent to the '--melonloader.unityversion' launch optionversion_override = ""# Disables the console log cleaner (only applies to Il2Cpp games). Equivalent to the '--melonloader.disableunityclc' launch optiondisable_console_log_cleaner = false# Forces the Il2Cpp Assembly Generator to run without contacting the remote API. Equivalent to the '--melonloader.agfoffline' launch optionforce_offline_generation = false# Forces the Il2Cpp Assembly Generator to use the specified regex. Equivalent to the '--melonloader.agfregex' launch optionforce_generator_regex = ""# Forces the Il2Cpp Assembly Generator to use the specified Il2Cpp dumper version. Equivalent to the '--melonloader.agfvdumper' launch optionforce_il2cpp_dumper_version = ""# Forces the Il2Cpp Assembly Generator to always regenerate assemblies. Equivalent to the '--melonloader.agfregenerate' launch optionforce_regeneration = false# Enables the CallAnalyzer processor for Cpp2IL. Equivalent to the '--cpp2il.callanalyzer' launch optionenable_cpp2il_call_analyzer = false# Enables the NativeMethodDetector processor for Cpp2IL. Equivalent to the '--cpp2il.nativemethoddetector' launch optionenable_cpp2il_native_method_detector = false
LAUNCH OPTIONS:启动选项:
[*]These are additional Launch Options that MelonLoader adds to the Game.
这些是 MelonLoader 添加到游戏中的附加启动选项。
[*]These can be used to manipulate how MelonLoader works.
这些可用于纵 MelonLoader 的工作原理。
Argument论点Description描述
--no-mods--无模组Launches the Game without loading any Plugins or Mods
在不加载任何插件或模组的情况下启动游戏
--quitfix--退出修复Fixes the Hanging Process Issue with some Games
修复了某些游戏的挂起进程问题
--melonloader.consolemode
--melonloader.console 模式Changes the Theme Display Mode of the Console [ Default = 0 ]
更改控制台的主题显示模式 [ 默认值 = 0 ]
--melonloader.consoleontop
--melonloader.consoletop 上Forces the Console to always stay on-top of all other Applications
强制控制台始终处于所有其他应用程序的顶部
--melonloader.consoledstKeeps the Console Title as Original
将主机标题保持为原始
--melonloader.hideconsole
--melonloader.hide 控制台Hides the Console隐藏控制台
--melonloader.hidewarnings
--melonloader.hide 警告Hides Warnings from Displaying
隐藏警告不显示
--melonloader.debugDebug Mode调试模式
--melonloader.captureplayerlogs
--melonloader.captureplayer 日志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
将所有 Unity 玩家日志捕获到 MelonLoader 的日志中,即使游戏禁用了它们。注意:根据游戏或 Unity 版本,这些日志可能过于冗长
--melonloader.harmonyloglevel
--melonloader.harmony 日志级别The maximum Harmony log verbosity to capture into MelonLoader's logs. Possible values in verbosity order are: "None", "Error", "Warn", "Info", "Debug", or "IL"
要捕获到 MelonLoader 日志中的最大 Harmony 日志详细程度。详细顺序中的可能值为:“None”、“Error”、“Warn”、“Info”、“Debug”或“IL”
--melonloader.debugsuspendLet the Mono debug server wait until a debugger is attached when in Debug Mode (only for Mono games)
让单声道调试服务器在调试模式下等待,直到调试器附加(仅适用于单声道游戏)
--melonloader.debugipaddressThe IP address the Mono debug server will listen to when in Debug Mode (only for Mono games)
单声道调试服务器在调试模式下将监听的 IP 地址(仅适用于单声道游戏)
--melonloader.debugportThe port the Mono debug server will listen to when in Debug Mode (only for Mono games)
单声道调试服务器在调试模式下监听的端口(仅适用于单声道游戏)
--melonloader.maxlogs--melonloader.max 日志Max Log Files [ Default: 10 ] [ NoCap: 0 ]
最大日志文件数 [ 默认值:10 ] [ NoCap:0 ]
--melonloader.loadmodeplugins
--melonloader.loadmode 插件Load Mode for Plugins [ Default: 0 ]
插件的加载模式 [ 默认值:0 ]
--melonloader.loadmodemodsLoad Mode for Mods [ Default: 0 ]
模组的加载模式 [ 默认值:0 ]
--melonloader.basedirChanges the Proxy's Load Directory for the Bootstrap
更改 Bootstrap 的代理加载目录
--melonloader.disablestartscreenDisable the Start Screen
禁用开始屏幕
[*]These ones below are Unity Engine specific Launch Options.
下面是特定于 Unity 引擎的启动选项。
Argument论点Description描述
--melonloader.unityversion
--melonloader.unity 版本Allows you to Specify the Version of Unity Engine
允许您指定 Unity 引擎的版本
--melonloader.agfofflineForces Assembly Generator to Run without Contacting the Remote API
强制程序集生成器在不联系远程 API 的情况下运行
--melonloader.agfregenerateForces Regeneration of Assembly
强制重新生成装配体
--melonloader.agfregexForces Assembly Generator to use a Specified Regex
强制程序集生成器使用指定的正则表达式
--melonloader.agfvdumperForces Assembly Generator to use a Specified Version of Dumper
强制程序集生成器使用指定版本的转储器
--melonloader.disableunityclcDisable Unity Console Log Cleaner
禁用 Unity 控制台日志清理器
--melonloader.monosearchpathoverride
--melonloader.monosearchpath 覆盖A list of paths that Mono will prioritise to seek mscorlib and core libraries before the Managed folder and Melon's included set of core libraries. The list is separated by semicolons (;) on Windows and by colons (:) on Linux
Mono 将优先查找 mscorlib 和核心库的路径列表,然后再查找 Managed 文件夹和 Melon 包含的核心库集。该列表在 Windows 上用分号 (;) 分隔,在 Linux 上用冒号 (:) 分隔
[*]These ones below are Cpp2IL specific Launch Options.
下面这些是 Cpp2IL 特定的启动选项。
Argument论点Description描述
--cpp2il.callanalyzerEnables CallAnalyzer processor
启用 CallAnalyzer 处理器
--cpp2il.nativemethoddetector
--cpp2il.nativemethod 检测器Enables NativeMethodDetector processor
启用 NativeMethodDetector 处理器
PROXIES:代理:
MelonLoader uses a proxy DLL to trick the game into loading itself on startup. This only applies for Windows.
MelonLoader 使用代理 DLL 来诱骗游戏在启动时加载自身。这仅适用于 Windows。
[*]The Proxy DLL is able to be Renamed to the Compatible File Names below.
代理 DLL 可以重命名为下面的兼容文件名。
[*]By Default the Proxy is named as "version.dll".
默认情况下,代理命名为“version.dll”。
[*]For most Games the Default File Name should work perfectly fine.
对于大多数游戏,默认文件名应该可以正常工作。
[*]Some Games may have you use a different Proxy File Name depending on the Architecture, Operating System, version of the Engine used by the Game, etc.
某些游戏可能会要求你使用不同的代理文件名,具体取决于游戏使用的架构、作系统、引擎版本等。
File Names:文件名:
version.dll
winhttp.dll
winmm.dll
dinput.dll
dinput8.dll
dsound.dll
d3d8.dll
d3d9.dll
d3d10.dll
d3d11.dll
d3d12.dll
ddraw.dll
msacm32.dll
LICENSING & CREDITS:许可和学分:
MelonLoader is licensed under the Apache License, Version 2.0. See LICENSE for the full License.
MelonLoader 根据 Apache 许可证 2.0 版获得许可。有关完整许可证,请参阅许可证。Third-party Libraries used as Source Code and/or bundled in Binary Form:
用作源代码和/或以二进制形式捆绑的第三方库:
[*]Dobby is licensed under the Apache License, Version 2.0. See LICENSE for the full License.
Dobby 根据 Apache 许可证 2.0 版获得许可。有关完整许可证,请参阅许可证。
[*]plthook is licensed under the 2-Clause BSD License. See LICENSE text at the top of the file for the full License.
plthook 根据 2 条款 BSD 许可证获得许可。有关完整许可证,请参阅文件顶部的许可证文本。
[*]Mono is licensed under multiple licenses. See LICENSE for full details.
Mono 根据多个许可证获得许可。有关完整详细信息,请参阅许可证。
[*]HarmonyX is licensed under the MIT License. See LICENSE for the full License.
HarmonyX 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]MonoMod is licensed under the MIT License. See LICENSE for the full License.
MonoMod 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Mono.Cecil is licensed under the MIT License. See LICENSE for the full License.
Mono.Cecil 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Newtonsoft.Json is licensed under the MIT License. See LICENSE for the full License.
Newtonsoft.Json 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]TinyJSON is licensed under the MIT License. See LICENSE for the full License.
TinyJSON 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Tomlet is licensed under the MIT License. See LICENSE for the full License.
Tomlet 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]AsmResolver is licensed under the MIT License. See LICENSE for the full License.
AsmResolver 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]SharpZipLib is licensed under the MIT License. See LICENSE for the full License.
SharpZipLib 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Semver is licensed under the MIT License. See LICENSE for the full License.
Semver 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Illusion Plugin Architecture is licensed under the MIT License. See LICENSE for the full License.
Illusion 插件架构根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]MuseDashModLoader is licensed under the MIT License. See LICENSE for the full License.
MuseDashModLoader 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]mgGif is licensed under the MIT License. See LICENSE for the full License.
mgGif 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]AssetsTools.NET is licensed under the MIT License. See LICENSE for the full License.
AssetsTools.NET 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]AssetRipper.VersionUtilities is licensed under the MIT License. See LICENSE for the full License.
AssetRipper.VersionUtilities 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Steam Library, VDF, and ACF Parsing from SteamFinder.cs by Umbranoxio and Dalet.
来自 Umbranoxio 和 Dalet 的 SteamFinder.cs 的 Steam 库、VDF 和 ACF 解析。
[*]bHapticsLib is licensed under the MIT License. See LICENSE for the full License.
bHapticsLib 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]IndexRange is licensed under the MIT License. See LICENSE for the full License.
IndexRange 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]ValueTupleBridge is licensed under the MIT License. See LICENSE for the full License.
ValueTupleBridge 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]WebSocketDotNet is licensed under the MIT License. See LICENSE for the full License.
WebSocketDotNet 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Pastel is licensed under the MIT License. See LICENSE for the full License.
Pastel 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Il2CppInterop is licensed under the LGPLv3 License. See LICENSE for the full License.
Il2CppInterop 根据 LGPLv3 许可证获得许可。有关完整许可证,请参阅许可证。
External Libraries and Tools that are downloaded and used at Runtime:
在运行时下载和使用的外部库和工具:
[*]Cpp2IL is licensed under the MIT License. See LICENSE for the full License.
Cpp2IL 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
[*]Unity Runtime Libraries from MelonLoader.UnityDependencies are part of Unity Software.
MelonLoader.UnityDependencies 中的 Unity 运行时库是 Unity 软件的一部分。
Their usage is subject to Unity Terms of Service, including Unity Software Additional Terms.
它们的使用受 Unity 服务条款的约束,包括 Unity 软件附加条款。
[*].NET Runtime is licensed under the MIT License. See LICENSE for the full License.
.NET Runtime 根据 MIT 许可证获得许可。有关完整许可证,请参阅许可证。
See MelonLoader Wiki for the full Credits.
有关完整的制作人员名单,请参阅 MelonLoader Wiki。MelonLoader is not sponsored by, affiliated with or endorsed by Unity Technologies or its affiliates.
MelonLoader 不是由 Unity Technologies 或其附属公司赞助、附属或认可的。
"Unity" is a trademark or a registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.
“Unity”是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标。
**** Hidden Message *****
谢谢分享!谢谢!
cpp2il下载失败总是:Q 感谢大佬分享!!!! 666666666666666666666666666666
感谢分享
666666666666666666666666666666666
2222222222222
11111111111111111111
大神66666
感谢分享
谢谢分享 感谢分享
1111111111111111111111111111111111111111
RE: MelonLoader 模组加载器 0.71beta [修改]
谢谢分享 正常。。。。。。。。。。。。。。
66666666666666666 66666666666666666
啊啊啊啊啊啊啊啊啊啊啊啊
感谢分享
111111111111111111111111111 666666666666
太好了!极其感谢
顶顶顶顶顶顶顶顶顶
1111111111111111111
3123213123213123123
666666666666666666
111111111111111111
aaaaaaaaaaaaaaa