/magiLive2d

One another Live2d viewer, base on Pixi.js 4, for Magireco

Primary LanguageJavaScript

magiLive2d

One another Live2d viewer, base on Pixi.js 4, for Magireco

see DEMO or LiveView

prepare

To access game files, you can use a proxy or download them on your server. A proxy can't work well by default.

Proxy

[required]
/magica/resource/image_native/live2d/ -> $(proxy)/magica/resource/download/asset/master/resource/image_native/live2d/
[option]
/magica/resource/sound_native/voice/ -> $(proxy)/magica/resource/download/asset/master/resource/sound_native/voice/
/magica/resource/image_web/ -> $(proxy)/magica/resource/image_web/

Download

Models & images

Because the download-resources that larger than 1MB are split in to 1MB piece, you'd better download the resources and joint them. See magireco-data-downloader/multithread

Voices

After you joint resources, you just got .hca encripted sounds. Decrypt them and encode them into .mp3 or other format yourself. Remember change ext in js/page.js.

For hca decrypt, see HCADecoder | FastHCADecoder | Ishotihadus/hca | etc.

list.json

Create the list.json on live2d/ and voice/ yourself, or run makelist.py with

Feature

Expression, Motion, Voice; Mouse/touch follow; Click/touch motion; Replay/pause voice; Resize; Zoom; Capture

Todo

  • Model position controlor
  • Voice with motion / Motion with voice
  • Record video/gif
  • Backgroud (static) switch, capture include background option
  • Multi model display/control
  • Talkbox text
  • Story script re-play (?)

Dependency

Live2D cubism-sdk2 WebGL (LICENCE)

pixi-live2d (LICENCE)

Pixi.js (LICENCE)