#137507 - Nphinity - Sun Aug 12, 2007 8:12 pm
Hello,
So I have an R4, and an SC Lite. I wanted to be able to put my music files on the SC Lite, and auto launch in to a music player(lmp-ng)[which has to be done on the R4] yet play the files off the SC Lite.
So I patched lmp-ng with the DLDI for the SC and put it on the R4, and that worked. That is until they released the Auto-patch DLDI "firm"ware.
The auto-patcher patches it for the R4, even though I don't want it to. So with some tips from Chishm, I made a patcher that will prevent a DLDI patched rom from getting re-DLDI patched.
If anyone is interested in it, or interested in hosting it, let me know.
Here is a copy of the the patcher(zShare):
http://www.zshare.net/download/310641346e3f58/
If you want to mirror it, feel free.
Last edited by Nphinity on Sun Aug 12, 2007 9:44 pm; edited 1 time in total
#137510 - Wuschmaster - Sun Aug 12, 2007 9:17 pm
Oh, I'm interested in it.
#137514 - Diddl - Sun Aug 12, 2007 9:31 pm
I also!
#137517 - Nphinity - Sun Aug 12, 2007 9:44 pm
K, I'll post a link to it in the original post in a minute then.
#137531 - dantheman - Mon Aug 13, 2007 1:19 am
Here's a mirror: http://dannysied.googlepages.com/dldino-patch.7z
In any case, this alleviates the one fear I had about DLDI autopatching, so thank you for the program (even if it doesn't affect me personally with my slot-2 Supercard).
#137600 - Dood77 - Mon Aug 13, 2007 9:44 pm
Does this work with all auto-patchers, and not just with R4?
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.
Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC
#137604 - calcprogrammer1 - Mon Aug 13, 2007 10:35 pm
I'd like to see a libfat that supports 2 DLDI's at once, 2 is all you'd need, one for SLOT 1 and one for SLOT 2, I don't mind because my GBAMP is native compatible, but for newer SLOT 2's. I'm working on a DS File Browser that supports copying between both slots and it'd be nice to have a dual DLDI for people with 2 DLDI only cards.
_________________
DS Firmware 1, Datel Games n' Music card / Chism's FW hacked GBA MP v2 CF
There's no place like 127.0.0.1.
#137651 - psychowood - Tue Aug 14, 2007 12:18 pm
Hi Nphinity,
I took your idea and compiled it in a command line tool that enable/disable dldi (just edited the patch itself, it writes "NOAP Chishm" instead of "\0\0\0\0 Chishm", easier to work with in C code), if the files is DLDI enabled it'll be disabled, and if the file isn't DLDI enabled look for the patched DLDI header and, if found, rolls back the patch.
You can find it here (source included), I needed a command line version to integrate with DLDIrc (just updated, credits to you, of course). :)
_________________
DLDIrc Developer
Last edited by psychowood on Tue Aug 14, 2007 5:16 pm; edited 1 time in total
#137656 - Diddl - Tue Aug 14, 2007 2:16 pm
[quote="calcprogrammer1"]I'd like to see a libfat that supports 2 DLDI's at once, 2 is all you'd need, one for SLOT 1 and one for SLOT 2/quote]
YES!
I also!
#137685 - Sweater Fish Deluxe - Tue Aug 14, 2007 7:44 pm
I think everyone would like to see an updated libfat with support for two DLDI drivers. I hope it's at least planned. Chishm said it would be easy. I guess the only sticking point would be to make sure the new system remains compatible with the older patchers since so many cards no have autopatchers built into their menu and you wouldn't want to break compatibility with those. Shouldn't be too difficult, though.
And yes, this patching method works for all cards that have autopatching, not just the R4.
...word is bondage...
#137705 - josath - Tue Aug 14, 2007 9:37 pm
it is very easy to do...i just did it in about 15 minutes. downside: requires new libfat == recompiling homebrew with new libfat, also requires a new dlditool. also it uses an additional 32KB of space (for the second dldi section), but that's not too bad i guess.
I'll post the changes when I get a chance to test it (I don't have both a slot-1 & slot-2 device with me right now, but i will later).
#137757 - tepples - Wed Aug 15, 2007 1:10 pm
josath wrote: |
it is very easy to do...i just did it in about 15 minutes. downside: requires new libfat == recompiling homebrew with new libfat |
Which of course would happen automatically if such changes make it into the version of libfat that is current when wintermute announces a devkitARM upgrade. Besides, I can't think of anything that would really need a dual DLDI other than file managers, and some popular file managers are still maintained.
Quote: |
also requires a new dlditool. also it uses an additional 32KB of space (for the second dldi section) |
How many DLDIs are over 16 KiB, other than perhaps the G6? Besides, counting kilobytes isn't as necessary on a machine with 2 slots (and 4096 KiB of EWRAM) as it is on a machine with 1 slot (and 256 KiB of EWRAM).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#137805 - Dood77 - Wed Aug 15, 2007 8:59 pm
...RAID?
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.
Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC
#137866 - Sweater Fish Deluxe - Thu Aug 16, 2007 8:52 pm
Yeah, I can't see 32K being a problem on the DS. However, to be absolutely safe, wouldn't it be possible to include a define or some such thing that developers could use if they wanted to only have one DLDI space in case they're worried about space?
...word is bondage...
#138098 - Nphinity - Sun Aug 19, 2007 8:31 pm
Actually, this patch came, due to DLDI not supporting both slots. Origionally I wanted to be able to read from both cards with lmp-ng so I could have more space for my music.
But since that wasn't doable I just decided to use the bottom slot for music storage only, and in turn needed a patch like this to deal with the auto-patching.
Glad to hear it's helping some folks, and even gladder (what? gladder is an actual word?!) that it's helped to stir up conversation about dual DLDI.
Thanks to you guys contributing to work on other patchers and and the general advancement of DLDI.