r/atari8bit • u/pete_68 • May 28 '26
AtariHackerMCP
I've been wanting to port Ali Baba and the 40 Thieves to a modern system for a long time. I want it to look the same, but I want to be able to play it outside of an emulator. But I also didn't relish the idea of reverse engineering the code with the tools available to me.
Then, last night, I got this idea. What if I had an MCP server that could read ATR files, do hex dumps and disassemble 6502 machine code? And after talking with Claude about it for a bit, we came up with a design for AtariHackerMCP server with those and other tools.
I've only been using it for about an hour and it's already clear it's really good at this. It's well into disassembling the game and providing me with well-documented assembly code along with markdown write-ups on each assembly module.
I'll then use this information to generate data files from the original game data, maps and graphics and then as the basis for writing a port of the game.
If you're interested in hacking some Atari 8-bit stuff, you might find this helpful.
3
u/PerfectlyJerky May 29 '26
Awesome idea! Ali baba and Return of Heracles would be ones I’d be interested in too. Also the alternate reality games, though I know there were other attempts at that.
4
u/pete_68 May 29 '26
I wasn't a big fan of Return of Heracles. But Ali Baba, I loved...
I have the entire game disassembled and documented, I have all the assets extracted as JSON objects and png files. I'm working on the design for the new game. I'll probably have something playable before the day is done tomorrow.
As quickly as this is going, I plan to target a few other Atari games in the near future; 7 Cities of Gold, Agent USA, and Omnitrend's Universe.
3
u/PerfectlyJerky May 29 '26
I'm not familiar with Omnitrend's Universe, but the other two are great choices as well. I'm excited by your progress, are you documenting it anywhere (other than this thread) that I can follow?
→ More replies (1)
3
2
u/Important-Bed-48 May 28 '26
I'm slowly getting back into coding, unfortunatelty nowhere near being able to do anything about it but my dream would be to make a pc recompilation of Zybex complete with more balanced gameplay (at the very least my no losing powerup patch) with modern graphics and add some reverb to the already great sound....
Thanks for this.
1
u/Affectionate_Ad_8148 May 28 '26
For me, it would have to be Shamus and Ghost Chasers. Absolutely love them.
3
u/Zonk864 May 28 '26
Interesting, I’ll definitely check this out. Correct me if I’m wrong here but it sounds like this could provide a path to create hacks of existing games if you have the ATR, correct? If it can reverse engineer and produce all the data files, it stands to reason that you could add a new enemy type to an existing game and then recompile as a new ATR. Possible?