Search found 24 matches

by ritz
Fri Jun 24, 2011 2:33 pm
Forum: DS/DSi Development
Topic: pcx image as background
Replies: 5
Views: 6545

Re: pcx image as background

Here's some code I posted on gbadev.org forums just the other day: u8* v_readraw (char *filename) { u8 *tp; int fp; u32 flen; struct stat st; fp = open(filename, O_RDONLY); if (fp == -1) return 0; if (fstat(fp, &st) == -1) return 0; flen = st.st_size; tp = (u8*) malloc(flen); if (!tp) { close(fp...
by ritz
Thu Feb 24, 2011 2:49 pm
Forum: DS/DSi Development
Topic: create 3d and include
Replies: 61
Views: 158194

Re: create 3d and include

elhobbs wrote:well actually...
lol
relminator wrote:Skining(Bone-animation) with quaternion slerping ( de facto standard )
I used normalized lerp (nlerp) when I did my 3D stuff. Was faster and it seemed a better fit on a small system like the DS.
by ritz
Wed Feb 09, 2011 5:06 pm
Forum: libfat
Topic: Faster writes for libFAT 1.0.7
Replies: 10
Views: 28947

Re: Faster writes for libFAT 1.0.7

Long time ago a few versions back, in a galaxy far, far away... I noticed a significant reduction in performance on the DS with libFAT around 1.0.5 (IIRC). It had something to do with the caching that was introduced as mentioned above. For a while I continued using 1.0.4 because of this. Anyway, I'm...
by ritz
Sat Feb 05, 2011 10:46 pm
Forum: Announcements
Topic: libfilesystem 0.9.9
Replies: 5
Views: 11618

Re: libfilesystem 0.9.9

I updated and rebuilt all the libraries about an hour ago. I also rebuilt some homebrew. Everything worked as expected. I got Fandian (uses nitroFS and SD) and a custom dslibris (uses SD) to work both via sudokuhax and the new iEVO card. This is awesome work guys. Thanks. The DSi speed and RAM are p...
by ritz
Wed Feb 02, 2011 4:51 pm
Forum: Announcements
Topic: libnds 1.4.10, libfat 1.0.9 and default arm7 0.5.19
Replies: 14
Views: 25738

Re: libnds 1.4.10, libfat 1.0.9 and default arm7 0.5.19

This looks to be great step forward for the DSi. Thanks to all involved for the work they've done. I have some questions if anyone is willing to help me understand. Being a little naive on the subject of devices/cards/interfaces, I tried to figure out why I couldn't get a nitro homebrew to work with...
by ritz
Sun Dec 12, 2010 4:33 am
Forum: DS/DSi Development
Topic: How to change game description?
Replies: 13
Views: 11721

Re: How to change game description?

From what I can tell looking at Makefile and ds_rules, you cant set it in Makefile because they are passed to ndstool during ds_rules :/ I can't look at ds_rules where I am right now, but I'm pretty sure it goes something like: If GAME_TITLE isn't set by you, then use these ones here in ds_rules. I...
by ritz
Fri Dec 10, 2010 4:44 pm
Forum: DS/DSi Development
Topic: Pong for beginners
Replies: 7
Views: 7953

Re: Pong for beginners

For additional help while you are learning, you can search the forums at http://forum.gbadev.org and/or crosspost your game development questions at http://forum.gbadev.org/viewforum.php?f=18
by ritz
Wed Dec 08, 2010 4:28 pm
Forum: DS/DSi Development
Topic: How to change game description?
Replies: 13
Views: 11721

Re: How to change game description?

I believe the intended way is to set some variables in the Makefile. Example:

Code: Select all

GAME_TITLE	:=	Awesome DS Program
GAME_SUBTITLE1	:=	www.devkitpro.org
GAME_SUBTITLE2	:=	www.drunkencoders.com
These are then used by the rules when calling ndstool.exe
by ritz
Wed Dec 01, 2010 4:29 pm
Forum: DS/DSi Development
Topic: temperature
Replies: 46
Views: 131684

Re: temperature

This thread was finished on the first page and everything else should be deleted. Help was asked for, and appropriate help was given (in the context of programming on the DS).
by ritz
Fri Nov 19, 2010 5:12 pm
Forum: devkitARM
Topic: Portable?
Replies: 6
Views: 10508

Re: Portable?

1. Download the newest devkitProUpdater on sourceforge 2. Run it, choose "devkitARM" instead of "Full" (you may even want to go in there and uncheck gba and mirko stuff) and choose your USB drive letter instead of the C: drive (e.g. E:\devkitPro). This should download and then in...