← Back to library

Let a coding agent instrument an old PC game you own

TeMPOraL on Hacker News had Claude Code revive a 1997 PC game he owned on a modern machine in about half an hour. It then decompiled most of it and extended a shim DirectX DLL so the game runs headless on a hidden Windows desktop, several copies at once, mapped memory and scripts, and now writes level guides with screenshots.

  • OutcomeHave a coding agent get a classic game running, run it headless, map its memory and scripts, and build helper tools so you can check its work.
  • SetupAn afternoon+
  • LevelAdvanced
  • CreditTeMPOraL on Hacker News
View original
Works with
Claude Code

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • You own an old game that will not run
  • You want to understand how it works
  • You like building helper tools

Not for: Online games with anti-cheat; Software whose license bans reverse engineering

What do you need, and what do you get?

You need

  • Your own game copy
  • A Windows machine or VM
  • A coding agent with shell access

You get

  • A working copy on your current PC
  • Headless parallel instances
  • Helper tools and level guides

How does it work, step by step?

  1. Get it runningAsk the agent to make the game start on your current system first.
  2. Go headlessHave it run the game off-screen so it stops taking over your desktop.
  3. Map the internalsAsk for notes on memory addresses, level data and scripts.
  4. Build viewersRequest small tools that show you what it found so you can verify it.
  5. Use the mapGenerate guides, fixes or visual tweaks from that understanding.

The prompt

Our own prompt, inspired by TeMPOraL on Hacker News and written to work in Claude Code. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt4 variables
Goal: get {game_name}, which I own, running on {os}, then help me understand how it works.
First make it launch. Then run it headless so it does not take over my screen.
Document memory addresses, level data and scripts you find in {notes_file}, and build a small viewer for each so I can confirm your findings. Work only inside {vm_or_folder}.

Inspired by TeMPOraL on Hacker News: Comment in How to engineer an AI harness for game development. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Work in a VM; patched DLLs and memory edits can crash things.
  • Check the game's license before decompiling.
  • Without helper tools you cannot tell if its claims are right.

Our take

TeMPOraL's key move is asking for instruments, not just results. An agent that maps memory and drafts level guides is impressive, but the small viewers it builds are what let you trust those claims instead of taking them on faith. Running the game off-screen on a private desktop is the other smart step: it stops the agent fighting you for the mouse and keyboard, and it allows several copies to run at once for comparison. Stay inside the law and good hygiene. Work only on software you own and may legally modify, keep the whole experiment in a virtual machine so a misbehaving game or tool cannot touch your main system, and treat each claim about game logic as something to confirm in a viewer or by watching the game yourself. Save the maps and guides outside the game folder so a bad edit does not wipe them. This is a joyful use of coding agents on personal software, not a license to redistribute modified binaries.

Where the time goes back: Weeks of manual reverse engineering shrink to guided sessions, and you can check every step.

FAQ

Why headless?
Screen-driving runs kept taking over his PC, and headless allowed parallel copies.
How did he verify it?
Through the many helper tools it built to show how the game works.

Source and credit

Inspired by TeMPOraL on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Comment in How to engineer an AI harness for game development
Creator
TeMPOraL on Hacker News
Published on
Hacker News
Original date
Oct 14, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude Code
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Privacy & Security

All 22 Privacy & Security playbooks →

Related playbooks

Privacy & SecurityRoutine✓ AI dry run

Approve a daily memory diff from your personal agent

Keep a personal agent's long-term memory accurate by reviewing a short daily list of proposed additions and edits before they are saved.

Credit: PrincessEe on Hacker News

An afternoon+
Privacy & SecurityPrompt✓ AI dry run

Declutter a Fire TV Stick with a coding agent, safely

Let a terminal coding agent connect to your Fire TV Stick over ADB on your home network, back up its state, switch off Amazon's ad and tracking options, disable unwanted apps a few at a time with your approval, and leave you a tested restore script.

Credit: u/Mean-Kaleidoscope873 on r/ClaudeCode

Under an hour
Privacy & SecurityWorkflow✓ AI dry run

Dictate new skills from your phone for small house chores

From your phone, have an assistant write small skills for local chores, run a daily brief, and fix its memory when it picks wrong.

Credit: Thomas Millar (@thmsmlr)

Under an hour
Privacy & SecurityWorkflow✓ AI dry run

The agent edits your NixOS config, you apply it

Keep every home server's NixOS config in one repo the coding agent edits, and block it from applying changes so you review and switch yourself.

Credit: wraptile on Hacker News

An afternoon+
Privacy & SecurityWorkflow✓ AI dry run

Give your bot's mailbox a web inbox

Have your bot build and deploy a small web inbox for its own email address on your own hosting accounts, so you can read, search and reply outside the chat.

Credit: u/Aggravating_You_4431 on r/grok

Under an hour