|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
New HTML5 SN76489 emulator for web playback
Posted: Mon Apr 24, 2023 8:06 am
|
I have just completed the first release candidate of my Sega Master System sound chip emulator. This emulator handles both uncompressed and compressed VGM files. It is written in TypeScript, which compiles to JavaScript, allowing for Sega Master System music to be played directly within a web browser.
You can see an live example here via my social network: https://plugin.io/gary/post/cea758f3-7aa1-4aa8-ac4b-61c0322e2249 The emulator source code is available at: https://github.com/gpaluk/VGMPlayer Hope you like it.. Thanks |
|
|
Posted: Mon Apr 24, 2023 11:48 pm |
On Ubuntu 22.04.2
I get $ npm install npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'rollup@3.21.0', npm WARN EBADENGINE required: { node: '>=14.18.0', npm: '>=8.0.0' }, npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'vite@4.3.1', npm WARN EBADENGINE required: { node: '^14.18.0 || >=16.0.0' }, npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' } npm WARN EBADENGINE } and then > vgm-player@0.0.0 dev > vite file:///home/fabio/dec/VGMPlayer/node_modules/vite/bin/vite.js:7 await import('source-map-support').then((r) => r.default.install()) ^^^^^ SyntaxError: Unexpected reserved word at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18) at async link (internal/modules/esm/module_job.js:42:21) I tried npm update -g but it has no effect. Any hints? |
|
|
Posted: Mon May 01, 2023 1:25 pm |
Interesting work, Blitmaster! Doesn't work for me at the moment in Firefox but I think that may be related to this issue, however it works fine for me in Chrome.
According to the error messages in your post the issue is with Node.js being out of date, rather than npm - you'll need to update Node.js, e.g. with apt-get upgrade. |
|