536 B
536 B
Problem with hl-engine-js is that the init() method simply takes "location", a url to a directory
containing all the engine files.
https://github.com/steren/hl-engine-js/blob/main/lib/hl-engine.js#L145
- loadXash would need to be changed
Module.memoryInitializerPrefixURL = params.location + "/";is where all the emscripten-specific files are loaded. This can be replaced with Module.locateFile