gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > creating a DLDI patch extractor.

#173419 - vuurrobin - Tue Apr 06, 2010 12:39 am

hello,

seeing as pretty much all cards firmware auto-patch the homebrew games, and to use the homebrewmenu as the default menu you need the dldi patch, I decided to try and create an dldi patch extractor. or has one already been created?

now if I understand correctly from reading the source code of dlditool and homebrew menu, the patch should be in main memory, start with magic string "\xED\xA5\x8D\xBF Chishm" (4 byte number, 7 byte string and 1 byte terminating null character), is DO_driverSize long with a maximum of 32KB (DO_driverSize is the pointer to the magic string + 0x0D). is this right?

then I can just copy all of it to a file, right? is there anything else I would need to do?



crossposted this with devkitPro
_________________
my blog:
http://vuurrobin.100webcustomers.com/

#173435 - elhobbs - Tue Apr 06, 2010 4:23 pm

not sure I see the point... don't most of the launchers already read the dldi from a file before patching? so wouldn't you are ready have the file?

#173436 - vuurrobin - Tue Apr 06, 2010 5:27 pm

I don't know about other cards menus, but I couldn't find it in my cards menu. and you would need to have the patch if you want to use an other menu as standard menu, like the homebrewmenu.

but apparantly wintermute created an dldi patch extractor when I wasn't looking.


svn co https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/projects/nds/dldiextract
_________________
my blog:
http://vuurrobin.100webcustomers.com/