DLDI: Difference between revisions

From GameBrew
No edit summary
No edit summary
Tag: visualeditor
Line 46: Line 46:
===DLDI Device patches===
===DLDI Device patches===
<table><tr><th>Device</th><th>Download</th><th>Source</th><th>Author</th><th>Read/Write</th><th>Tested?</th><th>Manufacturer</th><th>Last Modified</th><th>Notes</th></tr>
<table><tr><th>Device</th><th>Download</th><th>Source</th><th>Author</th><th>Read/Write</th><th>Tested?</th><th>Manufacturer</th><th>Last Modified</th><th>Notes</th></tr>
<tr><td>Default (No device)</td><td><a href="https://dlhb.gamebrew.org/dshomebrew/default.dldi">DLDI</a></td><td><a href="https://dlhb.gamebrew.org/dshomebrew/DLDIdefault.zip">SRC</a></td><td>Chishm</td><td>-/-</td><td>-</td><td><a href="http://chishm.drunkencoders.com">Chishm</a></td><td>2007-01-12</td><td></td></tr>
<tr><td>Default (No device)</td><td>[https://dlhb.gamebrew.org/dshomebrew/default.dldi DLDI]</td><td><a href="https://dlhb.gamebrew.org/dshomebrew/DLDIdefault.zip">SRC</a></td><td>Chishm</td><td>-/-</td><td>-</td><td><a href="http://chishm.drunkencoders.com">Chishm</a></td><td>2007-01-12</td><td></td></tr>
<tr><td>AceKard+</td><td><a href="https://dlhb.gamebrew.org/dshomebrew/acek.dldi">DLDI</a></td><td>---</td><td>AceKard</td><td>R/W</td><td>Yes</td><td><a href="http://www.acekard.com/">AceKard</a></td><td>2007-01-31</td><td></td></tr>
<tr><td>AceKard+</td><td><a href="https://dlhb.gamebrew.org/dshomebrew/acek.dldi">DLDI</a></td><td>---</td><td>AceKard</td><td>R/W</td><td>Yes</td><td><a href="http://www.acekard.com/">AceKard</a></td><td>2007-01-31</td><td></td></tr>
<tr><td>CycloDS Mini/Micro</td><td><a href="https://dlhb.gamebrew.org/dshomebrew/cyds.dldi">DLDI</a></td><td>---</td><td>Team Cyclops</td><td>R/W</td><td>No</td><td>CycloDS</td><td>2007-06-25</td><td></td></tr>
<tr><td>CycloDS Mini/Micro</td><td><a href="https://dlhb.gamebrew.org/dshomebrew/cyds.dldi">DLDI</a></td><td>---</td><td>Team Cyclops</td><td>R/W</td><td>No</td><td>CycloDS</td><td>2007-06-25</td><td></td></tr>

Revision as of 04:45, 3 November 2021

DLDI
Nds.png
General
AuthorMichael "Chishm" Chisholm
TypePC Utility
Version10 Sept 2008
LicenseMixed
Last Updated2008
Links
Download
Website

DLDI is the Dynamically Linked Disc Interface for Game Boy Advance and Nintendo DS. It works as a part of libfat to allow homebrew programs to read and write files on the memory card inserted into one of the system's slots. It has also been implemented for GBA_NDS_FAT and DSLinux.

Mostly required for homebrew programs to implement save/load features and record high scores for different flashcarts.

User guide

Supprted cartridges

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

DLDI patches for different flashcarts are available from the official site.

DLDI Device patches

DeviceDownloadSourceAuthorRead/WriteTested?ManufacturerLast ModifiedNotes
Default (No device)DLDI<a href="https://dlhb.gamebrew.org/dshomebrew/DLDIdefault.zip">SRC</a>Chishm-/--<a href="http://chishm.drunkencoders.com">Chishm</a>2007-01-12
AceKard+<a href="https://dlhb.gamebrew.org/dshomebrew/acek.dldi">DLDI</a>---AceKardR/WYes<a href="http://www.acekard.com/">AceKard</a>2007-01-31
CycloDS Mini/Micro<a href="https://dlhb.gamebrew.org/dshomebrew/cyds.dldi">DLDI</a>---Team CyclopsR/WNoCycloDS2007-06-25
Datel Games 'n' Music<a href="https://dlhb.gamebrew.org/dshomebrew/gmtf.dldi">DLDI v1</a><a href="https://dlhb.gamebrew.org/dshomebrew/gmtf.zip">SRC</a>ChishmR/WYes<a href="http://us.codejunkies.com/Products/NDS-Games-n-Music__EF000155.aspx">Datel</a>2007-07-04Slower but more compatible
<a href="https://dlhb.gamebrew.org/dshomebrew/gmtf2.dldi">DLDI v2</a><a href="https://dlhb.gamebrew.org/dshomebrew/gmtf2.zip">SRC</a>ChishmR/WYes2007-07-05Faster but requires an SDHC card, see <a href="http://forum.gbadev.org/viewtopic.php?p=136847#136847">this gbadev forum thread</a>
DSLink (microSD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/dlms.dldi">DLDI v1</a><a href="https://dlhb.gamebrew.org/dshomebrew/dlms.zip">SRC</a>Rudolph (ported by Lick)R/WFailed<a href="http://www.ds-link.net/english/">DSLink</a>2006-12-26
<a href="https://dlhb.gamebrew.org/dshomebrew/dlms_moon.dldi">Moonshell DLDI/a></a>---MoonLightR/?Yes2006-12-30Moonshell version
<a href="https://dlhb.gamebrew.org/dshomebrew/dlms3.dldi">DLDI v3</a><a href="https://dlhb.gamebrew.org/dshomebrew/dlms3.zip">SRC</a>DiddlR/WYes2007-03-02This version does not work in DSLINUX because of an swiDelay() call. There is a bug that makes writes unpredictable.
<a href="https://dlhb.gamebrew.org/dshomebrew/dlms4.dldi">DLDI v4</a><a href="https://dlhb.gamebrew.org/dshomebrew/dlms4.zip">SRC</a>AmadeusR/WYes2007-05-20Fixes the bugs present in version 3
DS-X<a href="https://dlhb.gamebrew.org/dshomebrew/dsx.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/dsx.zip">SRC</a>DS-Xtreme TeamR/WYes<a href="http://www.ds-x.com/">DS-X</a>2007-02-12The DS-Xtreme does a form of auto-patching <a href="#auto_patching">[2]</a>
Ewin2 (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/ewsd.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/ewsd.zip">SRC</a>MoonlightR/WYes<a href="http://www.ewinflash.net/">Ewin flash</a>2006-12-29
EZ Flash 4 (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/ezsd.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/ezsd.zip">SRC</a>Rudolph (Original by EZ Team (aladdin))R/WYes<a href="http://www.ezflash.cn/en/default.asp">EZ Flash</a>2006-12-27
EZ Flash 5<a href="https://dlhb.gamebrew.org/dshomebrew/ez5s.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/ez5s.zip">SRC</a>Cory1942, ps2aichR/WYes<a href="http://www.ezflash.cn/en/default.asp">EZ Flash</a>2008-09-10Can be used for Wireless MultiBoot, etc.
<a href="https://dlhb.gamebrew.org/dshomebrew/ez5sdhc.dldi">SDHC DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/ez5sdhc.zip">SRC</a>Cory1942, ps2aichR/WYes2008-09-10Can only be used when booting up via EZ-V+ <a href="#requires_init">[1]</a>. For usage in EZ-V+, copy both EZ5 drivers into the moonshl folder.
G6 Flash (version 0.19)<a href="https://dlhb.gamebrew.org/dshomebrew/g6fl.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/g6fl.zip">SRC</a>virusebR/WYes<a href="http://www.g6flash.com">G6 Flash</a>2007-04-12
G6 Real<a href="https://dlhb.gamebrew.org/dshomebrew/g6real.dldi">DLDI</a>---G6 TeamR/WNo<a href="http://www.g6flash.com">G6 Flash</a>2007-07-12Also known as G6DS. This device supports automatic patching <a href="#auto_patching">[2]</a>.
M3 Adapter (Compact Flash)<a href="https://dlhb.gamebrew.org/dshomebrew/m3cf.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/m3cf.zip">SRC</a>ChishmR/WFail<a href="http://www.m3adapter.com">M3 Adapter</a>2007-05-05Fails read alignment test. The built-in M3CF driver works fine so this DLDI may not be needed <a href="#auto_patching">[2]</a>.
M3 Adapter (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/m3sd.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/m3sd.zip">SRC</a>ChishmR/WYes<a href="http://www.m3adapter.com">M3 Adapter</a>2006-12-25
<a href="https://dlhb.gamebrew.org/dshomebrew/m3sd_alt.dldi">Alt</a><a href="https://dlhb.gamebrew.org/dshomebrew/m3sd_alt.zip">SRC</a>agentqR/WYes2007-01-20
Max Media Dock (Compact Flash)<a href="https://dlhb.gamebrew.org/dshomebrew/mmcf.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/mmcf.zip">SRC</a>ChishmR/WYes<a href="http://us.codejunkies.com/shop/product.asp?c=US&cr=USD&cs=$&r=1&l=1&ProdID=750">Code Junkies</a>2007-01-07
GBA Movie Player (Compact Flash)<a href="https://dlhb.gamebrew.org/dshomebrew/mpcf.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/mpcf.zip">SRC</a>ChishmR/WYes<a href="http://movieadvance.com/index.htm">Movie Advance</a>2006-12-25
GBA Movie Player (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/mpsd.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/mpsd.zip">SRC</a>ps2aich (Original by Movie Advance)R/WNo<a href="http://movieadvance.com/sd_en/index.htm">Movie Advance</a>2007-08-09Driver only works when the patched application is booted via the GBAMP SD itself <a href="#requires_init">[1]</a>
NEO Flash MK2 & MK3 (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/nmmc.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/nmmc.zip">SRC</a>NEO Flash TeamR/WYes<a href="http://www.neoflash.com/">NEO Flash</a>2006-12-25
NEO Flash MK5 (NAND Flash)<a href="https://dlhb.gamebrew.org/dshomebrew/mk5n.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/mk5n.zip">SRC</a>NEO Flash TeamR/-No<a href="http://www.neoflash.com/">NEO Flash</a>2007-02-07
NEO2 (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/nsd2.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/nsd2.zip">SRC</a>NEO Flash TeamR/WYes<a href="http://www.neoflash.com/">NEO Flash</a>2006-12-28
<a href="https://dlhb.gamebrew.org/dshomebrew/nsd2v2.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/nsd2v2.zip">SRC</a>NEO Flash Team & ChishmR/WYes2006-12-28Faster reads than version 1
Ninja DS (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/njsd.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/njsd.zip">SRC</a>NinjaMod teamR/WYes<a href="http://www.ninjads.com/">NinjaDS</a>2006-12-25
Ninjapass X9<a href="https://dlhb.gamebrew.org/dshomebrew/x9sd6.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/x9sd6.zip">SRC</a>CJ BellR/WYes<a href="http://www.ninjapass.com/">Ninjapass</a>2007-10-23
R4(DS) - Revolution for DS
M3 Simply compatible
<a href="https://dlhb.gamebrew.org/dshomebrew/r4tf.dldi">DLDI v1</a><a href="https://dlhb.gamebrew.org/dshomebrew/r4tf.zip">SRC</a>R4DSR/WYes<a href="http://www.r4ds.net/index.htm">R4 (R4DS) - Revolution for DS</a>2006-12-25Does not support ARM7. This device supports automatic patching <a href="#auto_patching">[2]</a>.
<a href="https://dlhb.gamebrew.org/dshomebrew/r4tf_v2.dldi">DLDI v2</a><a href="https://dlhb.gamebrew.org/dshomebrew/r4tf_v2.zip">SRC</a>R4DS, modified by ChishmR/WYes2007-12-27Supports ARM7
SuperCard (Compact Flash)<a href="https://dlhb.gamebrew.org/dshomebrew/sccf.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/sccf.zip">SRC</a>ChishmR/WYes<a href="http://eng.supercard.cn/">SuperCard</a>2006-12-26
SuperCard DS (One)<a href="https://dlhb.gamebrew.org/dshomebrew/scds.dldi">DLDI v0</a><a href="https://dlhb.gamebrew.org/dshomebrew/scds.zip">SRC</a>SuperCard Team (ported by Lick)R/?Yes<a href="http://eng.supercard.cn/">SuperCard</a>2006-12-25To use these files with the auto dldi patching feature: download the dldi, rename to dldi.bin and place it into the "scshell" folder of your microSD replacing the existing file.
<a href="https://dlhb.gamebrew.org/dshomebrew/scds1.dldi">DLDI v1</a><a href="https://dlhb.gamebrew.org/dshomebrew/scds1.zip">SRC</a>clunyR/WYes2007-05-01
<a href="https://dlhb.gamebrew.org/dshomebrew/scds2.dldi">DLDI v2</a>---BarniR/WYes2007-09-14
SuperCard DS (One) SDHC<a href="https://dlhb.gamebrew.org/dshomebrew/scdssdhc.dldi">DLDI v0</a><a href="https://dlhb.gamebrew.org/dshomebrew/scdssdhc.zip">SRC</a>SuperCard TeamR/?Failed<a href="http://eng.supercard.cn/">SuperCard</a>2007-08-09To use these files with the auto dldi patching feature: download the dldi, rename to dldi.bin and place it into the "scshell" folder of your microSD replacing the existing file.
<a href="https://dlhb.gamebrew.org/dshomebrew/scdssdhc1.dldi">DLDI v1</a><a href="https://dlhb.gamebrew.org/dshomebrew/scdssdhc1.zip">SRC</a>clunyR/WYes2007-12-07
SuperCard (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/scsd.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/scsd.zip">SRC</a>ChishmR/WYes<a href="http://eng.supercard.cn/">SuperCard</a>2006-12-25
<a href="https://dlhb.gamebrew.org/dshomebrew/scsd_moon.dldi">Alt</a>---MoonLightR/WYes2007-02-14Based on code from MoonShell. Works on newer Supercards that may fail with other DLDIs. Must be booted from Supercard firmware. <a href="#requires_init">[1]</a>
SuperCard Lite (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/sclt.dldi">DLDI</a><a href="https://dlhb.gamebrew.org/dshomebrew/sclt.zip">SRC</a>brisssouR/WYes<a href="http://eng.supercard.cn/">SuperCard</a>2007-01-19
SuperCard Rumble (SD Card)<a href="https://dlhb.gamebrew.org/dshomebrew/scrb.zip">DLDI</a>---BarniR/WYes<a href="http://eng.supercard.cn/">SuperCard</a>2007-08-28May work for other SuperCard devices that use SD cards

Patching Tools

Executable TypeDownloadLast ModifiedVersionCreatorMore Information
Source<a href="https://github.com/devkitPro/dstools/tree/master/src/dlditool">GitHub</a>2007-08-021.24Chishm, <a href="http://davejmurphy.com/">WinterMute</a>, SmileyDude
Win32 CLI<a href="https://dlhb.gamebrew.org/dshomebrew/dlditool-win32.zip">Download</a>2007-02-051.23Chishm<a href="#dlditool">dlditool CLI instructions</a>
Win32 GUI<a href="https://dlhb.gamebrew.org/dshomebrew/dlditool-win32-gui.zip">Download</a>2007-01-131.23Adam Hodson (bob_fossil) / Maxim<a href="win32gui.html">Detailed instructions</a>
<a href="https://dlhb.gamebrew.org/dshomebrew/dlditool-win32-gui-Simplified-Chinese-0.31.zip">Simplified Chinese Download</a>2007-01-131.22Translation by yeyezai
Win32 Right Click<a href="https://dlhb.gamebrew.org/dshomebrew/DLDIrcSetup.exe">DLDIrcSetup.exe</a> (<a href="http://psychowood.altervista.org/getDLDIrc.html">Web page</a>)2007-10-170.93PsychoWood<a href="dldirc.html">Detailed information</a>
Linux i686 CLI<a href="https://dlhb.gamebrew.org/dshomebrew/dlditool-linux-i686.zip">Download</a>2007-08-021.24<a href="http://davejmurphy.com/">WinterMute</a><a href="#dlditool">dlditool CLI instructions</a>
Linux x86_64 CLI<a href="https://dlhb.gamebrew.org/dshomebrew/dlditool-linux-x86_64.zip">Download</a>2007-08-021.24<a href="http://davejmurphy.com/">WinterMute</a><a href="#dlditool">dlditool CLI instructions</a>
Linux GUI<a href="https://dlhb.gamebrew.org/dshomebrew/dldi-linux-gui_1.0-1_i386.deb">deb package</a> or <a href="https://dlhb.gamebrew.org/dshomebrew/dldi-linux-gui-1.0.tar.gz">source</a>2008-04-131.0<a href="http://www.return1.net/">Lucas van Dijk (Sh4wn)</a><a href="linuxgui.html">Detailed information</a>
Linux GUI (alternative)<a href="https://dlhb.gamebrew.org/dshomebrew/dldi-linux-gui-s0l1dsnak3123.zip">Download</a>2007-07-151.0s0l1dsnak3123<a href="#linuxguialt">Linux GUI (alternative) instructions</a>
Nautilus script<a href="https://dlhb.gamebrew.org/dshomebrew/nautilus-script.tar.gz">Download</a> (<a href="http://quirkysoft.googlecode.com/files/patch-dldi-1.0.tar.gz">Direct</a>)2007-04-241.0<a href="https://code.google.com/archive/p/quirkysoft/">Richard Quirk (Quirky)</a><a href="#nautilusscript">Nautilus Script</a>
MacOS X CLI<a href="https://dlhb.gamebrew.org/dshomebrew/dlditool-osx.zip">Download</a>2007-08-021.24WinterMute<a href="#dlditool">dlditool CLI instructions</a>
MacOS X DLDI Drop<a href="https://dlhb.gamebrew.org/dshomebrew/dldi_drop.zip">Local copy</a> or <a href="http://www.blogadresse.de/2007/01/29/dldi-drop-dldi-patcher-the-mac-way/">Web page</a>2007-01-301.23Jan KamplingRead <a href="http://gdgts.de/dldi-drop-dldi-patcher-the-mac-way/">Jan's blog</a> (<a href="https://web.archive.org/web/20140627165551/http://gdgts.de/dldi-drop-dldi-patcher-the-mac-way/">Internet Archive copy</a>)
No auto-patch CLI<a href="https://dlhb.gamebrew.org/dshomebrew/dldi-noap-cli.zip">Download</a>2007-08-12PsychoWood<a href="#no_auto_patch">No auto-patch instructions</a>
No auto-patch GUI<a href="https://dlhb.gamebrew.org/dshomebrew/dldi-noap-gui.zip">GUI</a>2007-08-12Nphinity<a href="#no_auto_patch">No auto-patch instructions</a>

How to use

By default, homebrew that utilizes the DLDI framework will probably work on a specific device (the one the author uses) but can be patched to work with any device listed in the devices section.

Some devices will patch the homebrew for you automatically when it is loaded. Just try the ROM to see if it works with your device. If it does, then great. If not, you will need to patch the file before transfering it to your device. In this case, after downloading the DLDI-enabled homebrew, you need to patch the .nds or .ds.gba depending on what device you are using.

First you need to download the DLDI driver patch for your device. Go to the devices section, find your device and download the .dldi file.

Next you need to obtain a patcher that can run on your computer's operating system. Go to the tools list and download your prefered tool and follow the given instructions.

Once you have patched the .nds or .gba file, you can copy it to your memory card and run it from your DS.

DLDIrc

Alternatively you can use DLDI Right Click (DLDIrc) written by PsychoWood.

It is an automatic DLDI patching program that adds itself to your right-click menu for .nds and/or .gba files.

The programs installer includes most DLDI driver files for most flash kits, allowing you to click any .nds (and also .gba or .bin, if you wish) file within Windows and patches it with the DLDI file of your choice, without the needs to download the DLDI patch files separately.

External links

Advertising: