From a5908227e6acb14f5d76e7b56a8dce8bfa6b5b0e Mon Sep 17 00:00:00 2001 From: iisaev Date: Sun, 18 Oct 2026 19:00:31 +0200 Subject: [PATCH] Mod naming rule and engine UI in engine mods Mods are renamed by role (shell2d_base, menu_base, ui_base, live2d_base, editor_tools, cthangover_story, cthangover_murakami, cthangover_party) and every reference follows. Engine UI prefabs (dialog, answers, message, game menu, inventory, map, skills) and their panel entries moved out of the story mod into the subsystem mods; the card_novel and vn_starter_novel collections are removed. --- locale/en.properties | 4 ++-- locale/ru.properties | 4 ++-- manifest.json | 4 ++-- test_suites/avatar/manifest.json | 6 +++--- test_suites/avatar/src/Live2DAvatarTestDriver.cs | 2 +- test_suites/avatar/src/Live2DOverlay.cs | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/locale/en.properties b/locale/en.properties index 636bff6..2082115 100644 --- a/locale/en.properties +++ b/locale/en.properties @@ -1,2 +1,2 @@ -mod_live2d_name = Live2D Cubism -mod_live2d_desc = Live2D Cubism C# runtime: model loading, rendering, physics, animation, effects. +mod_live2d_base_name = Live2D Cubism +mod_live2d_base_desc = Live2D Cubism C# runtime: model loading, rendering, physics, animation, effects. diff --git a/locale/ru.properties b/locale/ru.properties index cdd84d2..cc0415e 100644 --- a/locale/ru.properties +++ b/locale/ru.properties @@ -1,2 +1,2 @@ -mod_live2d_name = Live2D Cubism -mod_live2d_desc = C#-рантайм Live2D Cubism: загрузка и отрисовка моделей, физика, анимации и эффекты. +mod_live2d_base_name = Live2D Cubism +mod_live2d_base_desc = C#-рантайм Live2D Cubism: загрузка и отрисовка моделей, физика, анимации и эффекты. diff --git a/manifest.json b/manifest.json index 96ce6ab..542ff94 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,11 @@ { - "id": "live2d", + "id": "live2d_base", "name": "Live2D Cubism", "version": "1.0.0", "author": "ct", "description": "Live2D Cubism C# runtime: model loading, rendering, physics, animation, effects", "category": "library, visual", - "depends": ["interface>=1"], + "depends": ["ui_base>=1"], "depends_native": ["native/*.dll", "native/*.so"], "test_suites": [ {"id": "avatar", "activate": ["--itest=live2d_avatar"]} diff --git a/test_suites/avatar/manifest.json b/test_suites/avatar/manifest.json index 8285229..964edf9 100644 --- a/test_suites/avatar/manifest.json +++ b/test_suites/avatar/manifest.json @@ -1,6 +1,6 @@ { "name": "Live2D Test", - "description": "Test and demo mod for the live2d runtime: the sample Ren model (expressions, motions) shown by the home_outside overlay scene plus an avatar test driver. Requires live2d>=1.", + "description": "Test and demo mod for the live2d runtime: the sample Ren model (expressions, motions) shown by the home_outside overlay scene plus an avatar test driver. Requires live2d_base>=1.", "sources": [ "src/*.cs" ], @@ -17,7 +17,7 @@ } ], "depends": [ - "visual_novel_core>=1", - "interface>=1" + "cthangover_story>=1", + "ui_base>=1" ] } diff --git a/test_suites/avatar/src/Live2DAvatarTestDriver.cs b/test_suites/avatar/src/Live2DAvatarTestDriver.cs index 70d7aad..6443de3 100644 --- a/test_suites/avatar/src/Live2DAvatarTestDriver.cs +++ b/test_suites/avatar/src/Live2DAvatarTestDriver.cs @@ -28,7 +28,7 @@ namespace Mods.Live2DTest /// public partial class Live2DAvatarTestDriver : Node2D { - private const string ModId = "live2d__avatar"; + private const string ModId = "live2d_base__avatar"; private const string ModelPath = "models/runtime/ren.model3.json"; private const string LeftArmParam = "ParamArmL01"; private const string RightArmParam = "ParamArmR01"; diff --git a/test_suites/avatar/src/Live2DOverlay.cs b/test_suites/avatar/src/Live2DOverlay.cs index b803541..ec10f19 100644 --- a/test_suites/avatar/src/Live2DOverlay.cs +++ b/test_suites/avatar/src/Live2DOverlay.cs @@ -40,7 +40,7 @@ namespace Mods.Live2DTest return; } - model = Live2DService.CreateModel(container, ModelPath, ModelNodeName, "live2d__avatar"); + model = Live2DService.CreateModel(container, ModelPath, ModelNodeName, "live2d_base__avatar"); if (model == null) { GameLogger.Log("LIVE2D_TEST", "Live2DOverlay: model creation failed", LogLevel.Error);