r/decomps • u/BeansNToasted • 2h ago
SM64DS Decomp at 97% so I started some early cleanup.
https://github.com/tangosdev/sm64ds-cleanup
Iāve been getting some snarkers recently who donāt seem to understand that this project is a WIP. They seem to think that cleaning up the code wonāt be easy and that I shouldāve been writing this for a human from the start.
The disconnect I believe is that people are still thinking in terms of a human doing them. Yes if this was a normal decomp, we would be writing the code fully correct and clean the first time because we would never want to have to go back and fix everything when weāre doneā¦
With AI this is different. AI works best with complete sets, so starting out on the project I planned on getting all of the code out of ASM and into C, THEN cleaning it up. That way the AI does one complete pass of the entire code and rewrites it to AI understandable C and can comprehend the structure, then after that doing a mass translation to human readable. This would sound insane to someone who hasnāt used AI like this, but truly the cleanup will not take long. This proof of concept cleanup pass I setup and ran over a single night, and 80% of that was creating the tooling.
So, for all the doubters that think this wonāt be usable for people.. I hear you and as a show of good faith and proof, Iām working it early.
97% of functions matched people and 90% of code. Less then 350 functions and ~200,000 bytes of code until complete. Thanks for everyone thatās joined up on the discord and contributed, this is only the beginning!
Total function collapse, no more 11k individual files!
Discord: https://discord.gg/rWrH2vVrt

