public void method_1() { List <Stream> list = new List <Stream>(); Stream stream = new MemoryStream(); KeyGenerator.smethod_1(new zzGenericNode1("tier", this.gh3Tier_0.method_3()).method_8(), stream, "TIR4AES4KEY9MXKR"); List <string> list2 = new List <string>(); List <StructurePointerNode> list3 = new List <StructurePointerNode>(); foreach (GH3Song current in this.gh3Tier_0.songs) { if (current.editable) { list3.Add(current.vmethod_5()); if (this.string_0 != null && File.Exists(this.string_0 + "songs\\" + current.name + "_song.pak.xen") && File.Exists(this.string_0 + "music\\" + current.name + ".dat.xen") && File.Exists(this.string_0 + "music\\" + current.name + ".fsb.xen")) { list2.Add(current.name + "_song.pak.xen"); list.Add(File.OpenRead(this.string_0 + "songs\\" + current.name + "_song.pak.xen")); list2.Add(current.name + ".dat.xen"); list.Add(File.OpenRead(this.string_0 + "music\\" + current.name + ".dat.xen")); list2.Add(current.name + ".fsb.xen"); list.Add(File.OpenRead(this.string_0 + "music\\" + current.name + ".fsb.xen")); } } } Stream stream2 = new MemoryStream(); KeyGenerator.smethod_1(new zzGenericNode1("songs", list3.ToArray()).method_8(), stream2, "SNG4AES4KEY9MXKR"); list2.Add("tier.info"); list.Add(stream); list2.Add("songs.info"); list.Add(stream2); ZIPManager.smethod_0(list2, this.string_1, "TGH9ZIP2PASS4MXKR", list.ToArray()); }
public void method_1() { List <Stream> fileStreamList = new List <Stream>(); Stream stream = new MemoryStream(); KeyGenerator.smethod_1(new zzGenericNode1("setlist", this.setlistToExport.method_6()).method_8(), stream, "SET4AES4KEY9MXKR"); List <string> fileNameList = new List <string>(); List <StructurePointerNode> list3 = new List <StructurePointerNode>(); foreach (GH3Tier current in this.setlistToExport.tiers) { foreach (GH3Song current2 in current.songs) { if (current2.editable) { list3.Add(current2.vmethod_5()); if (this.string_0 != null && File.Exists(this.string_0 + "songs\\" + current2.name + "_song.pak.xen") && File.Exists(this.string_0 + "music\\" + current2.name + ".dat.xen") && File.Exists(this.string_0 + "music\\" + current2.name + ".fsb.xen")) { fileNameList.Add(current2.name + "_song.pak.xen"); fileStreamList.Add(File.OpenRead(this.string_0 + "songs\\" + current2.name + "_song.pak.xen")); fileNameList.Add(current2.name + ".dat.xen"); fileStreamList.Add(File.OpenRead(this.string_0 + "music\\" + current2.name + ".dat.xen")); fileNameList.Add(current2.name + ".fsb.xen"); fileStreamList.Add(File.OpenRead(this.string_0 + "music\\" + current2.name + ".fsb.xen")); } } } } Stream stream2 = new MemoryStream(); KeyGenerator.smethod_1(new zzGenericNode1("songs", list3.ToArray()).method_8(), stream2, "SNG4AES4KEY9MXKR"); fileNameList.Add("setlist.info"); fileStreamList.Add(stream); fileNameList.Add("songs.info"); fileStreamList.Add(stream2); ZIPManager.smethod_0(fileNameList, this.saveLocation, "SGH9ZIP2PASS4MXKR", fileStreamList.ToArray()); }