#150542 - OSW - Wed Feb 06, 2008 3:58 pm
I was wondering if anyone could think of a simple method to break the automatic detection and consequential patching of DLDI homebrew through slot one cards.
Do we know what method is commonly being used to detect DLDI compatibility?
Reason for interest:
Usage of alternate DLDI files for selected files, for example you might like want access to a slot two device's memory.
#150543 - Sunray - Wed Feb 06, 2008 4:38 pm
I can speak for DS-Xtreme:
If you pre-patch your .nds the card won't try to patch it. DS-X only patches if empty DLDI interface or gba_nds_fat is used.
#150558 - Sweater Fish Deluxe - Wed Feb 06, 2008 11:49 pm
There's a magic string in an NDS files that have a DLDI section. It consists of some hex gobbeldy-gook followed by the string "Chishm." I just change "Chishm" to "XXXXXX" after patching the NDS with the DLDI driver I want it to use, then it won't look like it has a DLDI section for any DLDI patcher app including the autopatchers in slot-1 cards.
...word is bondage...
#150561 - dantheman - Thu Feb 07, 2008 1:03 am
#150562 - OSW - Thu Feb 07, 2008 1:21 am
thanks guys.
i suspected as much; that modifying that string would break auto-patching.
#150572 - simonjhall - Thu Feb 07, 2008 1:15 pm
It would really be best if manufacturers just didn't patch the binary if it had already been. The problem should be really be addressed directly...
What happens if you want to find the DLDI section to test yourself if your program has been patched? If the magic number or magic string have been removed you won't be able to tell! Same if you want to find the DLDI section to see whether the driver used is a slot-1 or slot-2 flash card.
_________________
Big thanks to everyone who donated for Quake2
#150590 - Sweater Fish Deluxe - Fri Feb 08, 2008 12:13 am
simonjhall wrote: |
It would really be best if manufacturers just didn't patch the binary if it had already been. The problem should be really be addressed directly... |
Or have an option to load without patching by using a different button. If you load a game on the CycloDS Evolution while holding Start, it skips the DLDI patching. So you can pre-patch the file for a slot-2 cart and either use that DLDI by holding Start or patch it witht he Evolution DLDI by loading normally.
...word is bondage...