Files
TeyvatGuide/docs/项目资源说明.md
2023-04-12 19:28:21 +08:00

102 lines
3.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
Author: 目棃
Date: 2023-03-10
Description: 项目资源说明
Update: 2023-04-12
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-10 22:05:44`
>
> 更新于 `2023-04-12 19:18:31`
## 说明
本文档用于说明项目原始资源来源。
> 如下 JSON 均经过处理,并未直接作为项目 JSON 数据使用。
>
> 如下图像均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
## 侧边栏图标
除了主界面的派蒙图标是在 https://genshin-impact.fandom.com/ 找的,以及最上面两个简单的 mdi 图标,其余图标均为个人绘制的 SVG 图标。
## 加载图标
来自 [米游社](https://www.miyoushe.com/ys/article/4957262),经过处理后转换为 webp 格式。
## 成就相关
### JSON 数据
- [Snap.Metadata|Achievement](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/Achievement.json)
- [Snap.Metadata|AchievementGoal](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/AchievementGoal.json)
- [Paimon.Moe|achievement](https://github.com/MadeBaruna/paimon-moe/blob/main/src/data/achievement/zh.json)
### 图像资源
- [36691244|米游社](https://www.miyoushe.com/ys/article/36691244)
- [成就系统|原神WIKI](https://wiki.biligame.com/ys/%E6%88%90%E5%B0%B1%E7%B3%BB%E7%BB%9F)
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=EN)
### 格式说明
关于 JSON 数据格式,参见 [Achievements.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Achievement.d.ts)。
关于图像资源格式,涉及到的图像类型及格式如下:
- 原石图标:`source/material/原石.webp`256x25632位深度
- 成就系列图标:`source/achievementSeries/${series_id}.webp`256x25632位深度
- 成就系列对应名片图标:见 [名片相关](#名片相关)
## 名片相关
### JSON 数据
为个人通过爬取 HoneyHunterWorld 生成的 JSON 数据,格式参见 [NameCard.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/NameCard.d.ts)。
参考:
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=CHS)
- [原神WIKI|名片](https://wiki.biligame.com/ys/%E5%90%8D%E7%89%87)
### 图像资源
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=EN)
### 格式说明
- 名片图标:`source/nameCard/icon/${card.name}.webp`250x16532位深度
- 名片bg`source/nameCard/bg/${card.name}.webp`880x14032位深度
- 名片profile`source/nameCard/profile/${card.name}.webp`840x40032位深度
## GCG 相关
### JSON 数据
为米游社观测枢 API 获取的 JSON 数据,格式参见 [GCG.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/interface/GCG.ts)。
### 图像资源
- [卡牌图鉴|米游社观测枢](https://bbs.mihoyo.com/ys/obc/channel/map/231)
### 格式说明
- 卡牌图标:`source/gcg/card/${cardType}/${cardName}.webp`420x72032位深度
## 素材日历相关
### JSON 数据
为米游社观测枢 API 获取的 JSON 数据,格式参见 [Calendar.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Calendar.d.ts)。
### 图像资源
- [素材日历|米游社观测枢](https://bbs.mihoyo.com/ys/obc/channel/map/231)
### 格式说明
> `sourceType` 有 `character`、`weapon`、`material` 三种类型,`sourceName` 为对应的名称。
- 素材图标:`source/calendar/${sourceType}/${sourceName}.webp`128x12832位深度