#150344 - sinkhead - Sat Feb 02, 2008 5:21 pm
Some developers unfortunately can't update their homebrew so I'll do it myself. The problem is, I don't know how.
I've installed devkitPro and PAlib (both the newest versions, I think). Please can somebody help me? :)
Thanks in advance!
By the way, the ones I need to correct are
Marbles
POTN*
DoubleSkill Motion
CarreRouge Motion
MotionDraw 2
SensitiveDS*
Circular Defense Motion
Mental Pong*
SpoutEx*
Holiday Toss
Triple Rotation
The ones with a * have no public source code
#150355 - spinal_cord - Sat Feb 02, 2008 10:18 pm
Here is SensitiveDS, it should support both motion card (including R6gold) and motion pak. Although for some reason, the music is gone (perhaps a palib problem).
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage
#150380 - sinkhead - Sun Feb 03, 2008 1:48 pm
Thanks a lot spinal_cord, but how did you do it?
I know I have to change motion_enable to motion_init, what else do I do?
Thanks :)
#150387 - spinal_cord - Sun Feb 03, 2008 4:01 pm
I think thats it, just make sure you have the latest lib.
Quote: |
INSTRUCTIONS FOR UPDATING CODE TO SUPPORT DS MOTION CARD, DS MOTION PAK, AND MK6 MOTION
1) Download the latest ndsmotion.c and ndsmotion.h from libnds (http://sourceforge.net/cvs/?group_id=114505)
2) Replace motion_enable(); in your program with motion_init();
motion_init() determines what type of DS Motion sensor is present.
motion_init() needs to be run to initialize the DS Motion Sensors.
3) Replace motion_card_is_inserted(); in your program with motion_init();
motion_init() returns 0 if no DS Motion Sensor is present.
|
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage
#150411 - sinkhead - Sun Feb 03, 2008 11:32 pm
Thanks again spinal_cord, you've been great help, but some of the homebrew seems to use PAlib motion functions like 'PA_MotionInit'. How would I correct those?
Many thanks!
Edit: I think I found out what to do.
#150457 - nipil - Mon Feb 04, 2008 8:49 pm
sinkhead wrote: |
Edit: I think I found out what to do. |
Could you please post it, at least the basic info, ofr others with similar questionning find an answer ? (about palib, ofc ;)
_________________
NDS Lite Gold/Silver, MK5/R4DS, MSI PC54G2, D-Link DI-624
#150460 - sinkhead - Mon Feb 04, 2008 9:56 pm
To correct the functions in PAlib I looked through the PAlib folder until I fould a file called 'dsmotion.c' or something, then I edited the functions in that and it worked.
I don't know much about homebrew so I'm probably stating the obvious here, but I'm pretty sure PAlib just translates it's own easier functions into the harder more complicated code devkitPro uses, so you edit the functions it translates to and all is well.
#150461 - nipil - Mon Feb 04, 2008 10:08 pm
Ok, thanks for this. I'm not using PALib so far, but as far as i'm tempted to give it a try (and see what's different and all) knowing how to get my apps to work with my motion pak is a plus ;)
_________________
NDS Lite Gold/Silver, MK5/R4DS, MSI PC54G2, D-Link DI-624