GithubHelp home page GithubHelp logo

dattaiwanguy / orangeclientdatadecryptiontool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dlbuhtig4096/orangetool

0.0 0.0 1.0 41 KB

License: GNU General Public License v3.0

Python 100.00%

orangeclientdatadecryptiontool's Introduction

Introduction

This is a python library for processing game archives from the OrangeClient.

Modules

arc.py

This module processes streaming assets.

  • procUnpack: Unpack the download data under the stream assets.

    • Argments:
      • str dst: The folder to decrypted assets.
      • str src: The folder to encrypted assets.
      • list<OrangeTool.NullLdr> ldr: List of loaders.
      • set<str> ls: Set of str of processed files.
    • Return value:
      • void: None.
  • procRepack: Repack the download data under the stream assets.

    • Argments:
      • str dst: The folder to decrypted assets.
      • str src: The folder to encrypted assets.
      • list<OrangeTool.NullLdr> ldr: List of loaders.
      • set<str> ls: Set of str of processed files.
    • Return value:
      • void: None.
  • procCrawl: Crawl download data from the online server.

    • Argments:
      • str dst: The folder to decrypted assets.
      • str src: The folder to encrypted assets.
      • list<OrangeTool.NullLdr> ldr: Unused.
      • set<str> ls: Unused.
    • Return value:
      • void: None.

net.py

This module processes raw payloads from the server responses.

  • procDecode: Decode the response body from the server.
    • Argments:
      • str dst: Destination folder.
      • str src: Source folder.
    • Return value:
      • void: None.

save.py

This module processes save files from offline game.

  • bfDecode: Decode the brief file to memory.

    • Argments:
      • dict data: Output data.
      • io.IOBase hwd: Input file handle.
    • Return value:
      • dict: The decoded file metadata from the file handle.
  • bfEncode: Encode the brief file from memory.

    • Argments:
      • dict data: Input data.
      • io.IOBase hwd: Output file handle.
    • Return value:
      • bytes: Encoded data.
  • sdDecode: Decode save data to memory.

    • Argments:
      • dict data: Output data.
      • io.IOBase hwd: Input file handle.
    • Return value:
      • dict: The decoded file metadata from the file handle.
  • sdEncode: Encode save data from memory.

    • Argments:
      • dict data: Input data.
      • io.IOBase hwd: Output file handle.
    • Return value:
      • bytes: Encoded data.
  • procDecode: Decode save directory on the file system.

    • Argments:
      • str brief: Name of the brief file, usually the smallest file under the save folder.
      • str rt: Path to the save folder.
    • Return value:
      • void: None.
  • procEncode: Encode save directory on the file system.

    • Argments:
      • str brief: Name of the brief file, usually the smallest file under the save folder.
      • str rt: Path to the save folder.
    • Return value:
      • void: None.

Credits

  • DarkDunterX for his detailed researches on file archives.
  • Blues for his save dump from the online game.

orangeclientdatadecryptiontool's People

Contributors

dattaiwanguy avatar

Forkers

derpymario

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.