> For the complete documentation index, see [llms.txt](https://sebun1.gitbook.io/skins-zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sebun1.gitbook.io/skins-zh/schema/lu-jing.md).

# 路径

插件所用到的不同路径

{% hint style="info" %}
For those familiar with code / dotnet, you can checkout the [source](https://git.takina.io/gtfo/skins/-/blob/main/Skins/Data/ModData.cs?ref_type=heads) to see how each path is obtained exactly, thought on the Linux side of things it might not be what you expect because of Proton and Wine.
{% endhint %}

## 数据文件夹

这个文件夹包含全局皮肤文件夹，导出的内容，以及插件本身的用户数据。

因为这个路径因平台而异，以下是不同平台下的路径。

### 文件夹地点

#### Windows

```
%APPDATA%\io.takina.gtfo.Skins\
```

{% hint style="info" %}
这里的 `%APPDATA%` 是指 AppData 中的 Roaming 文件夹。
{% endhint %}

#### Linux

```
steamapps/compatdata/493520/pfx/drive_c/users/steamuser/AppData/Roaming/io.takina.gtfo.Skins/
```

{% hint style="info" %}
`steamapps` 是 Steam 在 Linux 下安装游戏的文件夹。\
`493520` 是 GTFO 的 AppID。\
因为在 Linux 上，GTFO 是通过 Proton (Wine) 运行的，所以 dotnet 的运行环境内觉得目前平台是 Windows，所以会从类 Windows 的一个虚拟文件系统内读取，映射后为以上的路径。
{% endhint %}

#### Mac

```
未知 (GTFO 不能在 Mac 上运行)
```

{% hint style="info" %}
虽然不能运行 GTFO，但是皮肤编辑器所用到的数据的地点是一下这个：

```
~/Library/Application Support/io.takina.gtfo.Skins/
```

{% endhint %}

### 文件夹内容

#### 文件夹

<table><thead><tr><th width="189.9998779296875">文件夹</th><th width="385.1666259765625">用途</th><th width="283">相对于数据文件夹的路径</th></tr></thead><tbody><tr><td>全局皮肤文件夹</td><td>存储全局的所有皮肤组文件夹</td><td><code>./skins/</code></td></tr><tr><td>Dump 文件夹</td><td>Debug dumps such as the Gear Tree dump</td><td><code>./dumps/</code></td></tr><tr><td>皮肤包文件夹</td><td>存储编辑器中创建/管理的皮肤包</td><td><code>./packages/</code></td></tr><tr><td>临时文件夹</td><td>安装 <code>.skinspkg</code> 时用到的临时文件夹</td><td><code>./__staging__/</code></td></tr></tbody></table>

#### 文件

<table><thead><tr><th width="219.1666259765625">文件</th><th width="353.5">用途</th><th width="283">相对于数据文件夹的路径</th></tr></thead><tbody><tr><td>Skins 配置文件</td><td>保存 Skins 插件的用户配置</td><td><code>./config.json</code></td></tr><tr><td>编辑器配置文件文件</td><td>保存皮肤组编辑器的设置</td><td><code>./editor_config.json</code></td></tr><tr><td>内部数据文件</td><td>用于编辑器的游戏内导出的数据</td><td><code>./internal_data.json</code></td></tr><tr><td>内部数据文件（装备材质）</td><td>游戏内不同装备的数据，用于编辑器</td><td><code>./internal_data_gear_dump.json</code></td></tr><tr><td>内部数据文件（网格）</td><td>游戏内不同网格的数据，用于编辑器</td><td><code>./internal_data_mesh_dump.json</code></td></tr></tbody></table>

## 配置内皮肤文件夹

所有在 Thunderstore 上下载的皮肤都将被放置在配置内的批复文件夹。每当游戏启动或者重新载入皮肤的时候，所有在这个文件夹内的皮肤将被移动到全局皮肤文件夹。当又相同皮肤组时，全局皮肤文件夹内的皮肤组文件夹将被配置内部的皮肤组取代（从而也做到皮肤新版本的更新）。

这个文件夹位于各个配置的

```
<BepInEx>/Assets/Skins/
```

{% hint style="info" %}
`<BepInEx>` 指在每个配置中的 BepInEx 文件夹
{% endhint %}
