Skip to content

C implementation of a patch loader for Animal Crossing

Notifications You must be signed in to change notification settings

jamchamb/ac-patch-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://devkitpro.org/wiki/Getting_Started 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.

About

C implementation of a patch loader for Animal Crossing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published