Read and Write roms to a GBA Flash cart's Mini SD card with an R4 and a DS Lite

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,476
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,922
Country
United States
Yeah so it's trying to access the card but something breaks it. Probably issue with filesystem then or the DLDI card isn't getting the correct responses from the card.


These are all the drivers I think could possibly work for your card. But assuming you tried them all already then yeah that must be an issue with the MiniSD card then...or the SuperCard Rumble DLDI driver needs to be reverse engineered and updated for new libnds. There was a similar issue with MaxMediaDock's driver until I modernized it and fixed it's IsInserted function. But I doubt this impacts this one. The fail with MMD impacted just the CompactFlash based slot2 cards. I don't see how any of the code would break in new libnds with the SD based stuff.
 

Attachments

  • supercard.zip
    5.3 KB · Views: 3

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,476
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,922
Country
United States
Assuming the SuperCard SD MIni uses the same mode switch code (pretty sure it does as I recall checking it's DLDI code while trying to help the original poster in this thread), my build of GBA-Exploader should already work for it for the most part. It does seem saves work too provided they don't exceed 64KB in size. SC specific patches might be required for the Pokemon games for example. I think it's due to the games overwriting the GBA Exploader metadata that is at the start since I assume a write past the 64KB boundry gets mirrored back to 0x0 which I think is what is happening with those games. Not sure what YSMenu/SCFW is doing to get around that but GBA Exploader doesn't currently handle that properly.

Also note YSMenu will work with it too as it does for mine. That's always the best fall back. Don't even need a flashcart compatible with it. Just DLDI patch it for your current flashcart (as long as it's not a DSTT clone that can be bricked by running wrong YSMenu though) and you can send GBAs to your card. Just select them as if you were booting an NDS file and YSMenu will handle that for you. That's what I was using for my N-Card prior to GBA-Exploader. You won't be able to boot NDS files with YSMenu unless it's a build compatible with your slot-1 flashcart but it doesn't matter with GBA games. ;)
 
Last edited by Apache Thunder,

Shahaan

Well-Known Member
OP
Member
Joined
Dec 29, 2018
Messages
118
Trophies
0
Age
18
Location
South Africa,Durban
XP
975
Country
South Africa
That would have been pretty nifty, I can only get this to load successfully though and it fails to mount the FATfs: 13
https://gbatemp.net/threads/superfw-a-very-much-wip-supercard-firmware.654847/
Edit: Also got a 4mb Atari game running with YSMenu, however that only seems to work on the DS side and wouldn't be able to be used for flashing stuff for my GBA or writing roms to the Mini SD in it
I think FTP would also be a pretty good way to achieve these things. But nothing can get to the storage in the flash cart to begin with so it's kind of like bleh
 
Last edited by Shahaan,

assassinz

Visoly 512 Flash Advance Linker Xtreme Master!
Member
Joined
Mar 17, 2003
Messages
1,323
Trophies
2
Location
The Internet
XP
1,465
Country
United States
Last edited by assassinz,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
  • Xdqwerty @ Xdqwerty:
    nvm i think i fixed it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
  • BigOnYa @ BigOnYa:
    I had the Goodyear blimp fly real low right over my house this morning, was weird out of nowhere looking up and seeing it that close up. Memorial golf tourney going on by me in Dublin Ohio and its there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i tried the gdevelop mobile app and theres a event limit and you have to pay to add more events
  • BigOnYa @ BigOnYa:
    I never used the mobile or online versions, just the pc version.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only use the online version
    +1
  • BigOnYa @ BigOnYa:
    I was at the bar for 1 hour and lost $40 playing pool, and said well that's enough for my unlucky day, better quit. Some sharks up there today.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, did you get drunk?
    Xdqwerty @ Xdqwerty: @BigOnYa, did you get drunk?