GP32 Image Conversion


Tsyayin

Still Fresh
Joined
Feb 15, 2003
Messages
27
;) Im kinda confused.

I cant find an image converter for gp32 that works...

The one by Edorul just makes a 1 dimension array for everything (.h, .c, etc.), but the only files that work are 2D arrays, and i dont know how to write a .gpg loader because im stupid.

I know how to use GpBitBlt() and everything, but i cant convert my OWN image files to use. I just get a bunch of wierd scribbles.

Any help? does anyone know where the official gp32 converter is?
:(
 
1 dimensional arrays are just fine for images. An image which is 64 x 64 would be in an array like this:
unsigned char image[4096] = {data};
like that because 64 * 64 = 4096, atleast thats the case if its in 8-bit mode and therefore only uses 1 byte per pixel. On the other hand, if you're in 16 bit mode, each pixel would be 2 bytes long, so it would be
unsigned char image[8192] = {data}; instead, because there's twice as many bytes needed.
 
you can find the official utlity by gamepark here, but if ou just want to convert sounds and pictures use edoruls'one :)
 
thanks! :D
finally figured out what i was doing wrong.
But one more question:
How would you fix the pallete for the pix? When it displays them on gp32, it's kind of messed up. I am using 8 bit pix though.

or how can you set 16-bit graphics mode and use it?
 
oh, nevermind, i was doing 24 bit instead of 16, thanks a lot!
i needed to use photoshop and i was using paint (you cant save 16 bit in paint)
:D
 
GP32Converter from edorul convert 24 bits bmp to 16 bits bmp :)
 
Back
Top