I stated it once and I state it again (Wolfsclaw, I suggest quoting this in your original post, and possibly in your patch file)
DSTT users who encounter issues (corrupt/glitchy graphics, game not working, etc.) should do this:
1- First, patch the rom like normal. (I only tested it untrimmed. Don't worry, it'll trim it automatically later AND cheats will still work)
2- (Optional) You're now free to change the trainer music using another patch.
3- Then, grab the patched rom, and a clean rom. It gets a bit weird here..
4- Use an application like DSLazy (or anything else) that can
unpack and pack roms.
5- Unpack the patched rom first (to make things simpler).
Keep the two folders,
delete all the other files outside. After that, you should rename the folder (That contained all those files) to "patched" or something, because the next step will also give it the same name, just to avoid overwriting or anything)
6- Unpack the clean rom. It'll unpack into a folder named NDS_UNPACK (in my case, at least, as a DSLAzy user) like before, but this time, keep it.
I suggest keeping a copy of the unpacked clean rom, because you'll be doing this again for future patches. Just name the copy "clean" for now, and when the time comes, make a copy of that and name it "NDS_UNPACK". Or if you want things simpler, for future patches, keep the unpack clean rom, and when you unpack the patched rom into NDS_UNPACK, simply copy all the files - NOT THE FOLDERS - from the clean rom into the patched rom and pack it.
7-Now what you're gonna do is grab the 2 folders from the patched rom and put them in the clean rom (NDS_UNPACK for DSLazy users?). You ONLY need the folders changed; the other files should stay the same.
8- Now launch DSLazy again (or whatever you've been using) and there should be an option to pack a rom. Do it, and it'll look for DS_UNPACK (again, this is for DSLazy users. People who use something else might notice a difference) and pack the folder into the game.
9- Congrats! Things got complicated (not really, it only looks complicated, but you have to try it yourself), but now you can enjoy a TRIMMED game with WORKING CHEATS and hopefully NO GRAPHICAL ISSUES.
tl;dr: Patch UNTRIMMED normally, change music if you want to, grab a clean rom and the patched rom, unpack both using DSLazy or something else, copy the FOLDERS from the PATCHED rom and the FILES (bin and the other stuff) from the CLEAN rom and place them into a new folder, then use the same thing to pack that new folder into a new trimmed, working rom.
Again,
Wolfsclaw, please quote this into your original (first) post so that DSTT users can see it.