sonolus-next-rush-plus-engine 0.0.0
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 +21 -0
- package/README.md +46 -0
- package/package.json +42 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Kyle Chang
|
|
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
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Next RUSH+ Sonolus Engine
|
|
2
|
+
|
|
3
|
+
A new Project Sekai inspired engine for [Sonolus](https://sonolus.com).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm install @next-sekai/sonolus-next-sekai-engine
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Documentation
|
|
12
|
+
|
|
13
|
+
### `version`
|
|
14
|
+
|
|
15
|
+
Package version.
|
|
16
|
+
|
|
17
|
+
### `databaseEngineItem`
|
|
18
|
+
|
|
19
|
+
Partial database engine item compatible with [sonolus-express](https://github.com/Sonolus/sonolus-express).
|
|
20
|
+
|
|
21
|
+
### `susToUSC(sus)`
|
|
22
|
+
|
|
23
|
+
Converts sus chart to USC (Universal Sekai Chart).
|
|
24
|
+
|
|
25
|
+
- `sus`: sus chart.
|
|
26
|
+
|
|
27
|
+
### `uscToLevelData(usc, offset?)`
|
|
28
|
+
|
|
29
|
+
Converts USC (Universal Sekai Chart) to Level Data.
|
|
30
|
+
|
|
31
|
+
- `usc`: usc chart.
|
|
32
|
+
- `offset`: offset (default: `0`).
|
|
33
|
+
|
|
34
|
+
### Assets
|
|
35
|
+
|
|
36
|
+
The following assets are exposed as package entry points:
|
|
37
|
+
|
|
38
|
+
- `EngineConfiguration`
|
|
39
|
+
- `EnginePlayData`
|
|
40
|
+
- `EngineWatchData`
|
|
41
|
+
- `EnginePreviewData`
|
|
42
|
+
- `EngineTutorialData`
|
|
43
|
+
- `EngineRom`
|
|
44
|
+
- `EngineThumbnail`
|
|
45
|
+
|
|
46
|
+
In Node.js, you can obtain path to assets `import.meta.resolve('sonolus-pjsekai-engine/EngineConfiguration')`.
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sonolus-next-rush-plus-engine",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "A new Project Sekai inspired engine for Sonolus",
|
|
5
|
+
"author": "Hyeon2",
|
|
6
|
+
"repository": "github:hyeon2006/sonolus-next-rush-plus-engine",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"Sonolus"
|
|
10
|
+
],
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"type": "module",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": "./dist/index.js",
|
|
17
|
+
"./EngineConfiguration": "./dist/EngineConfiguration",
|
|
18
|
+
"./EnginePlayData": "./dist/EnginePlayData",
|
|
19
|
+
"./EngineWatchData": "./dist/EngineWatchData",
|
|
20
|
+
"./EnginePreviewData": "./dist/EnginePreviewData",
|
|
21
|
+
"./EngineTutorialData": "./dist/EngineTutorialData",
|
|
22
|
+
"./EngineRom": "./dist/EngineRom",
|
|
23
|
+
"./EngineThumbnail": "./dist/thumbnail.png"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"check-type": "tsc -p . --noEmit",
|
|
27
|
+
"biome": "biome check",
|
|
28
|
+
"format": "biome format --write --files-max-size=100000000000",
|
|
29
|
+
"version": "node ./version.js",
|
|
30
|
+
"build": "tsc -p . && node ./build.js"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@sonolus/core": "~7.14.2"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@biomejs/biome": "2.3.8",
|
|
37
|
+
"@sonolus/sonolus.js": "~9.6.0",
|
|
38
|
+
"@types/node": "^22.19.1",
|
|
39
|
+
"typescript": "~5.9.3",
|
|
40
|
+
"typescript-eslint": "^8.48.1"
|
|
41
|
+
}
|
|
42
|
+
}
|