Skip to content

There ARE anm files with multiple entries for the same image file #67

@ExpHP

Description

@ExpHP

TH11 pl01.anm has these:

entry {
    path: "face/pl01/face_pl01no.png",
    img_width: 256,
    img_height: 128,
    memory_priority: 0,
    sprites: {sprite77: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}

entry {
    path: "face/pl01/face_pl01no.png",
    img_width: 256,
    img_height: 128,
    offset_y: 128,
    memory_priority: 0,
    sprites: {
        sprite91: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
        sprite92: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
    },
}

entry {
    path: "face/pl01/face_pl01no.png",
    img_width: 256,
    img_height: 64,
    offset_y: 256,
    memory_priority: 0,
    sprites: {
        sprite93: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite94: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite95: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite96: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite97: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite98: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite99: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
        sprite100: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
    },
}

Truth should be stitching together three images for this.

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