@charivo/render-live2d 0.4.4 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CubismSdkForWeb-5-r.4/Core/LICENSE.md +7 -0
- package/CubismSdkForWeb-5-r.4/Core/RedistributableFiles.txt +6 -0
- package/CubismSdkForWeb-5-r.4/Framework/LICENSE.md +45 -0
- package/CubismSdkForWeb-5-r.4/LICENSE.md +66 -0
- package/CubismSdkForWeb-5-r.4/NOTICE.md +38 -0
- package/LICENSE.md +124 -0
- package/README.md +21 -3
- package/dist/{live2dcubismcore.min-V7VE6BAG.js → live2dcubismcore.min-Q4IRHBR5.js} +29 -2
- package/dist/live2dcubismcore.min-Q4IRHBR5.js.map +1 -0
- package/dist/renderer.js +28 -2
- package/dist/renderer.js.map +1 -1
- package/dist/src/cubism/lappdefine.d.ts +5 -0
- package/dist/src/cubism/lappdefine.d.ts.map +1 -1
- package/dist/src/cubism/lappmodel.d.ts +3 -2
- package/dist/src/cubism/lappmodel.d.ts.map +1 -1
- package/package.json +11 -5
- package/LICENSE +0 -21
- package/dist/live2dcubismcore.min-V7VE6BAG.js.map +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
## Live2D Proprietary Software License
|
|
2
|
+
|
|
3
|
+
Live2D Cubism Core is available under Live2D Proprietary Software License.
|
|
4
|
+
|
|
5
|
+
* [Live2D Proprietary Software License Agreement](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html)
|
|
6
|
+
* [Live2D Proprietary Software 使用許諾契約書](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_jp.html)
|
|
7
|
+
* [Live2D Proprietary Software 使用授权协议](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_cn.html)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
## Definitions
|
|
2
|
+
|
|
3
|
+
### Live2D Cubism Components
|
|
4
|
+
|
|
5
|
+
Cubism Web Framework is included in Live2D Cubism Components.
|
|
6
|
+
|
|
7
|
+
Cubism Web Framework は Live2D Cubism Components に含まれます。
|
|
8
|
+
|
|
9
|
+
Cubism Web Framework 包括在 Live2D Cubism Components 中。
|
|
10
|
+
|
|
11
|
+
## Cubism SDK Release License
|
|
12
|
+
|
|
13
|
+
*All business* users must obtain a Cubism SDK Release License. "Business" means an entity with the annual gross revenue more than ten million (10,000,000) JPY for the most recent fiscal year.
|
|
14
|
+
|
|
15
|
+
* [Cubism SDK Release License](https://www.live2d.com/en/download/cubism-sdk/release-license/)
|
|
16
|
+
|
|
17
|
+
直近会計年度の売上高が 1000 万円以上の事業者様がご利用になる場合は、Cubism SDK リリースライセンス(出版許諾契約)に同意していただく必要がございます。
|
|
18
|
+
|
|
19
|
+
* [Cubism SDK リリースライセンス](https://www.live2d.com/ja/download/cubism-sdk/release-license/)
|
|
20
|
+
|
|
21
|
+
如果您的企业在最近一个会计年度的销售额达到或超过1000万日元,您必须得到Cubism SDK的出版授权许可(出版许可协议)。
|
|
22
|
+
|
|
23
|
+
* [Cubism SDK发行许可证](https://www.live2d.com/zh-CHS/download/cubism-sdk/release-license/)
|
|
24
|
+
|
|
25
|
+
## Live2D Open Software License
|
|
26
|
+
|
|
27
|
+
Live2D Cubism Components is available under Live2D Open Software License.
|
|
28
|
+
|
|
29
|
+
* [Live2D Open Software License](https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html)
|
|
30
|
+
* [Live2D Open Software 使用許諾契約書](https://www.live2d.com/eula/live2d-open-software-license-agreement_jp.html)
|
|
31
|
+
* [Live2D Open Software 使用授权协议](https://www.live2d.com/eula/live2d-open-software-license-agreement_cn.html)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Live2D Proprietary Software License
|
|
35
|
+
|
|
36
|
+
Live2D Cubism Core is available under Live2D Proprietary Software License.
|
|
37
|
+
|
|
38
|
+
* [Live2D Proprietary Software License Agreement](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html)
|
|
39
|
+
* [Live2D Proprietary Software 使用許諾契約書](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_jp.html)
|
|
40
|
+
* [Live2D Proprietary Software 使用授权协议](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_cn.html)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
Please contact us from [here](https://www.live2d.jp/contact/) for more license information.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
## Definitions
|
|
2
|
+
|
|
3
|
+
### Live2D Cubism Components
|
|
4
|
+
|
|
5
|
+
Cubism Web Samples is included in Live2D Cubism Components.
|
|
6
|
+
|
|
7
|
+
Cubism Web Samples は Live2D Cubism Components に含まれます。
|
|
8
|
+
|
|
9
|
+
Cubism Web Samples 包括在 Live2D Cubism Components 中。
|
|
10
|
+
|
|
11
|
+
## Cubism SDK Release License
|
|
12
|
+
|
|
13
|
+
*All business* users must obtain a Cubism SDK Release License. "Business" means an entity with the annual gross revenue more than ten million (10,000,000) JPY for the most recent fiscal year.
|
|
14
|
+
|
|
15
|
+
* [Cubism SDK Release License](https://www.live2d.com/en/download/cubism-sdk/release-license/)
|
|
16
|
+
|
|
17
|
+
直近会計年度の売上高が 1000 万円以上の事業者様がご利用になる場合は、Cubism SDK リリースライセンス(出版許諾契約)に同意していただく必要がございます。
|
|
18
|
+
|
|
19
|
+
* [Cubism SDK リリースライセンス](https://www.live2d.com/ja/download/cubism-sdk/release-license/)
|
|
20
|
+
|
|
21
|
+
如果您的企业在最近一个会计年度的销售额达到或超过1000万日元,您必须得到Cubism SDK的出版授权许可(出版许可协议)。
|
|
22
|
+
|
|
23
|
+
* [Cubism SDK发行许可证](https://www.live2d.com/zh-CHS/download/cubism-sdk/release-license/)
|
|
24
|
+
|
|
25
|
+
## Live2D Open Software License
|
|
26
|
+
|
|
27
|
+
Live2D Cubism Components is available under Live2D Open Software License.
|
|
28
|
+
|
|
29
|
+
* [Live2D Open Software License](https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html)
|
|
30
|
+
* [Live2D Open Software 使用許諾契約書](https://www.live2d.com/eula/live2d-open-software-license-agreement_jp.html)
|
|
31
|
+
* [Live2D Open Software 使用授权协议](https://www.live2d.com/eula/live2d-open-software-license-agreement_cn.html)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Live2D Proprietary Software License
|
|
35
|
+
|
|
36
|
+
Live2D Cubism Core is available under Live2D Proprietary Software License.
|
|
37
|
+
|
|
38
|
+
* [Live2D Proprietary Software License Agreement](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html)
|
|
39
|
+
* [Live2D Proprietary Software 使用許諾契約書](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_jp.html)
|
|
40
|
+
* [Live2D Proprietary Software 使用授权协议](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_cn.html)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## Free Material License
|
|
44
|
+
|
|
45
|
+
Live2D models listed below are available under Free Material License.
|
|
46
|
+
|
|
47
|
+
* [Free Material License Agreement](https://www.live2d.com/eula/live2d-free-material-license-agreement_en.html)
|
|
48
|
+
* [無償提供マテリアルの使用許諾契約書](https://www.live2d.com/eula/live2d-free-material-license-agreement_jp.html)
|
|
49
|
+
* [无偿提供素材使用授权协议](https://www.live2d.com/eula/live2d-free-material-license-agreement_cn.html)
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
Samples/Resources/Haru
|
|
53
|
+
Samples/Resources/Hiyori
|
|
54
|
+
Samples/Resources/Mao
|
|
55
|
+
Samples/Resources/Mark
|
|
56
|
+
Samples/Resources/Natori
|
|
57
|
+
Samples/Resources/Rice
|
|
58
|
+
Samples/Resources/Wanko
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
If you use these models, you must agree to the terms of a contract set [here](https://docs.live2d.com/cubism-editor-manual/sample-model/) for each model.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
Please contact us from [here](https://www.live2d.jp/contact/) for more license information.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[English](NOTICE.md) / [日本語](NOTICE.ja.md)
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Notices
|
|
6
|
+
|
|
7
|
+
## [Caution] Precautions for updating to Cubism 4 SDK for Web R1 or later
|
|
8
|
+
|
|
9
|
+
With the release of the official version of the Cubism 4 SDK for Web R1 from the previous beta version, the structure of packages and repositories has been changed to improve usability.
|
|
10
|
+
|
|
11
|
+
The reason for this change is to operate without changing the structure of Cubism 4 SDK for Native, and to avoid mixing files that do not require management by users.
|
|
12
|
+
|
|
13
|
+
Details on structural changes and how to update from projects prior to Cubism 4 SDK for Web beta2 are described in the [Cubism SDK Manual]. Please be sure to check it when updating.
|
|
14
|
+
|
|
15
|
+
[Cubism SDK Manual]: https://docs.live2d.com/cubism-sdk-manual/warning-for-cubism4-web-r1-update/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [Caution] About the duplicate declaration error in dependent packages (2023-02-23)
|
|
19
|
+
|
|
20
|
+
A duplicate declaration error may occur due to `@types/node` among the dependency packages used in the Cubism 4 SDK for Web Samples.
|
|
21
|
+
|
|
22
|
+
We have confirmed that this can be resolved by one of the following procedures.
|
|
23
|
+
|
|
24
|
+
### Solution 1: Use npm-check-updates
|
|
25
|
+
|
|
26
|
+
1. Navigate to the `/Samples/TypeScript/Demo` directory in Terminal.
|
|
27
|
+
1. Execute the command `npm i -g npm-check-updates`.
|
|
28
|
+
1. Execute the command `ncu`.
|
|
29
|
+
|
|
30
|
+
### Solution 2: Reinstall @types/node explicitly
|
|
31
|
+
|
|
32
|
+
1. Navigate to the `/Samples/TypeScript/Demo` directory in Terminal.
|
|
33
|
+
1. Execute the command `npm uninstall @types/node`.
|
|
34
|
+
1. Execute the command `npm install @types/node`.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
©Live2D
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
`@charivo/render-live2d` is a composite work. Different parts carry different
|
|
4
|
+
licenses, and the published bundle contains all of them.
|
|
5
|
+
|
|
6
|
+
## Charivo-authored code — MIT
|
|
7
|
+
|
|
8
|
+
Everything under `src/` that is not derived from the Cubism SDK samples is
|
|
9
|
+
licensed under the MIT License, reproduced in full here because this package
|
|
10
|
+
ships without the repository's root `LICENSE`:
|
|
11
|
+
|
|
12
|
+
> MIT License
|
|
13
|
+
>
|
|
14
|
+
> Copyright (c) 2025 Zeikar
|
|
15
|
+
>
|
|
16
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
> in the Software without restriction, including without limitation the rights
|
|
19
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
> furnished to do so, subject to the following conditions:
|
|
22
|
+
>
|
|
23
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
24
|
+
> copies or substantial portions of the Software.
|
|
25
|
+
>
|
|
26
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
32
|
+
> SOFTWARE.
|
|
33
|
+
|
|
34
|
+
The MIT grant above covers only the Charivo-authored portion. The Live2D
|
|
35
|
+
components described below are not MIT and are not covered by it.
|
|
36
|
+
|
|
37
|
+
## Live2D Cubism Core — Live2D Proprietary Software License
|
|
38
|
+
|
|
39
|
+
`live2dcubismcore.min.js` is Copyright (C) 2019 Live2D Inc. It is listed in
|
|
40
|
+
`Core/RedistributableFiles.txt` as **Redistributable Code**, and is bundled here
|
|
41
|
+
under the terms of the
|
|
42
|
+
[Live2D Proprietary Software License Agreement](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html).
|
|
43
|
+
|
|
44
|
+
Redistribution is permitted for a derivative work that adds major functions
|
|
45
|
+
using the Redistributable Code (§5.1, §5.2.1). Downstream distributors and end
|
|
46
|
+
users are bound by protections equivalent to that agreement (§5.2.2) — by
|
|
47
|
+
depending on this package you accept those terms.
|
|
48
|
+
|
|
49
|
+
Note what that means in practice: **this package ships the Core itself.**
|
|
50
|
+
Installing it gives you the Core without a separate download from Live2D, so
|
|
51
|
+
this file — not their download page — is where its terms reach you.
|
|
52
|
+
|
|
53
|
+
## Live2D Cubism Framework and Samples — Live2D Open Software License
|
|
54
|
+
|
|
55
|
+
`Framework/src/**` and the sample-derived code in `src/cubism/**` are
|
|
56
|
+
Copyright (c) Live2D Inc., used under the
|
|
57
|
+
[Live2D Open Software License Agreement](https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html).
|
|
58
|
+
|
|
59
|
+
The agreement forbids removing or modifying license indications, copyright
|
|
60
|
+
notices, and proprietary notices (§5.1, §5.7). The bundled output therefore
|
|
61
|
+
carries a preserved notice banner; **do not strip it when re-bundling this
|
|
62
|
+
package.**
|
|
63
|
+
|
|
64
|
+
## Publication License — your responsibility
|
|
65
|
+
|
|
66
|
+
Publishing or distributing a derivative work requires a **Live2D Publication
|
|
67
|
+
License Agreement** (Proprietary §2.1). Live2D also calls this the *Cubism SDK
|
|
68
|
+
Release License* — the
|
|
69
|
+
[release-license page](https://www.live2d.com/en/download/cubism-sdk/release-license/)
|
|
70
|
+
is titled "SDK Release License (Publication License Agreement)". It is one
|
|
71
|
+
instrument under two names, not two separate obligations.
|
|
72
|
+
|
|
73
|
+
General Users, Small-Scale Enterprises, and Qualified Educational Institutions
|
|
74
|
+
— broadly, individuals and organizations whose sales for the most recent fiscal
|
|
75
|
+
year are under 10,000,000 JPY — may be exempt from executing it and from the
|
|
76
|
+
license fee (§2.2).
|
|
77
|
+
|
|
78
|
+
**That exemption does not cover an Expandable Application.** §2.2: "this
|
|
79
|
+
exemption is not applicable for Publishing the Expandable Application". §2.1
|
|
80
|
+
adds that publishing one requires making "an application in advance" and
|
|
81
|
+
obtaining "approval by Live2D", on top of the agreement itself. §1.5 defines an
|
|
82
|
+
Expandable Application as a derivative work "having significant expandability",
|
|
83
|
+
including one that "uses and generates any indefinite number of models by
|
|
84
|
+
adding or combining files or data (e.g. avatars, live streaming applications,
|
|
85
|
+
video generators/video makers)".
|
|
86
|
+
|
|
87
|
+
Whether a **developer library** can be an Expandable Application is unsettled.
|
|
88
|
+
The definition's own wording points at end-user products — it describes
|
|
89
|
+
generating models "by adding or combining files or data", and Live2D's
|
|
90
|
+
[summary page](https://www.live2d.com/en/sdk/license/expandable/) frames the
|
|
91
|
+
category as "services or content". Against that, the agreement defines
|
|
92
|
+
Derivative Work as "any work", which is broad enough to reach a library.
|
|
93
|
+
|
|
94
|
+
So: read §1.5 yourself. **A product you build on this package is far likelier to
|
|
95
|
+
qualify than the package is** — especially one that lets your end users load
|
|
96
|
+
their own models, which is the definition's own example. Charivo has not asked
|
|
97
|
+
Live2D and takes no position on your behalf.
|
|
98
|
+
|
|
99
|
+
Charivo does not and cannot grant this license. Resolve your own position with
|
|
100
|
+
Live2D before you ship.
|
|
101
|
+
|
|
102
|
+
## Model assets — not included
|
|
103
|
+
|
|
104
|
+
No Live2D model is distributed in this package. The models used by the Charivo
|
|
105
|
+
demos are covered by the
|
|
106
|
+
[Live2D Free Material License](https://www.live2d.com/eula/live2d-free-material-license-agreement_en.html)
|
|
107
|
+
and are credited in the demo applications, not here.
|
|
108
|
+
|
|
109
|
+
## Vendored license notices
|
|
110
|
+
|
|
111
|
+
Live2D's own notice files ship with this package. They state the obligations and
|
|
112
|
+
link to the agreements rather than reproducing them — the full agreement texts
|
|
113
|
+
are hosted by Live2D at the URLs above.
|
|
114
|
+
|
|
115
|
+
- `CubismSdkForWeb-5-r.4/LICENSE.md` — SDK-wide terms: the Cubism SDK Release
|
|
116
|
+
License obligation, plus links to the Open Software and Proprietary agreements
|
|
117
|
+
- `CubismSdkForWeb-5-r.4/Framework/LICENSE.md` — the same terms scoped to the
|
|
118
|
+
Cubism Web Framework
|
|
119
|
+
- `CubismSdkForWeb-5-r.4/Core/LICENSE.md` — links to the Proprietary Software
|
|
120
|
+
License Agreement covering Cubism Core
|
|
121
|
+
- `CubismSdkForWeb-5-r.4/Core/RedistributableFiles.txt` — the list of files
|
|
122
|
+
Live2D permits redistributing
|
|
123
|
+
- `CubismSdkForWeb-5-r.4/NOTICE.md` — Live2D's SDK migration and troubleshooting
|
|
124
|
+
notices; not a license document, shipped to keep the vendored tree intact
|
package/README.md
CHANGED
|
@@ -45,7 +45,25 @@ The renderer exposes:
|
|
|
45
45
|
When used through `@charivo/render`, realtime lip sync, mouse tracking,
|
|
46
46
|
and gaze are handled for you.
|
|
47
47
|
|
|
48
|
-
## License
|
|
48
|
+
## License
|
|
49
49
|
|
|
50
|
-
This package
|
|
51
|
-
|
|
50
|
+
**Not MIT.** This package is a composite work: Charivo-authored code is MIT, but
|
|
51
|
+
the published bundle also contains Live2D Cubism Core (Live2D Proprietary
|
|
52
|
+
Software License) and Cubism Framework / sample-derived code (Live2D Open
|
|
53
|
+
Software License). Both are bundled as permitted — `live2dcubismcore.min.js` is
|
|
54
|
+
listed as Redistributable Code in `Core/RedistributableFiles.txt` — and the
|
|
55
|
+
bundle carries a notice banner that must not be stripped.
|
|
56
|
+
|
|
57
|
+
Shipping a product built on this package requires a **Live2D Publication License
|
|
58
|
+
Agreement** (also marketed as the *Cubism SDK Release License* — the same
|
|
59
|
+
instrument). Small users may be exempt, **except for an "Expandable
|
|
60
|
+
Application"**, which additionally needs Live2D's prior approval. Whether that
|
|
61
|
+
category reaches a developer library is unsettled; a product that lets end users
|
|
62
|
+
load their own models is much closer to it than this package is.
|
|
63
|
+
|
|
64
|
+
This package also **bundles the Cubism Core** instead of having you fetch it from
|
|
65
|
+
Live2D — permitted by `RedistributableFiles.txt`, but not what most Live2D
|
|
66
|
+
libraries do.
|
|
67
|
+
|
|
68
|
+
Charivo has not sought Live2D's approval and cannot grant it. See
|
|
69
|
+
[LICENSE.md](./LICENSE.md) for the clause-by-clause breakdown before you ship.
|