private void buttonRepack_Click(object sender, EventArgs e) { string oribin = inputfile; string workingdir = Path.GetDirectoryName(inputfile); string unpack = workingdir + "\\unpack\\"; string decompress = workingdir + "\\decompress\\"; string newbin = inputfile + "_new"; Tex.Repack(unpack, decompress, newbin, oribin); }
private void Aio_3_Click(object sender, EventArgs e) { string workingdir = inputdir; string unpackdir = workingdir + "\\unpack\\"; string decompressdir = workingdir + "\\decompress\\"; string pngdir = workingdir + "\\png\\"; string oribin = workingdir + "\\" + Path.GetFileName(workingdir) + ".bin"; string outputfile = oribin + "_new"; Tex.RepackFull(pngdir, decompressdir, unpackdir, oribin, outputfile, rework_pic, rework_lzss); }
private void Aio_2_Click(object sender, EventArgs e) { Tex.UnpackFull_D(inputdir, outputdir, rework_pic); }
private void buttonDecompressMT_Click(object sender, EventArgs e) { Tex.LzssDir(1, inputdir, outputdir); }
private void buttonUnpack_Click(object sender, EventArgs e) { Tex.Unpack(inputfile, outputdir); }
private void Aio_4_Click(object sender, EventArgs e) { Tex.RepackFull_D(inputdir, outputdir, rework_pic, rework_lzss); }