Skip to content

MOD (Star Rod) support #15

@GB-CG

Description

@GB-CG

mod is generated by Star Rod which is a Paper Mario (64) editor.

I've asked for documentation on the Star Rod discord and here's what they've said:

IIRC, it's a magic word = 0x504D5352 ('PMSR') followed by a u32 chunk count then a series of chunks. each chunk has three parts: u32 baserom offset, u32 patch length, byte[] patch data. no alignment. when patching, just copy the bytes from each chunk to the baserom offset (which may exceed the size of the baserom for appended data)

There's an option for mod packages to be Yay0 compressed, which just uses the PM Yay0 format. you can identify these by the magic byte being 'Yay0' instead of 'PMSR'.

Hope that helps? Apparently it's similar to IPS.

Here's some samples:
Book of Mario
Master Quest

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