Files
TeyvatGuide/docs/项目资源说明.md
2023-03-12 21:38:37 +08:00

68 lines
2.4 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-03-12
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-10 22:05:44`
>
> 更新于 `2023-03-12 21:38:23`
## 说明
本文档用于说明项目原始资源来源。
> 如下 JSON 均经过处理,并未直接作为项目 JSON 数据使用。
>
> 如下图像均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
## 侧边栏图标
除了成就图标是直接从成就系列那边拿来用的之外,其余图标都是在 https://genshin-impact.fandom.com/ 找的,因为太散了,所以就不一一列出来了。
## 成就相关
### 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.ts](src/interface/Achievements.ts)。
关于图像资源格式,涉及到的图像类型及格式如下:
- 原石图标:`source/material/原石.webp`256x25632位深度
- 成就系列图标:`source/achievementSeries/${series_id}.webp`256x25632位深度
- 成就系列对应名片图标:见 [名片相关](#名片相关)
## 名片相关
### JSON 数据
为个人通过爬取 HoneyHunterWorld 生成的 JSON 数据,格式参见 [NameCard.ts](src/interface/NameCard.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位深度