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

[質問] プロジェクトがエクスポート時モデルが見つけない

albertkun opened this issue · comments

やったビルドが出来たけど、今日テストプロジェクトが「ウィンドウズ10」の為にエクスポートしますが、live2dのモデルがない!

これは僕のシーンアレンジです:

image

そして、「test.exe」の正面:

image

「.dll」とかちゃんとあると思います。
image

後、僕のエクスポートのオプション:
image

申し訳ございませんが、何か手伝ってくれたら感謝します。ありがとうございます。

@albertkun
This issue pertains to the usage of Godot Engine, not Live2D.

Godot Engine is unable to recognize the usage of indirectly loaded resources (in the case of Live2D, this would include images and JavaScript files loaded by the Live2D library).

Therefore, it is necessary to register the resources you are using, or the folder containing these resources, in the Resources section of the Export settings.

There is a section called Resource options in the Exporting projects part of the Godot Engine manual.
Please read through it and add your resources accordingly.

https://docs.godotengine.org/en/stable/tutorials/export/exporting_projects.html#resource-options


これはLive2Dではなく、Godot Engineにの使い方に関する問題となります。

Godot Engineは間接的に読み込むリソース(Live2Dの場合はLive2Dのライブラリが読み込む画像やJavaScriptファイル等が該当します)について、利用状況を知ることが出来ません。

そのため、 ExportResources 欄にあなたが使用しているリソース、或いはリソースが収められているフォルダを登録する必要があります。

Godot Engineのマニュアルの Exporting projectsResource options という欄があります。
そこに記述されている説明を読みながら適宜追加してあげてください。

https://docs.godotengine.org/ja/4.x/tutorials/export/exporting_projects.html#resource-options

@MizunagiKB ありがとうございます!!エクスポートオプションはこのフォルダに追加しました:

addons/gd_cubism/example/res/*

image

やっとできました!

image