Pokemon Emerald Ported to WebAssembly (100k FPS)
tripplyons
302 points
87 comments
June 06, 2026
Related Discussions
Found 5 related stories in 92.0ms across 10,002 title embeddings via pgvector HNSW
- Show HN: I ported Xonotic (arena FPS) to WebAssembly with full P2P multiplayer astlouis44 · 12 pts · June 06, 2026 · 61% similar
- Show HN: M68k assembly emulator that runs in the browser aldino97 · 13 pts · March 17, 2026 · 54% similar
- We rebuilt the Shockwave engine in Rust and WASM to save early 2000s web games unleaded · 14 pts · March 17, 2026 · 54% similar
- Endive: A JVM native WebAssembly runtime theanonymousone · 75 pts · May 28, 2026 · 50% similar
- Zero-Copy GPU Inference from WebAssembly on Apple Silicon agambrahma · 58 pts · April 18, 2026 · 49% similar
Discussion Highlights (20 comments)
eigenspace
Very cool. Too bad this doesnt seem to work as a PWA, or am I jusr missing the button on Android Firefox?
dmitrygr
Ok. So what’s interesting here, presumably, is that this isn’t a wasm GBA emulator (which also exist and work). This is the game itself compiled to wasm. Even though no official source code was ever published, there was a community based decompilation.
Luc
https://github.com/tripplyons/pokeemerald-wasm/
hawkice
Confirming that saving genuinely works. Interesting stuff. Wonder if we can get trades working too.
itsthecourier
some weeks ago I made a Gameboy emulator from zero in rust and then exported it to wasm https://holy-lake-f6df.sdreyesg.workers.dev/ took me 3 hours with Opus. Opus knew the whole ISA, clock, bus quirks, etc. from their training without any external docs
oceansky
Next step: 100% browser javascript pokémon emerald.
gobdovan
Any way to get sound?
weird-eye-issue
I did a Pokémon Crystal playthrough several months ago, still great games! I used an emulator on my laptop with increased speed so it made everything like walking and combat way faster which was really nice and I probably would have given up if it wasn't for that
danielrmay
Super neat. I'd love to see what it would be like to play with more modern &intuitive touch controls instead of just the D-pad and A/B.
firefax
Why Emerald -- is classic already done? If anyone has emulator suggestions, I recently attempted a playthrough and found that midway through my copy of red, the game was corrupted? Oddest thing -- hadn't reading the point where you do the "Missingno trick" near cinnebar. Anyways, I suspect the save got corrupted somehow but it made me swear off emulation and try a physical copy. (Which had the battery I replaced fail... it's been a comedy of errors).
Innittech
29 FPS for me, what hardware are you using to get a hundred thousand FPS?
zuzululu
Nintendo lawyers intensifi
deadbabe
What kind of mods and new features could be added?
wild_pointer
There should be 2 options for speed, regular and sped up. Then there should be a key to speed the game up. When I was a kid, it was the space key for GBA. You could have the normal game and skip the boring parts fast.
Navaie
Crashed when using a potion vs May :(
ianm218
What are considered the best games in WASM? I recently got into playing around with WASM - it would've been great if this technology was prevalent during the Flash games era
wis
Cool! I like the speeding up feature. I suggest making the UI indicate that you can press the keys `z` and `x` on the keyboard to trigger the A and B buttons respectively, I figured that out by pressing on my keyboard the A and B keys and then all the letter keys. Btw, it seems there's a crash when you choose "Pokemon" in the "Fight/Bag/Pokemon/Run" menu: https://i.ibb.co/tpVV8q83/poke-fight-menu.png
vesche
This is awesome! It would be neato if you could export and reload your save file, I clear my browser data a lot.
theowaway213456
Certain entities seem to be displayed as numbers for me, like "You received a 6" etc when getting my first potion. Anyone else seeing this bug?
arthurcolle
This is amazing. Are the left right up down controls a bit wonky? If I cycle through the letters in the name select menu it seem to buggily not actually go through it?