你需要在在电脑上安装一个能运行智龙迷城的安卓模拟器,比如 夜神模拟器、逍遥安卓、蓝叠模拟器。后面以夜神模拟器国际版进行讲解。(与夜神没有任何赞助关系。国际版自带谷歌套装,也能改中文)
You'll need to install an Android simulator on your PC that runs P&D, such as NoxPlayer, MEmu Play, BlueStacks. I'll use NoxPlayer later to explain. (There is no sponsorship relationship with NOX.)
自行安装智龙迷城游戏并登录你的游戏账号。
Install P&D and log in to your game account.
如果闪退,打开多开器,添加一个能运行智龙迷城的版本,目前有 安卓7 和 安卓7-64位。
If P&D can't be opened, run the Multi-Player Manager and add a version that runs P&D, currently available in Android 7 and Android 7-64 bits.
请自行从网上搜索并安装 HttpCanary(已被谷歌商店下架)。
Please search the web and install HttpCanary yourself (It's blocked by google store).
打开模拟器的 Root,并重启。
Open the simulator's root and restart.
运行 HttpCanary,按照提示配置本地 VPN 和导入证书(系统可能要求设置密码)。
Run HttpCanary, follow the prompts to configure the local VPN and import certificates (The system may require a password).

授予 Root 权限,将证书移至系统目录。安卓 7 以上必须这样做才能嗅探到 https 的流量。
Grant Root permission to move the certificates to the system directory. Android 7 or above must do this to sniff out https traffic.
可以根据需要关闭 Root 了(日服客户端需要关闭 Root 才能运行)。
Root can be closed as needed. (The Japanese version client needs to close Root operation.)
HttpCanary 菜单内添加智龙迷城为目标应用,可减少其他流量的干扰。
Add P&D to the target app in HttpCanary menu, to reduce interference with other traffic.
回到首页,点击主按钮开始嗅探流量。
Back on the home page, click the main button to start sniffing traffic.
运行智龙迷城游戏,直到登陆成功。
Run the P&D game until log in successfully.
返回 HttpCanary,找到padsv.gungho.jp/api.php?action=get_player_data网络请求。(一般紧跟api.php?action=login)
Go back to HttpCanary to find the network request padsv.gungho.jp/api.php?action=get_player_data. (Generally followed by api.php?action=login)
进入该条目,保存响应体。
Go to the entry and Save Response Body.
使用文件管理器找到手机储存/HttpCanary/download/[你保存的名称]/response_body.html,这个就是你的游戏数据。
Use the file manager to find [Phone Storage]/HttpCanary/download/[The name you saved]/response_body.html, and this is your game data.
打开模拟器的电脑共享目录。
Open the simulator's PC shared folder.
将response_body.html复制到手机储存/Download文件夹,即可在电脑上看到文件。
Copy response_body.html to [Phone Storage]/Download folder to see files on your PC.
到我的箱子功能里打开即可。
Open my box function and open it.
每次获取新的数据,重复 启动 HttpCanary > 登录游戏 > 保存响应体 的步骤。
Each time you get new data, repeat the steps to Start httpCanary > Log in to the game > Save Response Body.
如果希望不要每次都重新使用 SNS 登录游戏,可以查看如何多设备登录。
If you want to not reuse the SNS login game every time, you can see How to login with multiple devices.
在电脑上安装Fiddler Classic
待写 To be written
//自动储存智龙迷城数据
var PADDataPath = "D:\\PAD_Data\\";
if (oSession.HostnameIs("api-adr.padsv.gungho.jp") //日服域名
|| oSession.HostnameIs("api-ht-adr.padsv.gungho.jp") //港台服域名
|| oSession.HostnameIs("api-na-adrv2.padsv.gungho.jp") //美服域名
|| oSession.HostnameIs("api-kr-adrv2.padsv.gungho.jp") //韩服域名
) {
var serverName;
switch (oSession.hostname)
{
case "api-adr.padsv.gungho.jp": //日服域名
case "api-ht-adr.padsv.gungho.jp": //港台服域名
serverName = "ja"
break;
case "api-na-adrv2.padsv.gungho.jp": //美服域名
serverName = "en"
break;
case "api-kr-adrv2.padsv.gungho.jp": //韩服域名
serverName = "ko"
break;
}
if (oSession.uriContains("action=get_player_data")) { //自动保存怪物数据
oSession.SaveResponseBody(PADDataPath + serverName + "-player-data-" + new Date().getTime() + ".json");
}
}
导出data048.bin
待写 To be written
请参考HttpCanary方法。
Refer to the HttpCanary method.
我没有苹果设备,无法研究iOS。可以临时 SNS 跨平台到安卓模拟器登录,进行数据导出。
I don't have an Apple device so I can't study iOS. You can temporarily across platforms login to Android Simulator for data export.