Show HN: NES Contra (1987) port (ASM –> C and then C –> WebAssembly)
https://epoyraz.github.io/nes-contra-us/The whole thing (all banks) is more than 10,000 lines of assembly code. When I wrote assembly code for a university computer science course, it was hard to manage even 200 lines. I cannot imagine writing and managing 10,000 lines!
Impressive work, indeed. vermiceli the GOAT.
I used it to get games written in Lua running on SNES and in my own language/engine running on Dreamcast, Wii, Web and more.
Are there any emulators out there that let you swap in higher resolution assets so a game can be freshened without a complete port?
Edit: For SNES, not NES, my bad.
For AI usage: It was all done by Claude/Codex, but it wasn't that straight forward. First: i started in April and the models weren't good enough and would make errors. You could see those immediately in glitches. Then, i spent some time in building a harness and collect telemetry data in Mesen. Once, i had that: i just played the game in the emulator and asked Claude Opus 5.5 to use this as verification. The rest was smooth.