Skip to content

Reconstruct images from the painting folder of Azur Lane.

Notifications You must be signed in to change notification settings

Krazete/azur-paint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Reconstruct images from the painting folder of Azur Lane.

Topics

Resources

Stars

Watchers

Forks

Languages