Search found 29 matches

by RyouArashi
Sat Nov 27, 2010 1:49 pm
Forum: DS/DSi Development
Topic: Grit shared palettes
Replies: 7
Views: 12595

Re: Grit shared palettes

My current approach is to merge all images which i want to share the same palette into one image and convert it into a BG
structure (Tiles+Map+Palette). At runtime I extract the areas I need from the Tiles and Map Data.
by RyouArashi
Tue Oct 19, 2010 8:16 pm
Forum: DS/DSi Development
Topic: Asking for wifi status
Replies: 6
Views: 7217

Re: Asking for wifi status

@Lakedaemon:
fprintf is used incorrectly. Replace it by iprintf.

@lazyprogrammer:
use the arm9 template from the libnds examples. Also, create a copy of the template and don't just overwrite it.
by RyouArashi
Thu Sep 23, 2010 8:31 am
Forum: DS/DSi Development
Topic: false colors after using textures [solved]
Replies: 4
Views: 6706

Re: false colors after using textures

Use

Code: Select all

glBindTexture(GL_TEXTURE_2D, 0);
for untextured polygons.
by RyouArashi
Fri Aug 27, 2010 5:52 pm
Forum: DS/DSi Development
Topic: reset/reboot the NDS function
Replies: 3
Views: 5529

Re: reset/reboot the NDS function

I'm looking for similar function to reboot the NDS file currently loaded. Calling exit(int) or returning from main switches off the DS / quits no$gba. I figured swiSoftReset() was the function I was looking for, but it does nothing on no$gba and gives me a pair of black screens on hardware. Any ...
by RyouArashi
Thu Aug 05, 2010 7:05 pm
Forum: devkitPPC
Topic: Physics
Replies: 6
Views: 10945

Re: Physics

This depends on what kind of physics you want. Simple movements can be done by manually programming Newton's and Euler's Law.
For more complex dynamics (especially in 3D space), such as impacts, collisions or multi-body dynamics you should look into physics
libraries like ODE (ode.org).
by RyouArashi
Wed Aug 04, 2010 5:59 pm
Forum: User Contributions
Topic: ndstool: Add support for game icons in GRF file format
Replies: 0
Views: 13392

ndstool: Add support for game icons in GRF file format

This patch adds support for game icons in GRF file format (converted using grit) to ndstool. Usage: Specify a .grf file instead of a .bmp file as the first parameter to the -b option. The GRF file must contain a header, the tiled image data and a palette. This is achieved by using the following ...
by RyouArashi
Sun Jul 25, 2010 5:24 pm
Forum: Bug Reports
Topic: Console printing is broken in libnds 1.4.4
Replies: 0
Views: 3863

Console printing is broken in libnds 1.4.4

Console printing is broken since updating libnds to v1.4.4, i.e. printed text does not show up on screen. This applies for the arm9 template and many examples. I checked the recent changes and saw the call to setvbuf was removed for stdout. Readding the line (inside main.c of my project) makes ...
by RyouArashi
Thu Jul 15, 2010 7:19 pm
Forum: devkitARM
Topic: NDS: Move a function to ITCM
Replies: 12
Views: 21738

Re: NDS: Move a function to ITCM

Thanks. I'll try these
by RyouArashi
Thu Jul 15, 2010 4:19 pm
Forum: devkitARM
Topic: NDS: Move a function to ITCM
Replies: 12
Views: 21738

NDS: Move a function to ITCM

Is it possible to only move a certain function inside a C file to ITCM? In the ds_rules/base_rules there is a ruleset which transfers a complete C file to ITCM by naming the file somthing.itcm.c, but I want only a certain function in ITCM for speedup. Plan B would be to move this single function to ...
by RyouArashi
Sun Mar 14, 2010 7:25 pm
Forum: DS/DSi Development
Topic: [NDS] Backgrounds without transparency [Solved]
Replies: 2
Views: 6674

Re: [NDS] Backgrounds without transparency

I tried -gT!, but it only seems to work with -gb set, not -gt:

Code: Select all

ERROR: Option mismatch: Can't map true-color bitmaps.
I got it working in the end, though.
Adding

Code: Select all

-pT 255
did the trick.

Solved.