sonolus-bandori-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 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,85 +1,85 @@
1
- # Sonolus Bandori Engine
2
-
3
- A recreation of BanG Dream! Girls Band Party 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-bandori-engine
14
- ```
15
-
16
- ## Custom Resources
17
-
18
- ### Skin Sprites
19
-
20
- | Name | Bandori Asset Path |
21
- | ---------------------------------------- | ----------------------------------------------------- |
22
- | `Bandori Stage` | `/ingameskin/fieldskin/{name}/bg_line_rhythm` |
23
- | `Bandori Judgment Line` | `/ingameskin/fieldskin/{name}/game_play_line` |
24
- | `Bandori Directional Flick Note Left` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
25
- | `Bandori Directional Flick Note Right` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
26
- | `Bandori Directional Flick Marker Left` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
27
- | `Bandori Directional Flick Marker Right` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
28
-
29
- ### Effect Clips
30
-
31
- | Name | Bandori Asset Path |
32
- | ---------------------------------- | ------------------------------------------ |
33
- | `Bandori Directional Flick Single` | `/sound/tapseskin/{name}/directional_fl` |
34
- | `Bandori Directional Flick Double` | `/sound/tapseskin/{name}/directional_fl_2` |
35
- | `Bandori Directional Flick Triple` | `/sound/tapseskin/{name}/directional_fl_3` |
36
-
37
- ### Particle Effects
38
-
39
- | Name |
40
- | ------------------------------------------ |
41
- | `Bandori Circular Directional Flick Left` |
42
- | `Bandori Linear Directional Flick Left` |
43
- | `Bandori Circular Directional Flick Right` |
44
- | `Bandori Linear Directional Flick Right` |
45
-
46
- ## Documentation
47
-
48
- ### `version`
49
-
50
- Package version.
51
-
52
- ### `databaseEngineItem`
53
-
54
- Partial database engine item compatible with [sonolus-express](https://github.com/NonSpicyBurrito/sonolus-express).
55
-
56
- ### `engineConfigurationPath`
57
-
58
- Path to Engine Configuration file.
59
-
60
- ### `enginePlayDataPath`
61
-
62
- Path to Engine Play Data file.
63
-
64
- ### `engineWatchDataPath`
65
-
66
- Path to Engine Watch Data file.
67
-
68
- ### `enginePreviewDataPath`
69
-
70
- Path to Engine Preview Data file.
71
-
72
- ### `engineTutorialDataPath`
73
-
74
- Path to Engine Tutorial Data file.
75
-
76
- ### `engineThumbnailPath`
77
-
78
- Path to Engine Thumbnail file.
79
-
80
- ### `bestdoriToLevelData(chart, offset?)`
81
-
82
- Converts Bestdori chart to Level Data.
83
-
84
- - `chart`: Bestdori chart.
85
- - `offset`: offset (default: `0`).
1
+ # Sonolus Bandori Engine
2
+
3
+ A recreation of BanG Dream! Girls Band Party 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-bandori-engine
14
+ ```
15
+
16
+ ## Custom Resources
17
+
18
+ ### Skin Sprites
19
+
20
+ | Name | Bandori Asset Path |
21
+ | ---------------------------------------- | ----------------------------------------------------- |
22
+ | `Bandori Stage` | `/ingameskin/fieldskin/{name}/bg_line_rhythm` |
23
+ | `Bandori Judgment Line` | `/ingameskin/fieldskin/{name}/game_play_line` |
24
+ | `Bandori Directional Flick Note Left` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
25
+ | `Bandori Directional Flick Note Right` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
26
+ | `Bandori Directional Flick Marker Left` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
27
+ | `Bandori Directional Flick Marker Right` | `/ingameskin/noteskin/{name}/DirectionalFlickSprites` |
28
+
29
+ ### Effect Clips
30
+
31
+ | Name | Bandori Asset Path |
32
+ | ---------------------------------- | ------------------------------------------ |
33
+ | `Bandori Directional Flick Single` | `/sound/tapseskin/{name}/directional_fl` |
34
+ | `Bandori Directional Flick Double` | `/sound/tapseskin/{name}/directional_fl_2` |
35
+ | `Bandori Directional Flick Triple` | `/sound/tapseskin/{name}/directional_fl_3` |
36
+
37
+ ### Particle Effects
38
+
39
+ | Name |
40
+ | ------------------------------------------ |
41
+ | `Bandori Circular Directional Flick Left` |
42
+ | `Bandori Linear Directional Flick Left` |
43
+ | `Bandori Circular Directional Flick Right` |
44
+ | `Bandori Linear Directional Flick Right` |
45
+
46
+ ## Documentation
47
+
48
+ ### `version`
49
+
50
+ Package version.
51
+
52
+ ### `databaseEngineItem`
53
+
54
+ Partial database engine item compatible with [sonolus-express](https://github.com/NonSpicyBurrito/sonolus-express).
55
+
56
+ ### `engineConfigurationPath`
57
+
58
+ Path to Engine Configuration file.
59
+
60
+ ### `enginePlayDataPath`
61
+
62
+ Path to Engine Play Data file.
63
+
64
+ ### `engineWatchDataPath`
65
+
66
+ Path to Engine Watch Data file.
67
+
68
+ ### `enginePreviewDataPath`
69
+
70
+ Path to Engine Preview Data file.
71
+
72
+ ### `engineTutorialDataPath`
73
+
74
+ Path to Engine Tutorial Data file.
75
+
76
+ ### `engineThumbnailPath`
77
+
78
+ Path to Engine Thumbnail file.
79
+
80
+ ### `bestdoriToLevelData(chart, offset?)`
81
+
82
+ Converts Bestdori chart to Level Data.
83
+
84
+ - `chart`: Bestdori chart.
85
+ - `offset`: offset (default: `0`).
Binary file
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bestdoriToLevelData = void 0;
3
+ exports.bestdoriToLevelData = bestdoriToLevelData;
4
4
  const core_1 = require("@sonolus/core");
5
5
  function bestdoriToLevelData(chart, offset = 0) {
6
6
  const entities = [];
@@ -87,7 +87,6 @@ function bestdoriToLevelData(chart, offset = 0) {
87
87
  entities,
88
88
  };
89
89
  }
90
- exports.bestdoriToLevelData = bestdoriToLevelData;
91
90
  const bpm = (object, append) => {
92
91
  append({
93
92
  archetype: core_1.EngineArchetypeName.BpmChange,
package/dist/index.cjs CHANGED
@@ -19,7 +19,7 @@ const node_path_1 = require("node:path");
19
19
  var convert_cjs_1 = require("./bestdori/convert.cjs");
20
20
  Object.defineProperty(exports, "bestdoriToLevelData", { enumerable: true, get: function () { return convert_cjs_1.bestdoriToLevelData; } });
21
21
  __exportStar(require("./bestdori/index.cjs"), exports);
22
- exports.version = '1.4.0';
22
+ exports.version = '1.4.1';
23
23
  exports.databaseEngineItem = {
24
24
  name: 'bandori',
25
25
  version: 12,
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { bestdoriToLevelData } from './bestdori/convert.cjs';
2
2
  export * from './bestdori/index.cjs';
3
- export declare const version = "1.4.0";
3
+ export declare const version = "1.4.1";
4
4
  export declare const databaseEngineItem: {
5
5
  readonly name: "bandori";
6
6
  readonly version: 12;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonolus-bandori-engine",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A recreation of BanG Dream! Girls Band Party engine in Sonolus",
5
5
  "author": "NonSpicyBurrito",
6
6
  "repository": "github:NonSpicyBurrito/sonolus-bandori-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.5.0"
24
+ "@sonolus/core": "~7.9.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@sonolus/sonolus.js": "~9.4.0",
28
- "@types/node": "^16.18.68",
29
- "@typescript-eslint/eslint-plugin": "^6.14.0",
30
- "@typescript-eslint/parser": "^6.14.0",
31
- "eslint": "^8.55.0",
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.1.1",
34
- "prettier-plugin-organize-imports": "^3.2.4",
35
- "typescript": "~5.3.3"
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
  }