BmpToZlibGC

From WiiBrew
Jump to navigation Jump to search
BmpToZlibGC
General
TypeDevelopment resource
Version1.1
Links
Download
Source

BmpToZlibGC 1.1 is a Windows software to use for Gamecube/Wii homebrew development.

Usage

From a command line:

  • BmpToZlibGC.exe <filename.bmp>
  • Optional -MP 0xFF00FF 0x000000 courtesy of PaceMaker's original code.
  • This application has been tested & fully working in WINE as well.

This application was original written by PaceMaker in 2007, and mimicked the GFX2GC code, but with open source and an extra transparency option. I've converted Bmp2GC to use the Zlib compression scheme seen in many of the Wiibrew emulators, including Snes9x-GX. By using the compress() and uncompress(), a developer can include large images into their elf files without having to bloat the program. Compression is also largely based on the complexity of the image, so large colored areas will decrease size, along with file sizes.