emularity icon indicating copy to clipboard operation
emularity copied to clipboard

both async and sync fetching of the wasm failed

Open GWTRC opened this issue 4 years ago • 2 comments

I keep getting these errors in my browser console when I try to run the example MAME page on the root of the repo:

(highlighted in red to indicate failure) GET http://<my web domain>/mame/emulators/jsmess/mameexidy.wasm both async and sync fetching of the wasm failed

I followed the instructions in the example file's comments. I am EXTREMELY new to web development beyond basic HTML, so take it easy on me if I just didn't do something right please.

GWTRC avatar Mar 24 '21 16:03 GWTRC

Thanks for using Emularity :)

Which error code does it report? Can you load that url in a tab by itself?

db48x avatar Mar 24 '21 19:03 db48x

I got the same problem. The program is looking for http://0.0.0.0:8000/emulators/jsmess/mameexidy.wasm and obviously this file does not exist.

leimao avatar Jul 08 '22 00:07 leimao

@db48x it throws a 404, and no the file does not exist in /emulators/jsmess/ image

JFCG4mer avatar Oct 20 '22 18:10 JFCG4mer

A 404 error means that the server doesn’t have the file. The server needs to have the file, otherwise it won’t work. I don’t provide any of the emulators as part of this repository. You can either build them yourself (though I cannot really recommend that; it’s non–trivial), or you can download them from archive.org’s emularity_engine_v1 item. These are not necessarily updated on a regular schedule, but at the moment most of them appear to be fairly recently updated.

db48x avatar Oct 20 '22 21:10 db48x