Web Assembly Code

  • Thread starter Thread starter godreborn
  • Start date Start date
  • Views Views 1,735
  • Replies Replies 5
  • Likes Likes 1

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,464
Solutions
14
Reaction score
24,176
Trophies
3
XP
29,466
Country
United States
anyone know how to use this? I've compiled Sonic Mania for wasm, but I have no idea how to test it. it's in wasm and js format:

1680890590100.png

Post automatically merged:

nm, figured it out:

1680898149436.png
 
Last edited by godreborn,
  • Like
Reactions: Kazesama
I'm having a new problem simply compiling the sm64 code for web assembly. I made note of it on github. I don't think emsdk is the problem.
 
Alright, I figured it out. You need Ubuntu 18.04, make one change to the code, and use emsdk 1.35 or else you get an exception error when loading. It loads instantly btw.
 
  • Like
Reactions: AncientBoi
You can test this without xampp. You can use python: python -m http.server 8000 . It still boots up too fast to force sound, which is alt + arrow down. It boots instantly, so we're trying to add a 2 second delay to the .js file.
 
Does anyone know how to add a 2 second delay to a .js file? That file contains no Nintendo code, so I could upload it.
 
here's the .js file to add in the delay. the .wasm file is the only file that contains copyright code/assets, so don't worry staff.
 

Attachments

Site & Scene News

Popular threads in this forum