Git Product home page Git Product logo

azur-paint's Introduction

Azur Lane Painting Reconstruction

Builds sprites from the jumbled Texture2Ds and Meshes available in the AssetBundles/painting folder. Also requires the AssetBundles/dependencies file. These are both located within Android/data/com.YoStarEN.AzurLane/files.

azur-paint diagram

This repo was inspired by:

My main2.py script's advantage is in its consideration of the m_LocalAABB property of meshes, which contain the m_Center and m_Extent values of sprite pieces relative to their bounding box.

Usage

main.py

python -m main -p ankeleiqi
python -m main -p ankeleiqi_jz1
python -m main -p ankeleiqi_jz2
python -m main -p ankeleiqi_rw
python -m main -p ankeleiqi_tx3
  • outputs to output folder
  • unlike the two scripts below, the -p input is the name of _tex files minus the _tex (instead of the assetbundle file)
  • process one layer, not an entire sprite
  • doesn't consider positioning and scaling info of sprite layers

main2.py

python -m main2 -p ankeleiqi
  • outputs to output2 folder

nobbyfix's script

python -m painting_reconstruct -d "input" -p ankeleiqi
  • outputs to root folder
  • must first replace lines 299-300 (the asset_dir.name != "AssetBundles" conditional) with pass

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.