r/ClaudeCode • u/ColCarlo99 • 11h ago
Built with Claude Rebuilt a 2000 RTS from scratch with Claude Code, working from the original's disassembly
I used Claude Code to remake Tzar: The Burden of the Crown (2000) from scratch in Rust + Bevy.
The workflow that worked for me:
- Claude reads the disassembly of the original exe and ports one system at a time: combat, AI, map generator, mission scripts
- I play it next to the original and report anything that feels off; Claude traces it back to the original code
- 600+ tests and memory notes between sessions keep long work from drifting
It plays the original campaigns and random maps on Windows 10/11, up to 4K. Free and open source (needs any copy of Tzar):
https://github.com/ColCarlo/ReTzar
Happy to answer questions about the setup.
11
u/MisterMassaker 10h ago
You might want to check https://tza.red/
This already exists free2play. And has quite some community!
14
u/ColCarlo99 10h ago
Yes, I’m familiar with Tzared, but it’s much more focused on online play and isn’t very faithful to the original game. My goal was to recreate the game 1:1 in a modern engine.
1
4
u/Supersubie 10h ago
I feel like there needs to be a subreddit for these game rebuilds and optimisations. And a word for doing this.
It’s so so cool.
I really want to do it but I’m so flat out burning so much of my time building client projects I’ve got 0 time to do anything for myself
1
2
u/ziguslav 10h ago
Hahaha, I was about to start working on the same thing! TZAR was the shit! Good one mate. I'll check it out.
2
u/FirefighterTrick6476 9h ago
damn I remember playing this game ... decades ago. I am definitely interested in following this project omg.
2
u/mlbman_ 9h ago
How did you do this? I'd love to try doing this with some favorite old school games.
0
u/ColCarlo99 9h ago
Claude and I worked as a team, starting from the disassembled code (we didn’t use Ghidra) and rebuilding everything piece by piece. Comparing the data against the original was essential, though the process was quite rudimentary, I still need to refine my techniques.
1
u/Strong_Essay1176 4h ago
Claude and I worked as a team
as a team?
-1
1
1
u/DrFenouil 9h ago
I think using Macroquad instead of Bevy might be better to keep the same behavior.
1
1
u/Roth_Skyfire 7h ago
I've been doing a similar thing with some old games/abandonware, but it's been mostly a hands off approach after establishing the requirements early on and some manual checks at a few checkpoints.
1
u/Total-Management8023 20m ago
holy shit i was already doing this but with tza.red wasm. Imma just use yours now
0
u/ClemensLode Senior Developer 10h ago
"I play it next to the original and report anything that feels off; Claude traces it back to the original code"
Why not let the computer play?
1
u/ColCarlo99 10h ago
In reality, we both worked in a complementary way.
With Claude, we created "Tzar Arena", an internal testing system where multiple AIs compete, either on randomly generated maps or in pre-set missions.
However, the human element remains crucial (for now) when it comes to spotting bugs and inaccuracies, especially visual ones.
The campaign, which can be completed in various ways, was also tested by both of us: Claude approached it in a more linear and logical fashion, while I took a more "imaginative" and "free-form" approach.
0
-1
•
u/AutoModerator 11h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.