GithubHelp home page GithubHelp logo

data-analysis-dev's Introduction

A project can collect and handle data

binary files will be grouped by version, others can be diffed with git

Disclaimer

The content related to this repo may involve the actual interests of certain companies. This repo is only used for mobile application security research and learning. Do not use this tool for commercial or illegal purposes, or publish anything related to 非公開情報 in a public place (such as SNS). If you are willing to continue reading, please promise to take full responsibility for your actions.

Usage

IMPORTANT: create a branch before you start to use, if you want to see diff with git

init

  1. run generate_base_files.py to create database and example file

collect data

  1. change version_hash (if you don't know how to get version hash, use VNET to catch it)
  2. run collect_data.py, and if the process suspend frequently, change proxy settings in options.json

handle data

scripts handling data don't depend on database

handle bundle data

  1. run handle_bundle_files.py

The handle_bundle_files.py script still has many issues, but since I'm not particularly interested in AB assets, I won't make any further adjustments to this script in the short term (and maybe never). If anyone is interested in this and has any suggestions, or would like to contribute code, please feel free to do so. If you want data immediately, use AssetRipper(recommend, still under maintenance) or AssetStudioGUI(archived) or UtinyRipper(seems to be out of maintenance) to get what you want.

handle table data

  1. create and overwrite ./dump.cs (if you don't know how to get dump.cs, see this repo il2CppDumper)
  2. run generate_struct.py
  3. run handle_table_files.py
  4. (just need to do once) remove line 67 in file .gitignore ('output/table_files/') to let git tracks table data
  5. commit all changes then add version_hash and update time to commit message to show differences between different versions

Some other things to be aware of:

  • MANY codes are borrowed from K0lb3's repo, really thanks to him.
  • IMPORTANT WARNING! There are significant differences in how different versions of flatc.exe handle field names and other logic. Directly switching to a different version may lead to crashes. This project utilizes version v23.3.3.
  • Due to the logic of field name conversion in the new version of flatc.exe, I had to adapt some fields by performing conversions. As a result, certain field names may appear somewhat unusual. This issue is not considered critical, and I may or may not address it in a later fix.

handle binary data

need to run handle_table_data.py first to enable character name translator

  1. run handle_binary_files.py, and it will automatically create symlink folders.

Libs

data-analysis-dev's People

Contributors

hatanokawa avatar

Watchers

 avatar

Forkers

wzhzzmzzy

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.