private void LoadME2FilesList()
        {
            var me2files = new List <BackupFile>();

            var bup = Utilities.GetGameBackupPath(Mod.MEGame.ME2);

            if (bup != null)
            {
                var target     = new GameTarget(Mod.MEGame.ME2, bup, false);
                var cookedPath = MEDirectories.CookedPath(target);
                foreach (var f in Extensions.GetFiles(cookedPath, @"\.pcc|\.tfc|\.afc|\.bin|\.tlk", SearchOption.AllDirectories))
                {
                    me2files.Add(new BackupFile(@"BASEGAME", Path.GetFileName(f)));
                }

                var dlcDir      = MEDirectories.DLCPath(target);
                var officialDLC = VanillaDatabaseService.GetInstalledOfficialDLC(target);
                foreach (var v in officialDLC)
                {
                    var cookedDLCPath = Path.Combine(dlcDir, v, @"CookedPC");
                    if (Directory.Exists(cookedDLCPath))
                    {
                        foreach (var f in Directory.EnumerateFiles(cookedDLCPath, @"*.pcc", SearchOption.TopDirectoryOnly))
                        {
                            me2files.Add(new BackupFile(v, Path.GetFileName(f)));
                        }
                    }
                }
            }
            Application.Current.Dispatcher.Invoke(delegate
            {
                ME2Files.ReplaceAll(me2files);
            });
            Debug.WriteLine(@"Num ME2 files: " + ME2Files.Count);
        }
        public override void OnPanelVisible()
        {
            var db = VanillaDatabaseService.LoadDatabaseFor(Mod.MEGame.ME1, false);

            ME1Files.ReplaceAll(getDBItems(db));
            db = VanillaDatabaseService.LoadDatabaseFor(Mod.MEGame.ME2, false);
            ME2Files.ReplaceAll(getDBItems(db));
            db = VanillaDatabaseService.LoadDatabaseFor(Mod.MEGame.ME3, false);
            ME3Files.ReplaceAll(getDBItems(db));

            LoadingInProgress   = false;
            ME1FilesView.Filter = FilterBackupFilesME1;
            ME2FilesView.Filter = FilterBackupFilesME2;
            ME3FilesView.Filter = FilterBackupFilesME3;
        }