Skip to content

Support for larger controller paks #22

@Jhynjhiruu

Description

@Jhynjhiruu

Libultra's code for dealing with controller paks has functionality for dealing with paks larger than 32KiB in size, using banking. While no official Nintendo paks larger than 32KiB have been confirmed to exist (there's suspicion that a small run of 64KiB paks were made, and the Libultra documentation mentions both 32KiB and 64KiB paks existing), Datel made at least two types of larger controller paks, which are (nearly) fully compatible with all N64 games that use controller pak saves.

mpkedit, wonderful though it is, can only deal with 32KiB paks. I've found myself needing to create larger paks, and I'd love to do it using mpkedit, but I can't puzzle through how the JavaScript works to add the functionality myself. I'd be very happy to collaborate on adding support, since I know how the filesystem should work for larger paks and I've written code to read them.

For testing, there's currently an open PR adding support for larger paks to ares, the multi-system emulator, and I've forked Polprzewodnikowy's PicoJoybus project to support emulating larger paks on hardware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions