User talk:Delgan
Latest comment: 16 September by Delgan in topic Gen 2 and 3 sprites
| Welcome to the Bulbagarden Archives, Delgan! |
|
Thank you for joining our community! By creating your account you are now able to upload images to support Bulbapedia and Bulbagarden's other projects. This is a brief introduction to the Archives rules and resources to help you get started:
|
Gen 2 and 3 sprites
Hi, I'm just wondering how or where you're obtaining the sprites with improved color or fixes, such as File:Spr 2c 145.png, File:Spr 2c 214.png, and File:Spr 3f 150 s.png? Are you doing these yourself or is there a source that you're using? Thespeon (talk) 19:55, 16 September 2026 (UTC)
- Hey @Thespeon. I'm doing this by "myself", more precisely I made a script to automatically re-generate these sprites and compare them to the Bulbapedia's.
- My script builds the sprites via the pret decompilation projects. For 3G sprites, it relies on
gbagfx. For the 2G sprites, I used a combination ofrgbdsandbpp2png. By compiling PNGs directly from the source code, I aim to produce a faithful reproduction of the original sprites. - This process highlighted some discrepancies with the static sprites on Bulbapedia, but most of them were already correct.
- The GBC/GBA sprites are defined in-game as RGB555, but must be converted to RGB888 to be viewable as PNGs. During this conversion, color shifts can happen if an inaccurate algorithm is used.
- The animations of 2G sprites are a bit more tricky. I have a script that compares the APNG frames to the reference frames from the pret sources. That allowed me spot many errors on some of the hosted ones. I tried to fix a few of them.
- I'm currently contributing sprites to PokeAPI and want them to be standardized, while ensuring they are as accurate as possible with respect to the game sources. As part of this process, I needed/wanted to update some of the inaccurate Bulbapedia sprites. Delgan (talk) 20:44, 16 September 2026 (UTC)
