FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   i'am fusion (https://fileforums.com/showthread.php?t=98768)

rinaldo 26-01-2017 03:15

i'am fusion
 
1 Attachment(s)
because arc is saved and precompress no, maybe I'm Fried :confused:

Code:

using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using System.Linq;
using System.Xml.Linq;

namespace WindowsApplication1
{
        public partial class Form1
        {
                public Form1()
                {
                        InitializeComponent();
                }

                private void Button1_Click(object sender, System.EventArgs e)
                {
                        string sa = "\\*";
                        if (FolderBrowserDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                        {
                                TextBox1.Text = FolderBrowserDialog1.SelectedPath + sa;
                        }
                }

                private void Button2_Click(object sender, System.EventArgs e)
                {
                        SaveFileDialog saveFileDialog1 = new SaveFileDialog();
                        saveFileDialog1.DefaultExt = "arc";
                        saveFileDialog1.Filter = "Archives Arc  (*.arc) |*.arc|Archives Bin (*.bin)|*.bin\"";
                        saveFileDialog1.FileName = "Data1.arc";
                        saveFileDialog1.FilterIndex = 1;
                        saveFileDialog1.CheckFileExists = false;
                        saveFileDialog1.RestoreDirectory = false;
                        saveFileDialog1.CheckPathExists = true;
                        if (saveFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                        {
                                TextBox2.Text = saveFileDialog1.FileName;
                        }
                }

                private void Form1_Load(object sender, System.EventArgs e)
                {
                        RadioButton1.Checked = true;
                }

                private void BackgroundWorker1_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
                {

                        string Arc = "a -ep1 -r -lc1024 -ld1024 -mt0 -w./ -mx";
                        string SrepPrecomp = "a -ep1 -r -lc1024 -ld1024 -mt0 -w./ -mprecomp+srep+exe+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000:lc8";

                        if (RadioButton1.Checked == true)
                        {
                                Process.Start("bin\\arc", " " + Arc + " " + '\"' + TextBox2.Text + '\"' + " " + '\"' + TextBox1.Text + '\"' + " ").WaitForExit();
                        }
                        else
                        {
                                Process.Start("bin\\arc", " " + SrepPrecomp + " " + '\"' + TextBox2.Text + '\"' + " " + '\"' + TextBox1.Text + '\"' + " ").WaitForExit();
                        }

                        MessageBox.Show("Done!", "Compressor", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                }

                private void Button3_Click(object sender, System.EventArgs e)
                {
                        //If BackgroundWorker1.IsBusy <> True Then
                        // Start the asynchronous operation.
                        BackgroundWorker1.RunWorkerAsync();
                        //End If
                }

                private static Form1 _DefaultInstance;
                public static Form1 DefaultInstance
                {
                        get
                        {
                                if (_DefaultInstance == null)
                                        _DefaultInstance = new Form1();

                                return _DefaultInstance;
                        }
                }
        }

}



code by vbnet2010

felice2011 26-01-2017 04:52

Si capisce solo che sei fuso, cosa vuol dire Arc si salva e precompress No.:confused:

I do not understand the question at problem...:confused:

rinaldo 26-01-2017 05:27

Quote:

Originally Posted by felice2011 (Post 455481)
Si capisce solo che sei fuso, cosa vuol dire Arc si salva e precompress No.:confused:

I do not understand the question at problem...:confused:


che salva solo usando arc.exe senza combinarlo con altri compressori (srep-precomp) questo dai test fatti con questi 2 tool.. il bello che lo fa anche se uso tool di altri (escluso il tuo ovviamnete) ma! che no mi piace (anche se è un futuro avanti a molti)


saves only using arc without combining with other tools

felice2011 26-01-2017 06:42

Fammi capire tu vuoi comprimere usando compressori singoli senza il supporto di Arc, quindi 7z, rar, nanozip, precomp...le varie versioni, packet, lz4, zcm etc.

Let me understand you want to compress using individual compressors without the support of Arc ?


All times are GMT -7. The time now is 00:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com