Skip to content

About

Community experimental project / 社区实验性项目

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amadeus-mobile

社区实验性项目 / Community experimental project

暂由 @Mieluoxxx 独立维护。Amadeus 主仓库仍是 Code Amadeus 的主要项目与入口。

Currently independently maintained by @Mieluoxxx. Amadeus remains the main project and entry point for Code Amadeus.

红莉栖的安卓本体。设计见 docs/mobile-apk-plan.md。

目录

目录 内容
control/ 控制面 amadeus-control(Node,pi-durable),stdio 帧协议
payload/ payload 组装脚本:Termux Node 运行时 + 控制面
web/ WebView 前端(TypeScript,esbuild 打包),含 emote 立绘渲染
scripts/ fetch-deps.mjs:下载锁定版本的 sherpa-onnx 与识别模型,复制 amadeus-next 的 emote 素材
android/ Kotlin 宿主,包名 com.amadeus.mobile

构建

依赖:Node ≥ 22.19、JDK 21、Android SDK(platform 37、build-tools 36),以及同级目录下的 amadeus-next(emote 素材,需先在其中打开过一次场景以生成烘焙模型;可用环境变量 AMADEUS_NEXT 指定其他位置)。 emote 素材与第三方二进制都不进 git,由脚本生成到 build/ 与 android/app/libs/。

(cd control && npm ci && npm test)
node scripts/fetch-deps.mjs        # sherpa-onnx AAR、识别模型、emote 素材
node payload/assemble.mjs          # 产出 payload/build/{assets,jniLibs}
(cd web && npm ci && npm run build)
cd android && ./gradlew :app:testDebugUnitTest :app:assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk

android/local.properties 需写入 sdk.dir=<Android SDK 路径>;gradle.properties 里的 JDK 路径按本机调整。

emote 素材

本仓库不包含任何 emote 模型(.psb 及其解包目录)、E-mote 播放器运行时(emoteplayer.js、FreeMoteDriver.js)以及角色立绘、图标、字幕框等美术素材,它们的版权归各自权利人所有。scripts/fetch-deps.mjs 从本地的 amadeus-next 复制这些文件,.gitignore 也已把它们排除在外。没有这些素材时,需要自备同目录结构的模型(<model>/<model>.psb.m.json 等 FreeMote 解包产物)放到 build/emote-models/,并修改 control/src/emote/models.js 里的形象列表。

许可证

代码以 AGPL-3.0 发布,不涵盖上述 emote 素材与第三方二进制。

About

Community experimental project / 社区实验性项目

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages