Hi All,
In the thread about the emulator not bing at a known release, I went to it and it launched for me yesterday. Today I get these messages in the section below the X16 window:
Language (en-ca) not found in keymaps so using keyboard map: en-us
Downloading file...
Downloading file...
Preparing...
[known behavior] wasm streaming compile failed: TypeError: Unexpected response MIME type. Expected 'application/wasm'
[known behavior] falling back to ArrayBuffer instantiation
All downloads complete.
Running...
[error] Aborted(No EM_ASM constant found at address 182753)
Below is a screen capture and Safari's web inspector and see a 404 error that may be the cause of the emulator failing.
The 404 resource is https://www.commanderx16.com/webemu/web ... zip.min.js
I am not complaining, just noting the issue for resolution. I assume this is just a minor glitch that will be resolved in short order given the dedicated and talented people in the community who volunteer their time.
Web Emulator Failure
Web Emulator Failure
- Attachments
-
- Screen Shot 2023-03-10 at 8.15.52 AM.png (96.22 KiB) Viewed 8106 times
-
- Screen Shot 2023-03-10 at 8.14.13 AM.png (91.15 KiB) Viewed 8106 times
- StephenHorn
- Posts: 565
- Joined: Tue Apr 28, 2020 12:00 am
- Contact:
Re: Web Emulator Failure
I'm guessing this means the wasm package isn't finding and including the zlib library with its other components (r42 introduces the ability to use gzipped files for some purposes).
Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: Web Emulator Failure
Odd. It seems to work fine on my end. (am using Firefox)
Re: Web Emulator Failure
Now seemingly works for me - the maze program runs. I use Safari 16.3, but the web inspector still shows issues
Downloading data... [known behavior] wasm streaming compile failed: TypeError: Unexpected response MIME type. Expected 'application/wasm' [known behavior] falling back to ArrayBuffer instantiation All downloads complete. Running... [error] emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.
Downloading data... [known behavior] wasm streaming compile failed: TypeError: Unexpected response MIME type. Expected 'application/wasm' [known behavior] falling back to ArrayBuffer instantiation All downloads complete. Running... [error] emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.
- Attachments
-
- Screen Shot 2023-03-10 at 4.12.15 PM.png (172.03 KiB) Viewed 8046 times
Re: Web Emulator Failure
Updated web emu. Please try again.
Re: Web Emulator Failure
Thanks for looking into the issue. I still see problems, but perhaps it's just me. (Safari 16.3 on Mac OS 12.6.3) I've got an older MAC I'll attempt to use in the next couple of days.
I don't have a strong need for the web emulator to be working fully, as I can alway use the local emulator. I've stayed with R38 since all the games I want to play are supported in that version.
I'm willing to work with anyone who wants to remotely debug the issue. PM me and we'll figure out a way to work together.
Perhaps because I'm Canadian it doesn't like hearing "sorry" all the time?
Here's the results:
Language (en-ca) not found in keymaps so using keyboard map: en-us Downloading file... Downloading file... Preparing... Downloading data... [known behavior] wasm streaming compile failed: TypeError: Unexpected response MIME type. Expected 'application/wasm' [known behavior] falling back to ArrayBuffer instantiation Downloading data... Downloading data... Downloading data... All downloads complete. Running... [error] emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.
I don't have a strong need for the web emulator to be working fully, as I can alway use the local emulator. I've stayed with R38 since all the games I want to play are supported in that version.
I'm willing to work with anyone who wants to remotely debug the issue. PM me and we'll figure out a way to work together.
Perhaps because I'm Canadian it doesn't like hearing "sorry" all the time?
Here's the results:
Language (en-ca) not found in keymaps so using keyboard map: en-us Downloading file... Downloading file... Preparing... Downloading data... [known behavior] wasm streaming compile failed: TypeError: Unexpected response MIME type. Expected 'application/wasm' [known behavior] falling back to ArrayBuffer instantiation Downloading data... Downloading data... Downloading data... All downloads complete. Running... [error] emscripten_set_main_loop_timing: Cannot set timing mode for main loop since a main loop does not exist! Call emscripten_set_main_loop first to set one up.
- Attachments
-
- Screen Shot 2023-03-12 at 12.39.58 PM.png (149.42 KiB) Viewed 7974 times
Re: Web Emulator Failure
Have you tried it with Chrome?
Re: Web Emulator Failure
Rumor has it that Safari doesn't always play well with web sites written to work well with Chromium. The IMSAI reproduction interface doesn't work well on Safari, either.