feilongproject / baassetsdownloader Goto Github PK
View Code? Open in Web Editor NEWunOfficial BlueArchive Asset Downloader
License: GNU Affero General Public License v3.0
unOfficial BlueArchive Asset Downloader
License: GNU Affero General Public License v3.0
大佬好!昨天收到大佬在b站的回复后,本人尝试去解析了下ba国际服的资源文件下载流程,得到了一些拙见。因本人无缘java/kotlin,无法提出pr,所以把我的结论分享出来,希望能对大佬起到一定帮助
游戏启动后会向Nexon的资源获取api https://api-patch.nexon.com/patch/v1.1/version-check 发送post请求,请求body如下
{"market_game_id":"com.nexon.bluearchive","language":"zh","advertising_id":"553ab7e8-1501-4359-bc93-406f8d24e8c9","market_code":"playstore","country":"CN","sdk_version":"228","curr_build_version":"1.53.225706","curr_build_number":225706,"curr_patch_version":789}
经本人缩短尝试后,发现必要body内容为
{"market_game_id":"com.nexon.bluearchive","market_code":"playstore","curr_build_version":"1.53.225706","curr_build_number":225706}
该部分内的所有数据目前均可获取,且该请求无任何headers要求
请求发送后服务器会返回当前资源版本的完整patch包以及多个不同版本的升级包,其中的patch
-resource_path
对应的url为完整的数据文件列表,https://ba.dn.nexoncdn.co.kr/com.nexon.bluearchive/95f28e63ed93477c/resource-data.json 是当前版本所对应的url,其中包含了当前版本所需的所有资源文件
其中的resources
-resource_path
既是文件在服务器的路径 https://ba.dn.nexoncdn.co.kr/com.nexon.bluearchive/{数据列表目录(上文的95f28e63ed93477c)}/{resource_path}
,也是文件在安卓内的路径/storage/emulated/0/Android/data/com.nexon.bluearchive/files/PUB/Resource/{resource_path}
经本人验证,清除全部数据后仅还原该部分数据(无需还原其他任何东西),便可触发游戏验证文件并顺利通过
希望以上内容能对大佬产生帮助,完善程序!
顺便一提,国际服有的时候下载特别慢的罪魁祸首貌似是 ba.dn.nexoncdn.co.kr 这个域名解析到了一些奇奇怪怪的ip上,如果这部分能做出优选,下载速度会快很多(曾通过改hosts把速度从200k/s提到了10m/s)
在iqooneo5中,添加组件弹出设置界面时,出现保存设置直接闪退的情况
资源下载后进入游戏被自动删除然后在游戏内重新下载
新安装实例时会出现的问题,安装安装包后通过安装器现在资源再进入游戏资源会被游戏删除
无需
No response
软件只获取了data文件夹的权限,推测是没有获取obb文件夹的权限导致的
点击下载并安装应用
在iqooneo5中,添加组件弹出设置界面时,出现保存设置直接闪退的情况
将组件拖动到桌面后进入设置界面,选择服务器后点击保存直接闪退
No response
https://github.com/feilongproject/BAAssetsDownloader/issues/2#issuecomment-1705816353
偶现组件背景不显示,不知道什么原因。因为是偶现,比较难复现获得log
https://github.com/feilongproject/BAAssetsDownloader/issues/2#issuecomment-1705846789
现在已知的情况是息屏一段时间再亮屏,组件背景就不显示,不知道是不是透明度有问题还是什么。这种情况导致模糊度调节也出问题,一旦从无模糊调到其他模糊度,就调不回来了
Originally posted by @MengNianxiaoyao in #2 (comment)
资源下载后进入游戏被自动删除然后在游戏内重新下载
新安装实例时会出现的问题,安装安装包后通过安装器现在资源再进入游戏资源会被游戏删除
无需
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.