Giter Club home page Giter Club logo

Comments (2)

feilongproject avatar feilongproject commented on May 27, 2024

关于url拼接的话我这边已经做好了,现在的问题是在于客户端进行资源校验的时候,需要有多个已经被序列化后的校验文件与一些不知道有什么作用的diff文件(日服于此不同,只需要json+无内容的dat文件),这个文件在每次资源更新时会被刷新,并且内部还从libil2cpp.so引入了依赖,目前正在通过逆向来获取

from baassetsdownloader.

ShanshanHY avatar ShanshanHY commented on May 27, 2024

资源的版本检测应该可以通过./files/PUB/Patch/patch.version.map这个序列化文件读取,最新版本使用java反序列化后其中的基本内容为
{default=789, Catalog=789}
也有可能为如下内容:
{default=789, GameData=789, Preload=789, Catalog=789}
这里的版本789与issue最开始向Nexon的资源获取api发送data中的curr_patch_version一致,返回的信息也存在最新的789patch文件和一些版本比较小的diff patch文件
合理推测不同 diff 及所带的版本号 是用于已有资源的 较低版本 增量至 最新的版本 所需要的增量 (different) 文件
关于增量部分可能是依赖开源项目 xdelta(.xd3)
目前仅为推断,因为手头没有旧版数据用来测试逻辑

至于大佬提到的 客户端进行资源校验的时候,需要有多个已经被序列化后的校验文件与一些不知道有什么作用的diff文件 我这边目前并没有特别准备,只是在新安装游戏后把下载的内容全部移动过去,开始游戏后便直接开始校验(个人推测校验的信息会通过最新资源下载地址获取,每个文件都有对应MD5)

from baassetsdownloader.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.