Skip to content

Replace function on WEMs in BNKs not properly removing any extra sections of the file if new WEM is smaller than previous file #10

Description

@DannyDan4

In RE8 mode or MHRise mode, BNKs will not be properly shortened if you replace a WEM with a new, smaller file. All values are properly updated, but any remaining size is just left as junk data at the end of the file, causing malfunctions.

Solution to fix: Open .bnk in a hex editor, locate the last bits of the old file, and remove everything that comes after them, if you're messing with a sound that is not the last one on the file.

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