Coding

4.9x Faster, Still Bit-Exact: Claude Ported Super Mario 64's Physics to a Game Boy Advance

  • Level Advanced
  • Setup1–3 hrs (estimated)
  • Evidence Some evidence
  • CostNot stated in source
  • No-codeNo
ClaudeSource-linked

What they did

A developer steered but wrote no code while Claude ported Super Mario 64's movement and collision code to the Game Boy Advance, a 16.8 MHz chip with no floating-point unit. Mario's state matches the original game bit for bit on every test frame, two rounds of optimization made it 4.9x faster on average, and the free demo runs 4 levels at 30 fps on about 98% of frames.

How it went

Open-source MIT repo (github.com/Kodoque1/sm64-gba) with CI tests; README reports bit-exact parity vs the decomp, 4.9x average and 8.4x worst-frame speedup, 30 fps on 98% of frames. Tested in mGBA emulator only, not real hardware. No Nintendo assets included

Worth knowing

  • Open-source MIT repo (github.com/Kodoque1/sm64-gba) with CI tests; README reports bit-exact parity vs the decomp, 4.9x average and 8.4x worst-frame speedup, 30 fps on 98% of frames. Tested in mGBA emulator only, not real hardware. No Nintendo assets included.

Prompt

Cleaned version rewritten from the source — not a direct quote.

I want to port [the core logic of an existing open-source project] to [a much weaker device]. Work in this order: 1) Build a test that compares your version's output against the original on every step, and make sure a deliberately broken build fails it. 2) Get a bit-exact port first, even if it's slow. 3) Then optimize, re-running the comparison test after every change, and report speed before and after. Keep engineering notes in the README explaining each trade-off. Don't include any copyrighted assets.

Recommended

Try it in Grok Bot

  1. Copy the prompt (button below).
  2. Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
  3. Connect the listed tools (as needed) as connectors when Grok Bot asks.
  4. If the task repeats, ask: "Make this a daily routine."

Alternatives: the same prompt works in Claude, ChatGPT Agent, OpenClaw.

Set it up

Stack: Claude (Opus 5.5) + GBA toolchain + mGBA emulator

  1. Read the original source for full context.
  2. Connect the tools your agent needs.
  3. Paste the prompt and replace [bracketed] placeholders.
  4. Run once manually and check the output before scheduling it.

Generic suggested steps, not from the source.

Evidence

Open-source MIT repo (github.com/Kodoque1/sm64-gba) with CI tests; README reports bit-exact parity vs the decomp, 4.9x average and 8.4x worst-frame speedup, 30 fps on 98% of frames. Tested in mGBA emulator only, not real hardware. No Nintendo assets included

Source: Reddit · 2026-10-18 · Verified by us: not yet · Report broken or outdated

Related use cases

MoneyWeb · 2026-02

Check a hospital bill against what Medicare would pay

A writer gave Claude the coded hospital claim (UB-04) for his late brother-in-law's $195,628 ER bill and asked it to build a spreadsheet of Medicare rates per code. Claude flagged bundled items billed separately, a bypass charge for a procedure that never happened, and a ventilation charge Medicare does not allow.

  • Level Intermediate
  • Setup1–3 hrs*
  • Evidence Strong evidence
ClaudeSource-linked
CodingX · 2026-10

Hermes Agent Nearly Doubled Speech-to-Text Accuracy on Hard Words: 99 to 183 of 240

A user turned his 15K saved Wispr Flow dictations into a test set for the local Whisper model behind his Hermes Agent. The agent turned his Wispr dictionary into a hint list, diffed raw vs corrected text to find words Whisper keeps mishearing, made find-and-fix rules, and tested every rule against the full history. With no fine-tuning, dictionary words went from 99/240 to 183/240 on Wispr clips and 19/45 to 43/45 on sentences he read aloud. It now archives the data nightly and looks for new fixes weekly.

  • Level Advanced
  • Setup1–3 hrs*
  • Evidence Strong evidence
Hermes AgentSource-linked
CodingReddit · 2026-10

1 Minute to 1 Second: Claude Code Built a Faster Plex App for a Samsung TV

On a 2022 Samsung TV the official Plex app took about a minute to open and search lagged about 10 seconds. A Redditor used Claude Code to build a free, open-source web-app client that opens in about a second, searches as you type and plays 98.7% of his library directly in hardware.

  • Level Advanced
  • Setup1–3 hrs*
  • Evidence Strong evidence
Claude CodeSource-linked