mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-06 08:32:51 +08:00
100 lines
3.4 KiB
Markdown
100 lines
3.4 KiB
Markdown
---
|
||
Author: 目棃
|
||
Date: 2023-03-10
|
||
Description: 项目资源说明
|
||
Update: 2023-09-08
|
||
---
|
||
|
||
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-10 22:05:44`
|
||
>
|
||
> 更新于 `2023-09-08 09:44:56`
|
||
|
||
## 说明
|
||
|
||
本文档用于说明项目原始资源来源。
|
||
|
||
以下提及到的 JSON 数据均经过处理,并未直接作为项目 JSON 数据使用。
|
||
|
||
以下提及到的图像资源,除个人绘制 SVG 外,均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
|
||
|
||
相关仓库:
|
||
|
||
- [TGAssistant](https://github.com/BTMuli/TGAssistant):项目下游仓库,用于处理项目数据。
|
||
- [Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata):胡桃元数据仓库,项目大部分数据来源于此。
|
||
- [Snap.Static](https://github.com/DGP-Studio/Snap.Static):胡桃静态资源仓库,项目部分图像资源来源于此。
|
||
|
||
## 字体
|
||
|
||
[个人非商用授权](https://www.hanyi.com.cn/faq-doc-1) - 北京汉仪创新科技股份有限公司 版权所有
|
||
|
||
- 汉仪文黑-85W
|
||
- 汉仪文黑-55W
|
||
|
||
[SIL Open Font License 1.1](https://github.com/JetBrains/JetBrainsMono/blob/master/OFL.txt) - 开源字体,可用于商业用途
|
||
|
||
- JetBrains Mono
|
||
- JetBrains Mono Bold
|
||
|
||
## 侧边栏图标
|
||
|
||
- 顶部收缩按钮:`mdi:chevron-right` `mdi:chevron-left`
|
||
- 首页:[Fandom](https://genshin-impact.fandom.com/wiki/Genshin_Impact_Wiki)
|
||
- 公告:个人绘制 SVG
|
||
- 咨讯:[米游社](https://www.miyoushe.com)
|
||
- 成就:个人绘制 SVG
|
||
- 原神战绩:Hoyolab
|
||
- 我的角色:Hoyolab
|
||
- 深渊记录:Hoyolab
|
||
- 祈愿记录:Hoyolab
|
||
- 图鉴:Hoyolab,其子目录图标同样来源于 Hoyolab
|
||
- 模式切换:`mdi-weather-night` `mdi-weather-sunny`
|
||
- 设置:个人绘制 SVG
|
||
|
||
## 加载图标
|
||
|
||
来自 [米游社](https://www.miyoushe.com/ys/article/4957262),经过处理后转换为 webp 格式。
|
||
|
||
## 成就相关
|
||
|
||
参见 [TGAssistant](https://github.com/BTMuli/TGAssistant) 相关处理。
|
||
|
||
## 名片相关
|
||
|
||
参见 [TGAssistant](https://github.com/BTMuli/TGAssistant) 相关处理。
|
||
|
||
## 素材日历相关
|
||
|
||
参见 [TGAssistant](https://github.com/BTMuli/TGAssistant) 相关处理。
|
||
|
||
## Wiki
|
||
|
||
### JSON 数据
|
||
|
||
> 转换格式略。
|
||
|
||
- 角色图鉴:[Avatar|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Genshin/CHS/Avatar.json)
|
||
- 武器图鉴:[Weapon|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Genshin/CHS/Weapon.json)
|
||
- 卡牌图鉴:
|
||
- [卡牌图鉴|米游社观测枢](https://bbs.mihoyo.com/ys/obc/channel/map/231)
|
||
- [GCG|Ambr.top](https://ambr.top/chs/gcg)
|
||
|
||
### 图像资源
|
||
|
||
- 角色图鉴:[Avatar|Ambr.top](https://ambr.top/chs/archive/avatar)
|
||
- 武器图鉴:[Weapon|Ambr.top](https://ambr.top/chs/archive/weapon)
|
||
- 卡牌图鉴:
|
||
- [卡牌图鉴|米游社观测枢](https://bbs.mihoyo.com/ys/obc/channel/map/231)
|
||
- [GCG|Ambr.top](https://ambr.top/chs/gcg)
|
||
|
||
### 格式说明
|
||
|
||
> bgType 为 `normal` 或 `special`。
|
||
>
|
||
> iconType 为 `normal` 或 `special`,目前只有 `normal`。
|
||
|
||
- 角色图鉴:`WIKI/character/icon/${avatarId}.webp`,256x256,32 位深度
|
||
- 武器图鉴:`WIKI/weapon/icon/${weaponId}.webp`,256x256,32 位深度
|
||
- 卡牌图鉴:
|
||
- 卡牌背景:`WIKI/GCG/${iconType}/${cardName}.webp`,420x720,32 位深度
|
||
- 卡牌图标:`WIKI/GCG/bg.${bgType}.webp`,420x720,32 位深度
|