libpng defeated!
| Hah! Turned out there were two problems with libpng on the nds:1. png_zalloc(), which allocates memory for zlib, was refusing to allocate any memory, thinking it was too much. I just removed that check and it works. Boy this was annoying to track down. 2. I forgot a FAT_fclose() in there, so the file was 0 bytes (since it never got flushed to disk) Latest update — now no more confusion over .bin or .rle, since it directly spits out png’s! |
![]() |


To celebrate, I drew a lil more featured pic…
http://iga.pixelist.net/dragon_thing.png
Keep up the good work! (Please oh please add in a swatch for black and white… it’s so hard to select 0,0,0 and 31,31,31)
Comment by iganokage — April 11, 2006 @ 3:24 am
nice one
working perfectly with Supercard SD
thanks for this app ^^
Comment by PoUpA — April 11, 2006 @ 7:12 am
Comment by davr — April 11, 2006 @ 8:07 am
Comment by davr — April 11, 2006 @ 8:18 am
Can’t get it to work on Supercard CF– the top screen with instructions loads, but the bottom screen remains black and undrawable. Looks cool though!
Comment by digicide — April 11, 2006 @ 11:02 am
To digicide:
Can you tell me the last few lines of text on the top screen?
There should be a line “fat…OK” and then below it, some lines like “Line Size: 1″ and “Color: …”
Comment by davr — April 11, 2006 @ 11:28 am
Wowow! Nice! Those lines are quite smooth, nice job. How far are going to push this project?? It would be nice to have some more tools…. u_uU
Comment by doup — April 12, 2006 @ 7:09 am
Yeah, my top screen’s text ends with
L - color picker
X - save to img.png (best)
FAT. . .
then the rest of both screens is black.
Comment by digicide — April 12, 2006 @ 9:35 am
Hmm…I had reports from other people as well who say it doesn’t work on Supercard CF. I’ll have to look into it…it seems to be a problem with the fat lib, since it is failing in FAT_InitFiles().
For now, here are two more images:
Lynx
Natrium42
Comment by davr — April 12, 2006 @ 10:55 am