コード例 #1
0
        public void Save()
        {
            if (_campaignSave != null && _mmiofPath != null)
            {
                // Save Campaign Save
                _campaignSave.Update(_mmiofPath);

                // Update STFS Package
                X360.STFS.STFSPackage package = new X360.STFS.STFSPackage(_saveStorage.SaveLocalPath, null);
                package.GetFile("mmiof.bmf").Replace(_mmiofPath);

                // Rehash/Resign Package

                // Do we need to do any FATX stuff?
                if (_saveStorage.IsSaveFromFATX)
                {
                    // Yes :(
                    _saveStorage.FATXDrive.Open();
                    CLKsFATXLib.File   saveFile   = _saveStorage.FATXDrive.FileFromPath(_saveStorage.FATXPath);
                    CLKsFATXLib.Folder saveFolder = saveFile.Parent;
                    string             fileName   = saveFile.Name;

                    // TODO: This
                }
            }
        }
コード例 #2
0
 public PartitionGeometry(CLKsFATXLib.Folder e)
 {
     InitializeComponent();
     CLKsFATXLib.Structs.PartitionInfo PI = e.PartitionInfo;
     propertyGrid1.SelectedObject = PI;
 }