Search found 4 matches

by vralfy
Sat Mar 13, 2010 10:13 pm
Forum: DS/DSi Development
Topic: load sprites from filesystem
Replies: 21
Views: 21567

load sprites from filesystem

Hi,

i managed to load some informations from the filesystem. Now i'm trying to load some sprites from it.

Is there a tutorial or something like this?

Thanks, vralfy
by vralfy
Wed Jan 06, 2010 11:37 am
Forum: devkitARM
Topic: How to Render Bitmaps
Replies: 4
Views: 6250

Re: How to Render Bitmaps

Ok, thanks for the reply. I will try that soon.

But now i have an other problem. I have a M3i Zero. But everytime i try to run my app, the message "DLDI compatible" appears, and after that i can only see my background (no sprites, no console). I have tested that with 20Games in my app. The app's ...
by vralfy
Tue Jan 05, 2010 12:21 pm
Forum: devkitARM
Topic: How to Render Bitmaps
Replies: 4
Views: 6250

Re: How to Render Bitmaps

i fixed the problem by replacing the -gB8 with -gB4 in the grit file, now everything looks perfect.

What i'm trying to code is a list of NDS-Games (with thumbs and cover). My problem now that my ewram is overflowed like this.


linking DSListe.elf
/home/nspecht/proggen/devkit/ARM/bin/../lib/gcc ...
by vralfy
Tue Dec 15, 2009 2:30 pm
Forum: devkitARM
Topic: How to Render Bitmaps
Replies: 4
Views: 6250

How to Render Bitmaps

Hi,

i'm trying to render bitmaps in my NDS-Homebrew app. The problem, the don't look like they should.

I'm using grit with the following options:

-W3
-p
-gb
-gB8


My init function looks like this:

vramSetMainBanks(VRAM_A_MAIN_BG_0x06000000,
VRAM_B_MAIN_BG_0x06020000,
VRAM_C_SUB_BG ...