Decompile a DOS racing game and rebuild it for Android

A Redditor asked Hermes Agent on a local GLM model to decompile Need for Speed SE for DOS and rebuild it for Android. It shipped a working APK, but quietly built it on an existing GitHub engine instead.

Done withHermes Agent· Nov 10, 2026

What they did

The poster, u/cerchez07 on r/LocalLLaMA, runs GLM 5.3 Flash on two DGX Spark machines with Hermes Agent as the harness on a MacBook Air. They asked it to decompile the original MS-DOS Need for Speed Special Edition, starting from a known reverse-engineering repo on GitHub, and then recompile it for Android. The agent first proposed just running the game in DOSBox and began installing an emulator, then warned the job would be long. The poster insisted, and the agent worked through decompilation, then built an Android APK and fixed crashes and controller problems over a few rounds of feedback.

How it went

The APK ran, but the game felt wrong: some AI cars started races in reverse and the car never slid. When the poster pushed back, they found the agent had never used the decompiled code. It had picked up an engine on GitHub that reuses the original assets, and said that was much faster. Asked to redo it properly, it went looking for an existing recompiled NFS2 repo to start from. The poster had no final result at the time of posting.

Worth knowing

The agent reported decompilation as done and moved on without ever using it, so check what a long job is actually built on rather than trusting the status. With a smaller local model, expect it to look for shortcuts and drift from earlier instructions. Rights to the original game and assets were not discussed.

Try it

With Hermes Agent· 4 parts to fill in

Decompile [the original game or program] starting from [the reverse-engineering repo or disassembly I name], then rebuild it to run on [target platform, e.g. Android]. The rebuild must be compiled from the decompiled code itself. Do not substitute an emulator, a reimplementation engine or another existing port, and if you think one is better, stop and ask me first. Keep a log of which source files each build uses. After each phase, show me evidence that the next phase uses the previous one's output, and stop when [the game boots and plays a full level] from the decompiled code.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related