public BannerFile(Filesystem parent, Directory parentDir, File headerFile) : base(parent, parentDir, -9, "banner.bin", headerFile, 0x68, 0, true) { endFile = null; fileSizeP = 0x840; refreshOffsets(); }
public File(Filesystem parent, Directory parentDir, string name, int id) { this.parentP = parent; this.parentDirP = parentDir; this.nameP = name; this.idP = id; }
public Directory(Filesystem parent, Directory parentDir, bool system, string name, int id) { this.parent = parent; this.parentDirP = parentDir; this.isSystemFolderP = system; this.nameP = name; this.idP = id; }
public PhysicalFile(Filesystem parent, Directory parentDir, int id, string name, int alBeg, int alSize) : base(parent, parentDir, name, id) { this.fileBeginP = alBeg; this.fileSizeP = alSize; this.canChangeOffset = false; this.canChangeSize = false; refreshOffsets(); }
public PhysicalFile(Filesystem parent, Directory parentDir, int id, string name, File alFile, int alBeg, int alEnd) : base(parent, parentDir, name, id) { this.beginFile = alFile; this.endFile = alFile; this.beginOffset = alBeg; this.endOffset = alEnd; refreshOffsets(); }
public FilesystemBrowserDialog(Filesystem fs) { InitializeComponent(); this.MdiParent = MdiParentForm.instance; LanguageManager.ApplyToContainer(this, "FilesystemBrowserDialog"); this.fs = fs; filesystemBrowser1.Load(fs); this.Icon = Properties.Resources.nsmbe; }
public new void Load(Filesystem fs) { this.fs = fs; extractFileDialog.Filter = LanguageManager.Get("Filters", "all"); replaceFileDialog.Filter = LanguageManager.Get("Filters", "all"); TreeNode main = new TreeNode(fs.mainDir.name, 0, 0); main.Tag = fs.mainDir; loadDir(main, fs.mainDir); fileTreeView.Nodes.Clear(); fileTreeView.Nodes.Add(main); main.Expand(); }
public FileWithLock(Filesystem parent, Directory parentDir, string name, int id) : base(parent, parentDir, name, id) { }
public PhysicalFile(Filesystem parent, Directory parentDir, string name) : base(parent, parentDir, name, -1) { }
public HeaderFile(Filesystem parent, Directory parentDir) : base(parent, parentDir, -8, "header.bin", 0, 0x4000) { }