![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx4S4PU2rOMO2D-h-oXw913SSY9F40ZTXoLUXiGHsEruJ6RSIIs5eoMdkBgx0k94CIIcbo9aO7hVkIXxT6hI0FODn_4RcO6AD1W46_E0t54jqgrC-IRobLWT-FkA6RrAXIj8y7G31FSH4/s320/CG2004.bmp)
Well I've figured out how the graphics are stored on the CG chips. Basically, they are using 4 bit planes to represent the colors, meaning this is a 256 color system.
I wrote a little C++ program to open the graphic roms and organize them a little better on screen so I could see them grouped properly. The colors are guessed at this point and I know there are 16 palettes to be used, so I just picked common colors and used 1 palette for this. Thats why the spades and clubs are red. The palette gets switched when the game is displaying cards.
I'm considering making this a real graphics editor sometime. It would be nice to change the card backs and animation pictures, etc. and burn new chips to put in my real machine. But for now I won't be adding any other features to this viewer.
No comments:
Post a Comment