@loudmog this was mostly Opus 5.5 with codex here and there. file level reviews for tooling and makefiles at the very end with Astra Pro thinking.
once you have matches for everything, there's another few weeks of polishing types, cleaning up comments, etc.
sonic adventure 2 is decompiled!
https://t.co/6x3CSgRkFM
100% of the source code recovered. rebuilt in 16:9 with modern GCC and SH4ZAM.
when this game was released, the dreamcast was mostly dead. my first project was a launch title. this is the final chapter of its story.
@futurepr0n n64 decomping is incredibly well studied. I haven't attempted one, but I imagine you could get quite far in a week with a claude ultra / codex 500 account.
you have to be on top of your resets. thats the whole game rn
@Mrdreamcast1998 hey! great question.
1) preservation. there were problems with subsequent ports. the sound mixing on the XBLA version is notoriously awful.
2) study the evolution of the Dreamcast's SDKs and code patterns.
3) create examples that people can use to decomp other Dreamcast games.
@Mrdreamcast1998 hey! great question.
1) preservation. there were problems with subsequent ports. the sound mixing on the XBLA version is notoriously awful.
2) study the evolution of the Dreamcast's SDKs and code patterns.
3) create examples that people can use to decomp other Dreamcast games.
@PinkPantherRule yes! I haven't written code by hand since around February 2026.
I wrote about AI use and my journey as a swe here:
https://t.co/iiyNDm4gUi
@Miyazma_ yes! this decomp doesn't have a PC port yet. but i've added additional frames to the first game on a test branch and it looks awesome.
I want to ship this eventually
@MRRATCHET_ SA2B features would be awesome!
There are requests for Chao stats w/ cloud saves etc. which would be a good intermediate step, but definitely open to doing a lot more if people want it
the holy grail is a modern Rust implementation of the SHC compiler these games were built with.
the models of 2027 will probably make this rather straightforward
coordinating fleets of agents to decompile entire games is just plain fun.
I did this to open up the Dreamcast decomp scene. I want to do shenmue, but I need a break. these are an insane amount of work.
Finally, I can put this down.
For the last 4 weeks I've been working nonstop on the first byte-matching Dreamcast decompilation. 1m lines of C, written entirely with Claude Code and Codex, the original Japanese release of Sonic Adventure:
https://t.co/m2ZyBNAHmj
Special thanks to @falco_girgis for his sh4zam library, which we used extensively for the GCC port! He is doing god's work hand optimizing math functions using SH-4's instruction set.
Not all AI code is slop! I spent HUNDREDS of hours polishing this. First the decomp itself THEN a GCC port of the SuperH C code to make this compile under a modern toolchain. Take pride in what you release, AI use or not. I wrote about this project here:
https://t.co/4KYvNxhlew
@falco_girgis@abean_beanie hello @abean_beanie we certainly can! that's the beauty of decomp, the source code is all there to edit and tinker with.
adding stat views would be very quick... i also have been thinking about a cloud save system for chaos :)
hey @dark1x! the remaining dips seem like mostly terrain drawing being slow (ie the Mystic Ruins, the avalanche sequence in Ice Cap).
i've mitigated the most egregious issues with a new engine, but there's still a lot of meat on the bone. i just pushed an update that uses Falco's faster trig for motion instead of matching the exact angles of retail.
the original SA1 uses decent SH4 semantics, but now that we've recovered SA2's code, it's clear that game is much smarter about preparing geometry ahead of time and reusing it. it also has a better XMTRX API that turns out to be much more like how Falco's SH4ZAM thinks about matrix math
@DarkRedshift@falco_girgis hey! it's a decomp which recovers the entire source code for both dreamcast games.
falco is showing a modern GCC build on DC, which is the natural first target.
SA2 is fully decomped! we're giving it the same treatment.
the goal is to have a definitive version of both
@TrunerGruenwald@falco_girgis hey there! no, 60fps doesn't have any impact on collision. the game's original logic runs at 60hz. we just render both gameplay steps when there's time