Remix.run Logo
hedgehog 11 hours ago

This is fantastic. It would be interesting to have Claude Code export an engineering guide for doing similar ports, including descriptions of the tooling it built to do it. I've done some reversing from binary but never with results this good.

ecliptik 2 hours ago | parent | next [-]

I'm doing something similar for DOS SDL ports. Repo isn't public yet, but idea is to have a repo with a knowledge base, skills and patches agents can use when porting to avoid having to bootstrap everything from scratch.

rabahs 11 hours ago | parent | prev | next [-]

This is a great idea. It could be a generic game porting skill to make the porting experience smoother. After my experience above. I have actually tried giving Claude binary files of games and it was able to reverse engineer to GoDot!

sedawkgrep 8 hours ago | parent | next [-]

> I have actually tried giving Claude binary files of games and it was able to reverse engineer to GoDot!

Oh wow...I hadn't even thought of trying something like this. There are soooo many games from that era that I'd love to play again without the hackery of emulation.

rabahs 7 hours ago | parent | next [-]

Just grab any game, especially old rom files form the 80s (I tried TimePilot and Road Fighter from MSX era). The model extracted the graphics, the sounds and then built the whole game. It takes less than 1 hour to port a 16kb rom file, in one shot. You will get a playable game, but you need a few follow up prompts to get it back to its original form. Usually some sprites or sounds issues, but very easy to fix, if you have played the original game.

ericd 7 hours ago | parent | prev [-]

Yeah, someone reverse engineered Red Alert 2 recently. Took Fable cranking for almost a month, but it's pretty amazing to see.

hnlmorg 6 hours ago | parent | prev [-]

Dumb question this, but how do you load it into Claude? I’ve only seen APIs for text and image uploads. Not random files. Or maybe that’s a limitation of the SDK I’m using?

rabahs 5 hours ago | parent [-]

With Claude Code command line, you can point to any directory you have in your file system. In this case, Claude Code was working across three directories: the original game in assembly, the 2010 port in C++, and the new Godot port.

asimovDev 7 hours ago | parent | prev [-]

session stored on the drive would also contain all of the tool calls , right? unless op changed the default settings it would've expired though by now, since the run was in July

rabahs 6 hours ago | parent [-]

That's a good point. I looked at the git history for my analysis. What is the best way to analyze claude sessions history? I definitely check if I still have them stored. Thanks

asimovDev 6 hours ago | parent [-]

sessions are stored in the home folder somewhere but are deleted after 30 days by default. it won't be stored in the bash history, at least it does not for me on macOS with zsh + omz

b112 3 hours ago | parent [-]

Of course is one does nightly, off site backups, all is well! A friendly note to all, always have backups!