Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ExpHP opened this issue Sep 25, 2022 · 0 comments
Open

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

ExpHP opened this issue Sep 25, 2022 · 0 comments

Comments

@ExpHP
Copy link
Owner

ExpHP commented Sep 25, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant