GBAtemp.net logo
GBAtemp.net navigation bar
Welcome Guest ( Log In | Register )  ·  Forum rules · Site Index


6 Pages V   1 2 3 > »   
 Reply to this topic Start new topic Start Poll 
DLDI Tutorial
Register now to make the most of all the fantastic features available on GBAtemp!
Opium
post Feb 23 2007, 07:58 AM
Post #1


Confirmed working on PAL
Group Icon

Group: Supervisors
Posts: 7,847
Joined: 22-December 02
From: QLD, Australia
Member No.: 9,099

 





Official DLDI Website
Linux DLDI Tutorial

What is DLDI? (how did it come about?)

DLDI stands for ‘Dynamically Linked Device Interface’. It is an interface for libfat that homebrew developers attached to their projects.

I’ll break it down to more understandable terms. Let’s say a homebrew developer makes a DS game where you can draw a picture and save the image to your flash cart. To save this image on the flash cart the developer would have to know the specific piece of code that allows you to write things to the cart. And if you wanted to read the image so you can edit it again you’d need access to the read capabilities of the flash cart. This forms the read/write commands which are essentially what libfat is.

There is a big problem however. Every flash cart uses different read/write commands. That would mean to get your game working on four different flashcarts you’d need to code it with all four different write/write methods. This is a big hassle for developers and flash cart owners a like. Under the old system homebrew projects that used read/write commands (FAT access) only worked on the flashcarts they were specifically coded for. As there are so many flash carts on the market many were left out because to keep your homebrew project working on 15 + different kits would be a nightmare!

Along came DLDI. This interface developed by Chishm unifies everything. It is a single interface that homebrew developers attach to their projects. The developers don’t have to worry about making their project compatible with a whole range of different carts. Instead each flashcart has a specific DLDI patch made for it which houses all the read/write commands. You would then simply patch the homebrew game or application with your cart’s DLDI patch and it will work on your cart. So if you have an R4 DS you apply the R4 DS DLDI patch to the homebrew .nds file. The beauty is that once a DLDI patch has been made for your cart it’ll be compatible with every piece of homebrew that has DLDI support.


What carts are supported?

As of the time of writing the following carts have a DLDI patch:

AceKard+
DSLink
DS-Xtreme
Ewin2
EZ-Flash IV
EZ-Flash V
G6-Flash (Lite)
M3 Adapter (CF)
M3 Adapter (SD)
Max Media Dock
GBA Movie Player (CF)
GBA Movie Player (SD)
NEO flash MK2 & MK3
NEO2
Ninja DS
NinjaPass X9
R4 DS
M3 DS Simply
Supercard (CF)
Supercard (SD)
Supercard Lite
Supercard DS One

You can download DLDI patches from the official site here.

Important note: many of the current slot-1 flashcarts now patch homebrew automatically, so you won't need to patch anything (providing you have the latest firmware/loader/updates for your cart). These carts feature automatic DLDI patching: CycloDS evolution, R4, M3 Simply, and other might add up to this list later.


What Homebrew games/apps do I need to patch?[/color]

Any homebrew game or application that uses FAT access and supports DLDI. Homebrew games/apps that do not read or write to your card do not need to be patched.


[size=7]How do I patch my homebrew games/apps?


1. Download a DLDI patcher from the homepage. I recommend this one.
2. Download the appropriate DLDI patch for your flash cart.
3. Select the DLDI file you want to use.
4. Select the homebrew you want to patch in the ‘binaries’ section.
5. Click ‘Patch’ and you’re done.



Note: EZ-Flash V users will need to use a separate DLDI patcher to make DLDI work. If you have an EZ-Flash V please use this DLDI patcher. No other files are needed, simply drag and drop the homebrew onto the exe file.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Useful Links
post
Post #












Go to the top of the pageUser's Wiki pageFriend Codes
Quote Post
Azimuth
post Feb 23 2007, 08:12 AM
Post #2


Chicken Teriyaki Boy!
*****

Group: Members
Posts: 637
Joined: 23-February 06
Member No.: 36,995

 



for the sake of tidying things up, could you link this Linux tutorial in the guide. If someone could find the mac guide post that too.

Edit: wrong link to guide

This post has been edited by Azimuth: Feb 23 2007, 08:13 AM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Satangel
post Feb 23 2007, 09:41 AM
Post #3


One of the few GBAtemp soccer fans
Group Icon

Group: Members
Posts: 4,351
Joined: 27-November 06
From: Bruges, Belgium
Member No.: 56,479

 



Nice one, it confused me at the start too, but Ive found it out myself. I'm glad I'm not doing it wrong, I do it exactly the way you guys do!

BTW does it any harm if you patch a homebrew that doesnt need DLDI?

This post has been edited by Satangel: Feb 23 2007, 09:48 AM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
DEF-
post Feb 23 2007, 10:33 AM
Post #4


GBAtemp Regular
***

Group: Members
Posts: 168
Joined: 25-February 03
From: Sweden
Member No.: 10,340

 



Nice little guide, will help alot of users for sure.

I myself prefer to read about DLDI and find out how it works by myself. But thats just geeky me tongue.gif
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
blizeH
post Feb 23 2007, 10:47 AM
Post #5


GBAtemp Fan
****

Group: Members
Posts: 420
Joined: 21-December 05
From: UK
Member No.: 34,603

 



Great explanation etc, thank you!

Just wondering where can I get a DLDI for my card though? It's a G6 Lite, doesn't seem to mention it anywhere above.

Thanks again!
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
rest0re
post Feb 23 2007, 10:52 AM
Post #6


GBAtemp Advance Fan
*****

Group: Members
Posts: 756
Joined: 23-December 06
From: WINLAND
Member No.: 59,895

 



QUOTE(blizeH @ Feb 23 2007, 12:47 PM)
Great explanation etc, thank you!

Just wondering where can I get a DLDI for my card though? It's a G6 Lite, doesn't seem to mention it anywhere above.

Thanks again!
*

lol owned wink.gif
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Sentient
post Feb 23 2007, 11:19 AM
Post #7


Member
*

Group: Newcomers
Posts: 17
Joined: 22-September 05
From: Frozen North
Member No.: 31,642

 



Very nice! I'm going to get this going on some homebrew for my R4.

This post has been edited by Sentient: Feb 23 2007, 11:19 AM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
fli_guy84
post Feb 23 2007, 01:23 PM
Post #8


GBAtemp Fan
****

Group: Members
Posts: 318
Joined: 20-November 06
Member No.: 55,308

 



Nice guide Opium, but why did you leave out DS-X?

Is it because it's listed as 'No' under 'Tested?'
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
alcaholjunkie
post Feb 23 2007, 01:51 PM
Post #9


Member
*

Group: Newcomers
Posts: 49
Joined: 13-January 07
From: England
Member No.: 63,539

 



QUOTE(blizeH @ Feb 23 2007, 09:47 AM)
Just wondering where can I get a DLDI for my card though? It's a G6 Lite, doesn't seem to mention it anywhere above.
*

G6 and G6-lite are the exact same thing, just different shells for the carts. happy.gif
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
adgloride
post Feb 23 2007, 02:30 PM
Post #10


Its A Wii Wario
Group Icon

Group: Members
Posts: 2,239
Joined: 2-April 03
Member No.: 11,369

 



Great Tutorial explaining about DLDI. I've always thought that it was so easy to use, you never needed a tutorial.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
blizeH
post Feb 24 2007, 12:13 AM
Post #11


GBAtemp Fan
****

Group: Members
Posts: 420
Joined: 21-December 05
From: UK
Member No.: 34,603

 



Awesome, thank you ^ smile.gif
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
thegame07
post Feb 24 2007, 03:07 AM
Post #12


Did you relise that you where a champion? Yes I did
Group Icon

Group: Members
Posts: 3,040
Joined: 16-October 06
Member No.: 51,503

 



thanks i understand it now biggrin.gif

This post has been edited by thegame07: Feb 24 2007, 03:08 AM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Verocity
post Feb 25 2007, 12:51 AM
Post #13


Ö!
*****

Group: Members
Posts: 727
Joined: 26-November 06
From: Georgia
Member No.: 56,219

 



Great, but whas the watermark of gbatemp.net on the top image really necessary?

Anyway good job!
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
imgod22222
post Mar 13 2007, 11:27 PM
Post #14


GBAtemp's Original No-faced Member
Group Icon

Group: Members
Posts: 1,521
Joined: 5-July 06
Member No.: 44,155

 



quick suggestion, when you say the binary,you might want to make clear whether to use the .nds, or the .gba.ds file.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
jjkm4a1
post Mar 16 2007, 06:03 PM
Post #15


Member
*

Group: Newcomers
Posts: 19
Joined: 26-February 07
Member No.: 67,900

 



Thanks, this tutorial helped me. yaynds.gif
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Useful Links
post
Post #












Go to the top of the pageUser's Wiki pageFriend Codes
Quote Post
« Next Oldest · GBAtemp Flash Kit Guides & FAQs · Next Newest »
 

6 Pages V   1 2 3 > » 
Reply to this topic Start new topic 

 



ExtremeJeux.com, vente de jeux vidéo, flashcarts, consoles et accessoires à prix mini, frais de port gratuit et bons de réduction!