Welcome! Log In Create A New Profile

Advanced

libwiisprite and raw2c

Posted by stobes 
libwiisprite and raw2c
July 25, 2009 03:45AM
I can't figure out why the spritetest demo included in the examples can load the included image libwiisprite.c into memory, but not any images that i convert with raw2c. i even tried saving a copy of the file libwiisprite.png as raw, and then using raw2c with that image, but the resulting .c file is a much different size than the one that came with the example source, and always returns an error on .LoadImage

libwiisprite.h always comes out the same though (makes sense)

oh yeah, also tried saving as bmp and then using bmp2bin, and then raw2c. same problem as above.

loading from sd card works fine, though :)

any help? thanks for reading
Re: libwiisprite and raw2c
July 25, 2009 04:07PM
Forget raw2c. Use bin2o.

Quote
stobes
oh yeah, also tried saving as bmp and then using bmp2bin, and then raw2c. same problem as above.
libwiisprite doesn't use .bmp images. In other words, it won't load them.



Edited 1 time(s). Last edit at 07/25/2009 04:08PM by Arikado.
Re: libwiisprite and raw2c
July 26, 2009 07:25PM
or use WiiBuilder Then just include .h in your project
Sorry, only registered users may post in this forum.

Click here to login