> For the complete documentation index, see [llms.txt](https://haojun0823.gitbook.io/randerion-civ-mod-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://haojun0823.gitbook.io/randerion-civ-mod-guide/yi-kai-fa-huan-jing-he-xiang-guan-ruan-jian.md).

# 一、开发环境和相关软件

## 《文明6》开发环境

开发《文明6》的Mod需要以下三样内容：

* 《文明6》游戏本体 (Sid Meier’s Civilization VI)
* 《文明6》游戏开发资源(Sid Meier’s Civilization VI Development Assets)
* 《文明6》游戏开发工具 (Sid Meier’s Civilization VI Development Tools)

同时，你的操作系统版本越新越好（推荐Windows 10 X64位，并且请确定系统版本为最新版）

首先：你需要有正版的游戏才能够得到最好的支持保证你的Mod是最新的：[单击我进入《文明6》Steam购买地址](https://store.steampowered.com/app/289070/Sid_Meiers_Civilization_VI/)，这部分内容大多数都是围绕着Steam进行的。

其次：以上内容分别需要安装在你的计算机中，你可以通过Steam来安装，在\[库]菜单中的\[游戏]标签下安装\[游戏本体]，在\[工具]标签下安装\[游戏开发资源]和\[游戏开发工具]。

{% hint style="info" %}
通过调用Steam的浏览器协议可以快速进行安装和运行，这里分别提供以上三个内容的快捷安装与运行地址：

* 《文明6》游戏本体 (Sid Meier’s Civilization VI)
  * Steam://install/289070/&#x20;
  * Steam://run/289070/
* 《文明6》游戏开发资源(Sid Meier’s Civilization VI Development Assets)
  * Steam://install/597260/
  * Steam://run/597260/
* 《文明6》游戏开发工具 (Sid Meier’s Civilization VI Development Tools)
  * Steam://install/404350/
  * Steam://run/404350/

以上内容在2019年4月6日编写，若后续更新官方修改了AppId我会继续进行更改。

将每个项目下面的协议地址复制到浏览器地址栏中跳转即可调用Steam执行相应动作。

带有Install的是安装,带有Run的是运行，开发资源无法运行因为只包含游戏数据。
{% endhint %}

![单击\[库\]会弹出菜单，再次单击\[工具\]标签，名称按照字母顺序排序，在\[S\]部分找到开发工具和开发资源](/files/-LPHoZ_TbBtN47WUkSnT)

当然，如果你忘记怎么安装游戏或仍然无法准备好以上内容，请使用搜索引擎来搜索该问题，本教程不做解释。

下载这些内容可能需要为硬盘留出足够的空间，这是本人通过资源管理器所统计出来的数据：

![本次统计时间于2018年10月21日，包括全部资料片和游戏数据包，不考虑今后的更新，一切以Steam信息为准](/files/-LPHp9qr-1jpCYpTGb01)

当您都安装完成之后您可以在\[桌面]或者是\[开始]菜单中找到\[Sid Meier’s Civilization VI Development Tools]，请您双击图标或在Steam库中打开此应用程序，如果工具还没有准备好，Steam会弹出一个相关提示。

**注意：打开IDE后或打开其中的ModBuddy一定会提示安装 Visual Studio 2013 Shell (Isolated)（除非你已经装了），这一组件的安装包已经集成在 Sid Meier's Civilization VI SDK目录下的ModBuddy\Redist中，不需要单独下载，您可自行安装，或等待他的提示。**

![界面为全英文，可能需要较长时间](/files/-LPHt1v2jp6J7ZuwN57P)

当您安装时，应该是非常容易的，如果遇到进度条暂停，并不意味着它没有工作，请耐心等待。

![《文明6》SDK主窗口](/files/-LPHtUb_LYP5s5SqGDus)

当您打开SDK Tools后，会弹出一个方形窗口，其中有三项内容：

1. ModBuddy，是制作Mod的主要工具
2. Steam Workshop Uploader，用于管理和上传您的Mod
3. FireTuner，用于在游戏内进行调试（本文章不做介绍）

我们大部分内容都是围绕着ModBuddy来介绍的，所以，请点击ModBuddy按钮，这将触发  Visual Studio 2013 Shell 的启动。

注意：当您单独启动 Visual Studio 2013 Shell 时，您可能不会进入到《文明6》的ModBuddy，请通过SDK Tools启动。

{% hint style="info" %}
其他相关软件如Photoshop,3dsmax,Blender,Sqlite Expert,XML Spy,Notepad++不做教程，只有步骤。

这些软件和Mod制作多少有关联，想进一步学习请访问其他网站进行。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://haojun0823.gitbook.io/randerion-civ-mod-guide/yi-kai-fa-huan-jing-he-xiang-guan-ruan-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
