gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Need help with DS tutorial

#73746 - radicalrandy - Tue Feb 28, 2006 12:04 am

http://www.double.co.nz/nintendo_ds/nds_develop10.html

I used this tutorial, tried to compile it and I got a fuzzy screen, but this is a really needed program in order to display jpegs to the screen.
I also noticed that keysInit() doesn't work in this program. Does anybody know how to fix this part of this project and does anybody know why this won't show the proper picture to the screen or operate input correctly?

#73751 - GPFerror - Tue Feb 28, 2006 12:34 am

you can comment out the keysInit() call that was removed a couple version of libnds ago, since the tutorial was written, I commented it out and compiled it, and it does display a little funny in the latest dsemu. Not sure how it runs on hardware though.

Troy(GPF)
http://gpf.dcemu.co.uk

#73900 - radicalrandy - Tue Feb 28, 2006 8:47 pm

I compiled it on hardware and none of the key commands do anything and the picture works for about the first 50 pixel lines, then it goes to crap. I just need the part that converts a jpeg into an image on the DS. If anybody had anything else that would nice.

#73968 - doublec - Wed Mar 01, 2006 4:52 am

As it says at the top of the tutorial:

Quote:
This tutorial was tested and works with libnds dated 2005-10-18. Unfortunately it no longer works with libnds dated 2005-12-12. I'm looking into it.


You could try that libnds version. I've not yet had a chance to look at it in detail. You could try using the jpeg decoder library it uses in your own program and see if you have better luck.