Remix.run Logo
Pokemon Emerald Ported to WebAssembly (100k FPS)(pokeemerald.com)
99 points by tripplyons 5 hours ago | 26 comments
hawkice 3 hours ago | parent | next [-]

Confirming that saving genuinely works. Interesting stuff. Wonder if we can get trades working too.

tripplyons 2 hours ago | parent | next [-]

Yeah, I made sure saving worked correctly

ceroxylon 23 minutes ago | parent | prev [-]

First thing I checked as well! I've been Poke-sniped, there goes a few hours.

firefax an hour ago | parent | prev | next [-]

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).

patrickcorrigan an hour ago | parent [-]

Try https://afterplay.io it’s cross platform, saves every 20 seconds and keeps your last 50 saves which you can recover from if anything goes wrong

Luc 3 hours ago | parent | prev | next [-]

https://github.com/tripplyons/pokeemerald-wasm/

fc417fc802 2 hours ago | parent [-]

How long until this is DMCA'd? How has the project it's based on stuck around for so long? Do I perhaps misunderstand what this is? https://github.com/pret/pokeemerald

mathgeek 2 hours ago | parent | next [-]

It's a port of a disassembly that requires you to provide your own ROM. The legality of such things is a tangled web that anyone producing them needs to navigate very, very carefully.

yw3410 2 hours ago | parent [-]

Interesting; but the GitHub project linked seems to have the original animations from the ROM.

mathgeek 2 hours ago | parent [-]

It's mostly argued around or against the application of fair use. I suggest consulting a lawyer if you're truly interested, as it quickly gets into legalese around what constitutes ownership, distribution, etc. Throw in a lack of extensive case law and you quickly get into opinions rather than legal bases.

oompydoompy74 40 minutes ago | parent | prev [-]

I’m of the opinion that projects like this should start hosting Forgejo instances in countries with favorable laws and just mirroring to Github for exposure.

weird-eye-issue 2 hours ago | parent | prev | next [-]

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 an hour ago | parent | prev | next [-]

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.

eigenspace 4 hours ago | parent | prev | next [-]

Very cool. Too bad this doesnt seem to work as a PWA, or am I jusr missing the button on Android Firefox?

ameliaquining 2 hours ago | parent | next [-]

You could send a PR. It's reasonably straightforward to add a manifest to make the app installable (https://developer.mozilla.org/en-US/docs/Web/Progressive_web...), and to use Workbox to make it work offline since it's fully static (https://developer.chrome.com/docs/workbox).

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.

parasti 2 hours ago | parent | prev [-]

You have to use "Add to home" menu item on Firefox for Android. But this web app doesn't seem to be a PWA.

dmitrygr 3 hours ago | parent | prev | next [-]

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.

tripplyons 2 hours ago | parent [-]

Yes, it a recompilation of a community decompilation!

Innittech an hour ago | parent | prev | next [-]

29 FPS for me, what hardware are you using to get a hundred thousand FPS?

_vertigo 36 minutes ago | parent [-]

iPhone 13. Did you change the slider at the bottom?

gobdovan 2 hours ago | parent | prev | next [-]

Any way to get sound?

tripplyons 2 hours ago | parent [-]

I have not added that yet, but it would probably be quite easy to throw a few prompts to Codex to do so.

oceansky 2 hours ago | parent | prev | next [-]

Next step: 100% browser javascript pokémon emerald.

itsthecourier 2 hours ago | parent | prev [-]

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

mathgeek 2 hours ago | parent | next [-]

Likely because all of the external docs were already in its training set.

tripplyons 2 hours ago | parent | prev [-]

Yes, this project was made in around 15 hours of Codex.