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

Pro Motion NG Compatibility Issues #4

Open
behreajj opened this issue Nov 25, 2024 · 0 comments
Open

Pro Motion NG Compatibility Issues #4

behreajj opened this issue Nov 25, 2024 · 0 comments

Comments

@behreajj
Copy link
Owner

Pro Motion's ico files cannot be properly imported. The most immediate issue is the ico header's data size is different. In the simple example below, at 0x0E, 0xC8 is 200, which exceeds the file length when the read ico method searches for the alpha mask at:

local alphaMapOffset <const> = dataOffset + dataSize - lenDWords * 4

Example image, upscaled 10x:

upscaled

Pro Motion NG version 8.0.10.0

Row 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 00 00 01 00 01 00 04 02 00 00 01 00 20 00 C8 00
00000010 00 00 16 00 00 00 28 00 00 00 04 00 00 00 04 00
00000020 00 00 01 00 20 00 00 00 00 00 00 00 00 00 00 00
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19 DD
00000040 FD 00 9C 73 00 FF 79 31 62 FF 19 DD FD 00 3A 3A
00000050 DC FF 69 9D 03 FF 19 DD FD FF 19 DD FD 00 90 3A
00000060 DC FF 10 3A DC FF

Aseprite version 1.3.11-beta2 (script, not built-in)

Row 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 00 00 01 00 01 00 04 02 00 00 01 00 20 00 50 00
00000010 00 00 16 00 00 00 28 00 00 00 04 00 00 00 04 00
00000020 00 00 01 00 20 00 00 00 00 00 00 00 00 00 00 00
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000040 00 00 9C 73 00 FF 79 31 62 FF 00 00 00 00 3A 3A
00000050 DC FF 69 9D 03 FF 19 DD FD FF 00 00 00 00 90 00
00000060 00 00 10 00 00 00
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