Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29
I just noticed that FT compiler does not try to remove patterns if they has 100% matching copy. This often happens when you create new frames and use copy/paste. I create completely new frames and copy all the channels in case I may need to make minor changes later, to prevent accidental changes of some pattern that is used somewhere else. This leads to noticeably larger data size after compilation. It does not matter much for NSF compiler, but if you want to make a NES program using FT player with large amount of music, this is a problem.
So, it would be very nice to have 'remove matching patterns' feature in some form, maybe as editor function, or just as an additional compile stage.
As I need this feature now, I've made a custom build (with Trial version, any attempts to use free versions + adding MFC has failed) for personal use. I've added [url=http://codepaste.net/p6k46u]this code into CFamiTrackerDoc::OnEditRemoveUnusedPatterns, before the cleanup loop.