Hacking DSTT/ TTDS DLDI file

  • Thread starter Thread starter OSW
  • Start date Start date
  • Views Views 20,243
  • Replies Replies 9

OSW

Wii King
Former Staff
Joined
Oct 30, 2006
Messages
4,787
Reaction score
17
Trophies
1
XP
524
Country
clearly the DSTT autopatches DLDI homebrew, but for my own reasons i want to be able to manually patch a file first.

however it appears that the DLDI file is not in public hands.

so does anyone have it?

or would it be too much to ask for someone to produce a homebrew which will extract the DLDI from itself (in ram)?

EDIT: i think i've searched all the firmware files in a hex editor and can't find any trace of the DLDI file. then i dumped the firmware and nothing at that either.

er, wait a sec, maybe it's encrypted... better check this out.
 
Yasu's ttextract.exe (that comes with YSMenu) seems to create two files from TTMENU.DAT, one of which is named "ttdldi.dat". Perhaps that's the file you're looking for?

-Bri
 
hmm thanks for the tip.

it's def not the dldi file in it's pure form at least, but maybe it's somewhere inside...

EDIT: renamed to ttdldi.nds, ran from dsorganise. seems to call itself DLDI debug tester and did a successful test...
 
The other file extracted by ttextract.exe is "ttpatch.dat". Maybe that's what you're looking for.

YSMenu DLDI patches, so obviously Yasu has figured out how to obtain the DLDI information for the DSTT.

-Bri
 
Bri said:
YSMenu DLDI patches, so obviously Yasu has figured out how to obtain the DLDI information for the DSTT.


Indeed. Yasu has a ttio.dldi file - which is, in fact, the dldi used in YSMenu - up on his site:

http://home.usay.jp/pc/etc/nds/

(do a search within that page for ttio.dldi)

Verified to work with DSOrganise and FlashcartOS, both of which I have successfully patched with it and renamed to TTMENU.DAT and booted on the bare DSTT.

Additionally, YSMenu has been successfully patched with the R4 DLDI (as verified by encrypting and booting on a bare R4) then re-patched back with ttio.dldi and then succesfully booted on the bare DSTT.

So, I'd say that ttio.dldi appears to work for most practical purposes.

ttpatch.dat seems to be the loader/patcher for commercial roms - ttdldi.dat will be the loader/patcher for DLDI-compatible homebrew. You'll probably find the data in ttio.dldi buried somewhere in ttdldi.dat if you look hard enough.


While we're on the subject of the DSTT, anyone got any idea how YSMenu uses ttpatch.dat? I've got a few days off, and the source code for DS-DOS and DSOrganise and DSBrowser...




Edit: Yay, 100th post!
grog.gif
 
Ah, also should note that i managed to extract the DLDI myself!

It was inside the DSTT Firmware (that i dumped using rudolphs tools).
The reason i didn't notice it early was because i was stupid searching the hex for "chishm" rather than "Chishm" with a capital "C" X_X

However it was not quite identical to Yasu's one. But it appears to work satisfactorily.
 
i couldn't find the dldi inside ttdldi.dat, if it's there it's encrypted or something.

i got the dldi from the firmware dump (i used rudolph's tools)
 

Site & Scene News

Popular threads in this forum