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

✨ Implement read and write of DSi animated banner icon #16

Merged
merged 3 commits into from
Apr 3, 2022

Conversation

pleonex
Copy link
Member

@pleonex pleonex commented Apr 3, 2022

Description

Read and write the animated icon of DSi game banners, including a converter to transform into an animated image of Texim that can be converted into GIF.
Also avoid trying to read the banner if the ROM doesn't have it.

Example

A new node animated is available from the banner node with the animated icon. If the game doesn't contain an animated icon (non-DSi games), then the node is empty. The node contains:

  • bitmapX: 8 possible indexed images.
  • palettes: palette collection with 8 possible palettes
  • animation: animation sequence information. Each frame information points to a bitmap, palette and duration.

A new converter IconAnimation2AnimatedImage is available to convert these nodes into a Texim AnimatedFullImage that can be converted later into GIF.

Related to #8

@pleonex pleonex added the enhancement New feature or request label Apr 3, 2022
@pleonex pleonex added this to the vNext milestone Apr 3, 2022
@pleonex pleonex self-assigned this Apr 3, 2022
@pleonex pleonex linked an issue Apr 3, 2022 that may be closed by this pull request
4 tasks
@pleonex pleonex merged commit 343d47d into main Apr 3, 2022
@pleonex pleonex deleted the feature/animated_icon branch April 3, 2022 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support DSi ROM file system
1 participant