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_0() { byte[] byte_; ZIPManager.smethod_3(this.string_1, out byte_, "songs.info", "TGH9ZIP2PASS4MXKR"); zzGenericNode1 @class = new zzGenericNode1("songs", KeyGenerator.smethod_8(byte_, "SNG4AES4KEY9MXKR")); foreach (StructurePointerNode class302_ in @class.Nodes) { GH3Song gH3Song = new GH3Song(class302_); gH3Song.editable = true; this.gh3Songlist_0.method_0(gH3Song, this.string_0 != null); } ZIPManager.smethod_3(this.string_1, out byte_, "tier.info", "TGH9ZIP2PASS4MXKR"); this.gh3Tier_0.method_1(new GH3Tier((StructureHeaderNode) new zzGenericNode1("tier", KeyGenerator.smethod_8(byte_, "TIR4AES4KEY9MXKR")).Nodes[0], this.gh3Songlist_0)); if (this.string_0 != null) { List <string> list = new List <string>(); List <string> list2 = new List <string>(); foreach (GH3Song current in this.gh3Tier_0.songs) { if (current.editable) { list.Add(current.name + "_song.pak.xen"); list2.Add(this.string_0 + "songs\\" + current.name + "_song.pak.xen"); list.Add(current.name + ".dat.xen"); list2.Add(this.string_0 + "music\\" + current.name + ".dat.xen"); list.Add(current.name + ".fsb.xen"); list2.Add(this.string_0 + "music\\" + current.name + ".fsb.xen"); } } ZIPManager.smethod_11(this.string_1, list2, list, "TGH9ZIP2PASS4MXKR"); } }
public static void smethod_0() { if (QbSongClass1.bool_0) { return; } QbSongClass1.smethod_1(new MemoryStream(ZIPManager.smethod_5(KeyGenerator.cryptoMethod(Assembly.GetExecutingAssembly().GetManifestResourceStream("NeversoftTools.NSTreeView.nstags.aes"), "MinimizedNSTags1245"), "nstags.ids"))); QbSongClass1.bool_0 = true; }
public static byte[] smethod_0(string string_1) { return(ZIPManager.smethod_5(KeyGenerator.cryptoMethod(Assembly.GetExecutingAssembly().GetManifestResourceStream(string.Concat(new object[] { "GHTCP.FileDB.QBS.", zzQbScriptZipperClass.GameName, '.', string_1 })), "MinimizedScript1f2g4h"), string_1 + ".qbs")); }
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()); }
public static byte[] smethod_2(string string_1) { return(ZIPManager.smethod_5(KeyGenerator.cryptoMethod(Assembly.GetExecutingAssembly().GetManifestResourceStream("GHTCP.FileDB.QB." + string_1), "MinimizedQBFile4f4g9h"), string_1 + ".qb")); }