StudioX64
Still Fresh
I am hoping someone might be able to help me out here. I am trying to write a simple program on the GP32 to display a single graphic tile. I have a single 8bit windows bitmap containing 16 tiles each of size 16x16 pixels. Now I want to convert this bitmap into a files I can include with my C source code.
I have dl'd the souce code from this site here:
http://anthologie.emu-france.com/tuto_tile_map.htm
The tutorial was helpful in that it made me understand how to use simple graphics etc on the GP32, what I can not find out is how they managed to convert the included bitmap into the C source file also included. They show outputing the map file with mappy on their website, but no matter what settings I try giving it (with their graphics map) I can not generate the same output C file containing their bitmap tiles.
I have also tried some of DarkFaders tools on his website here:
http://darkfader.net/toolbox/
I tried bmp2bin, then bin2c with every setting possible and still couldn't generate the same file.
I need to know if I am missing out on a mappy trick here or is this simply the wrong way of doing things. My aim is to code a simple game using only 16 graphic tiles of 16x16 pixels.
Many thanks,
PK-StudioX64.
I have dl'd the souce code from this site here:
http://anthologie.emu-france.com/tuto_tile_map.htm
The tutorial was helpful in that it made me understand how to use simple graphics etc on the GP32, what I can not find out is how they managed to convert the included bitmap into the C source file also included. They show outputing the map file with mappy on their website, but no matter what settings I try giving it (with their graphics map) I can not generate the same output C file containing their bitmap tiles.
I have also tried some of DarkFaders tools on his website here:
http://darkfader.net/toolbox/
I tried bmp2bin, then bin2c with every setting possible and still couldn't generate the same file.
I need to know if I am missing out on a mappy trick here or is this simply the wrong way of doing things. My aim is to code a simple game using only 16 graphic tiles of 16x16 pixels.
Many thanks,
PK-StudioX64.