Page 1 of 1

(J)grit and linux

Posted: Tue May 10, 2011 3:43 pm
by Arwenac
hi everyone,

I'm fairly new with the DS programming so excuse me if I asked a stupid question. I have search the forum for this but I could not find an answer.
I am currently programming under Ubuntu 10.04 and eclipse. I tried to follow the tutorial from http://ekid.nintendev.com/bouncy/convertinggfx.php. It all 'works' but my brick tiles look like a bunch of black lines so I figured the header/source file for the brick is wrong. In the tutorial they used grit but since I use linux I can't and tried Jgrit. But it has many options and I can't find a tutorial on it.
I used the Mode 0 Tiles option with 4 bits per pixel and a u16 array. It creates a source (.c) and a header file.
Does anyone know a good tutorial on Jgrit or another program? Or can somebody tell me what I might be doing wrong.

thanks for helping a noob like me =)

Re: (J)grit and linux

Posted: Wed May 11, 2011 1:48 am
by WinterMute
Grit is included with devkitARM (check your devkitARM/bin folder) all you need to do is follow the tutorial, just make sure you're using the Makefile and not Eclipse managed nonsense.

Re: (J)grit and linux

Posted: Wed May 11, 2011 8:38 am
by Arwenac
Thanks! After a make clean I could rebuild it in the right way. Thank you!