Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 private void Aio_2_Click(object sender, EventArgs e)
 {
     Tex.UnpackFull_D(inputdir, outputdir, rework_pic);
 }
Exemplo n.º 4
0
 private void buttonDecompressMT_Click(object sender, EventArgs e)
 {
     Tex.LzssDir(1, inputdir, outputdir);
 }
Exemplo n.º 5
0
 private void buttonUnpack_Click(object sender, EventArgs e)
 {
     Tex.Unpack(inputfile, outputdir);
 }
Exemplo n.º 6
0
 private void Aio_4_Click(object sender, EventArgs e)
 {
     Tex.RepackFull_D(inputdir, outputdir, rework_pic, rework_lzss);
 }