Homebrew extract dldi-library from any *.nds executable?

Coto

-
OP
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
I´ve got this question, as I have a R4i SDHC flash card, and the vendor in their web page have a YSMENU-like modified R4i firmware, and has the very dldi library I need, which I can´t find nowhere.

Is there´s a special tool which will let me extract the proper dldi driver from a i.e. a DS_MENU or *.nds file?

Thanks.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,377
Country
United Kingdom
I am assuming there is no other compatible DLDI driver or similar.

Short version- no programs out there I know of that can do exactly what you want but there are options.

A similar question was asked a while back- by and large there is no patch extraction but you could pull it from code using a few basic techniques (patch and compare) if it was just a patched file.
As of some point a few years back most DLDI stuff happens in memory however and the files on the SD card never get touched so one would probably not be of any use.

If they have not provided it as a basic DLDI file in the firmware/kernel directory structure (give or take simple file systems like GBFS, straight nitro compatible or even a simple extension swap) then are probably trying to hide it- why I can only guess at.
While this is not fatal and you could probably pull it from the kernel code itself flash card makers do like to protect their stuff (compression, encryption and other things that make hacking/reverse engineering less that fun) so it would probably be easier to remake it ( http://dldi.drunkencoders.com/index.php?ti...nt_instructions although that advice could also be twisted for reverse engineering too- find the DLDI header and move on from there).
This however could be counteracted by a memory reader (the same patch and compare technique just with a dump of the homebrew from memory), they do exist (it is how flash cart makers clone patches from rivals) but that I know of there is no general program for this sort of thing available to the likes of you and me- you might be able to force a memory dump of some program (debugging and all that) but I would not know where to start with that.
Emulation of flash carts (or more accurately their software) is a tricky game owing to the extra hardware vs a standard DS so I would not look there for an "unknown" cart. Various carts have been emulated in the past but probably not this.
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
avenir said:
This is the easiest method, but in case you don't have devkitPro installed, and don't want to go to the hassle just for this, here's a precompiled binary, just for you:

http://www.mediafire.com/?439hvxl55bsv229

Just run that with a loader that auto-patches (i.e. your card's default software), and it should dump the DLDI patch.

EDIT: But I thought with YSMENU the DLDI patch was stored in the file system on the card? I dunno, could be wrong, or they may have modified it a bit or something. Anyway, this should do the trick.
 

Coto

-
OP
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
SifJar said:
avenir said:
This is the easiest method, but in case you don't have devkitPro installed, and don't want to go to the hassle just for this, here's a precompiled binary, just for you:

http://www.mediafire.com/?439hvxl55bsv229

Just run that with a loader that auto-patches (i.e. your card's default software), and it should dump the DLDI patch.

*-* Thank you SifJar, really.
wink.gif


I´ll give it a go right now..

And many thanks to the others for those excellent answers!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...