static void ProcessRMCollectionInstall(RMCollection collection, string installPath, string sourcePath, string _namespace)
 {
     if (collection is RMAudioCollection)
     {
         Audio.InstallAudioCollection(installPath, sourcePath, collection as RMAudioCollection, _namespace);
     }
     else if (collection is RMDataCollection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Data, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMAnimationCollection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Animation, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMBattleBacks1_Collection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.BattleBacks_1, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMBattleBacks2_Collection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.BattleBacks_2, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMParallaxCollection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Parallax, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMPictureCollection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Pictures, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMSysImageCollection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.System, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMTitles1_Collection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Titles_1, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMTitles2_Collection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Titles_2, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMPluginsCollection)
     {
         SingleFile.InstallSingleFileCollection(installPath, sourcePath, RMSingleFileCollection.CollectionType.Plugins, collection as RMSingleFileCollection, _namespace);
     }
     else if (collection is RMCharImageCollection)
     {
         Characters.InstallCharacters(installPath, sourcePath, collection as RMCharImageCollection, _namespace);
     }
     else if (collection is RMTilesetCollection)
     {
         Tilesets.InstallTileset(installPath, sourcePath, collection as RMTilesetCollection, _namespace);
     }
     else if (collection is RMMovieCollection)
     {
         Movies.InstallMovie(installPath, sourcePath, collection as RMMovieCollection, _namespace);
     }
 }