@wasm-gaming/rsdkv5-wasm 0.1.0 → 0.1.2

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,19 +1,67 @@
1
- import type { JSONSchema } from '@wasm-gaming/engine-specs';
2
- export interface Rsdkv5Options {
3
- /**
4
- * Sonic Mania's native dev menu. Kept off by default: the launcher owns its
5
- * own overlay, and leaving this on can hijack boot flow.
6
- */
1
+ /**
2
+ * What RSDKv5 accepts, as types and as data.
3
+ *
4
+ * The four payloads of the wasm-gaming engine contract, closed for this engine, and
5
+ * {@link RSDKV5_SPEC} — the same thing as data the contract's base class reads:
6
+ * every default lives there and nowhere else.
7
+ */
8
+ import type { EnginePayloads, EngineSpec } from '@wasm-gaming/engine-specs';
9
+ /** Bytes, or a thunk that produces them only when the engine actually needs them. */
10
+ export type Rsdkv5Asset = Uint8Array | ArrayBuffer | null | (() => Uint8Array | ArrayBuffer | null | Promise<Uint8Array | ArrayBuffer | null>);
11
+ /** The engine, written into the generated `Settings.ini`. Fixed for the life of the wasm. */
12
+ export interface Rsdkv5Config {
13
+ /** Sonic Mania's native dev menu. A host draws its own from `play.devMenu`. */
7
14
  devMenu?: boolean;
8
- /** Enables the debug hooks exposed by the web build. */
9
- engineDebugMode?: boolean;
10
- /** VSync the engine's SDL window. */
11
15
  vsync?: boolean;
12
- /** Language numeric value used by the build's settings.ini. */
16
+ /** RSDKv5 language index (0 = English). */
13
17
  language?: number;
14
- /** Region numeric value used by the build's settings.ini. */
18
+ /** RSDKv5 region (-1 = auto). */
15
19
  region?: number;
20
+ /** Emscripten glue URL. Defaults to `./rsdkv5.js` next to the SDK. */
21
+ jsUrl?: string;
22
+ /** WASM URL. Defaults to `./rsdkv5.wasm` next to the SDK. */
23
+ wasmUrl?: string;
24
+ }
25
+ /** The session. Nothing per-session yet. */
26
+ export type Rsdkv5Options = Record<string, never>;
27
+ export interface Rsdkv5Assets {
28
+ /** The game's `Data.rsdk` (Sonic Mania). Required to start. */
29
+ data?: Rsdkv5Asset;
30
+ /** A ready-made `Settings.ini`; omitted, one is generated from `config`. */
31
+ settings?: Rsdkv5Asset;
32
+ }
33
+ /** Where this engine's files live, and whether they outlive the page. */
34
+ export interface Rsdkv5Storage {
35
+ /**
36
+ * Per-game folder, relative to the engine's own: files land in `rsdkv5/<namespace>/`
37
+ * (WASMFS `/data/rsdkv5/<namespace>`, and the OPFS folder the save is mirrored to).
38
+ * Segments are cleaned (`.`/`..` dropped, odd characters → `_`); a leading
39
+ * `rsdkv5/` is stripped once. `play.storagePath` gives the result.
40
+ *
41
+ * @defaultValue `"default"`
42
+ */
43
+ namespace?: string;
44
+ /** `null` keeps nothing; otherwise the game's user files are mirrored to OPFS. */
45
+ persist?: 'opfs' | null;
46
+ }
47
+ export interface Rsdkv5Events {
48
+ /** Save files changed and were written to `rsdkv5/<namespace>/`. */
49
+ saves: {
50
+ files: string[];
51
+ };
52
+ }
53
+ export interface Rsdkv5Payloads extends EnginePayloads {
54
+ config: Rsdkv5Config;
55
+ options: Rsdkv5Options;
56
+ assets: Rsdkv5Assets;
57
+ storage: Rsdkv5Storage;
58
+ events: Rsdkv5Events;
16
59
  }
17
- export declare const DEFAULT_RSDKV5_OPTIONS: Required<Rsdkv5Options>;
18
- export declare const RSDKV5_OPTIONS_SCHEMA: JSONSchema;
60
+ /** The native picture, which the SDK scales to fit its mount. */
61
+ export declare const RSDKV5_VIDEO: {
62
+ readonly width: 424;
63
+ readonly height: 240;
64
+ readonly aspect: "16:9";
65
+ };
66
+ export declare const RSDKV5_SPEC: EngineSpec<Rsdkv5Payloads>;
19
67
  //# sourceMappingURL=rsdkv5.options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rsdkv5.options.d.ts","sourceRoot":"","sources":["../../src/rsdkv5.options.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,WAAW,aAAa;IAC5B;;;OA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EAA4E;IAC5E,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB;AAED,yEAAyE;AACzE,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,oEAAoE;IACpE,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CAC5B;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,iEAAiE;AACjE,eAAO,MAAM,YAAY;;;;CAAuD,CAAC;AAEjF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,cAAc,CAsClD,CAAC"}
@@ -1,28 +1,42 @@
1
- // Engine-specific options for RSDKv5U (Sonic Mania).
2
- export const DEFAULT_RSDKV5_OPTIONS = {
3
- devMenu: false,
4
- engineDebugMode: true,
5
- vsync: true,
6
- language: 0,
7
- region: -1,
8
- };
9
- export const RSDKV5_OPTIONS_SCHEMA = {
10
- type: 'object',
11
- additionalProperties: false,
12
- properties: {
1
+ /** The native picture, which the SDK scales to fit its mount. */
2
+ export const RSDKV5_VIDEO = { width: 424, height: 240, aspect: '16:9' };
3
+ export const RSDKV5_SPEC = {
4
+ config: {
13
5
  devMenu: {
14
- type: 'boolean',
15
6
  default: false,
16
- description: "Sonic Mania's native dev menu. The launcher provides its own overlay, so keep this off.",
7
+ live: false,
8
+ description: "Sonic Mania's native dev menu; keep it off and draw your own from play.devMenu.",
9
+ },
10
+ vsync: { default: true, live: false, description: 'VSync in the generated Settings.ini.' },
11
+ language: { default: 0, live: false, description: 'RSDKv5 language index (0 = English).' },
12
+ region: { default: -1, live: false, description: 'RSDKv5 region (-1 = auto).' },
13
+ jsUrl: { live: false, description: 'Emscripten glue URL. Defaults to ./rsdkv5.js.' },
14
+ wasmUrl: { live: false, description: 'WASM URL. Defaults to ./rsdkv5.wasm.' },
15
+ },
16
+ options: {},
17
+ assets: {
18
+ data: {
19
+ allowedTypes: ['.rsdk'],
20
+ live: false,
21
+ description: 'The RSDKv5 game data pack (Sonic Mania). Required to start.',
22
+ },
23
+ settings: {
24
+ allowedTypes: ['.ini'],
25
+ live: false,
26
+ description: 'A ready-made Settings.ini. Omitted, one is generated from config.',
27
+ },
28
+ },
29
+ storage: {
30
+ namespace: {
31
+ default: 'default',
32
+ live: false,
33
+ description: "Folder for this game's saves, inside the engine's own rsdkv5/ folder (OPFS rsdkv5/<namespace>/).",
17
34
  },
18
- engineDebugMode: {
19
- type: 'boolean',
20
- default: true,
21
- description: 'Enables the web debug hooks.',
35
+ persist: {
36
+ enum: ['opfs', null],
37
+ live: false,
38
+ description: "null keeps nothing; otherwise the game's user files are mirrored to OPFS.",
22
39
  },
23
- vsync: { type: 'boolean', default: true },
24
- language: { type: 'integer', default: 0, minimum: 0 },
25
- region: { type: 'integer', default: -1 },
26
40
  },
27
41
  };
28
42
  //# sourceMappingURL=rsdkv5.options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rsdkv5.options.js","sourceRoot":"","sources":["../../src/rsdkv5.options.ts"],"names":[],"mappings":"AAAA,qDAAqD;AA8BrD,MAAM,CAAC,MAAM,sBAAsB,GAA4B;IAC7D,OAAO,EAAE,KAAK;IACd,eAAe,EAAE,IAAI;IACrB,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,CAAC;IACX,MAAM,EAAE,CAAC,CAAC;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAe;IAC/C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf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;KAC9E;IACD,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN,IAAI,EAAE;YACJ,YAAY,EAAE,CAAC,OAAO,CAAC;YACvB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,6DAA6D;SAC3E;QACD,QAAQ,EAAE;YACR,YAAY,EAAE,CAAC,MAAM,CAAC;YACtB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,mEAAmE;SACjF;KACF;IACD,OAAO,EAAE;QACP,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,kGAAkG;SAChH;QACD,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;YACpB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,2EAA2E;SACzF;KACF;CACF,CAAC"}
@@ -1,7 +1,32 @@
1
- import type { EngineConfig, EngineInstance, AssetData } from '@wasm-gaming/engine-specs';
2
- import { manifest } from './rsdkv5.manifest.js';
3
- export { manifest };
4
- /** RSDKv5-specific bridge for the launcher's debug/stage-select UI. */
1
+ /**
2
+ * The engine package's entry point: an `EngineSDK` for RSDKv5 (Sonic Mania).
3
+ *
4
+ * ```js
5
+ * import Rsdkv5SDK from '@wasm-gaming/rsdkv5-wasm';
6
+ *
7
+ * const play = await new Rsdkv5SDK()
8
+ * .assets({ data: () => readDataRsdk() }) // bytes, or a thunk
9
+ * .storage({ namespace: 'sonic-mania' }) // → OPFS rsdkv5/sonic-mania/
10
+ * .mount(document.querySelector('#stage'))
11
+ * .start();
12
+ *
13
+ * play.pause('menu'); play.resume('menu');
14
+ * play.devMenu.getStageList(); // the host draws its own stage select
15
+ * await play.destroy(); // save flushed, loop stopped, audio closed
16
+ * ```
17
+ *
18
+ * One game-agnostic `rsdkv5.wasm`: `Data.rsdk` is written into the filesystem at
19
+ * runtime, never baked in. The working dir `/data/rsdkv5/<namespace>` is in memory;
20
+ * Sonic Mania writes its user files there (`SaveData.bin`, `TimeAttackDB.bin`,
21
+ * `ReplayDB.bin`, `Replay_*.bin`). The SDK seeds them from OPFS `rsdkv5/<namespace>/`
22
+ * before boot and mirrors back whatever changed (every 10 s, on pause, on page hide
23
+ * and on destroy).
24
+ */
25
+ import { EnginePlayBase, EngineSDKBase, EventEmitter, type EngineInit, type EngineSDKConstructor, type EventsOf, type PayloadKind } from '@wasm-gaming/engine-specs';
26
+ import { type Rsdkv5Config, type Rsdkv5Options, type Rsdkv5Payloads } from './rsdkv5.options.js';
27
+ export type { Rsdkv5Asset, Rsdkv5Assets, Rsdkv5Config, Rsdkv5Events, Rsdkv5Options, Rsdkv5Payloads, Rsdkv5Storage, } from './rsdkv5.options.js';
28
+ export { RSDKV5_SPEC, RSDKV5_VIDEO } from './rsdkv5.options.js';
29
+ /** The launcher's handle on RSDKv5's stage list, for drawing its own dev menu. */
5
30
  export interface RsdkDevMenuBridge {
6
31
  getStageList(): Array<{
7
32
  name: string;
@@ -9,36 +34,59 @@ export interface RsdkDevMenuBridge {
9
34
  name: string;
10
35
  }>;
11
36
  }>;
12
- loadStage(categoryIdx: number, stageIdx: number): void;
13
- setPaused(paused: boolean): void;
37
+ loadStage(category: number, stage: number): void;
14
38
  }
15
- export type Rsdkv5Instance = EngineInstance & {
16
- devMenu: RsdkDevMenuBridge;
17
- /** True when the working dir is OPFS-backed (persistent) rather than in-memory. */
18
- persistent: boolean;
19
- /** Relative storage namespace used under /data (e.g. "sonic-mania"). */
20
- storageNamespace: string;
21
- /** Remove persisted game files for this namespace only. */
22
- purgeStorage(): {
23
- data: boolean;
24
- settings: boolean;
25
- };
26
- };
27
39
  /**
28
- * Extra (engine-specific) config on top of the contract's EngineConfig: lazy asset
29
- * providers, invoked only on a cache miss.
40
+ * Where an engine keeps one namespace: `<engineId>/<namespace>`, relative to the OPFS
41
+ * root. Identical in every wasm-gaming engine, written to move verbatim into
42
+ * engine-specs: segments cleaned, `.` and `..` dropped, anything outside
43
+ * `[A-Za-z0-9._-]` → `_`, nothing usable → `default`; a leading `<engineId>/` is
44
+ * stripped once.
30
45
  */
31
- export type Rsdkv5LoadConfig = EngineConfig & {
32
- dataProvider?: () => Promise<AssetData> | AssetData;
33
- settingsProvider?: () => Promise<AssetData> | AssetData;
34
- /** Per-game storage folder under /data used for OPFS/WASMFS files. */
35
- storageNamespace?: string;
36
- };
37
- /** Boot the RSDKv5 engine. */
38
- export declare function load(config: Rsdkv5LoadConfig): Promise<Rsdkv5Instance>;
39
- declare const _default: {
40
- manifest: import("@wasm-gaming/engine-specs").EngineManifest;
41
- load: typeof load;
46
+ export declare function storagePath(engineId: string, namespace: unknown): {
47
+ namespace: string;
48
+ path: string;
49
+ prefixed: boolean;
42
50
  };
43
- export default _default;
51
+ /**
52
+ * Serialise the engine config into RSDKv5U's `Settings.ini` (capital S — the engine
53
+ * opens exactly that name, and the Emscripten FS is case-sensitive). The v5 dialect:
54
+ * lowercase keys, 0/1 booleans, `dataFile=` naming the pack relative to the working dir.
55
+ */
56
+ export declare function buildSettingsIni(config: Rsdkv5Config): string;
57
+ /** The live engine: one booted RSDKv5 and its session. */
58
+ export declare class Rsdkv5Play extends EnginePlayBase<Rsdkv5Payloads> {
59
+ #private;
60
+ constructor(init?: EngineInit<Rsdkv5Payloads>, events?: EventEmitter<EventsOf<Rsdkv5Payloads>>);
61
+ get namespace(): string;
62
+ /** Where this session's files live, relative to the OPFS root: `rsdkv5/<namespace>`. */
63
+ get storagePath(): string;
64
+ get pausedBy(): string | null;
65
+ /** RSDKv5's stage list, for a host that draws its own stage select. */
66
+ get devMenu(): RsdkDevMenuBridge;
67
+ /**
68
+ * Freeze the game and its sound. The first caller owns the pause; only that
69
+ * owner's {@link resume} lifts it. The save is flushed.
70
+ */
71
+ pause(owner?: string): void;
72
+ resume(owner?: string): void;
73
+ /** Copy the game's changed user files to OPFS `rsdkv5/<namespace>/`; emits `saves`. */
74
+ flushSaves(): Promise<void>;
75
+ protected mounted(target: HTMLElement): void;
76
+ protected open(_options: Rsdkv5Options): Promise<void>;
77
+ protected patched(_kind: PayloadKind, _patch: object): void;
78
+ protected close(): Promise<void>;
79
+ }
80
+ /** The factory a host constructs: static identity, the configuration chain, `start()`. */
81
+ export declare class Rsdkv5SDK extends EngineSDKBase<Rsdkv5Payloads> {
82
+ static readonly id = "rsdkv5";
83
+ /** Kept in step with package.json by `node scripts/sync-version.mjs`. */
84
+ static readonly version = "0.1.2";
85
+ static readonly name = "Retro Software Development Kit v3";
86
+ static readonly description = "RSDKv5U (Sonic Mania decompilation) compiled to WebAssembly. Ships none of the game: the player provides Data.rsdk, and it never leaves their browser.";
87
+ protected createPlay(init: EngineInit<Rsdkv5Payloads>, events: EventEmitter<EventsOf<Rsdkv5Payloads>>): Rsdkv5Play;
88
+ }
89
+ /** CI's conformance line: if this class stops satisfying the contract, `make test` fails. */
90
+ export declare const RSDKV5_ENGINE: EngineSDKConstructor<Rsdkv5Payloads>;
91
+ export default Rsdkv5SDK;
44
92
  //# sourceMappingURL=rsdkv5.sdk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rsdkv5.sdk.d.ts","sourceRoot":"","sources":["../../src/rsdkv5.sdk.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,CAAC;AA+GpB,uEAAuE;AACvE,MAAM,WAAW,iBAAiB;IAChC,YAAY,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IACzE,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACvD,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC;A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