Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

EasyLive2D/Live2DMascot

Open more actions menu

Repository files navigation

Live2D Desktop Mascot (Python)

基于live2d-py

支持 Live2D 模型版本:

  • Cubism 2.X 导出的模型:文件名格式常为 XXX.mocXXX.model.jsonXXX.mtn
  • Cubism 3.0 及以上导出的模型:文件名格式常为 XXX.moc3XXX.model3.json, XXX.motion3.json

运行环境: Python 3.12 (Windows x64)

若使用 64 位 Python,或其他 Python 版本,需安装/编译对应版本的 live2d-py

注:由于目前找到的 Cubism OpenGL 2.0 SDK 的 live2d_opengl.lib 静态库只有 32 位,加载 2.0 版本的模型只能使用 32 位。

=>C++ 版本(旧版)

预览

v2

聊天功能:

chat

使用其他聊天接口仅需修改 kizuna_impl.pydoReaction 函数。

运行

live2d 文件格式:

只要 XXX.modelX.json 文件路径正确即可,其他文件通过该 json 文件读取。

.bak 文件为运行时自动生成的备份文件。

Cubism 2.0 版本

Resources\v2\kasumi2

Cubism 3.0 及以上版本

Resources\v3\Haru

运行

  1. 安装 Python 3.12 (x64)

  2. 安装 Python 库

pip install -r requirements.txt
  1. 运行 main.py

About

桌面Live2D,提供自定义聊天接口,支持更换模型,自定义动作语音+文本

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.