As some of you may be aware the arm7 binary of the DS rom contains the "copy protection" code, is also the same for a large selection of roms meaning that you can swap out a unpatchable arm7.bin for and older patchable version should your cart of choice not have an update to cope with the new protection.
Rather than mess around with DSBuff/DSLazy I figured I would beat my ndstool batch files into something that would do it for you.
I am in a bit of rush so it will be the definition of quick and dirty (the clean up sections were quite literally tacked on in about 10 seconds), it does however work (and it does not need .net either).
To use, first here is the batch file code:
Edit: updated the batch file.
Have the rom you want to donate from called donate.nds and the rom to be swapped called swap.nds (I will sort this later so you can have whatever you want and I might even make a GUI) in the same directory and ndstool and the batch file.
Run it and up will spring a file called finished.nds, use this file as usual.
Some of you may not have used a batch file before, if so:
Copy that into notepad and save with the extension .bat
Take this new .bat file and place it in an empty directory along with the rom that is donating the ARM7.bin (named donate.nds), the one that is getting it (swap.nds) and ndstool.
If you do not have a copy of ndstool here is the one I use:
http://www.4shared.com/file/2170119/a40ec269/ndstool.html
Here is darkfader's mirror:
http://darkfader.net/ds/
Here is devkitpro (the package the tool originally comes from):
http://www.devkitpro.org/downloads/
Rather than mess around with DSBuff/DSLazy I figured I would beat my ndstool batch files into something that would do it for you.
I am in a bit of rush so it will be the definition of quick and dirty (the clean up sections were quite literally tacked on in about 10 seconds), it does however work (and it does not need .net either).
To use, first here is the batch file code:
Edit: updated the batch file.
Code:
ndstool -x donate.nds -7 arm7new.bin
ndstool -x swap.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin
copy arm7new.bin arm7.bin /y
ndstool -c finished.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin
rmdir data\ /S/Q
rmdir overlay\ /S/Q
del *.bin
Have the rom you want to donate from called donate.nds and the rom to be swapped called swap.nds (I will sort this later so you can have whatever you want and I might even make a GUI) in the same directory and ndstool and the batch file.
Run it and up will spring a file called finished.nds, use this file as usual.
Some of you may not have used a batch file before, if so:
Copy that into notepad and save with the extension .bat
Take this new .bat file and place it in an empty directory along with the rom that is donating the ARM7.bin (named donate.nds), the one that is getting it (swap.nds) and ndstool.
If you do not have a copy of ndstool here is the one I use:
http://www.4shared.com/file/2170119/a40ec269/ndstool.html
Here is darkfader's mirror:
http://darkfader.net/ds/
Here is devkitpro (the package the tool originally comes from):
http://www.devkitpro.org/downloads/