Pokemon Emerald Ported to WebAssembly (100k FPS)

(pokeemerald.com)

51 points | by tripplyons 3 hours ago

9 comments

  • hawkice 1 hour ago
    Confirming that saving genuinely works. Interesting stuff. Wonder if we can get trades working too.
    • tripplyons 10 minutes ago
      Yeah, I made sure saving worked correctly
  • weird-eye-issue 43 minutes ago
    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

  • Luc 1 hour ago
    • fc417fc802 46 minutes ago
      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 39 minutes ago
        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 19 minutes ago
          Interesting; but the GitHub project linked seems to have the original animations from the ROM.
          • mathgeek 9 minutes ago
            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.
  • gobdovan 45 minutes ago
    Any way to get sound?
    • tripplyons 35 minutes ago
      I have not added that yet, but it would probably be quite easy to throw a few prompts to Codex to do so.
  • oceansky 45 minutes ago
    Next step: 100% browser javascript pokémon emerald.
  • dmitrygr 1 hour ago
    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 34 minutes ago
      Yes, it a recompilation of a community decompilation!
  • eigenspace 2 hours ago
    Very cool. Too bad this doesnt seem to work as a PWA, or am I jusr missing the button on Android Firefox?
  • itsthecourier 55 minutes ago
    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 36 minutes ago
      Likely because all of the external docs were already in its training set.
    • tripplyons 33 minutes ago
      Yes, this project was made in around 15 hours of Codex.