Skip to content

Commit

Permalink
更新降噪测试相关内容
Browse files Browse the repository at this point in the history
  • Loading branch information
Nwflower committed Nov 25, 2023
0 parents commit 4836690
Show file tree
Hide file tree
Showing 30 changed files with 785 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/update_index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import json
# import hashlib
from pathlib import Path

main_path = Path(__file__).parent.parent # 项目根目录

exclude_file = ['LICENSE', 'README.md'] # 排除的文件列表
exclude_dir = ['index'] # 排除的文件夹列表


json_file = {}

for dir in main_path.iterdir():
if dir.is_file() or dir.name.startswith('.') or dir.name in exclude_dir:
# 不是文件夹、或文件夹名以.开头、或在排除列表中的文件夹跳过
continue
else:
json_file[dir.name] = {}
for file in dir.rglob('*'):
if not file.is_file() or any(p in exclude_dir or p.name.startswith('.') for p in file.parents):
# 不是文件,或者父目录中有以.开头或在排除列表的中文件夹跳过
continue
# hash值,暂不用
# json_file[dir.name][file.stem] = {
# 'path': str(file).replace(str(dir.parent), '').replace('\\', '/'),
# 'hash': hashlib.md5(file.read_bytes()).hexdigest()
# }
json_file[dir.name][file.stem] = str(file).replace(str(dir.parent), '').replace('\\', '/')

# 保存文件
with open(main_path / 'path.json', 'w', encoding='utf-8') as f:
json.dump(json_file, f, ensure_ascii=False, indent=2)
31 changes: 31 additions & 0 deletions .github/workflows/update_index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update File Index

on:
push:
branches: [ master ]

jobs:
update:
name: Update File Index
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@master

- name: Setup python
uses: actions/setup-python@v1
with:
python-version: 3.9

- name: Run python script
run: |
cd .github
python update_index.py
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: github-actions[bot]
author_email: github-actions[bot]@users.noreply.github.com
message: ':wrench: 自动更新文件索引'
add: |
'path.json'
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Zenless Zone Zero-Atlas
Zenless Zone Zero-Atlas是一个主要由[`米游社@听语惊花`](https://bbs.mihoyo.com/ys/accountCenter/postList?id=289918413)制作的绝区零(ZZZ)游戏图鉴。

## 目录结构
- [x] 音擎图鉴(更新至0.2)
- [ ] 角色图鉴(等待制作)
- [ ] 角色攻略(等待排期)
- [ ] 唱片图鉴(等待排期)

注意:请使用根目录下的path.json来获取准确的完整目录。

### 如何部署

本仓库仅为图片仓库,并非代码仓库。

您可以通过以下项目直接使用本仓库的资源。

| Bot(plugin) | language | link |
| ------------------- | -------- | ------------------------------------------ |
| Yunzai-Bot(Atlas) | Node.js | [Atlas](https://github.com/Nwflower/atlas) |

以上项目仅为目前已知的引用本仓库的部分仓库,不代表本仓库认同、支持他们的立场或观点,上网冲浪,谨防受骗、上当。

请注意,本仓库的开源协议为AGPL-3.0,使用本仓库时,请开源您的项目源码。

## 支持

如果你支持本项目,可以给个star或者[爱发电](https://afdian.net/a/Nwflower),你的支持不会获得额外内容,但会提高本项目的更新积极性

本图鉴目前仅供学习交流使用,素材版权为米哈游所有。

您不应以任何形式使用本仓库进行盈利性活动,否则,我将立即停止所有图鉴制作并关闭图鉴的开源状态,不再提供更新支持。
29 changes: 29 additions & 0 deletions path.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"音擎": {
"「月相」-上弦": "/音擎/「月相」-上弦.png",
"「残响」-III型": "/音擎/「残响」-III型.png",
"「残响」-II型": "/音擎/「残响」-II型.png",
"「残响」-I型": "/音擎/「残响」-I型.png",
"「湍流」-斧型": "/音擎/「湍流」-斧型.png",
"「湍流」-矢型": "/音擎/「湍流」-矢型.png",
"「湍流」-铳型": "/音擎/「湍流」-铳型.png",
"「电磁暴」-叁式": "/音擎/「电磁暴」-叁式.png",
"「电磁暴」-壹式": "/音擎/「电磁暴」-壹式.png",
"「电磁暴」-贰式": "/音擎/「电磁暴」-贰式.png",
"人为刀俎": "/音擎/人为刀俎.png",
"仿制星徽引擎": "/音擎/仿制星徽引擎.png",
"加农转子": "/音擎/加农转子.png",
"家政员": "/音擎/家政员.png",
"德玛拉电池II型": "/音擎/德玛拉电池II型.png",
"拘缚者": "/音擎/拘缚者.png",
"旋钻机-赤轴": "/音擎/旋钻机-赤轴.png",
"星徽引擎": "/音擎/星徽引擎.png",
"比格气缸": "/音擎/比格气缸.png",
"深海访客": "/音擎/深海访客.png",
"燃狱齿轮": "/音擎/燃狱齿轮.png",
"聚宝箱": "/音擎/聚宝箱.png",
"触电唇彩": "/音擎/触电唇彩.png",
"贵重骨核": "/音擎/贵重骨核.png",
"钢铁肉垫": "/音擎/钢铁肉垫.png"
}
}
Binary file added 音擎/「月相」-上弦.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「残响」-III型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「残响」-II型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「残响」-I型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「湍流」-斧型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「湍流」-矢型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「湍流」-铳型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「电磁暴」-叁式.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「电磁暴」-壹式.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/「电磁暴」-贰式.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/人为刀俎.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/仿制星徽引擎.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/加农转子.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/家政员.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/德玛拉电池II型.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/拘缚者.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/旋钻机-赤轴.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/星徽引擎.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/比格气缸.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/深海访客.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/燃狱齿轮.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/聚宝箱.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/触电唇彩.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/贵重骨核.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 音擎/钢铁肉垫.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4836690

Please sign in to comment.