@wasm-gaming/rsdkv4-wasm 0.1.5 → 0.2.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.
@@ -1,94 +0,0 @@
1
- {
2
- "id": "rsdkv4",
3
- "version": "0.1.5",
4
- "name": "Retro Software Development Kit v4",
5
- "description": "RSDKv4 compiled to WebAssembly via Emscripten. One game-agnostic WASM binary runs both Sonic 1 and Sonic 2 — the difference is only which Data.rsdk the host supplies at runtime. Ships none of the game: the player provides their own Data.rsdk, and it never leaves their browser.",
6
- "artifacts": {
7
- "wasm": "rsdkv4/rsdkv4.wasm",
8
- "js": "rsdkv4/rsdkv4.js"
9
- },
10
- "assets": [
11
- {
12
- "key": "data",
13
- "mountPath": "/data/Data.rsdk",
14
- "required": true,
15
- "accept": [
16
- ".rsdk"
17
- ],
18
- "description": "RSDKv4 game data pack. Differs per game (Sonic 1 vs Sonic 2); selects the game."
19
- },
20
- {
21
- "key": "settings",
22
- "mountPath": "/data/settings.ini",
23
- "required": false,
24
- "accept": [
25
- ".ini"
26
- ],
27
- "description": "Engine settings. Omitted → the SDK generates one from config.options."
28
- }
29
- ],
30
- "input": {
31
- "up": "ArrowUp",
32
- "down": "ArrowDown",
33
- "left": "ArrowLeft",
34
- "right": "ArrowRight",
35
- "a": "KeyZ",
36
- "b": "KeyX",
37
- "c": "KeyC",
38
- "start": "Enter",
39
- "select": "ShiftLeft"
40
- },
41
- "video": {
42
- "baseWidth": 424,
43
- "baseHeight": 240,
44
- "aspect": "16:9"
45
- },
46
- "options": {
47
- "type": "object",
48
- "additionalProperties": false,
49
- "properties": {
50
- "devMenu": {
51
- "type": "boolean",
52
- "default": false,
53
- "description": "RSDKv4's native in-canvas Dev Menu. The launcher provides its own overlay via instance.devMenu, so keep this off."
54
- },
55
- "engineDebugMode": {
56
- "type": "boolean",
57
- "default": true,
58
- "description": "Enables the web devmenu embind bridge (stage list / warp / pause)."
59
- },
60
- "vsync": {
61
- "type": "boolean",
62
- "default": true
63
- },
64
- "skipStartMenu": {
65
- "type": "boolean",
66
- "default": false,
67
- "description": "Skip the engine's own save/character/options screens — set it when the host renders them from instance.game."
68
- },
69
- "startingCategory": {
70
- "type": "integer",
71
- "minimum": 0,
72
- "default": 255,
73
- "description": "0-based stage-list category; 255 = unset (normal boot flow)."
74
- },
75
- "startingScene": {
76
- "type": "integer",
77
- "minimum": 0,
78
- "default": 255,
79
- "description": "0-based scene in the category; 255 = unset (normal boot flow)."
80
- },
81
- "startingPlayer": {
82
- "type": "integer",
83
- "minimum": 0,
84
- "default": 255,
85
- "description": "Player/character index; 255 = unset (normal boot flow)."
86
- }
87
- }
88
- },
89
- "capabilities": {
90
- "saveStates": false,
91
- "sram": false,
92
- "coreSelectable": false
93
- }
94
- }
@@ -1,4 +0,0 @@
1
- import type { EngineManifest } from '@wasm-gaming/engine-specs';
2
- export declare const manifest: EngineManifest;
3
- export default manifest;
4
- //# sourceMappingURL=rsdkv4.manifest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rsdkv4.manifest.d.ts","sourceRoot":"","sources":["../../src/rsdkv4.manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,eAAO,MAAM,QAAQ,EAAE,cA+CtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,51 +0,0 @@
1
- // The rsdkv4 EngineManifest — typed against the contract, so a drift from
2
- // @wasm-gaming/engine-specs is a compile error here. `npm run build:manifest`
3
- // serializes this to dist/manifest.json (the artifact CI attaches to a Release).
4
- import { RSDKV4_OPTIONS_SCHEMA } from './rsdkv4.options.js';
5
- export const manifest = {
6
- id: 'rsdkv4',
7
- version: '0.1.5',
8
- name: 'Retro Software Development Kit v4',
9
- description: 'RSDKv4 compiled to WebAssembly via Emscripten. One game-agnostic WASM binary runs both Sonic 1 and Sonic 2 — the difference is only which Data.rsdk the host supplies at runtime. Ships none of the game: the player provides their own Data.rsdk, and it never leaves their browser.',
10
- artifacts: {
11
- // Relative to the manifest (dist/manifest.json); the engine files live in
12
- // the dist/rsdkv4/ subfolder.
13
- wasm: 'rsdkv4/rsdkv4.wasm',
14
- js: 'rsdkv4/rsdkv4.js',
15
- },
16
- assets: [
17
- {
18
- key: 'data',
19
- // Lives under the OPFS-backed (persistent) working dir; the engine reads it
20
- // via CWD (booted with the UsingCWD arg).
21
- mountPath: '/data/Data.rsdk',
22
- required: true,
23
- accept: ['.rsdk'],
24
- description: 'RSDKv4 game data pack. Differs per game (Sonic 1 vs Sonic 2); selects the game.',
25
- },
26
- {
27
- key: 'settings',
28
- mountPath: '/data/settings.ini',
29
- required: false,
30
- accept: ['.ini'],
31
- description: 'Engine settings. Omitted → the SDK generates one from config.options.',
32
- },
33
- ],
34
- // RSDKv4 keyboard defaults. The key names are KeyboardEvent.code values.
35
- input: {
36
- up: 'ArrowUp',
37
- down: 'ArrowDown',
38
- left: 'ArrowLeft',
39
- right: 'ArrowRight',
40
- a: 'KeyZ',
41
- b: 'KeyX',
42
- c: 'KeyC',
43
- start: 'Enter',
44
- select: 'ShiftLeft',
45
- },
46
- video: { baseWidth: 424, baseHeight: 240, aspect: '16:9' },
47
- options: RSDKV4_OPTIONS_SCHEMA,
48
- capabilities: { saveStates: false, sram: false, coreSelectable: false },
49
- };
50
- export default manifest;
51
- //# sourceMappingURL=rsdkv4.manifest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rsdkv4.manifest.js","sourceRoot":"","sources":["../../src/rsdkv4.manifest.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,8EAA8E;AAC9E,iFAAiF;AAGjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,QAAQ,GAAmB;IACtC,EAAE,EAAE,QAAQ;IACZ,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,mCAAmC;IACzC,WAAW,EACT,uRAAuR;IACzR,SAAS,EAAE;QACT,0EAA0E;QAC1E,8BAA8B;QAC9B,IAAI,EAAE,oBAAoB;QAC1B,EAAE,EAAE,kBAAkB;KACvB;IACD,MAAM,EAAE;QACN;YACE,GAAG,EAAE,MAAM;YACX,4EAA4E;YAC5E,0CAA0C;YAC1C,SAAS,EAAE,iBAAiB;YAC5B,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,CAAC,OAAO,CAAC;YACjB,WAAW,EACT,iFAAiF;SACpF;QACD;YACE,GAAG,EAAE,UAAU;YACf,SAAS,EAAE,oBAAoB;YAC/B,QAAQ,EAAE,KAAK;YACf,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,WAAW,EACT,uEAAuE;SAC1E;KACF;IACD,yEAAyE;IACzE,KAAK,EAAE;QACL,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,YAAY;QACnB,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,WAAW;KACpB;IACD,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE;IAC1D,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE;CACxE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,57 +0,0 @@
1
- // The rsdkv4 EngineManifest — typed against the contract, so a drift from
2
- // @wasm-gaming/engine-specs is a compile error here. `npm run build:manifest`
3
- // serializes this to dist/manifest.json (the artifact CI attaches to a Release).
4
-
5
- import type { EngineManifest } from '@wasm-gaming/engine-specs';
6
- import { RSDKV4_OPTIONS_SCHEMA } from './rsdkv4.options.js';
7
-
8
- export const manifest: EngineManifest = {
9
- id: 'rsdkv4',
10
- version: '0.1.5',
11
- name: 'Retro Software Development Kit v4',
12
- description:
13
- 'RSDKv4 compiled to WebAssembly via Emscripten. One game-agnostic WASM binary runs both Sonic 1 and Sonic 2 — the difference is only which Data.rsdk the host supplies at runtime. Ships none of the game: the player provides their own Data.rsdk, and it never leaves their browser.',
14
- artifacts: {
15
- // Relative to the manifest (dist/manifest.json); the engine files live in
16
- // the dist/rsdkv4/ subfolder.
17
- wasm: 'rsdkv4/rsdkv4.wasm',
18
- js: 'rsdkv4/rsdkv4.js',
19
- },
20
- assets: [
21
- {
22
- key: 'data',
23
- // Lives under the OPFS-backed (persistent) working dir; the engine reads it
24
- // via CWD (booted with the UsingCWD arg).
25
- mountPath: '/data/Data.rsdk',
26
- required: true,
27
- accept: ['.rsdk'],
28
- description:
29
- 'RSDKv4 game data pack. Differs per game (Sonic 1 vs Sonic 2); selects the game.',
30
- },
31
- {
32
- key: 'settings',
33
- mountPath: '/data/settings.ini',
34
- required: false,
35
- accept: ['.ini'],
36
- description:
37
- 'Engine settings. Omitted → the SDK generates one from config.options.',
38
- },
39
- ],
40
- // RSDKv4 keyboard defaults. The key names are KeyboardEvent.code values.
41
- input: {
42
- up: 'ArrowUp',
43
- down: 'ArrowDown',
44
- left: 'ArrowLeft',
45
- right: 'ArrowRight',
46
- a: 'KeyZ',
47
- b: 'KeyX',
48
- c: 'KeyC',
49
- start: 'Enter',
50
- select: 'ShiftLeft',
51
- },
52
- video: { baseWidth: 424, baseHeight: 240, aspect: '16:9' },
53
- options: RSDKV4_OPTIONS_SCHEMA,
54
- capabilities: { saveStates: false, sram: false, coreSelectable: false },
55
- };
56
-
57
- export default manifest;