@wasm-gaming/fbneo-wasm 0.1.2 → 0.3.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.
Files changed (59) hide show
  1. package/README.md +112 -69
  2. package/dist/fbneo/app/app.css +112 -0
  3. package/dist/fbneo/app/app.js +646 -0
  4. package/dist/fbneo/engine-specs.js +646 -0
  5. package/dist/fbneo/fbneo.js +2 -0
  6. package/dist/fbneo/fbneo.options.d.ts +72 -19
  7. package/dist/fbneo/fbneo.options.d.ts.map +1 -1
  8. package/dist/fbneo/fbneo.options.js +49 -48
  9. package/dist/fbneo/fbneo.options.js.map +1 -1
  10. package/dist/fbneo/fbneo.sdk.d.ts +157 -8
  11. package/dist/fbneo/fbneo.sdk.d.ts.map +1 -1
  12. package/dist/fbneo/fbneo.sdk.js +641 -181
  13. package/dist/fbneo/fbneo.sdk.js.map +1 -1
  14. package/dist/fbneo/fbneo.wasm +4 -0
  15. package/dist/fbneo/romset.d.ts +0 -0
  16. package/dist/fbneo/romset.d.ts.map +1 -1
  17. package/dist/fbneo/romset.js.map +1 -1
  18. package/{data → dist/fbneo}/romsets/atari.json +5036 -118
  19. package/{data → dist/fbneo}/romsets/capcom.json +3392 -848
  20. package/{data → dist/fbneo}/romsets/cave.json +460 -115
  21. package/{data → dist/fbneo}/romsets/channelf.json +200 -50
  22. package/{data → dist/fbneo}/romsets/coleco.json +2650 -658
  23. package/{data → dist/fbneo}/romsets/cps3.json +240 -60
  24. package/{data → dist/fbneo}/romsets/dataeast.json +1352 -338
  25. package/{data → dist/fbneo}/romsets/galaxian.json +1192 -298
  26. package/dist/fbneo/romsets/gba.json +197 -0
  27. package/{data → dist/fbneo}/romsets/index.json +16 -12
  28. package/{data → dist/fbneo}/romsets/irem.json +796 -199
  29. package/{data → dist/fbneo}/romsets/konami.json +1644 -411
  30. package/{data → dist/fbneo}/romsets/megadrive.json +11899 -2926
  31. package/{data → dist/fbneo}/romsets/midway.json +560 -140
  32. package/{data → dist/fbneo}/romsets/msx.json +7204 -1798
  33. package/{data → dist/fbneo}/romsets/neogeo.json +2704 -614
  34. package/{data → dist/fbneo}/romsets/nes.json +12815 -3155
  35. package/{data → dist/fbneo}/romsets/pce.json +1952 -488
  36. package/{data → dist/fbneo}/romsets/pgm.json +796 -199
  37. package/{data → dist/fbneo}/romsets/pgm2.json +32 -8
  38. package/{data → dist/fbneo}/romsets/pre90s.json +10002 -2084
  39. package/{data → dist/fbneo}/romsets/psikyo.json +160 -40
  40. package/{data → dist/fbneo}/romsets/pst90s.json +6400 -1597
  41. package/{data → dist/fbneo}/romsets/sega.json +2756 -658
  42. package/{data → dist/fbneo}/romsets/sg1000.json +1032 -255
  43. package/{data → dist/fbneo}/romsets/sms.json +6012 -1503
  44. package/{data → dist/fbneo}/romsets/snes.json +10991 -2816
  45. package/{data → dist/fbneo}/romsets/spectrum.json +13579 -3361
  46. package/{data → dist/fbneo}/romsets/taito.json +2496 -624
  47. package/{data → dist/fbneo}/romsets/toaplan.json +576 -144
  48. package/package.json +10 -15
  49. package/src/app/app.css +112 -0
  50. package/src/app/app.js +646 -0
  51. package/src/fbneo.options.ts +119 -63
  52. package/src/fbneo.sdk.ts +712 -211
  53. package/src/romset.ts +0 -0
  54. package/dist/fbneo/fbneo.manifest.d.ts +0 -4
  55. package/dist/fbneo/fbneo.manifest.d.ts.map +0 -1
  56. package/dist/fbneo/fbneo.manifest.js +0 -33
  57. package/dist/fbneo/fbneo.manifest.js.map +0 -1
  58. package/dist/manifest.json +0 -91
  59. package/src/fbneo.manifest.ts +0 -38
package/src/romset.ts CHANGED
Binary file
@@ -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=fbneo.manifest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fbneo.manifest.d.ts","sourceRoot":"","sources":["../../src/fbneo.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,eAAO,MAAM,QAAQ,EAAE,cAgCtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,33 +0,0 @@
1
- import { FBNEO_OPTIONS_SCHEMA } from './fbneo.options.js';
2
- export const manifest = {
3
- id: 'fbneo',
4
- version: '0.1.0',
5
- name: 'FinalBurn Neo (WebAssembly)',
6
- description: 'FBNeo arcade emulator (Capcom CPS-1/2/3, SNK Neo Geo, Sega System 16, and more) compiled to WebAssembly.',
7
- artifacts: {
8
- wasm: 'fbneo/fbneo.wasm',
9
- js: 'fbneo/fbneo.js',
10
- },
11
- assets: [
12
- {
13
- key: 'rom',
14
- mountPath: '/roms/game.zip',
15
- required: true,
16
- accept: ['.zip', '.7z'],
17
- description: 'Arcade ROM set (zip) written to Emscripten MEMFS. FBNeo identifies the game by the zip filename.',
18
- },
19
- {
20
- key: 'bios',
21
- mountPath: '/roms/neogeo.zip',
22
- required: false,
23
- accept: ['.zip'],
24
- description: 'Optional system BIOS set (e.g. neogeo.zip for Neo Geo, or a CPS-3 BIOS). Required only by ROM sets that depend on it.',
25
- },
26
- ],
27
- input: 'fbneo',
28
- video: { baseWidth: 384, baseHeight: 224, aspect: '4:3' },
29
- options: FBNEO_OPTIONS_SCHEMA,
30
- capabilities: { saveStates: false, sram: false, coreSelectable: false },
31
- };
32
- export default manifest;
33
- //# sourceMappingURL=fbneo.manifest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fbneo.manifest.js","sourceRoot":"","sources":["../../src/fbneo.manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,CAAC,MAAM,QAAQ,GAAmB;IACtC,EAAE,EAAE,OAAO;IACX,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,0GAA0G;IAC5G,SAAS,EAAE;QACT,IAAI,EAAE,kBAAkB;QACxB,EAAE,EAAE,gBAAgB;KACrB;IACD,MAAM,EAAE;QACN;YACE,GAAG,EAAE,KAAK;YACV,SAAS,EAAE,gBAAgB;YAC3B,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;YACvB,WAAW,EACT,kGAAkG;SACrG;QACD;YACE,GAAG,EAAE,MAAM;YACX,SAAS,EAAE,kBAAkB;YAC7B,QAAQ,EAAE,KAAK;YACf,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,WAAW,EACT,uHAAuH;SAC1H;KACF;IACD,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE;IACzD,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE;CACxE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,91 +0,0 @@
1
- {
2
- "id": "fbneo",
3
- "version": "0.1.0",
4
- "name": "FinalBurn Neo (WebAssembly)",
5
- "description": "FBNeo arcade emulator (Capcom CPS-1/2/3, SNK Neo Geo, Sega System 16, and more) compiled to WebAssembly.",
6
- "artifacts": {
7
- "wasm": "fbneo/fbneo.wasm",
8
- "js": "fbneo/fbneo.js"
9
- },
10
- "assets": [
11
- {
12
- "key": "rom",
13
- "mountPath": "/roms/game.zip",
14
- "required": true,
15
- "accept": [
16
- ".zip",
17
- ".7z"
18
- ],
19
- "description": "Arcade ROM set (zip) written to Emscripten MEMFS. FBNeo identifies the game by the zip filename."
20
- },
21
- {
22
- "key": "bios",
23
- "mountPath": "/roms/neogeo.zip",
24
- "required": false,
25
- "accept": [
26
- ".zip"
27
- ],
28
- "description": "Optional system BIOS set (e.g. neogeo.zip for Neo Geo, or a CPS-3 BIOS). Required only by ROM sets that depend on it."
29
- }
30
- ],
31
- "input": "fbneo",
32
- "video": {
33
- "baseWidth": 384,
34
- "baseHeight": 224,
35
- "aspect": "4:3"
36
- },
37
- "options": {
38
- "type": "object",
39
- "additionalProperties": false,
40
- "properties": {
41
- "romFileName": {
42
- "type": "string",
43
- "default": "game.zip",
44
- "description": "ROM zip filename written to Emscripten MEMFS when loading a game."
45
- },
46
- "driver": {
47
- "type": "string",
48
- "default": "",
49
- "description": "FBNeo driver/game name to load (e.g. \"mslug\"). If empty, inferred from romFileName without extension."
50
- },
51
- "renderFilter": {
52
- "type": "string",
53
- "enum": [
54
- "pixelated",
55
- "smooth"
56
- ],
57
- "default": "pixelated",
58
- "description": "Canvas scaling filter: pixelated for crisp pixels, smooth for linear filtering."
59
- },
60
- "audioSampleRate": {
61
- "type": "integer",
62
- "default": 44100,
63
- "minimum": 11025,
64
- "maximum": 96000,
65
- "description": "Target audio sample rate in Hz."
66
- },
67
- "vsync": {
68
- "type": "boolean",
69
- "default": true,
70
- "description": "Enable vertical sync."
71
- },
72
- "integerScale": {
73
- "type": "boolean",
74
- "default": false,
75
- "description": "Use integer scaling (no fractional stretching)."
76
- },
77
- "windowScale": {
78
- "type": "integer",
79
- "default": 2,
80
- "minimum": 1,
81
- "maximum": 8,
82
- "description": "Window scale multiplier for the internal render resolution."
83
- }
84
- }
85
- },
86
- "capabilities": {
87
- "saveStates": false,
88
- "sram": false,
89
- "coreSelectable": false
90
- }
91
- }
@@ -1,38 +0,0 @@
1
- import type { EngineManifest } from '@wasm-gaming/engine-specs';
2
- import { FBNEO_OPTIONS_SCHEMA } from './fbneo.options.js';
3
-
4
- export const manifest: EngineManifest = {
5
- id: 'fbneo',
6
- version: '0.1.0',
7
- name: 'FinalBurn Neo (WebAssembly)',
8
- description:
9
- 'FBNeo arcade emulator (Capcom CPS-1/2/3, SNK Neo Geo, Sega System 16, and more) compiled to WebAssembly.',
10
- artifacts: {
11
- wasm: 'fbneo/fbneo.wasm',
12
- js: 'fbneo/fbneo.js',
13
- },
14
- assets: [
15
- {
16
- key: 'rom',
17
- mountPath: '/roms/game.zip',
18
- required: true,
19
- accept: ['.zip', '.7z'],
20
- description:
21
- 'Arcade ROM set (zip) written to Emscripten MEMFS. FBNeo identifies the game by the zip filename.',
22
- },
23
- {
24
- key: 'bios',
25
- mountPath: '/roms/neogeo.zip',
26
- required: false,
27
- accept: ['.zip'],
28
- description:
29
- 'Optional system BIOS set (e.g. neogeo.zip for Neo Geo, or a CPS-3 BIOS). Required only by ROM sets that depend on it.',
30
- },
31
- ],
32
- input: 'fbneo',
33
- video: { baseWidth: 384, baseHeight: 224, aspect: '4:3' },
34
- options: FBNEO_OPTIONS_SCHEMA,
35
- capabilities: { saveStates: false, sram: false, coreSelectable: false },
36
- };
37
-
38
- export default manifest;