mishiro icon indicating copy to clipboard operation
mishiro copied to clipboard

CGSS desktop application

mishiro

Github All Releases GitHub release Electron GitHub repo size in bytes

Build

中文 README

Download

Note:

  • Do not install mishiro in a path which includes Chinese or Japanese characters.

  • If you have trouble to launch or experience any error, try to install the latest version.

Screenshot

screenshot.png

Feature

  • Support language: Chinese / Japanese / English.
  • [ HOME ] Get game resources. (unity3d, acb, bdb, mdb)
  • [ IDOL ] Search idol card, get card background png / character voice.
  • [ COMMU ] Producer searching.
  • [ LIVE ] Get BGM / live songs, view live score, play.
  • [ MENU ] Event PT calculator, options...

Score viewer demo: https://toyobayashi.github.io/mishiro-score-viewer/
Repo: mishiro-score-viewer

Development & Building

Windows Require

  • Windows 7+
  • Node.js 12+
  • Python 2.7 ( 3.x is not supported by node-gyp yet)
  • Visual Studio 2015/2017/2019 with C++ Desktop workload installed
  • .NET & Powershell

Linux Require

  • Node.js 12+
  • Python 2.7
  • gcc & g++
  • make
  • zip & unzip

MacOS Require (This part is not tested)

  • Node.js 12+
  • Python 2.7
  • Xcode (install Command Line Tools by running xcode-select --install in your terminal)

Quick Start

  1. Clone / Pull

    $ git clone https://github.com/toyobayashi/mishiro.git
    
    $ git pull
    

    NOTE: Due to C++ native addon compilation must match correct Electron / Node.js version, when electron version in package.json changed, please remove the following folders manually then run npm install again.

    • /app/node_modules/mishiro-core
    • /app/node_modules/sqlite3
    • /app/node_modules/hca-decoder
    • /app/node_modules/spdlog
    • /app/node_modules/usm-decrypter

    You can also just run npm run rm to do this.

  2. Install

    • Windows

      > cd mishiro/app
      
      REM set global npm config toolset variable
      REM if your VC++ toolset is not v140 (VS 2015)
      > npm config set toolset v142
      
      REM install node-gyp@5
      > npm install -g node-gyp
      
      REM it's important to set the npm_config_node_gyp environment variable to tell npm using global installed node-gyp
      > for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp "%P\node_modules\node-gyp\bin\node-gyp.js"
      
      REM install electron's node C++ header
      > for /f "delims=" %P in ('node -p "require('./package.json').devDependencies.electron"') do node-gyp install --target=%P --dist-url=https://atom.io/download/electron
      
      REM install dependencies
      > npm install
      REM get external resources
      > npm run get
      
    • Linux / MacOS

      $ cd mishiro/app
      
      $ npm install -g node-gyp
      $ npm config set node_gyp "`npm prefix -g`/lib/node_modules/node-gyp/bin/node-gyp.js"
      $ node-gyp install --target=$(node -p require\(\'./package.json\'\).devDependencies.electron) --dist-url=https://atom.io/download/electron
      
      $ npm install
      $ npm run get # get external resources
      

    If run npm install error, remove package-lock.json then try again.

  • Develop

    Recommend VSCode.

    # ~/mishiro/app$ code .
    $ npm run dev
    
    # or
    $ npm run serve
    # then launch mishiro by vscode debug mode
    
  • Build

    # bundle code for production
    $ npm run build
    
  • Launch

    # launch mishiro in production mode
    $ npm start
    
  • Pack

    $ npm run pack:x64 # x64 
    $ npm run pack:ia32 # Windows x86
    

Reference

Special thanks:

Copyright

The copyright of CGSS and its related content is held by BANDAI NAMCO Entertainment Inc.