@wasm-gaming/fbneo-wasm 0.1.1 → 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.
Files changed (65) hide show
  1. package/README.md +133 -76
  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 +66 -19
  7. package/dist/fbneo/fbneo.options.d.ts.map +1 -1
  8. package/dist/fbneo/fbneo.options.js +39 -44
  9. package/dist/fbneo/fbneo.options.js.map +1 -1
  10. package/dist/fbneo/fbneo.sdk.d.ts +137 -8
  11. package/dist/fbneo/fbneo.sdk.d.ts.map +1 -1
  12. package/dist/fbneo/fbneo.sdk.js +588 -184
  13. package/dist/fbneo/fbneo.sdk.js.map +1 -1
  14. package/dist/fbneo/fbneo.wasm +4 -0
  15. package/dist/fbneo/neo.d.ts +83 -0
  16. package/dist/fbneo/neo.d.ts.map +1 -0
  17. package/dist/fbneo/neo.js +357 -0
  18. package/dist/fbneo/neo.js.map +1 -0
  19. package/dist/fbneo/romset.d.ts +0 -0
  20. package/dist/fbneo/romset.d.ts.map +1 -1
  21. package/dist/fbneo/romset.js +0 -0
  22. package/dist/fbneo/romset.js.map +1 -1
  23. package/{data → dist/fbneo}/romsets/capcom.json +0 -144
  24. package/{data → dist/fbneo}/romsets/index.json +7 -7
  25. package/{data → dist/fbneo}/romsets/konami.json +0 -8
  26. package/{data → dist/fbneo}/romsets/megadrive.json +0 -18
  27. package/dist/fbneo/romsets/neogeo.json +39274 -0
  28. package/{data → dist/fbneo}/romsets/nes.json +0 -81
  29. package/{data → dist/fbneo}/romsets/pgm.json +0 -73
  30. package/{data → dist/fbneo}/romsets/pre90s.json +396 -273
  31. package/{data → dist/fbneo}/romsets/pst90s.json +0 -152
  32. package/{data → dist/fbneo}/romsets/sega.json +0 -175
  33. package/{data → dist/fbneo}/romsets/sms.json +0 -9
  34. package/{data → dist/fbneo}/romsets/taito.json +0 -24
  35. package/{data → dist/fbneo}/romsets/toaplan.json +0 -60
  36. package/package.json +15 -15
  37. package/src/app/app.css +112 -0
  38. package/src/app/app.js +646 -0
  39. package/src/fbneo.options.ts +107 -63
  40. package/src/fbneo.sdk.ts +644 -212
  41. package/src/neo.ts +463 -0
  42. package/src/romset.ts +0 -0
  43. package/data/romsets/neogeo.json +0 -28260
  44. package/dist/fbneo/fbneo.manifest.d.ts +0 -4
  45. package/dist/fbneo/fbneo.manifest.d.ts.map +0 -1
  46. package/dist/fbneo/fbneo.manifest.js +0 -33
  47. package/dist/fbneo/fbneo.manifest.js.map +0 -1
  48. package/dist/manifest.json +0 -91
  49. package/src/fbneo.manifest.ts +0 -38
  50. /package/{data → dist/fbneo}/romsets/atari.json +0 -0
  51. /package/{data → dist/fbneo}/romsets/cave.json +0 -0
  52. /package/{data → dist/fbneo}/romsets/channelf.json +0 -0
  53. /package/{data → dist/fbneo}/romsets/coleco.json +0 -0
  54. /package/{data → dist/fbneo}/romsets/cps3.json +0 -0
  55. /package/{data → dist/fbneo}/romsets/dataeast.json +0 -0
  56. /package/{data → dist/fbneo}/romsets/galaxian.json +0 -0
  57. /package/{data → dist/fbneo}/romsets/irem.json +0 -0
  58. /package/{data → dist/fbneo}/romsets/midway.json +0 -0
  59. /package/{data → dist/fbneo}/romsets/msx.json +0 -0
  60. /package/{data → dist/fbneo}/romsets/pce.json +0 -0
  61. /package/{data → dist/fbneo}/romsets/pgm2.json +0 -0
  62. /package/{data → dist/fbneo}/romsets/psikyo.json +0 -0
  63. /package/{data → dist/fbneo}/romsets/sg1000.json +0 -0
  64. /package/{data → dist/fbneo}/romsets/snes.json +0 -0
  65. /package/{data → dist/fbneo}/romsets/spectrum.json +0 -0
@@ -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;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes