MizunagiKB / gd_cubism

Unofficial Live2D Player for Godot Engine

Home Page:https://mizunagikb.github.io/gd_cubism/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why didn't I see the plugin load after loading the demo?

Linkea opened this issue · comments

image
There's only one node. I can't load this plugin. It seems miss a .cfg and .gd file.
My environment is Windows 11, gitdot 4.2.
The Latest CubismSdkForNative-5-r.1-beta.3 is also in thirdparty folder.

image
There is the error report.

Thank you for reporting the issue.

You mentioned that the add-on is not loading properly. Could you please provide more details about the situation?

Firstly, I would like to know about the development environment you used for the build. GDCubism uses SCons for building, and the development environment you are using might be causing some errors. If there were any notifications that seemed like errors, I would like to know about them.

Even if the build appears to have been successful, depending on the environment, the load may fail at runtime. If it fails, an error will be displayed when the editor is launched. Is there anything displayed in this case?

Thank you for your reply.

I'm new to gotdot and still learning.
I configured it according to the document you provided. SCons is my first time to use it and I have also installed it. But I don't know how to use it, I don't know how to configure it.

The only error message so far is the one I sent. I find other plugins always with two files, .gd and .cfg. Maybe this is the reason I can't load this plugin. SCons is installed with the pip command. It should be the latest version. I'm not sure how to use it. The plug-in interface for project Settings is also blank. No plug-ins are displayed loaded.
Or where do I need to find other error messages to give you a full understanding of the situation?

Do I have to build by using SCons before loading this demo?Can you teach me how to do that step by step?
I can't find the relevant document, sorry. I'm new to gotdot and I don't know much about it.

Thanks.

It appears that SCons is already installed, so please proceed with the installation of Visual Studio. The free version of Visual Studio is acceptable, but it must be version 2019 or later.

Please ensure the following conditions are met:

  • Visual Studio 2019 or later is installed.
  • gd_cubism has been cloned using git.
  • CubismSdkForNative is placed in the appropriate location.
  • SCons is ready for use.

Once you have confirmed the above, please do the following:

  1. Open the command prompt and navigate to the location where you cloned gd_cubism using git.
  2. Confirm that a file named SConstruct is present in that folder.
  3. Execute the following commands:
scons platform=windows arch=x86_64 target=template_debug
scons platform=windows arch=x86_64 target=template_release

You can find the documentation on how to build GDCubism at the following location:

https://github.com/MizunagiKB/gd_cubism/blob/main/doc/BUILD.en.adoc

Thank you so much!!
I followed your steps to install VS2022 and it worked.
The Live2d model was successfully set up and loaded in the GDCubismUserModel.

However, after setting the two nodes GDCubismEffectEyeBlink and GDCubismEffectBreath, automatic breathing and blinking are not implemented.
image

There were no errors.


I know the problem, the demo model downloaded from the official website was successfully used and blinked and breathed.
Maybe my model didn't export the corresponding runtime script.

Thank you so much!!

I’m glad to hear that Live2D is working in your environment.

The blinking-like effect processing seems to be a part of the Live2D structure, so please try adjusting it while referring to the samples.

As it appears to be resolved, I will close this issue. If you encounter any other problems, please feel free to create a new issue.