3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 428|回复: 1
打印 上一主题 下一主题

[MOD] MBE Mod 合并

[复制链接]

2284

主题

3418

帖子

14万

积分

游戏终结者

Rank: 14Rank: 14Rank: 14Rank: 14

贡献度
21648
金元
616390
积分
148231
精华
0
注册时间
2006-12-25
跳转到指定楼层
主题
发表于 2025-10-28 09:48 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
转自n网:https://www.nexusmods.com/digimonstorytimestranger/mods/61

A temporary solution to merging MBE mods
合并 MBE 模组的临时解决方案






A powershell script to merge MBE-based mods for Reloaded II, until we get a better mod manager for the game.
一个 powershell 脚本,用于合并 Reloaded II 的基于 MBE 的模组,直到我们为游戏获得更好的模组管理器。
The script automatically detects and merges all conflicts found with all your enabled mods. No need to figure out or configure or specify which mods.
该脚本会自动检测并合并与所有已启用的模组发现的所有冲突。无需弄清楚、配置或指定哪些模组。

All tools and this script are open-source, so you can check for yourself exactly what they're doing and that no shady business is happening.
所有工具和此脚本都是开源的,因此您可以自己检查他们在做什么,并且没有发生任何不正当的业务。

This package assumes you have Reloaded and mods already set up.
此软件包假设您已经重装上阵并且已经设置了模组。

For detailed instructions to install any DSTS mods from scratch, this post and the stickied comment here have clear instructions written up. You might also need MVGL file loader and Shared scans installed in Reloaded.
有关从头开始安装任何 DSTS 模组的详细说明,这篇文章此处的粘贴评论有明确的说明。您可能还需要在 Reloaded 中安装 MVGL 文件加载器和共享扫描。
Once you have Reloaded and your mods installed, you can download this package and proceed with the instructions:
重新加载并安装模组后,您可以下载此软件包并继续按照说明进行作:


Usage Instructions  使用说明
1. Download SydMontague's modified MVGLToolsCLI (stable version 2.0.0 currently) and extract it somewhere.
1. 下载 SydMontague 修改后的 MVGLToolsCLI(目前稳定版本 2.0.0)并将其解压到某处。
2. Download this package and extract the files.
2. 下载此包并解压文件。
3. Move the extracted 'DSTS.MergedMods' folder into your Reloaded's Mods folder.
3. 移动提取的“DSTS.MergedMods'文件夹放入 Reloaded 的 Mods 文件夹中。
4. Open the extracted 'mbemodmerger.ps1' file in Powershell ISE or any text editor like Notepad++.
4. 在 Powershell ISE 或任何文本编辑器(如 Notepad++)中打开提取的“mbemodmerger.ps1”文件。
5. Right at the top of the file, edit the 2 paths to fit your setup. Note that the 'reloaded_dir' should point to your Reloaded's folder (where the exe is located in) and the 'tools_dir' should point directly to the exe file of the MVGLToolsCLI you downloaded earlier. Everything else is done automatically.# Paths
$reloaded_dir = "C:\Path\to\Reloaded-II" #set to Reloaded II FOLDER
$tools_dir    = "C:\Path\to\MVGLToolsCLI.exe" #set to MVGLToolsCLI EXECUTABLE FILE6. Run the 'mbemodmerger.ps1' (right-click -> Run with Powershell). The script should be re-run every time you have a new mod added in Reloaded or you enable/disable a mod.
5. 在文件顶部,编辑 2 个路径以适合您的设置。请注意,“reloaded_dir”应指向 Reloaded 的文件夹(exe 所在的位置),而“tools_dir”应直接指向您之前下载的 MVGLToolsCLI 的 exe 文件。其他一切都是自动完成的。 # Paths
$reloaded_dir = "C:\Path\to\Reloaded-II" #set to Reloaded II FOLDER
$tools_dir    = "C:\Path\to\MVGLToolsCLI.exe" #set to MVGLToolsCLI EXECUTABLE FILE 6. 运行 “mbemodmerger.ps1” (右键单击 -> 使用 Powershell 运行)。 每次在 Reloaded 中添加新模组或启用/禁用模组时,都应重新运行该脚本。

Then you are done! The merged mods will automatically be created in your Reloaded Mods folder ready to be enabled inside Reloaded.
那么你就完成了!合并后的模组将自动创建在您的 Reloaded Mods 文件夹中,准备在 Reloaded 中启用。


Some notes  一些注意事项
- The first time you run the script, it will take a while to dump the base game's files (5-10 minutes? depending on your hardware). This is a once-off dump. If you delete the 'basegame' folder that is created where 'mbemodmerger.ps1' is, you will need to dump the base game files again. Useful if theres a game update and you need to re-dump them after the update. After the first run, subsequent runs should finish in a matter of seconds.
- 第一次运行脚本时,转储基础游戏的文件需要一段时间(5-10 分钟?这是一个一次性的转储。如果删除在“mbemodmerger.ps1”所在位置创建的“basegame”文件夹,则需要再次转储基础游戏文件。如果有游戏更新并且您需要在更新后重新转储它们,则很有用。第一次运行后,后续运行应在几秒钟内完成。
- The script should be re-run every time you have a new mod added in Reloaded or you enable/disable a mod. Even if nothing changes, it will ensure there are no conflicts.
- 每次在 Reloaded 中添加新模组或启用/禁用模组时,都应重新运行该脚本。即使没有任何变化,它也会确保没有冲突。
- You need to enable the mods you want active inside Reloaded and order them the way you want. This is important as this is order the script will merge your mods. Example 1: if you want to merge Better Attachable Skills mod with the Better shop cheat version (which is currently incompatible), you should put the cheat version below the attachable skills mod. Example 2: If you want the shop to sell the attachable skills and also want the cheat version prices, you should put the Better Shop extended version first, then attachable skills mod second, then Better Shop cheat version third. All of them should be enabled at the same time while in the specific relevant order.
- 您需要在 Reloaded 中启用您想要激活的模组,并按照您想要的方式对它们进行排序。这很重要,因为这是脚本合并您的模组的顺序。示例 1:如果您想将 Better Attachable Skills modBetter shop 作弊版本(目前不兼容)合并 ,您应该将作弊版本放在可附加技能 mod 下方。示例 2:如果你想让商店出售可附加技能,同时也想要作弊版本价格,你应该先把 Better Shop 扩展版放在第一位,然后是可附加技能 mod,然后是 Better Shop 作弊版第三。所有这些都应按特定的相关顺序同时启用。
- The created MergedMods should be LAST in your Reloaded mod list. All the mods that had conflicts and were merged should also REMAIN ENABLED along with the MergedMods being enabled.
- 创建的 MergedMod 应该是 Reloaded mod 列表中的最后一个。所有有冲突并被合并的模组也应该与启用的 MergedMod 一起保持启用状态。


Some notes for modders  给模组制作者的一些注意事项
- The script currently merges only data and text (not messages) MBE's. This should cover 99% of use cases.
- 该脚本目前仅合并数据和文本(而不是消息)MBE。这应该涵盖 99% 的用例。
- You have two options with your mods: 1) include the full CSV files (full base file with your changes) in your MBE's (what we have been doing so far) which will allow users to easily use your mod with just a basic Reloaded II setup without having to use this script and merge their files, or 2) include only the changes you made in the CSV files in your MBE's (what we were doing with Cyber Sleuth mods) which has a size and speed benefit but with the downside of forcing your users to use this script or another way to merge mods. Both options should be fully supported with this script. For now, for the sake of simplifying the user experience, I think option 1 is the way to go.
- 您的模组有两种选择:1) 在您的 MBE 中包含完整的 CSV 文件(包含您更改的完整基本文件)(我们到目前为止一直在做的事情),这将允许用户只需基本的 Reloaded II 设置即可轻松使用您的模组,而无需使用此脚本并合并他们的文件,或 2) 仅包含您在 MBE 中的 CSV 文件中所做的更改(我们正在做的事情)Cyber Sleuth mods),它具有大小和速度优势,但缺点是迫使您的用户使用此脚本或其他方式来合并模组。此脚本应完全支持这两个选项。目前,为了简化用户体验,我认为选项 1 是可行的选择。


This is a BETA! Problems should be expected!
这是一个测试版!问题应该是可以预料的!
Post your issues and script logs in the comments so the script can be updated with fixes.
在评论中发布您的问题和脚本日志,以便可以使用修复程序更新脚本。

merger-61-1-0-2-1761465083.zip

299.54 KB, 下载次数: 10

评分

1

查看全部评分

回复

使用道具 举报

21

主题

2万

帖子

3万

积分

游戏天王

Rank: 11Rank: 11Rank: 11Rank: 11

贡献度
472
金元
286288
积分
30517
精华
0
注册时间
2018-10-5

元气女仆(永久)量子Doro3DM小黄鸡拉姆雷姆尼禄·克劳狄乌斯锦鲤

舒服的沙发
发表于 2025-10-28 14:46 | 只看该作者
谢谢分享!谢谢!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-18 17:42 , Processed in 0.031174 second(s), 20 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表