EmulatorJS Stack Failure Notice & New Fallback Feature Update

8BitGo 团队 · 2026-11-17 · About 7 min read

Hello everyone,

Thankfully I ran a quick test before bed and found the root cause of today's outage.

Around 1 AM on November 18, I updated the MAME core to add a fallback for low-memory browsers and environments without WebGL support. However, in commit 79be63d (reject truncated XHR core downloads), I made a mistake in the regex inside loader.js:
The pattern /^(?: text/html | application/(?: json | xml)) \ b/i 'contained an unescaped'/'. The parser terminated the regex at /^(?: text/', treating the remaining'html 'as invalid flags, which threw'SyntaxError: Invalid regular expression flags'.

The loader uses'import () 'to load emulator cores. This syntax error broke the entire import flow. By default, the loader does not surface the real underlying error and only shows the message'minified files are missing'.

This bug took down all EmulatorJS emulators, not just The King of Fighters' 97. NES, SFC, GBA, arcade, PS1 and other cores failed to launch.

I sincerely apologize for this issue. I should have tested thoroughly locally before deployment. I will strengthen my testing workflow to prevent similar incidents in the future.

I also want to share a new addition to 8bitGo: MINIMAX GO has been integrated as a fallback tool. It can generate temporary hotfix patches when players run into broken games. Its quota is limited, so severe and complex bugs will still be handled with Codex and Claude.

Work has kept me very busy towards the end of the year, so I've had less time for 8bitgo maintenance. We've gained many new users with wildly different browser environments: some sandbox browsers block WASM, some devices have extremely tight memory limits (unable to load even 50MB cores), and there are many slow-loading and compatibility edge cases. I've enabled error logging, and I review and fix collected issues each night.

I'm planning an NS server migration next week. Right now traffic routes through Cloudflare to US nodes, which creates high latency. The migration will improve connection speeds.

For game content, next week I plan to upload IGS arcade titles and some Pokémon ROM hacks.
If you have games you'd like to see added, email me at: yeahcore@yeah.net

------------------

Hello everyone, fortunately, I did a round of self-testing before going to bed and found the root cause of this failure:

I updated the MAME core around 1am on November 18th, with the original intention of adding a bottom-line compatibility scheme for low-memory browsers that do not support WebGL. However, when submitting "79be63d (reject truncated XHR core downloads) ", the regular expression in "loader.js" missed the escape:
Regular /^(?: text/html | application/(?: json | xml)) \ b/i ','/'is not escaped, the parser reads /^(?: text/' to determine the end of regular, subsequent'html 'is recognized as illegal regular flag, throw "SyntaxError: Invalid regular expression flags".

Loader loads the emulator engine through'import () '. Regular syntax errors directly cause'import' to fail to load. At the same time, loader does not output the original error by default, only prompts'minified files are missing '.
This malfunction affects all EmulatorJS emulators, not just King of Fighters 97: NES, SFC, GBA, arcade, PS1, and other emulators cannot start normally.

I apologize for this. It should have been fully tested locally before going online. I will strictly control Pushonline in the future to avoid similar problems from happening again.

By the way, I added a new ability to synchronize: I connected MINIMAX GO to 8bitgo as a fail-safe solution. When players encounter problems that the game cannot run, it can quickly generate temporary patches for emergency fixes. However, due to the limited call quota, major and complex bugs will still be handled by Codex and Claude.

Recently, there have been many affairs at the end of the year, and the main business is relatively busy, so the maintenance investment on 8bitgo has been reduced. At the same time, many new users have been added to the site, and everyone's operating environment varies greatly: some sandbox browsers will disable WASM, some devices have extremely low memory quotas (50MB cores fail to load), and there are a lot of slow loading and various scattered compatibility issues. At present, I have launched the error log collection function, which will collect all kinds of errors and centrally check and fix them every night.

In addition, next week's NS server migration is being planned: currently, it is transferred to the US node through Cloudflare, and the access delay is very high. After the migration is completed, the access speed will be improved.

In terms of game resources, we plan to upload IGS board games and some Pokémon revamped ROMs next week.
If you have a game you want to play, you can email: yeahcore@yeah.net

More posts