sonolus-llsif-engine 1.4.0 → 1.4.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/LICENSE.txt +20 -20
- package/README.md +69 -69
- package/dist/EnginePlayData +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/sifc/convert.cjs +1 -2
- package/package.json +11 -10
package/LICENSE.txt
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 NonSpicyBurrito
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 NonSpicyBurrito
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# Sonolus LLSIF Engine
|
|
2
|
-
|
|
3
|
-
A recreation of Love Live! School idol festival engine in [Sonolus](https://sonolus.com).
|
|
4
|
-
|
|
5
|
-
## Links
|
|
6
|
-
|
|
7
|
-
- [Sonolus Website](https://sonolus.com)
|
|
8
|
-
- [Sonolus Wiki](https://github.com/NonSpicyBurrito/sonolus-wiki)
|
|
9
|
-
|
|
10
|
-
## Installation
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
npm install sonolus-llsif-engine
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Custom Resources
|
|
17
|
-
|
|
18
|
-
### Skin Sprites
|
|
19
|
-
|
|
20
|
-
| Name |
|
|
21
|
-
| ------------------------- |
|
|
22
|
-
| `LLSIF Connection Active` |
|
|
23
|
-
|
|
24
|
-
## Documentation
|
|
25
|
-
|
|
26
|
-
### `version`
|
|
27
|
-
|
|
28
|
-
Package version.
|
|
29
|
-
|
|
30
|
-
### `databaseEngineItem`
|
|
31
|
-
|
|
32
|
-
Partial database engine item compatible with [sonolus-express](https://github.com/NonSpicyBurrito/sonolus-express).
|
|
33
|
-
|
|
34
|
-
### `engineConfigurationPath`
|
|
35
|
-
|
|
36
|
-
Path to Engine Configuration file.
|
|
37
|
-
|
|
38
|
-
### `enginePlayDataPath`
|
|
39
|
-
|
|
40
|
-
Path to Engine Play Data file.
|
|
41
|
-
|
|
42
|
-
### `engineWatchDataPath`
|
|
43
|
-
|
|
44
|
-
Path to Engine Watch Data file.
|
|
45
|
-
|
|
46
|
-
### `enginePreviewDataPath`
|
|
47
|
-
|
|
48
|
-
Path to Engine Preview Data file.
|
|
49
|
-
|
|
50
|
-
### `engineTutorialDataPath`
|
|
51
|
-
|
|
52
|
-
Path to Engine Tutorial Data file.
|
|
53
|
-
|
|
54
|
-
### `engineThumbnailPath`
|
|
55
|
-
|
|
56
|
-
Path to Engine Thumbnail file.
|
|
57
|
-
|
|
58
|
-
### `nssToSIFC(nss)`
|
|
59
|
-
|
|
60
|
-
Converts NSS (note setting asset) to SIFC (SIF Chart).
|
|
61
|
-
|
|
62
|
-
- `nss`: note setting asset.
|
|
63
|
-
|
|
64
|
-
### `sifcToLevelData(chart, offset?)`
|
|
65
|
-
|
|
66
|
-
Converts SIFC (SIF Chart) to Level Data.
|
|
67
|
-
|
|
68
|
-
- `chart`: SIF Chart.
|
|
69
|
-
- `offset`: offset (default: `0`).
|
|
1
|
+
# Sonolus LLSIF Engine
|
|
2
|
+
|
|
3
|
+
A recreation of Love Live! School idol festival engine in [Sonolus](https://sonolus.com).
|
|
4
|
+
|
|
5
|
+
## Links
|
|
6
|
+
|
|
7
|
+
- [Sonolus Website](https://sonolus.com)
|
|
8
|
+
- [Sonolus Wiki](https://github.com/NonSpicyBurrito/sonolus-wiki)
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
npm install sonolus-llsif-engine
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Custom Resources
|
|
17
|
+
|
|
18
|
+
### Skin Sprites
|
|
19
|
+
|
|
20
|
+
| Name |
|
|
21
|
+
| ------------------------- |
|
|
22
|
+
| `LLSIF Connection Active` |
|
|
23
|
+
|
|
24
|
+
## Documentation
|
|
25
|
+
|
|
26
|
+
### `version`
|
|
27
|
+
|
|
28
|
+
Package version.
|
|
29
|
+
|
|
30
|
+
### `databaseEngineItem`
|
|
31
|
+
|
|
32
|
+
Partial database engine item compatible with [sonolus-express](https://github.com/NonSpicyBurrito/sonolus-express).
|
|
33
|
+
|
|
34
|
+
### `engineConfigurationPath`
|
|
35
|
+
|
|
36
|
+
Path to Engine Configuration file.
|
|
37
|
+
|
|
38
|
+
### `enginePlayDataPath`
|
|
39
|
+
|
|
40
|
+
Path to Engine Play Data file.
|
|
41
|
+
|
|
42
|
+
### `engineWatchDataPath`
|
|
43
|
+
|
|
44
|
+
Path to Engine Watch Data file.
|
|
45
|
+
|
|
46
|
+
### `enginePreviewDataPath`
|
|
47
|
+
|
|
48
|
+
Path to Engine Preview Data file.
|
|
49
|
+
|
|
50
|
+
### `engineTutorialDataPath`
|
|
51
|
+
|
|
52
|
+
Path to Engine Tutorial Data file.
|
|
53
|
+
|
|
54
|
+
### `engineThumbnailPath`
|
|
55
|
+
|
|
56
|
+
Path to Engine Thumbnail file.
|
|
57
|
+
|
|
58
|
+
### `nssToSIFC(nss)`
|
|
59
|
+
|
|
60
|
+
Converts NSS (note setting asset) to SIFC (SIF Chart).
|
|
61
|
+
|
|
62
|
+
- `nss`: note setting asset.
|
|
63
|
+
|
|
64
|
+
### `sifcToLevelData(chart, offset?)`
|
|
65
|
+
|
|
66
|
+
Converts SIFC (SIF Chart) to Level Data.
|
|
67
|
+
|
|
68
|
+
- `chart`: SIF Chart.
|
|
69
|
+
- `offset`: offset (default: `0`).
|
package/dist/EnginePlayData
CHANGED
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -22,7 +22,7 @@ __exportStar(require("./nss/index.cjs"), exports);
|
|
|
22
22
|
var convert_cjs_2 = require("./sifc/convert.cjs");
|
|
23
23
|
Object.defineProperty(exports, "sifcToLevelData", { enumerable: true, get: function () { return convert_cjs_2.sifcToLevelData; } });
|
|
24
24
|
__exportStar(require("./sifc/index.cjs"), exports);
|
|
25
|
-
exports.version = '1.4.
|
|
25
|
+
exports.version = '1.4.1';
|
|
26
26
|
exports.databaseEngineItem = {
|
|
27
27
|
name: 'llsif',
|
|
28
28
|
version: 12,
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { nssToSIFC } from './nss/convert.cjs';
|
|
|
2
2
|
export * from './nss/index.cjs';
|
|
3
3
|
export { sifcToLevelData } from './sifc/convert.cjs';
|
|
4
4
|
export * from './sifc/index.cjs';
|
|
5
|
-
export declare const version = "1.4.
|
|
5
|
+
export declare const version = "1.4.1";
|
|
6
6
|
export declare const databaseEngineItem: {
|
|
7
7
|
readonly name: "llsif";
|
|
8
8
|
readonly version: 12;
|
package/dist/sifc/convert.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sifcToLevelData =
|
|
3
|
+
exports.sifcToLevelData = sifcToLevelData;
|
|
4
4
|
const core_1 = require("@sonolus/core");
|
|
5
5
|
function sifcToLevelData(chart, offset = 0) {
|
|
6
6
|
const entities = [];
|
|
@@ -89,7 +89,6 @@ function sifcToLevelData(chart, offset = 0) {
|
|
|
89
89
|
entities,
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
exports.sifcToLevelData = sifcToLevelData;
|
|
93
92
|
const bpm = (object, append) => {
|
|
94
93
|
append({
|
|
95
94
|
archetype: core_1.EngineArchetypeName.BpmChange,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonolus-llsif-engine",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "A recreation of Love Live! School idol festival engine in Sonolus",
|
|
5
5
|
"author": "NonSpicyBurrito",
|
|
6
6
|
"repository": "github:NonSpicyBurrito/sonolus-llsif-engine",
|
|
@@ -21,17 +21,18 @@
|
|
|
21
21
|
"build": "tsc -p ./lib && sonolus-cli --build ./play && sonolus-cli --build ./watch && sonolus-cli --build ./preview && sonolus-cli --build ./tutorial && node ./lib/build.mjs"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@sonolus/core": "~7.
|
|
24
|
+
"@sonolus/core": "~7.9.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"eslint": "^
|
|
27
|
+
"@eslint/js": "^9.9.0",
|
|
28
|
+
"@sonolus/sonolus.js": "~9.4.5",
|
|
29
|
+
"@types/eslint__js": "^8.42.3",
|
|
30
|
+
"@types/node": "^20.16.1",
|
|
31
|
+
"eslint": "^9.9.0",
|
|
32
32
|
"eslint-config-prettier": "^9.1.0",
|
|
33
|
-
"prettier": "^3.
|
|
34
|
-
"prettier-plugin-organize-imports": "^
|
|
35
|
-
"typescript": "~5.
|
|
33
|
+
"prettier": "^3.3.3",
|
|
34
|
+
"prettier-plugin-organize-imports": "^4.0.0",
|
|
35
|
+
"typescript": "~5.5.4",
|
|
36
|
+
"typescript-eslint": "^8.2.0"
|
|
36
37
|
}
|
|
37
38
|
}
|