Thoughts From My Life
Aug
15

Patching NDS Homebrew With DLDI

Written by Neil Galloway
 

I got into the Nintendo DS homebrew scene as soon as I got my DS. I am always fascinated by the effort that goes into making applications and games for free. Some very useful programs come along and there are neat games that are both new and ports of the classics.

Unfortunately, depending on the DS hardware that you have, it can take a little bit of work to get things running. Each game has its own requirements, but a lot of them need to be patched with DLDI before they will work. That is what this posting is about.

What Is DLDI?

It is an acronym for Dynamically Linked Device Interface. Any homebrew application that wants read and write access to the memory card will most likely need it. This would be saving text files, accessing music, saving a game, or whatever else you can think of.

The main site is the dldi Wiki hosted on drunkencoders. You can find all the information you need here. I will provide a brief tutorial on how I patch most of my programs though.

How Do I Know If I Need To Patch With DLDI

Read the instructions and comments on articles for the release of these applications. They will say.

If you try to load the application and you get a libfat error or an error regarding file access, then that is a good indication you need to patch as well.

How To Patch A File With DLDI

Here are the steps I would follow to patch a homebrew application from scratch. Keep in mind that I use the Supercard Lite (microSD).

  1. Download the DLDI patch file at the DLDI Device page. Click on what type of device you have (Slot 1 or Slot 2). Slot 1 is the NDS cartridge sized slot on the top of your DS and Slot 2 is the Gameboy Advance sized slot on the bottom of your DS. In this screen, click the link for the brand of device you have. You then download the link for the .dldi file on the following screen.

    I personally downloaded the SuperCard Lite DLDI

  2. Download the DLDI patcher starting at the DLDI Tools page.

    I personally use the Win32 GUI version of the DLDI patcher. It is pretty simple to use. This one comes in a zip file so you will have to unzip into a folder after you download it.

  3. Patch the .nds file with DLDI.

    There are also instructions with pictures here.

    • Start the Win32 Gui double clicking the dlditool32.exe file inside in the folder you unzipped the Win32 patcher into. It opens a window with just a few items in it.
    • Click the "..." button to the right of the DLDI File field and selected the folder you saved the .dldi file from above. The picklist then shows the available DLDI's.
    • Select the DLDI you need. For me this was the SuperCard Lite(TransFlash MicroSD).
    • You can...
      • drag and drop the .nds file for you program into the bottom window or
      • click the ... button to the right of the Binaries field. Select the .nds file for you application and click Open.
    • Click the Patch button. The existing .nds file will be overwritten with a new one. You can tell by observing the date on the file and see if it becomes the current time.

The file should now be patched and ready to use.

If you enjoyed this post, then make sure you subscribe to my RSS feed or subscribe for email updates. Only one email a day and only if there was a new post.



Related Posts

QuakeDS Release 3
Warcraft Tower Defense 0.5 Released
Warcraft Tower Defense for the NDS
DScent - Descent for Nintendo DS
AmplituDS - Nintendo DS Homebrew

Email this article

Category: NintendoDS

Original Post: Wednesday, August 15th, 2007


10 Comments

claudio Says:
2008-09-08 22:47:51
pow cara nun sei fazer isso e nem tenho esse programa naum achei,...
Será que vc por fazer pra mim?
e me ensinar a configurar o ds browser?

minha net é por ip mais naum e velox,...
é via radio...


e naum consigo me conectar na minha,...
só acha a net do meu amigo que é velox,...

tracy Says:
2008-09-12 12:52:36
good day. i need help getting the dldi since i cannot go through drunkencoders. i have an older version of dso and the browser won't work. i guess i'm a little outdated or yeah. hope i can get a hold of you. thanks!

Huy Khuong Says:
2008-11-18 22:00:15
Hi, Thank You so much for your instructions of how to get these stuffs for free. It works like a charm.

chris Says:
2008-12-28 16:14:13
yo ty for ur help but it didn't work. i'm trying to patch halo ds ihalods, if u can help me plz do i have an r4 ty ^^

william Says:
2009-01-11 14:46:02
i have an edge card... no edge dldi file?

Anonymous Says:
2009-02-26 14:27:48
I did everything and when I load the game, it gets stuck at \"Writing save file.\" What did I do wrong?

weirdo Says:
2009-03-13 08:41:03
How come it doesn't have Java scipt for emails. Can you tell me how to upgrade it andrei_queano0@yahoo.com

angelo Says:
2009-03-15 03:06:55
the nds file u patch it with, is it the action replay file of the game you wanna play.

ds Says:
2009-07-03 19:51:56
i'm having problems with putting up the web browser. i've had my ds for a year now and i still haven't figured out how to do it. i'm using an Edge OS and when i tried to follow your instructions by going on Wiki there was no link for edge there. i hope you can help me, thank you.

danny Says:
2009-12-03 09:33:34
I did everything and when I load the game, it gets stuck at \"Writing save file.\" What did I do wrong?

Add a Comment

Note: Comments will be visible after they have been moderated.
Name:

Email: (Never made public)

Web Page:
(include http:// or https://)
Comment:


Enter Verification (image below):