说明的更新

This commit is contained in:
枫谷剑仙 2021-04-07 17:22:58 +08:00
parent f1c2675a00
commit f14392d39c
2 changed files with 15 additions and 14 deletions

View File

@ -87,15 +87,16 @@ Please refer to existing files.
> 本软件灵感来源于[PDC 智龙迷城伤害计算器](//play.google.com/store/apps/details?id=com.corombo13.paddamagecal)
> This software is inspired by [PDC パズドラダメージ計算](//play.google.com/store/apps/details?id=com.corombo13.paddamagecal)
© GungHo Online Entertainment Inc. All Right Reserved.
所有图片素材版权与怪物信息归属于GungHo在线娱乐有限公司。
パズル&ドラゴンズに関する画像及び情報等の権利はGungHo Online Entertainment Inc.に帰属します。
> © GungHo Online Entertainment Inc. All Right Reserved.
> 所有图片素材版权与怪物信息归属于GungHo在线娱乐有限公司。
> パズル&ドラゴンズに関する画像及び情報等の権利はGungHo Online Entertainment Inc.に帰属します。
> ### 智龙迷城官网 | Puzzle & Dragons Official Website
> * [パズル&ドラゴンズ](http://pad.gungho.jp)
> * [龍族拼圖](https://pad.gungho.jp/hktw/pad/)
> * [Puzzle & Dragons](https://www.puzzleanddragons.us/)
> * [퍼즐앤드래곤](https://pad.neocyon.com/W/)
## 智龙迷城官网 | Puzzle & Dragons Official Website
* [パズル&ドラゴンズ](http://pad.gungho.jp)
* [龍族拼圖](https://pad.gungho.jp/hktw/pad/)
* [Puzzle & Dragons](https://www.puzzleanddragons.us/)
* [퍼즐앤드래곤](https://pad.neocyon.com/W/)
> 卡片中文名、中文分类来自于[Puzzle & Dragons 戰友系統及資訊網](https://pad.skyozora.com/)
# 使用开源软件 | Open source software used
* [Puzzle-and-Dragons-Texture-Tool](//github.com/codywatts/Puzzle-and-Dragons-Texture-Tool) //Extract Images

View File

@ -1,7 +1,7 @@
如何获取怪物数据 | How to acquire monster data
===
* 目前的获取API为
* 目前的获取 API
The current acquisition API is
| 语言 | API |
@ -13,13 +13,13 @@ The current acquisition API is
* 但是有加密的参数,我不知道如何生成,所以我只能从游戏的下载过程截获。
But there are encrypted parameters that I don't know how to generate. So I intercepted from the game's download process.
* 使用[Fidder](https://www.telerik.com/download/fiddler),执行*HTTPS中间人攻击*从游戏内抓包获得怪物信息。
* 使用 [Fidder](https://www.telerik.com/download/fiddler),执行 *HTTPS 中间人攻击*从游戏内抓包获得怪物信息。
Use [Fidder](https://www.telerik.com/download/fiddler), do *HTTPS man-in-the-middle attack* to capture monster information from in-game capture.
* 安卓5可以直接在安卓系统里安装 *CER* 证书但安卓7开始系统不再信任用户证书。
Android 5 can install *CER* certificates directly in Android. Starting with Android 7, the system no longer trusts user certificates.
* 如果你的模拟器需要安卓7才能玩智龙迷城。以[夜神模拟器](https://www.bignox.com/)为例在安卓7里安装智龙迷城。
* 如果你的模拟器需要安卓 7 才能玩智龙迷城。以[夜神模拟器](https://www.bignox.com/)为例,在安卓 7 里安装智龙迷城。
If your simulator needs Android 7 to play PAD. Take the [Nox Player](https://www.bignox.com/) for example. Install PAD in Android 7.
1. 将 Fidder 根证书导出到桌面
@ -49,8 +49,8 @@ If your simulator needs Android 7 to play PAD. Take the [Nox Player](https://www
* 将安卓模拟器内的 WiFi 代理设置到 Fidder 上
Set up the WiFi proxy in the Android emulator to Fidder
* 打开 Fidder 的 HTTPS 解密,和 GZIP 解码
Turn on Fidder's HTTPS decrypt and GZIP decode
* 打开 Fidder 的 允许远程计算机连接、HTTPS 解密、流式传输,和 GZIP 解码
Turn on Fidder's "Allow remote computers to connet", "HTTPS decrypt", "Stream" and "Decode"
* 现在你运行模拟器内的游戏Fidder 就能够截获和解密智龙迷城的数据了。将返回的 JSON 数据保存为文件。
Now that you're running the game inside the simulator, Fidder will be able to intercept and decrypt the data from the PAD. Save the response JSON data as a file.
@ -120,5 +120,5 @@ Each language's information is extracted into a file, and monster names and tag
`CHT.json`与`CHS.json`的中文信息来源于战友网,见子项目 https://github.com/Mapaler/Download-pad.skyozora.com
运行`提取中文数据.bat`,将战友网页面内容抽出,再使用Win64版 [OpenCC](https://github.com/BYVoid/OpenCC) 来繁转简。
运行`提取中文数据.bat`,将战友网页面内容抽出,抽出过程使用 [OpenCC](https://github.com/BYVoid/OpenCC) 的 NodeJs 模块来繁转简。
然后再运行一遍 `提取整合怪物信息.bat` 把中文插进去。