Skip to content

Latest commit

 

History

History
86 lines (58 loc) · 3.36 KB

File metadata and controls

86 lines (58 loc) · 3.36 KB

Arknights Story Text Reader

The python scripts for this repository have been move to ASTR-Script

 

CN | JP | KR | EN

     

Arknights Story Text Reader is a website that help you view stories text in mobile game Arknights with following features:

  • Browsing Stories in all Arknights Servers (CN/JP/KR/EN/TW), and easily switch to different server in events, stories or anywhere else at upper right corner(if corresponding event exist).
  • Providing settings for configuring interface language and doctor's name in story
  • Pretty formatted story text, selecting option will navigate to corresponding line (in most stories)
  • More interesting features in misc

Development Info

File Structure

/.github: Github Action Related Script

/ASTR: Assets like Icons and fonts.

/reader: Main Code Folder

/reader/src/ASTR: Legacy Version of ASTR (Deprecated)

/reader/src/ASTRv2: Current Version of ASTR (In active development)

Related Repositories

ASTR-Script : Python script to generate data, including convert raw txt into json, counting words/characters, summarize story introdution and so on.

Kengxxiao/ArknightsGameData : Providing raw data, trigger of the Github Actions.

ArknightsStoryJson : Storing the result generated from ASTR-Script.

Aceship/Arknight-Images : Providing images.

Installation

  1. Clone

    git clone https://github.com/050644zf/ArknightsStoryTextReader.git
    git submodule update --init --recursive
    cd ArknightsStoryTextReader
  2. Install Dependencies Navigate to the reader directory and install Node dependencies:

    cd reader
    npm install
  3. Build To build for production:

    npm run build

This will create a production-ready build in the dist folder inside reader.

ASTRv2 Explained

  1. Entrance Script: reader\src\main2.js
  2. Load server data in reader\src\ASTRv2\server.vue into session storage, including story_review_table.json (events and stories index), chardict.json (character id -> character name), storyinfo.json (story path -> story info), chapter_table.json (maintheme index) and wordcount.json (words/chars countings of stories).
  3. Render corresponding components base on route. Fetch more data (like story json) if necessary.