public void IsoConstructorTest() { var CsoName = "../../../TestInput/test.cso"; var Cso = new Cso(File.OpenRead(CsoName)); var Iso = new IsoFile(new CompressedIsoProxyStream(Cso), CsoName); var ContentNode = Iso.Root.Locate("path/content.txt"); var Lines = ContentNode.Open().ReadAllContentsAsString().Split('\n'); foreach (var Line in Lines) { Iso.Root.Locate(Line); } }
internal IsoNode(IsoFile Iso, DirectoryRecord directoryRecord, string name = "", IsoNode parent = null) { this.Iso = Iso; this._Parent = parent; this.DirectoryRecord = directoryRecord; if (parent != null) { this.FullPath = parent.FullPath + "/" + name; } else { this.FullPath = name; } this.Name = name; //writefln("%s", this.fullPath); }
public HleIoDriverIso(IsoFile Iso) { this.Iso = Iso; }