Homebrew NDS Cart Swapping patch?

Roboman

Well-Known Member
OP
Member
Joined
Jan 7, 2016
Messages
313
Trophies
0
Age
28
XP
726
Country
United States
Cart swapping has never worked on 3ds. When running software in ds mode, as soon as a cart is removed the console seems to disable access to the cart slot until reboot. With the recent progress patching TWL firm, how (in)feasable do you guys think un-disabling cart swapping would be?

Its pretty annoying to have to reboot my 3ds every time I want to move some files onto my flash card. And I need some other way to dump my nds games.
 
  • Like
Reactions: Shadowxp13

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,425
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,782
Country
United States
I have been able to convert WoodDumper to DSiWare and run it in DSi mode. Card init works properly in DSi mode and wooddumper was able to init the slot without having to eject the cart first. Unfortunately wooddumper was compiled on old devkitarm, so wifi is broken and thus no way to actually use WoodDumper. WoodDumper slot2 version could work, but there's the issue with getting it to access SD which with normal DLDI drivers isn't yet possible.
 
  • Like
Reactions: I_AM_L_FORCE

I_AM_L_FORCE

Unban me from Discord
Member
Joined
Feb 19, 2015
Messages
1,064
Trophies
0
Age
23
Location
London
XP
1,537
Country
United Kingdom
I have been able to convert WoodDumper to DSiWare and run it in DSi mode. Card init works properly in DSi mode and wooddumper was able to init the slot without having to eject the cart first. Unfortunately wooddumper was compiled on old devkitarm, so wifi is broken and thus no way to actually use WoodDumper. WoodDumper slot2 version could work, but there's the issue with getting it to access SD which with normal DLDI drivers isn't yet possible.
Couldn't you store it in RAM?
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,425
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,782
Country
United States
There's not enough ram to store 99% of any DS game while in DSi/DS mode. DSi I think has 16MB or so ram and NTR mode only has 2MB. Besides. What will you do with the rom once it's in ram? It's got nowhere to go and it will be gone when you exit back to CTR mode.
 

I_AM_L_FORCE

Unban me from Discord
Member
Joined
Feb 19, 2015
Messages
1,064
Trophies
0
Age
23
Location
London
XP
1,537
Country
United Kingdom
There's not enough ram to store 99% of any DS game while in DSi/DS mode. DSi I think has 16MB or so ram and NTR mode only has 2MB. Besides. What will you do with the rom once it's in ram? It's got nowhere to go and it will be gone when you exit back to CTR mode.
I have no clue what I'm talking about by the way. Couldn't you store it in TWLnand? Do we have access to that?
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,425
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,782
Country
United States
TWLN partition is not accessible in NTR mode and just like with SD, you'd need speciallized DLDI drivers to get wooddumper slot2 version to be able to access NAND. Source code for latest wooddumper is not public otherwise we could have had it recompiled on newer devkitarm. There is source out there, but it's really old. :(
 

I_AM_L_FORCE

Unban me from Discord
Member
Joined
Feb 19, 2015
Messages
1,064
Trophies
0
Age
23
Location
London
XP
1,537
Country
United Kingdom
TWLN partition is not accessible in NTR mode and just like with SD, you'd need speciallized DLDI drivers to get wooddumper slot2 version to be able to access NAND. Source code for latest wooddumper is not public otherwise we could have had it recompiled on newer devkitarm. There is source out there, but it's really old. :(
Ah that blows. Is source for TWLsavefiler available?
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,425
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,782
Country
United States
Cart access works differently in CTR mode when using Arm11 and the OS Nitnendo provides. Everything is done through services and what not. There is no "direct" hardware access for most stuff that Process9 on Arm9 handles. In CTR mode Arm9 handles crypto for slot-1 cards and Arm11 may have some access to it. Not sure. But Home Menu apps normally can't access slot-1 directly for dumping NTR cards. I don't think there's any service commands for it, so you'd need arm9 homebrew instead.

I haven't had a problem cart swapping with my R4i. I ran Drunken Coder's Homebrew menu and ejected the cart and put the games on and it continued to function.

On what console are you doing this on? DS/DS lite did not power off slot when a cart is ejected like the DSi and 3DS does.
 

I_AM_L_FORCE

Unban me from Discord
Member
Joined
Feb 19, 2015
Messages
1,064
Trophies
0
Age
23
Location
London
XP
1,537
Country
United Kingdom
Cart access works differently in CTR mode when using Arm11 and the OS Nitnendo provides. Everything is done through services and what not. There is no "direct" hardware access for most stuff that Process9 on Arm9 handles. In CTR mode Arm9 handles crypto for slot-1 cards and Arm11 may have some access to it. Not sure. But Home Menu apps normally can't access slot-1 directly for dumping NTR cards. I don't think there's any service commands for it, so you'd need arm9 homebrew instead.



On what console are you doing this on? DS/DS lite did not power off slot when a cart is ejected like the DSi and 3DS does.
Ah, so something like Uncart?
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,425
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,782
Country
United States
I think you either modded the slot so that the power off detection contact was bypassed or the slot happened to be defective/malfunctioned in a way that allowed you to do that. 99% of all 3DS and n3DS consoles power off the slot if you eject the cart and it can't be powered back on when in NTR/TWL mode. (under normal circumstances)
 

I_AM_L_FORCE

Unban me from Discord
Member
Joined
Feb 19, 2015
Messages
1,064
Trophies
0
Age
23
Location
London
XP
1,537
Country
United Kingdom
I think you either modded the slot so that the power off detection contact was bypassed or the slot happened to be defective/malfunctioned in a way that allowed you to do that. 99% of all 3DS and n3DS consoles power off the slot if you eject the cart and it can't be powered back on when in NTR/TWL mode. (under normal circumstances)
How does modding the cart slot work?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16