respectZ / blue-archive-spine

Blue Archive Spine Viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blue-archive-spine

For viewing Blue Archive Spines.

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

About

Blue Archive Spine Viewer


Languages

Language:JavaScript 96.1%Language:Python 3.8%Language:HTML 0.1%Language:CSS 0.0%