#142356 - JeffMan - Mon Oct 08, 2007 7:05 pm
I'd like to actually try getting a project started, using the manual by Jaeden Amero in the sticky, and I'm at the standstill. It seems that every single tutorial, manual, and programming example I come across assumes that I have this magically generated header file that contains image data in a different format for use with dmaCopy. However, I have yet to actually find instructions on how to make these header files.
The manual I'm looking at says to use gfx2gba, and then to use hConvert on its output files. First of all, on the contrary to the manual's opinion, gfx2gba does not, in fact, generate any header files of any sort. It just gives me a .pal file and a .raw file. hConvert then fails, of course, since there's no header file to convert.
I did find something called wingrit, which DOES give me a wonderful header file. Unfortunately, dmaCopy takes a void* as the source data for some reason, and I can't pass the int array from the header file.
How do I do this simple task of taking an image and generating whatever header files are necessary for dmaCopy?
The manual I'm looking at says to use gfx2gba, and then to use hConvert on its output files. First of all, on the contrary to the manual's opinion, gfx2gba does not, in fact, generate any header files of any sort. It just gives me a .pal file and a .raw file. hConvert then fails, of course, since there's no header file to convert.
I did find something called wingrit, which DOES give me a wonderful header file. Unfortunately, dmaCopy takes a void* as the source data for some reason, and I can't pass the int array from the header file.
How do I do this simple task of taking an image and generating whatever header files are necessary for dmaCopy?