respectZ / blue-archive-spine

Blue Archive Spine Viewer
71 stars 25 forks source link
animation archive blue blue-archive live2d spine

blue-archive-spine

For viewing Blue Archive Spines.

Moved to https://github.com/respectZ/blue-archive-viewer

Have a look at this branch for resourceless.

Requirements

Setup

Building UnityPack

setup.py build

Installing UnityPack

setup.py install

or

setup.py install --user

Downloading Models

py/get_models.py

Configuration

option = {
    # Skip resources that already downloaded.
    "skipExistingDownloadedResource": True,
    # Skip assets that already exists / extracted.
    "skipExistingAssets": True,
    # Force download even no version update.
    "forceVersion": False,
    # Download limit, mainly debug purpose since doesn't need to download all of them. Set to 0 to download all.
    "downloadLimit": 0,
    # Directory configuration
    "path": {
        # Download directory
        "download": "./assets/download/"
    }
}

Assets (Spine and Audio) located at ./assets

Generating JSON Data

data/audio.json

py/generate_audio.py

This will download VOC_JP audio instead of playing it directly (cors issue ?)

To play audio directly from BA's server, change py/generate_audio.py

_type = 1

to

_type = 0

data/models.json

py/generate_models.py

And you're done!

Just launch index.html

Used Libraries

Big Kudos for awesome UnityPack