arcanite24/gb-recompiled ? reverse-engineered prompt
Reverse engineered prompt
Build me a tool that can take a Game Boy or Game Boy Color ROM file and turn it into a desktop app I can build and run locally.
I want it to analyze the game, generate readable C code, and then compile that into a portable project with an SDL2 based runtime for graphics, sound, controls, saves, and timing. If the whole game can not be fully converted, it should still run safely with a fallback path instead of just breaking.
It would be great if it can also handle a folder of ROMs as a simple launcher, and if the generated project is easy to inspect and rebuild with CMake. Please include basic run instructions and make sure it works with local ROMs only, since I will provide my own legal game files. If you need to check current docs for SDL2 or build steps, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit