更改

跳到导航 跳到搜索
添加38字节 、 2021年8月8日 (日) 06:10
第63行: 第63行:     
===Create example mod===
 
===Create example mod===
First let's get our basic content pack up and running:
+
首先让我们安装并运行我们的基本内容:
 
<ol>
 
<ol>
<li>Install [https://smapi.io/ SMAPI] and {{nexus mod|1915|Content Patcher}}.</li>
+
<li> 安装 [https://smapi.io/ SMAPI] {{nexus mod|1915|Content Patcher}}.</li>
<li>Unpack the game's <tt>Content</tt> folder so you can see what each asset contains (see [[Modding:Editing XNB files#Unpack game files]]).</li>
+
<li> 解压游戏的<tt>Content</tt> 文件夹,这样您就可以看到每个资产包含的内容(参见[[Modding:Editing XNB files#Unpack game files]] )。</li>
<li>[[Modding:Content packs#Create a content pack|Create a SMAPI content pack]].</li>
+
<li>[[ 修改:内容包# 创建内容包| 创建 SMAPI 内容包]] </li>
<li>Create a <tt>content.json</tt> file in the same folder with this content:
+
<li> 使用以下内容在同一文件夹中创建一个 <tt>content.json</tt> 文件:
 
{{#tag:syntaxhighlight|
 
{{#tag:syntaxhighlight|
 
{
 
{
第79行: 第79行:  
</ol>
 
</ol>
   −
If you did everything correctly so far, you should see the new mod under "Loaded X content packs" in the SMAPI console. (If not, review the above steps or [[Modding:Community|ask for help]].)
+
如果到目前为止你做的一切都正确,你应该在 SMAPI 控制台的“加载的 X 内容包”下看到新的 mod 。 (如果没有,请查看上述步骤或 [[Modding:Community| 寻求帮助]] 。)
    
===内容格式===
 
===内容格式===
40

个编辑

导航菜单