Giter Club home page Giter Club logo

ppcdis's Introduction

ppcdis

GC/Wii PowerPC disassembly & decompilation tools.

These tools are focused on automatically generating as much as possible, and doing it in a way that can be regenerated at any time. This makes things more future-proof (for example, projects have often had to go back and do a lot of manual labelling when adding new binaries like rels, whereas that's handled automatically here), reduces bloat in the github repo, and reduces manual editing (which, in the case of undecompiled assembly, can be a big time saver - renaming symbols, splitting files, and correcting pointers for shiftability can be very tedious in most existing setups, whereas they're just quick yml edits here). The pointer tracking in disassembly is also more in-depth than that of doldisasm.py, so more of the work towards shiftability should be done already.

These tools in an early state and therefore large changes may still happen. No backwards compatibility will be guaranteed.

See TOOLS.md for information on each tool. (Documentation is currently pretty lacking, so feel free to reach out to me for help)

See the Super Paper Mario Decompilation for an example of a project using these tools.

APIs

  • The main API for these tools is the command line API
  • A python API is exposed in the ppcdis folder for pure python build systems to make use of too
    • Generally, any new features for the python API should also be exposed by the command line API too
    • Importing anything that isn't included in __init__.py isn't officially supported
    • Like the rest of the project, the API won't be guaranteed any backwards compatibility (and is likely to change more than the command line API will). This means users should not be required to install this globally (use something like venv instead), and that installs should be tied to a specific working version for the project
  • Installing the folder with pip can be used for the python API, but the command line API does not require this

Credits

  • camthesaxman for writing the original doldisasm.py
  • riidefi, terorie and stebler for the Mario Kart Wii Decompilation's tools, which heavily inspired this
  • All contributors to Tockdom's DOL and REL file format documentation

ppcdis's People

Contributors

seekyct avatar em-eight avatar cuyler36 avatar sage-of-mirrors avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.