示例#1
0
        public void Load()
        {
            // Extract the mmiof.bmf
            _mmiofPath = VariousFunctions.CreateTemporaryFile(VariousFunctions.GetTemporaryExtractionLocation());
            X360.STFS.STFSPackage package = new X360.STFS.STFSPackage(_saveStorage.SaveLocalPath, null);
            package.GetFile("mmiof.bmf").Extract(_mmiofPath);

            // Open the mmiof.bmf
            _campaignSave = new CampaignSave(_mmiofPath);

            // Update User Interface


            // Add Save to OpenSaves list
            Settings.OpenedSaves.Add(_saveStorage.USID);

            // Reload FATX Devices
            Settings.StartPage.LoadSavesFromDevices();
        }