From WikiTemp, the GBAtemp wiki
m (What carts are supported?)
(Updated broken links to the DLDI site with ones provided by forum user migles.)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
  
  
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!
+
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 read/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!
  
  
Line 62: Line 62:
  
  
You can download DLDI patches from the [http://chishm.drunkencoders.com/DLDI/ official site].
+
You can download DLDI patches from the [https://www.chishm.com/DLDI/index.html official site].
  
 
== What Homebrew games/apps do I need to patch? ==
 
== What Homebrew games/apps do I need to patch? ==
Line 73: Line 73:
 
Manual DLDI Patching, an Example:
 
Manual DLDI Patching, an Example:
  
#Download a DLDI patcher from the [http://chishm.drunkencoders.com/DLDI/ homepage] such as a [http://chishm.drunkencoders.com/DLDI/downloads/dlditool-win32-gui.zip GUI version]
+
#Download a DLDI patcher from the [https://www.chishm.com/DLDI/index.html homepage] such as a [https://www.chishm.com/DLDI/downloads/dlditool-win32-gui.zip GUI version]
 
#Download the appropriate DLDI patch file matching the name of the flash cart
 
#Download the appropriate DLDI patch file matching the name of the flash cart
 
#Select the DLDI file
 
#Select the DLDI file
Line 84: Line 84:
  
 
== External Links ==
 
== External Links ==
[http://chishm.drunkencoders.com/DLDI/ Official DLDI Website]
+
[https://www.chishm.com/DLDI/index.html Official DLDI Website]
  
 
[http://gbatemp.net/index.php?showtopic=43811&pid=556762&st=0&#entry556762 Linux DLDI Tutorial]
 
[http://gbatemp.net/index.php?showtopic=43811&pid=556762&st=0&#entry556762 Linux DLDI Tutorial]

Latest revision as of 00:57, 23 April 2017

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 read/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?

DLDI support is defined as, at a minimum, the ability to patch a .nds file for a specific cartridge. Virtually all cartridges support DLDI either officially or via third-party intervention. Most cart developers have advanced beyond manual DLDI patching in various ways, such as automatic DLDI patching. Some carts that are compatible with the interface include the following:


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.

What Homebrew games/apps do I need to patch?

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.

How do I patch my homebrew games/apps?

DLDI is either automatically patched by the cartridge software or manual patching is necessary.

Manual DLDI Patching, an Example:

  1. Download a DLDI patcher from the homepage such as a GUI version
  2. Download the appropriate DLDI patch file matching the name of the flash cart
  3. Select the DLDI file
  4. Select .nds homebrew files in the ‘binaries’ section.
  5. Click ‘Patch’

Dldipatcher.gif

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.

External Links

Official DLDI Website

Linux DLDI Tutorial