mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-10 08:58:15 +08:00
140 lines
5.4 KiB
Markdown
140 lines
5.4 KiB
Markdown
---
|
||
Author: 目棃
|
||
Date: 2023-03-10
|
||
Description: 项目资源说明
|
||
Update: 2023-05-19
|
||
---
|
||
|
||
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-10 22:05:44`
|
||
>
|
||
> 更新于 `2023-05-19 23:02:49`
|
||
|
||
## 说明
|
||
|
||
本文档用于说明项目原始资源来源。
|
||
|
||
相关仓库:[TGAssistant](https://github.com/BTMuli/TGAssistant)。
|
||
|
||
> 如下 JSON 均经过处理,并未直接作为项目 JSON 数据使用。
|
||
>
|
||
> 如下图像均经过 Sharp 处理转换为 webp 格式,并未直接作为项目图像资源使用。
|
||
|
||
## 侧边栏图标
|
||
|
||
- 顶部收缩按钮:`mdi:chevron-right` `mdi:chevron-left`
|
||
- 首页:[Fandom](https://genshin-impact.fandom.com/wiki/Genshin_Impact_Wiki)
|
||
- 公告:个人绘制 SVG
|
||
- 成就:个人绘制 SVG
|
||
- 米游社:[米游社](https://www.miyoushe.com),其子目录同样来源于米游社
|
||
- 图鉴:[原神「盛典与慧业」内容专题页](https://webstatic.mihoyo.com/ys/event/e20210601blue_post/vert.html?page_sn=b3a3f395f09e4f8d&bbs_presentation_style=fullscreen&utm_source=bbs&utm_medium=ys&utm_campaign=pgc)
|
||
- GCG:个人绘制 SVG
|
||
- 角色图鉴:[原神「盛典与慧业」内容专题页](https://webstatic.mihoyo.com/ys/event/e20210601blue_post/vert.html?page_sn=b3a3f395f09e4f8d&bbs_presentation_style=fullscreen&utm_source=bbs&utm_medium=ys&utm_campaign=pgc)
|
||
- 武器图鉴:[原神「盛典与慧业」内容专题页](https://webstatic.mihoyo.com/ys/event/e20210601blue_post/vert.html?page_sn=b3a3f395f09e4f8d&bbs_presentation_style=fullscreen&utm_source=bbs&utm_medium=ys&utm_campaign=pgc)
|
||
- 模式切换:`mdi-weather-night` `mdi-weather-sunny`
|
||
- 设置:个人绘制 SVG
|
||
|
||
## 加载图标
|
||
|
||
来自 [米游社](https://www.miyoushe.com/ys/article/4957262),经过处理后转换为 webp 格式。
|
||
|
||
## 成就相关
|
||
|
||
### JSON 数据
|
||
|
||
- [Achievement|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/Achievement.json)
|
||
- [AchievementGoal|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/AchievementGoal.json)
|
||
- [achievement|Paimon.Moe](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`,256x256,32位深度
|
||
- 成就系列图标:`source/achievementSeries/${series_id}.webp`,256x256,32位深度
|
||
- 成就系列对应名片图标:见 [名片相关](#名片相关)
|
||
|
||
## 名片相关
|
||
|
||
### 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`,250x165,32位深度
|
||
- 名片bg:`source/nameCard/bg/${card.name}.webp`,880x140,32位深度
|
||
- 名片profile:`source/nameCard/profile/${card.name}.webp`,840x400,32位深度
|
||
|
||
### 格式说明
|
||
|
||
- 卡牌图标:`source/gcg/card/${cardType}/${cardName}.webp`,420x720,32位深度
|
||
|
||
## 素材日历相关
|
||
|
||
### JSON 数据
|
||
|
||
为米游社观测枢 API 获取的 JSON 数据,格式参见 [Calendar.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Calendar.d.ts)。
|
||
|
||
### 图像资源
|
||
|
||
- [HoneyHunterWorld](https://genshin.honeyhunterworld.com/?lang=EN)
|
||
- [原神](https://ys.mihoyo.com/main/map)
|
||
|
||
### 格式说明
|
||
|
||
> 角色&武器资源见 [Wiki](#wiki)。
|
||
|
||
- 素材图标:`source/calendar/material/${sourceName}.webp`,128x128,32位深度
|
||
- 星级图标:`icon/star/${star}.webp`,133x29,32位深度
|
||
- 地区图标: `icon/nation/${nation}.webp`,256x256,32位深度
|
||
|
||
## Wiki
|
||
|
||
### JSON 数据
|
||
|
||
> 转换格式略。
|
||
|
||
- 角色图鉴:[Avatar|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/CHS/Avatar.json)
|
||
- 武器图鉴:[Weapon|Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata/blob/main/Output/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位深度
|
||
|