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.<p>Btw, it seems there's a crash when you choose "Pokemon" in the "Fight/Bag/Pokemon/Run" menu:<p><a href="https://i.ibb.co/tpVV8q83/poke-fight-menu.png" rel="nofollow">https://i.ibb.co/tpVV8q83/poke-fight-menu.png</a>
Thanks for the info! I will collect all these reports today and get these issues fixed in the next few days when I can.
Z and X are old school emulator keys. I knew right away to use them from the visual boy advance / zsnes days. :D
Confirming that saving genuinely works. Interesting stuff. Wonder if we can get trades working too.
Yeah, I made sure saving worked correctly
First thing I checked as well! I've been Poke-sniped, there goes a few hours.
Really exciting to see more games ported to WASM. For anyone interested, I just did a HN post detailing a port I spent the last 5 days on - Xonotic, an arena FPS. Includes a technical writeup too:<p><a href="https://news.ycombinator.com/item?id=48428133">https://news.ycombinator.com/item?id=48428133</a>
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?
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.
I did a Pokémon Crystal playthrough several months ago, still great games!<p>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
Currently playing Pokémon Unbound, that is probably best ROM hack ever made. I grow up on 1st and 2nd GB and GBC games so Unbound feels a little bit bloated to me with 8 generations of monsters but man... This project is completely new experience, especially playing on retro hand-held like Trimui Brick Hammer.<p>Then I start to explore another Pokémon hacks and find out that those project has big fan community that are very enthusiastic about bringing new features to classical Pokémon formula. Documents/wiki on web are more detailed than original games has!<p>For example R.O.W.E mix all kind of modes that you can select, connect Johto and Kanto maps togather, gives you options to limit avalible generations of Pokémon's, so as veteran you can feel more like home.<p>Another hacks that I need to explore more - Pokémon Gaia and Pokémon Odyssey.
I use the cheat engine in zsnes to get rid of the grinding in final fantasy games.<p>I find it improves the game when I don't have to spend a bunch of time leveling up or earning gold for equipment.
<a href="https://github.com/tripplyons/pokeemerald-wasm/" rel="nofollow">https://github.com/tripplyons/pokeemerald-wasm/</a>
So you’re saying I have 1900 Game Boys in my pocket everywhere I go AND don’t have to buy batteries?<p>AND - I didn’t have to blow air on the cartridge connector for it to work?<p>Is this the future?
This is awesome! It would be neato if you could export and reload your save file, I clear my browser data a lot.
Any way to get sound?
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?
Why Emerald -- is classic already done?<p>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.<p>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).
Emerald is well regarded as the best of Generation 3, which is the final of the traditional 2D games and can trade with Fire Red/Leaf Green (remakes of the classic)<p>So you have available all of the original Pokémon
I chose Pokemon Emerald because it is my favorite of the games that have been disassembled!
Maybe the internal battery died. I honestly recommend you look at GBC style handhelds or if you like the GBA style, Anbernic made one that looks insanely close to a GBA.<p>There also a craze of DS style emulators popping up. They all give you comfort knowing that your saves will be fine forever if you back them up, even if the device dies.
Try <a href="https://afterplay.io" rel="nofollow">https://afterplay.io</a> it’s cross platform, saves every 20 seconds and keeps your last 50 saves which you can recover from if anything goes wrong
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
Next step: 100% browser javascript pokémon emerald.
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.
Yes, it a recompilation of a community decompilation!
I think the official source code was leaked, several times.
Very cool. Too bad this doesnt seem to work as a PWA, or am I jusr missing the button on Android Firefox?
You could send a PR. It's reasonably straightforward to add a manifest to make the app installable (<a href="https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/Progressive_web...</a>), and to use Workbox to make it work offline since it's fully static (<a href="https://developer.chrome.com/docs/workbox" rel="nofollow">https://developer.chrome.com/docs/workbox</a>).<p>The one caveat is that a PWA needs an icon but the project doesn't currently have one, so you'd have to design, find, or LLM-generate one.
You have to use "Add to home" menu item on Firefox for Android. But this web app doesn't seem to be a PWA.
Crashed when using a potion vs May :(
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.
Question to WASM and low level nerds: is this the sort of things LLMs are good at? Since the end verification is stable and conclusive and you can just "goal" this project into existence until this somewhat objective verification is met.
29 FPS for me, what hardware are you using to get a hundred thousand FPS?
What kind of mods and new features could be added?
<i>Nintendo lawyers intensifi</i>
some weeks ago I made a Gameboy emulator from zero in rust and then exported it to wasm<p><a href="https://holy-lake-f6df.sdreyesg.workers.dev/" rel="nofollow">https://holy-lake-f6df.sdreyesg.workers.dev/</a><p>took me 3 hours with Opus. Opus knew the whole ISA, clock, bus quirks, etc. from their training without any external docs
Likely because all of the external docs were already in its training set.
Alternatively, you could have downloaded an existing one. What you did is just a roundabout way of acquiring one of the many WASM Rust GB emulators in the training set. Except it probably now has several problems from reconstruction. You didn't learn anything new from the process. It's just wasteful in several ways.
bro, I learned a lot, I did it step by step and discussed everything with Claude, then used the knowledge to build an emulator at work for a rtos machine (WIP)
Yes, this project was made in around 15 hours of Codex.