Sprite compression (Generation I): Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 7:
*Backsprites are internally 32x32 pixels (0x44). Usually, these backsprites also have a little white space at the bottom (hidden by the battle menu).
*White space occupies smaller sprites to add up to 56x56.
*Unofficially, a .2bpp file can be converted into a compressed Pokémon sprite using the tool pkmncompress, and a .PNG into a compatible .2bpp file using rgbds. "Sprite import tools for RBY" can be downloaded within Evie's Google Sites backup(see [https://drive.google.com/drive/folders/1DAVPYay9sAuXwi4qXbDQfPU2sIDI_mXH?usp=sharingexternal here]links) (based on the previous work of the GB Dev and Skeetendo communities).
*It is possible for the sprite to be flipped for a non-00 value in memory address 0xD0AA ([[Pokémon Red and Blue]]) or 0xD0A9 ([[Pokémon Yellow]]). The [[inverse sprites glitch]] corrupts these memory addresses, possibly leading to glitched sprites.
 
Line 45:
 
[[File:Sprite compression sample.png|thumb|left|160px|Sample image loaded using [[arbitrary sprites]] ([[GlitchDex/Y:230|9ゥ (E6)]] with default palette); exported drawing of Torchic from Game Boy Camera]]
==External links==
*[https://rgmechex.com/tech/gen1decompress.html Retro Game Mechanics Explained's tool to compress and decompress sprites online (supports PNGs)]
*"Sprite import tools for RBY" can be downloaded within Evie's Google Sites backup [https://drive.google.com/drive/folders/1DAVPYay9sAuXwi4qXbDQfPU2sIDI_mXH?usp=sharing here]
[[Category:Generation I mechanics]]