An open API service indexing awesome lists of open source software.

https://github.com/jamchamb/ac-patch-loader

C implementation of a patch loader for Animal Crossing
https://github.com/jamchamb/ac-patch-loader

Last synced: 4 months ago
JSON representation

C implementation of a patch loader for Animal Crossing

Awesome Lists containing this project

README

        

# Animal Crossing Patch Loader

This is a patch loader for Animal Crossing NES ROM files implemented in C.

The big patch format is based on Cuyler36's assembly patch loader, with an additional
header at the beginning indicating global settings and the number of patches to load.

## Patch file format

The first 32 bits of the file contain global settings flags and the number of patches to load:

[16bit flags] [16bit n_patches]

For each patch, the format is:

[32bit address] [32bit size] [32bit flags] [patch_bytes]

## Building

This requires the devkitPro tools to build.
See for how to install `devkitpro` and `gamecube-dev`.

With `gamecube-dev` installed, just run `make`. The output will include a `.patch` file that holds the generated code to patch in.