Super Mario Galaxy 1 decompilation.
Go to file
2024-10-20 00:11:07 -04:00
.github/workflows more updates 2024-09-21 19:36:56 -04:00
.vscode Effect linked 2024-10-14 13:36:38 -04:00
assets throw in initial overhaul 2024-09-23 21:17:42 -04:00
config/RMGK01 Game fully configured and linked 2024-10-20 00:11:07 -04:00
docs throw in initial overhaul 2024-09-23 21:17:42 -04:00
include more linking 2024-10-17 02:40:27 +02:00
libs fix SMatrix set parameters 2024-10-16 21:03:58 -04:00
orig/RMGK01 throw in initial overhaul 2024-09-23 21:17:42 -04:00
src/Game finish fixing linking errors for all libs but Camera 2024-10-16 21:13:04 -04:00
tools Update dtk-template, fix building all source files 2024-10-14 11:12:17 -06:00
.flake8 throw in initial overhaul 2024-09-23 21:17:42 -04:00
.gitattributes throw in initial overhaul 2024-09-23 21:17:42 -04:00
.gitignore Update dtk-template, fix building all source files 2024-10-14 11:12:17 -06:00
configure.py add Camera.a to configure.py 2024-10-16 21:21:22 -04:00
convert.py add Camera.a to configure.py 2024-10-16 21:21:22 -04:00
LICENSE throw in initial overhaul 2024-09-23 21:17:42 -04:00
README.example.md throw in initial overhaul 2024-09-23 21:17:42 -04:00
README.md throw in initial overhaul 2024-09-23 21:17:42 -04:00

decomp-toolkit Project Template

If starting a new GameCube / Wii decompilation project, this repository can be used as a scaffold.

See decomp-toolkit for background on the concept and more information on the tooling used.

Documentation

General:

References

Projects using this structure:

Features

  • Few external dependencies: Just python for the generator and ninja for the build system. See Dependencies.
  • Simple configuration: Everything lives in config.yml, symbols.txt, and splits.txt.
  • Multi-version support: Separate configurations for each game version, and a configure.py --version flag to switch between them.
  • Feature-rich analyzer: Many time-consuming tasks are automated, allowing you to focus on the decompilation itself. See Analyzer features.
  • REL support: RELs each have their own symbols.txt and splits.txt, and will automatically be built and linked against the main binary.
  • No manual assembly: decomp-toolkit handles splitting the DOL into relocatable objects based on the configuration. No game assets are committed to the repository.
  • Progress calculation and upload script for frogress.
  • Integration with objdiff for a diffing workflow.
  • CI workflow template for GitHub Actions.

Project structure

  • configure.py - Project configuration and generator script.
  • config/[GAMEID] - Configuration files for each game version.
  • config/[GAMEID]/build.sha1 - SHA-1 hashes for each built artifact, for final verification.
  • build/ - Build artifacts generated by the the build process. Ignored by .gitignore.
  • orig/[GAMEID] - Original game files, extracted from the disc. Ignored by .gitignore.
  • orig/[GAMEID]/.gitkeep - Empty checked-in file to ensure the directory is created on clone.
  • src/ - C/C++ source files.
  • include/ - C/C++ header files.
  • tools/ - Scripts shared between projects.

Temporary, delete when done:

  • config/GAMEID/config.example.yml - Example configuration file and documentation.
  • docs/ - Documentation for decomp-toolkit configuration.
  • README.md - This file, replace with your own. For a template, see README.example.md.
  • LICENSE - This repository is licensed under the CC0 license. Replace with your own if desired.