I improved the batch file (forgot somehow that a full disassembly was not needed for the donor).
you mean you read what i had done in mine like 3+ months ago?
and ive already made a gui version too =/
http://m3.omgrofl.com
im failing to see why you are reinventing the wheel
but while you are... why dont you just do this
CODEndstool -x donate.nds -7 arm7.bin
ndstool -x swap.nds -9 arm9.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin
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