is it possible to compile on linux?
and run with haxe instead of in the web browser?
Check this PR out, https://github.com/RandomityGuy/MBHaxe/pull/46
Additionally, you will have to normalize a bunch of file names to lowercase, both in code as well as in the filesystem. For the code, search for all instances of ResourceLoader and you'll find all the file paths which you need to turn lowercase.
To sum it up, you need to compile my fork of Hashlink with all the modified dependencies (see the CI scripts), then compile it with haxe to get the hl file, and then run it finally with hashlink using ./hl marblegame.hl
Run using wine. It worked for me on Arch.