https://github.com/daidr/ark_decoder
使用nodejs的sharp库反混淆明日方舟立绘
https://github.com/daidr/ark_decoder
arknights nodejs
Last synced: 11 months ago
JSON representation
使用nodejs的sharp库反混淆明日方舟立绘
- Host: GitHub
- URL: https://github.com/daidr/ark_decoder
- Owner: daidr
- Created: 2020-01-21T01:39:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T02:18:30.000Z (over 6 years ago)
- Last Synced: 2025-07-15T13:32:41.474Z (11 months ago)
- Topics: arknights, nodejs
- Language: JavaScript
- Size: 4.88 KB
- Stars: 23
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 直接下载
提供已经反混淆的全套立绘图片,前往[release](https://github.com/daidr/ark_decoder/releases "Release")下载(可以忽略下面步骤)
## 环境要求
1. nodejs运行环境
2. 磁盘剩余容量 > 1.5G
## 开始使用
1. 克隆仓库 `git clone https://github.com/daidr/ark_decoder.git`
2. 初始化立绘子模块 `git submodule init`
3. 更新立绘子模块 `git submodule update`
4. 执行 `yarn install`(推荐) 或 `npm i` (取决于你所使用的包管理器)
5. 执行 `yarn all`(推荐) 或 `npm run all` (取决于你所使用的包管理器)
## 更新立绘
立绘与代码储存在不同的仓库中,立绘更新后,你可以通过 `git submodule update` 将最新立绘同步到代码仓库中,然后运行 `yarn all` 进行反混淆
## 分步执行
> 注意:在执行decode步骤前,需要保证Backup步骤至少被执行过一次。
### 使用 yarn 作为包管理器时
- `yarn all` 执行下面的全部步骤
- `yarn backup` 用于将原始立绘迁移至Texture_After目录下
- `yarn decode` 用于将Texture_After目录下的立绘反混淆,并保存到Texture_Final目录
### 使用 npm 作为包管理器时
- `npm run all` 执行下面的全部步骤
- `npm run backup` 用于将原始立绘迁移至Texture_After目录下
- `npm run decode` 用于将Texture_After目录下的立绘反混淆,并保存到Texture_Final目录
-----------
[戴兜的小屋](http://im.daidr.me)
最后更新时间: 2020.01.21