ExpansionPak/DolRecomp — reverse-engineered prompt
Reverse engineered prompt
Build me a command line tool called DolRecomp that can take GameCube and Wii DOL files, REL modules, and Wii U RPX files and turn their executable code into split C source that I can compile on a PC. I want it to validate the entry points before generating code, support single REL files or whole folders of RELs with import resolution, and let me pick the Espresso CPU mode for Wii U. The output should go into a build folder or use an exact manifest file if I pass a C file path, and it should support parallel chunk generation with a jobs option.
Please include a simple help screen, a setup command for the local title database, and optional support for compressed RPX through zlib. It should also have an extract command for GameCube ISO files and Wii ISO or WBFS files, using wit when needed. Make it build with CMake, run tests, and work on Windows, Mac, and Linux. The generated C is only a compile target, not a runtime. Look up current docs online if you need to.
Want more depth? Deep Reverse