Giter Site home page Giter Site logo

yuuki-nya / blue-archive-spine-production Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lwd-temp/blue-archive-spine-production

0.0 1.0 0.0 1.71 GB

Blue Archive Spine Viewer for Global & Japan versions, Source: https://github.com/lwd-temp/blue-archive-spine/generate

JavaScript 98.03% Python 0.99% CSS 0.03% HTML 0.95%

blue-archive-spine-production's Introduction

blue-archive-spine

Based on respectZ/blue-archive-spine

Quick Start

  • Use this template
  • Create jp and global branch from resourceless
  • Enable GitHub Actions, manually trigger Update-Global and Update-JP at any branch (they will find the right branch, no matter where you trigger them) to get the first update
  • Update-Global will run daily and fails when no update is available, Update-JP won't run automatically

Update-JP Needs to be triggered manually since there isn't a solution to get the latest update json link automatically. ba_api in getModelsJapan.py needs to be updated manually (through reverse engineering or network capture) when there is a new update.

About Japan version

The update json link seems to be hard coded into the game code.

We can get LatestClientVersion from https://prod-noticeindex.bluearchiveyostar.com/prod/index.json, but how the random hash path (likes r48_2q1alt6gvk5igdsj4hl2.json) under yostar-serverinfo.bluearchiveyostar.com is generated?

It seems that BA Japan (Yostar) does not have a certain resource path API. And their developers hard code the resource link for a version into the game code. The game only checks for LatestClientVersion to see if it's outdated and asks the user to update the game from Google Play to get the latest resource link.

Does this mean the user has to update the game from Google Play every month to get the latest monthly in-game activity? -- Yes, this is what's happening. (BA Japan releases an update at Google Play about every month, while BA Global updates about every three months)

About this repo

This repo is a fork of respectZ/blue-archive-spine. Some contributors and I modified the code to make it work better.

blue-archive-spine is a tool to download and view the character arts and animations (Memorial Lobby) of the game Blue Archive.

It's recommneded to use GitHub Actions to download the resources automatically. If you want to download the resources manually, please refer to the original README.

License

This repo is based on the work of @respectZ and @LXY1226 . The original repo doesn't have a license, so I'm not sure if it can be used for any purpose.

Disclaimer

Blue Archive is a registered trademark of NAT GAMES Co., Ltd. This repo is not affiliated with NEXON Korea Corp. & NEXON GAMES Co., Ltd.

The following is the original README.

Please notice: some of the following information is outdated. Please refer to the Quick Start section above.

This repo uses UnityPy (instead of unitypack in upstream) to extract files.


Informations

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/getModels.py

Downloaded Models located at ./downloaded_resource

Assets (Spine and Audio) located at ./assets

Generating JSON Data

data/audio.json

py/generateAudioJson.py

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

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

_type = 1

to

_type = 0

data/models.json

py/generateModelsJson.py

And you're done!

Just launch index.html

Used Libraries

Big Kudos for awesome UnityPack

blue-archive-spine-production's People

Contributors

lwd-temp avatar

Watchers

 avatar

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.