本帖最后由 smile417 于 2025-12-10 08:16 编辑
转自github:https://github.com/LavaGang/MelonLoader/tree/master/MelonLoader
GENERAL INFORMATION: 一般信息:
[td][td][td] SPECIAL THANKS TO OUR WONDERFUL PATRONS
特别感谢我们出色的顾客
- Givo 吉沃
- Florian Fahrenberger 弗洛里安·法伦伯格
- Python 蟒
- SirCoolness SirCoolness 先生
- SlidyDev 滑道开发
REQUIREMENTS: 要求:
Il2Cpp Games: Il2Cpp 游戏:
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.
按照下面链接的指南之一中的说明进行作。
[td] HOW TO MANUALLY USE MELONLOADER:
如何手动使用 MELONLOADER:
UPDATE / RE-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):
以下是当前配置选项(及其默认值)的列表: [loader]# 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"[console]# 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[logs]# Sets the maximum amount of log files in the Logs folder (Default: 10). Equivalent to the '--melonloader.maxlogs' launch optionmax_logs = 10[mono_debug_server]# 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[unityengine]# 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 的工作原理。
[td]| 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.consoledst | Keeps the Console Title as Original
将主机标题保持为原始 | --melonloader.hideconsole
--melonloader.hide 控制台 | Hides the Console 隐藏控制台 | --melonloader.hidewarnings
--melonloader.hide 警告 | Hides Warnings from Displaying
隐藏警告不显示 | | --melonloader.debug | Debug 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.debugsuspend | Let the Mono debug server wait until a debugger is attached when in Debug Mode (only for Mono games)
让单声道调试服务器在调试模式下等待,直到调试器附加(仅适用于单声道游戏) | | --melonloader.debugipaddress | The IP address the Mono debug server will listen to when in Debug Mode (only for Mono games)
单声道调试服务器在调试模式下将监听的 IP 地址(仅适用于单声道游戏) | | --melonloader.debugport | The 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.loadmodemods | Load Mode for Mods [ Default: 0 ]
模组的加载模式 [ 默认值:0 ] | | --melonloader.basedir | Changes the Proxy's Load Directory for the Bootstrap
更改 Bootstrap 的代理加载目录 | | --melonloader.disablestartscreen | Disable the Start Screen
禁用开始屏幕 |
- These ones below are Unity Engine specific Launch Options.
下面是特定于 Unity 引擎的启动选项。
[td]| Argument 论点 | Description 描述 | --melonloader.unityversion
--melonloader.unity 版本 | Allows you to Specify the Version of Unity Engine
允许您指定 Unity 引擎的版本 | | --melonloader.agfoffline | Forces Assembly Generator to Run without Contacting the Remote API
强制程序集生成器在不联系远程 API 的情况下运行 | | --melonloader.agfregenerate | Forces Regeneration of Assembly
强制重新生成装配体 | | --melonloader.agfregex | Forces Assembly Generator to use a Specified Regex
强制程序集生成器使用指定的正则表达式 | | --melonloader.agfvdumper | Forces Assembly Generator to use a Specified Version of Dumper
强制程序集生成器使用指定版本的转储器 | | --melonloader.disableunityclc | Disable 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 特定的启动选项。
[td]| Argument 论点 | Description 描述 | | --cpp2il.callanalyzer | Enables 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.
某些游戏可能会要求你使用不同的代理文件名,具体取决于游戏使用的架构、作系统、引擎版本等。
[td]| 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:
用作源代码和/或以二进制形式捆绑的第三方库: External Libraries and Tools that are downloaded and used at Runtime:
在运行时下载和使用的外部库和工具: 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 或其附属公司在美国和其他地方的商标或注册商标。
|