Interesting, I am curious how were you able to achieve this, Baldurs Gate 2 is a closed source game, I guess its possible to have written a lifter for LLVM WASM?
This is using GemRB, which itself is a reimplementation of Bioware's Infinity Engine. GemRB is ported to WASM, and it loads the game demo data in the filesystem. Pure magic, if you ask me :)
Or Firefox Desktop, they don't pass the required headers to enable Firefox's Spectre mitigations in order to use SharedArrayBuffer. I can't tell if Chrome will require it too, because they already do iframes in separate processes.
I believe the general plan is to require the headers in all browsers, for SharedArrayBuffer, including Chrome. (But currently, they work regardless there.)
WebAssembly has the power to level the playing field for games distribution. Why do we need Steam, which opposes a 30% tax to developers and only works on PC, whereas the browser is open and platform-agnostic?