Exemple #1
0
        private void importInGameButton_Click(object sender, EventArgs e)
        {
            //Exports the archive (unityEX export "S:\SteamGAEMS\SteamApps\common\LLBlaze\Bundles\characters\mainmodels" -t tex)
            //Create the textures folder and put the file in there renaming it to an appropriate filename
            //Repack the archive

            if (filenames == null || filenames[0] == "")
            {
                MessageBox.Show("Wrong texture file", "Texture file error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else
            {
                foreach (string file in filenames)
                {
                    UnityEXController.PlaceFile(gameDir, file, skinListBox.SelectedItem.ToString());
                }
                UnityEXController.ZipArchive(gameDir, keepConsoleCheckBox.CheckState == CheckState.Checked);
                Thread.Sleep(5000);
                MessageBox.Show("Completed successfully, your skin(s) are now in the game \n ...probably, this message doesn't know shit, it's just for show", "Done!", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Exemple #2
0
 private void unzipButton_Click(object sender, EventArgs e)
 {
     UnityEXController.UnzipArchive(gameDir, keepConsoleCheckBox.CheckState == CheckState.Checked);
     openTextureButton.Enabled = true;
 }