7 ms·
Super Mario 64 on the Web
- kelvie 3y agoI couldn't figure out the keyboard controls (and can't find the source code), but you can plug in a controller and it'll play just great (presumably through some web controller API).
- deckeraa 3y agox to jump c to attack q/w/a/s/d adjust camera angle
- mysterydip 3y agoThis one has the keyboard controls listed at the top: https://28klotlucas2.github.io/Mario64webgl/ https://28klotlucas2.github.io/Mario64webgl/
- 3c0 3y agoneither of them seem to work for me either unfortunately, can't get past the first tutorial prompt :/
- ramesh31 3y agoThis is working perfectly on my iPhone 6. Massive props.
- Tactician_mark 3y agoHow does input work on iPhone? Keyboard overlay?
- menshiki 3y agoVery impressive!
- dcchuck 3y agoI agree! I picked up [RetroPie](https://retropie.org.uk/ https://retropie.org.uk/) again during the pandemic. I'm sure many did the same haha. That's when I learned [N64 emulation is difficult](https://retropie.org.uk/docs/Optimization-for-Nintendo-64/ https://retropie.org.uk/docs/Optimization-for-Nintendo-64/). Well done.
- amlib 3y agoNo sound on firefox :( But still awesome seeing the game pop up instantly with no loading, prompts or whatever. Just like turning on an actual n64.
- Yukonv 3y agoFirefox prevents audio from playing with no initial user interaction like a play button. Can see the warning if you pop open the dev console. Don't know of workaround besides sites not creating an AudioContext on page load.
- pattycakes 3y agoI there a way to turn on audio? I'm on chrome and do not have audio either
- acbart 3y agoYou can explicitly allow it in Site Settings, and then reload the page. For me, I click the little button (looks like sliders) to the left of the URL, Site Settings, and then scroll down to change Site Audio to "Allow".
- deleted 3y ago[deleted]
- Yukonv 3y agoEdit: Keyboard input does not work :/ it was a good effort. Found a workaround throw it in an iFrame and have the frame load with a user interaction. Here is a jsFiddle link, just click "Run" after the page loads. https://jsfiddle.net/sg1r3h60/ https://jsfiddle.net/sg1r3h60/
- sphars 3y agoKeyboard may not work, but a controller did! Still, A for effort :)
- 3y ago
- rezaprima 3y agoDoes the Peach picture gradually change to Bowser when Mario approach it ?
- mre 3y agoYes. Brings back some memories.
- vsnf 3y agoI had forgotten how many interruptions there were to actually getting to the game. Intro cutscene, letter from Peach, prompt from Lakitu outside the castle, prompt from Bowser inside the castle, prompt from the Bombombs inside the first level... I get it though, they had to ease people into 3d games. Still, kind of annoying when I just wanted to get to jumping and star collecting.
- spywaregorilla 3y agoThat's not quite correct. EVERYONE plays in the front garden first. Beelining to level 1 is the unusual thing.
- thaumasiotes 3y ago> I get it though, they had to ease people into 3d games. Are later games different? I thought all Mario games had a bunch of cruft at the start. Look at Galaxy; 3D games weren't exactly unheard of by then.
- dddddaviddddd 3y agoI opened up Super Mario World today, and it just has one intro slide before going into the first levels.
- 3y ago
- spywaregorilla 3y agounrelated but I was surprised to learn that backward long jumping to clip through the star doors is very easy to do on original controllers. Took less than 5 minutes of attempts to get it right when I had SM64 recently.
- earlone 3y agoThere is also Wipeout on the web: https://phoboslab.org/wipegame/ https://phoboslab.org/wipegame/
- deleted 3y ago[deleted]
- jeremyloy_wt 3y agoIsn’t this a bit sketchy to just have a repo with no source and a wasm file? I understand not having the actual Mario64 source, but I’d feel more comfortable running this if the translation code was open source
- vsnf 3y agoIn what way are you worried that the binary blob is malicious, and do you not trust the browser's sandboxing? I'm curious why this is any worse than running javascript on any other website.
- jeremyloy_wt 3y agoI am genuinely ignorant on the sandboxing and capabilities of wasm
- kibwen 3y agoWasm shouldn't have any more capabilities than Javascript, it's theoretically the same sandbox with all the same underlying system access (or lack thereof). However, that doesn't mean I can vouch for the implementations.
- deleted 3y ago[deleted]
- nazgulsenpai 3y agoI ran it through VirusTotal before posting the link -- I had the same thought : ) https://www.virustotal.com/gui/url/06f3a404ab8aff76e820e3b7dfeac0c5c42b628df93999c08ed046cc16d71f5c?nocache=1 https://www.virustotal.com/gui/url/06f3a404ab8aff76e820e3b7d...
- clwg 3y agoThis is pretty awesome but I'm surprised Nintendo hasn't done anything about these online versions of their games, they're fairly aggressive about protecting their IP.
- Kalanos 3y agoROMs are and have been everywhere for decades
- edgyquant 3y agoAnd Nintendo had famously been aggressively taking them down the entire time
- d3w4s9 3y agoThey have, but are mostly very elusive, and definitely not something easily accessible like this
- kube-system 3y ago> <popular search engine>/search?q=sm64+rom looks like it has about 6 sources on the first page, for me.
- Daunk 3y agoSound seems to be an issue, as it works maybe 25% of the times I've tested this.
- Kalanos 3y agoit's so smooth. identical experience.
- d3w4s9 3y agoCounting 3..2..1.. before Nintendo takes this down.
- bhaney 3y agoBased on other recent events, I would't be surprised if Valve somehow steps in and does it for them.
- abnercoimbre 3y agoIt would be great if someone could link to the relevant news.
- recursivecaveat 3y agoSome HN links for it here: https://news.ycombinator.com/item?id=38943797 https://news.ycombinator.com/item?id=38943797 and here: https://news.ycombinator.com/item?id=38945090 https://news.ycombinator.com/item?id=38945090
- mmkthecoolest 3y agoI don't see how Valve would be involved in this unlike with the Dolphin Steam fiasco
- nelsonfigueroa 3y agoThis is amazing but I'm guessing it won't be long before Nintendo takes it down.
- StevenXC 3y agoLittle surprised there isn't a prompt to upload the copy of the ROM we all legally dumped from our personalized copies of the cartridge.
- ProllyInfamous 3y agoI just purchased a mint N64 with a new-in-box OEM Nintendo controller (it is TIGHT). Console came with Goldeneye, Perfect Dark, Mario, Kart, Smash Bros. A few hundred $$$ investment, for: 3 N64s; 9 Controllers; ExPak; dozen top-shelf games, few crap; HDMI output on one; bunch of Pokemon +x-fer pack [gave to friend for cheap]. A local pawnshop had good copies of Ocarina+Mask; a friend wanted an N64 so I found one with expansion pak (which came bundled with Donkey Kong + Pokemon, which I also sold to friend)... Conkers and Rocket are on my wishlist [they are one hundred$/each]. I'm about to replace all the internal batteries for another few decades of cartridge savestates. So much time. So many memories. All to say: the N64 Controller is a thing of beauty, and I cannot wait to dual-wield with dual controllers and 8MB RAM. I'm just under forty. Christmas came early.
- refracture 3y agoTake that stick apart and put some kind of grease in there, lest your enthusiasm kill it like most of them out there.
- ProllyInfamous 3y agoNot graphite? Which specific type/class of grease (I imagine you would want something extremely slick)?
- amlib 3y agoUsually I see Lithium grease recommended
- refracture 3y agoI used some kind of white ceramic grease in a stick I would describe as 75-80% condition; it has been about 10 years with little deterioration since. I've read Lithium grease is better. I've also read somewhere, though I could never find conclusive information, that Nintendo actually intended for these sticks to have some sort of grease included but was unable to for some reason that wasn't as trivial to explain as "Greedy company wants players to keep buying gamepads"..
- jomsk1e 3y agoThis is where the main game with keyboard controls: https://28klotlucas2.github.io/Mario64webgl/ https://28klotlucas2.github.io/Mario64webgl/
- automatoney 3y agoLooks like this is forked from the original at https://github.com/28klotlucas2/Mario64webgl https://github.com/28klotlucas2/Mario64webgl ?
- 38 3y agoyeah not sure why they linked a random fork.
- deleted 3y ago[deleted]
- tbm57 3y agoi'm impressed with the performance! this laptop struggles with simple games in steam, but had no problem with this at all
- nu11ptr 3y agoChrome sound wasn't working for me on Linux, but after going into "Site Settings" (from the menu to the left of the URL) and explicitly changing "Sound" from "Automatic (default)" to "Allow", it seems to work perfectly.
- pseudosavant 3y agoHere is the link to the GitHub project with the source: https://github.com/ProbablyKam/Mario64webgl https://github.com/ProbablyKam/Mario64webgl I was able to stand up my own copy of it just by importing the GH project on Glitch: https://glitch.com/edit/#!/positive-rhetorical-timbale https://glitch.com/edit/#!/positive-rhetorical-timbale https://positive-rhetorical-timbale.glitch.me/ https://positive-rhetorical-timbale.glitch.me/
- nomilk 3y agoThose files are all over a year old. Has playing mario 64 in the browser been possible all this time and nobody posted it to hn, or am I missing something? Also, I think this is the game file: https://github.com/ProbablyKam/Mario64webgl/blob/main/sm64.us.f3dex2e.wasm https://github.com/ProbablyKam/Mario64webgl/blob/main/sm64.u... 15.2mb! Quite a lot smaller than games today!
- ChrisArchitect 3y agoNah, it's been shared at least a couple times over the last 2 years, some people spinning up versions on glitch etc, even tho it's no longer maintained
- Doubtme 3y ago[dead]
- canjobear 3y agoThe web version has worked since at least 2020.
- pezezin 3y agoWhat is more impressive is that Mario 64 itself was a measly 64 megabits (8 MB), already tiny for its era. So this version is almost double the size of the N64 original! Question: does anybody know why the size of old cartridge games where always reported in bits instead of bytes? To make them look more impressive?
- Wolfbeta 3y agoI've recently been enjoying watching this young modder on YouTube optimize all of the original SM64 source code, doubling frame rate, and modding his own Return To Yoshi's Island https://www.youtube.com/watch?v=t_rzYnXEQlE https://www.youtube.com/watch?v=t_rzYnXEQlE
- abnercoimbre 3y agoI asked him to give a masterclass on how he does the modding, for one of my indie conferences! Video's out for free [0] in case you're interested. [0] https://vimeo.com/853440902 https://vimeo.com/853440902
- Wolfbeta 3y agoAbsolutely interested, thank you!
- throwaway17_17 3y agoJust finished the talk. It was one of the best from any Handmade event I’ve seen, and I’m including the Acton talk from the first con in that praise. Congratulations on getting him in running such an amazing con.
- abnercoimbre 3y agoYou're very kind. We have a Media Page [0] with more masterclasses and a newsletter [1] to announce future events. [0] https://handmadecities.com/media https://handmadecities.com/media [1] https://handmadecities.com/news https://handmadecities.com/news
- hyperthesis 3y agoI know intellectually that smartphones are more powerful than an N64... but playing this in a browser on a low-end smartphone is surreal. PSA: bluetooth keyboard: X, C, space; arrow keys. Adjust view with WASD
- causi 3y agoSmartphones have been able to emulate Mario 64 for a very long time now. For a truly surreal experience, play the Funkey S port: https://youtube.com/shorts/FfeRFmd27Jc?si=0WU8MW_ZtXcqOOkz https://youtube.com/shorts/FfeRFmd27Jc?si=0WU8MW_ZtXcqOOkz
- ramesh31 3y agoDid anyone else just... not like this game? I know it's sacrilege, but I've just never found the appeal. Even being the perfect age as a kid when it came out, I just could never enjoy it. Something about how disjointed the worlds are always confused me.
- arnaudsm 3y agoI wonder if in 2034, we'll be able to run GTA V in the browser for free with some cool open source project
- jcul 3y agoIt kind of blows my mind to be able to open a browser tab and play mario 64, spent so many hours on this as a kid on the N64.
- b3nji 3y agoAbsolutely amazing, worked straight off the bat, even works with my 8BitDo N64 controller with no config. What an age we live in!
- Aissen 3y agoAs I recently started playing with WASM as well for my emulator, it's fun to see the pitfalls I run into are the same for everyone, like the AudioContext being forbidden without user interaction, forcing me to add a "Start" button. Gamepad support on browsers is abysmal as well. It works, but the buttons are not interpreted properly leading to the wrong button being reported (but the OS reports the correct ones!), even for the most standard xbox controller. It seems like the wheel that is sdl gamecontroller db will have to be reinvented on the browser again... while making it a bit harder since the browser might not tell you the exact gamepad model (it would add fingerprinting bits).
- AlecSchueler 3y agoInteresting that the pitfalls for developers are both wins for the end user. I don't want my browser to know what kind of peripherals I'm using or be able to play audio I didn't explicitly ask for. How would something like the sdl gamecontroller db work in this context?
- Aissen 3y agoI tend to agree for Audio; this is why I did write the Launch button. For the Gamepad API, if the browser does not want to expose model information, it should either: - expose the buttons as sent by the OS, and let the OS to the mappings - or build its own internal game controller db for mappings. Right now it's doing neither, and that's an issue.