更改

删除160字节 、 2021年4月13日 (二) 04:43
第9行: 第9行:  
XNB 模组通过替换游戏的数据文件来工作 (也就是 <tt>.xnb</tt> 后缀的文件)。例如,假设要更改 Abigail 的肖像;你可以替换 <tt>Content/Portraits/Abigail.xnb</tt> 来实现。(参阅 [[模组:编辑 XNB 文件|编辑 XNB 文件]])
 
XNB 模组通过替换游戏的数据文件来工作 (也就是 <tt>.xnb</tt> 后缀的文件)。例如,假设要更改 Abigail 的肖像;你可以替换 <tt>Content/Portraits/Abigail.xnb</tt> 来实现。(参阅 [[模组:编辑 XNB 文件|编辑 XNB 文件]])
   −
===Why are they discouraged?===
+
=== 为什么已弃用?===
XNB mods have a lot of limitations, often conflict with each other, usually break when the game updates, are hard to install and remove, etc.
+
XNB 模组有很多限制,通常会相互冲突,通常在游戏更新时会丢失更新,难以安装和删除等
   −
Consider only using [[Modding:Player Guide/Getting Started|SMAPI mods and content packs]]. These have several benefits over XNB mods:
+
考虑使用 [[ 模组:Player Guide/Getting Started|SMAPI 模组 和 内容包]] 。与 XNB 模组相比,它们具有以下优点:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! feature
+
! 功能
! XNB mods
+
! XNB 模组
! SMAPI mods
+
! SMAPI 模组
! SMAPI content packs
+
! SMAPI 内容包
 
|-
 
|-
| ease of installation
+
| 易于安装
| ✘ different for every mod
+
| ✘ 每个模组都不一样
|colspan="2"| ✓ drop into <tt>Mods</tt>
+
|colspan="2"| ✓ 拖入 <tt>Mods</tt>
 
|- 
 
|- 
| ease of uninstallation
+
| 易于卸载
| ✘ manually restore original files
+
| ✘ 需要原版的文件
|colspan="2"| ✓ remove from <tt>Mods</tt>
+
|colspan="2"| ✓ <tt>Mods</tt> 中移除
 
|-
 
|-
| update checks
+
| 检查更新
| ✘ none
+
| ✘
|colspan="2"| ✓ automatic alert in SMAPI console
+
|colspan="2"| ✓ SMAPI 控制台自动检测
 
|-
 
|-
| compatibility checks
+
| 兼容性检查
| ✘ none
+
| ✘
|colspan="2"| ✓ incompatible mods are disabled before they cause problem<br />✓ [[Modding:Mod compatibility|compatibility list]] is regularly updated with updates and workarounds
+
|colspan="2"| ✓ 不兼容的模组会在导致问题之前被禁用<br />✓ [[ 模组: 模组兼容性| 兼容性列表]] 定期更新解决方法
 
|-
 
|-
| mod compatibility
+
| 模组相容性
| ✘ each file can only be replaced once
+
| ✘ 每个文件只能替换一次
| ✓ almost universal
+
| ✓ 几乎无穷
| ✓ high
+
| ✓
 
|-
 
|-
| translation support
+
| 翻译支持
| ✘ difficult to translate
+
| ✘ 难以翻译
| ✓ built-in translation API
+
| ✓ 集成翻译接口
| ''(depends on the content pack)''
+
| '' (取决于内容包)''
 
|-
 
|-
| game compatibility
+
| 游戏兼容性
| ✘ broken by most game updates
+
| ✘ 游戏一更新就爆炸
|colspan="2"| ✓ SMAPI automatically rewrites many mods for compatibility<br />✓ open-source mods are updated quickly
+
|colspan="2"| ✓ SMAPI 自动重写许多模组以实现兼容性<br />✓ 开源的模组能够更快地更新
 
|}
 
|}
  
203

个编辑