From 3f43db26b7c1c3d90be7ab8b978646bc68f0baca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=E5=96=B5=7E?= <117198625+S-t-e-v-e-e@users.noreply.github.com> Date: Mon, 17 Feb 2025 14:21:11 +0800 Subject: [PATCH] Update README.md --- README.md | 59 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index f07bf80..0438f68 100644 --- a/README.md +++ b/README.md @@ -8,20 +8,49 @@ PhigrosLibrary是C/C++实现的Phigros云存档解析库。 > [!CAUTION] > **严禁大规模查分对鸽游服务器进行DDOS。** -## 更新资源 -1. [头像id](https://github.com/7aGiven/PhigrosLibrary/blob/main/avatar.txt) -2. [收藏品id](https://github.com/7aGiven/PhigrosLibrary/blob/main/collection.tsv) -3. 定数表和曲绘请使用项目[Phigros_Resource](https://github.com/7aGiven/Phigros_Resource/)从apk文件中提取 ->[!TIP] ->3个文件都在项目根目录下,查看修改时间判断版本。 - ## 目录 - [其他语言的实现](#其他语言实现查分) - [使用本项目的优秀项目](#使用本项目的优秀项目) - [PhigrosLibrary文档](./PhigrosLibrary.md) -- [Phigros曲目更新](#phigros-曲目更新) +- [资源更新方式](#更新资源) - ~~淘宝店~~ - [Phigros QQ群](#phigros-qq群) + +## 更新资源 +部分资源可直接在线下载,可能会有更新不及时的情况: +1. [头像id](https://github.com/7aGiven/PhigrosLibrary/blob/main/avatar.txt) +2. [收藏品id](https://github.com/7aGiven/PhigrosLibrary/blob/main/collection.tsv) +3. [定数表](https://github.com/7aGiven/Phigros_Resource/blob/info/difficulty.tsv) +4. [曲绘](https://github.com/7aGiven/Phigros_Resource/tree/illustration) +5. [模糊曲绘](https://github.com/7aGiven/Phigros_Resource/tree/illustrationBlur) +6. [低质量曲绘](https://github.com/7aGiven/Phigros_Resource/tree/illustrationLowRes) + +### 手动更新 +[Phigros_Resource](https://github.com/7aGiven/Phigros_Resource/)项目可从apk文件中提取上述文件 + +运行以下代码将会提取头像id`avatar.txt`,收藏品id`collection.tsv`,定数表`difficulty.tsv` 至 `运行目录/info`: + ```python + pip install UnityPy==1.10.18 + python gameInformation.py Phigros.apk + ``` + +运行以下代码将会提取不同清晰度的曲绘至 `运行目录/illustration` `运行目录/illustrationBlur` `运行目录/illustrationLowRes`: + ```python + pip install fsb5 + python resource.py Phigros.apk + ``` + +将生成的文件替换项目内的同名文件即可 + +> [!TIP] +> 如使用pip下载安装速度过慢请先运行 +>```python +>pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple + +>[!TIP] +>3个文件都在项目根目录下,可查看修改时间判断版本。 + + ## 其他语言实现查分 均为C语言的包装器 @@ -32,20 +61,6 @@ PhigrosLibrary是C/C++实现的Phigros云存档解析库。 云崽bot插件,可查分等非常多的有关Phigros的功能 UI精美,使用nodejs重构本项目的查分,使用本项目nodejs C++ addon的re8 -## Phigros 曲目更新 -[Phigros_Resource](https://github.com/7aGiven/Phigros_Resource/)可从apk文件中提取定数表 -运行以下代码将会在 `运行目录/info` 生成difficulty.tsv -```python -pip install UnityPy==1.10.18 -python gameInformation.py Phigros.apk -``` -将生成的difficulty.tsv替换项目内的difficulty.tsv即可 - -> [!TIP] -> 如使用pip下载安装速度过慢请先运行 ->```python ->pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple - ## Phigros QQ群 ### Phigros玩家 QQ群 加入 [282781491](https://qm.qq.com/q/Qszphpu3WE) 闲聊