Delete BMTune_Packer directory
This commit is contained in:
parent
160e7948b1
commit
cc7c010c61
Binary file not shown.
Before Width: | Height: | Size: 97 KiB |
|
@ -1,87 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{2BA666B0-971C-4500-AAF4-71F12EB4DD98}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>BMTune_Uploader</RootNamespace>
|
||||
<AssemblyName>BMTune PACKER</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>BMTune_Logo_128x28.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject>BMTune_Uploader.Program</StartupObject>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="BMTune_Logo_128x28.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -1,296 +0,0 @@
|
|||
namespace BMTune_Uploader
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <summary>
|
||||
/// Variable nécessaire au concepteur.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Nettoyage des ressources utilisées.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true si les ressources managées doivent être supprimées ; sinon, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Code généré par le Concepteur Windows Form
|
||||
|
||||
/// <summary>
|
||||
/// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
|
||||
/// le contenu de cette méthode avec l'éditeur de code.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.progressBar2 = new System.Windows.Forms.ProgressBar();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.progressBar3 = new System.Windows.Forms.ProgressBar();
|
||||
this.txtBuildVersion = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 269);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(353, 25);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "DONE !!";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.progressBar1.Location = new System.Drawing.Point(0, 321);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(353, 11);
|
||||
this.progressBar1.TabIndex = 1;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.ForeColor = System.Drawing.Color.Navy;
|
||||
this.button1.Location = new System.Drawing.Point(7, 48);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(149, 25);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "Encrypt BMTune";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.Button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.ForeColor = System.Drawing.Color.Blue;
|
||||
this.button2.Location = new System.Drawing.Point(6, 3);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(149, 25);
|
||||
this.button2.TabIndex = 3;
|
||||
this.button2.Text = "Encrypt Starter";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.Button2_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(6, 57);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(149, 25);
|
||||
this.button3.TabIndex = 4;
|
||||
this.button3.Text = "Open Project .sln";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.Button3_Click);
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox1.Location = new System.Drawing.Point(164, 48);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ReadOnly = true;
|
||||
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.textBox1.Size = new System.Drawing.Size(189, 203);
|
||||
this.textBox1.TabIndex = 5;
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.ForeColor = System.Drawing.Color.Red;
|
||||
this.button4.Location = new System.Drawing.Point(32, 84);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(94, 25);
|
||||
this.button4.TabIndex = 6;
|
||||
this.button4.Text = "Clear Logs";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.Button4_Click);
|
||||
//
|
||||
// progressBar2
|
||||
//
|
||||
this.progressBar2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.progressBar2.Location = new System.Drawing.Point(0, 310);
|
||||
this.progressBar2.Name = "progressBar2";
|
||||
this.progressBar2.Size = new System.Drawing.Size(353, 11);
|
||||
this.progressBar2.TabIndex = 7;
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Checked = true;
|
||||
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox1.Location = new System.Drawing.Point(29, 139);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(95, 17);
|
||||
this.checkBox1.TabIndex = 8;
|
||||
this.checkBox1.Text = "Do All at Once";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1_CheckedChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(3, 116);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(74, 13);
|
||||
this.label2.TabIndex = 9;
|
||||
this.label2.Text = "Build Solution:";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(85, 113);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(30, 20);
|
||||
this.textBox2.TabIndex = 10;
|
||||
this.textBox2.Text = "15";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(122, 116);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(31, 13);
|
||||
this.label3.TabIndex = 11;
|
||||
this.label3.Text = "times";
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.ForeColor = System.Drawing.Color.Green;
|
||||
this.button5.Location = new System.Drawing.Point(6, 30);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(149, 25);
|
||||
this.button5.TabIndex = 12;
|
||||
this.button5.Text = "Build Solution";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.Button5_Click);
|
||||
//
|
||||
// progressBar3
|
||||
//
|
||||
this.progressBar3.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.progressBar3.Location = new System.Drawing.Point(0, 299);
|
||||
this.progressBar3.Name = "progressBar3";
|
||||
this.progressBar3.Size = new System.Drawing.Size(353, 11);
|
||||
this.progressBar3.TabIndex = 13;
|
||||
//
|
||||
// txtBuildVersion
|
||||
//
|
||||
this.txtBuildVersion.Location = new System.Drawing.Point(98, 79);
|
||||
this.txtBuildVersion.Name = "txtBuildVersion";
|
||||
this.txtBuildVersion.Size = new System.Drawing.Size(49, 20);
|
||||
this.txtBuildVersion.TabIndex = 15;
|
||||
this.txtBuildVersion.Text = "V1.73.4";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(16, 82);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(71, 13);
|
||||
this.label4.TabIndex = 14;
|
||||
this.label4.Text = "Build Version:";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(13, 16);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(51, 13);
|
||||
this.label5.TabIndex = 16;
|
||||
this.label5.Text = "Location:";
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Location = new System.Drawing.Point(69, 13);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.Size = new System.Drawing.Size(272, 20);
|
||||
this.textBox3.TabIndex = 17;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.button3);
|
||||
this.panel1.Controls.Add(this.button4);
|
||||
this.panel1.Controls.Add(this.checkBox1);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.textBox2);
|
||||
this.panel1.Controls.Add(this.button5);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Location = new System.Drawing.Point(3, 107);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(158, 159);
|
||||
this.panel1.TabIndex = 18;
|
||||
this.panel1.Visible = false;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(353, 332);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.textBox3);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.txtBuildVersion);
|
||||
this.Controls.Add(this.progressBar3);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.progressBar2);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "Form1";
|
||||
this.Text = "BMTune Encrypter/Obfuscator";
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ProgressBar progressBar1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.ProgressBar progressBar2;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.ProgressBar progressBar3;
|
||||
private System.Windows.Forms.TextBox txtBuildVersion;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,725 +0,0 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace BMTune_Uploader
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
private string pathStarterProject = "";
|
||||
private string pathBM = "";
|
||||
private string pathStarter = "";
|
||||
private string pathVersion = "";
|
||||
private string pathInstaller = "";
|
||||
private string projectName = @"BMTune_Starter";
|
||||
//private string pathSave = "";
|
||||
private string pathObj = "";
|
||||
private string pathStarterSource = "";
|
||||
private string pathCryptor = "";
|
||||
private string pathAppCryptor = "";
|
||||
|
||||
//private string msbuild_path = @"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe";
|
||||
private string msbuild_path = @"C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe";
|
||||
|
||||
private bool Loading = false;
|
||||
private System.Windows.Forms.Timer LoadTimer = new System.Windows.Forms.Timer();
|
||||
//private byte[] AllByte = new byte[] { };
|
||||
|
||||
private int EncryptedCount = 0;
|
||||
private bool BMTuneDo = false;
|
||||
|
||||
//refer to 'FCID1.txt'
|
||||
private int NumberOfUnpackFiles = 16;
|
||||
private int MAXNumberOfUnpackFiles = 64;
|
||||
private int CurrentFile = 1;
|
||||
|
||||
private FileStream fileStream_0;
|
||||
private BinaryReader binaryReader_0;
|
||||
|
||||
//refer to BMTune.exe being Starter (how much time we repack starter)
|
||||
private int NumberPackedStarted = 5;
|
||||
private bool DoAllAtOnce = true;
|
||||
|
||||
//Encryption
|
||||
private int EncryptEnd = 126;
|
||||
private int Encrypt1 = 11;
|
||||
private int Encrypt2 = 33;
|
||||
private int Encrypt3 = 48;
|
||||
private int Encrypt4 = 66;
|
||||
private int Encrypt5 = 80;
|
||||
|
||||
private int Encrypt6 = 1;
|
||||
|
||||
private DateTime BufferTime = DateTime.Now;
|
||||
|
||||
Random rnd = new Random();
|
||||
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
string FolderLocation = Application.StartupPath;
|
||||
FolderLocation = Path.GetDirectoryName(FolderLocation);
|
||||
FolderLocation = Path.GetDirectoryName(FolderLocation);
|
||||
|
||||
textBox3.Text = FolderLocation;
|
||||
textBox2.Text = NumberPackedStarted.ToString();
|
||||
|
||||
//label1.Visible = false;
|
||||
label1.Text = "";
|
||||
NumberOfUnpackFiles = rnd.Next(27, MAXNumberOfUnpackFiles);
|
||||
|
||||
LoadLocations();
|
||||
|
||||
EncryptEnd = rnd.Next(43, 217); //126;
|
||||
Encrypt1 = rnd.Next(7, 17); //11;
|
||||
Encrypt2 = rnd.Next(18, 36); //33;
|
||||
Encrypt3 = rnd.Next(37, 56); //48;
|
||||
Encrypt4 = rnd.Next(57, 74); //66;
|
||||
Encrypt5 = rnd.Next(75, 99); //80;
|
||||
|
||||
Encrypt6 = rnd.Next(1, MAXNumberOfUnpackFiles - 1); //80;
|
||||
|
||||
LoadTimer.Interval = 500;
|
||||
LoadTimer.Tick += LoadingThread;
|
||||
LoadTimer.Start();
|
||||
|
||||
progressBar1.Value = 0;
|
||||
progressBar2.Value = 0;
|
||||
progressBar3.Value = 0;
|
||||
|
||||
if (File.Exists(pathVersion))
|
||||
{
|
||||
double CurrentVersion = double.Parse(File.ReadAllText(pathVersion).Substring(1).Replace(".", ""));
|
||||
if (CurrentVersion > 1000) CurrentVersion = CurrentVersion / 10;
|
||||
txtBuildVersion.Text = "V" + CurrentVersion.ToString().Substring(0, 1) + "." + CurrentVersion.ToString().Substring(1).Replace(",", ".");
|
||||
}
|
||||
else
|
||||
{
|
||||
LogThis("CAN'T Load Version.txt");
|
||||
LogThis("File not existant at path:");
|
||||
LogThis(pathVersion);
|
||||
}
|
||||
//Loading = true;
|
||||
}
|
||||
|
||||
void LoadLocations()
|
||||
{
|
||||
pathStarterProject = textBox3.Text + @"\BMTune.sln";
|
||||
pathBM = textBox3.Text + @"\bin\Debug\BMTune.exe";
|
||||
pathStarter = textBox3.Text + @"\bin\Debug\Starter\BMTune.exe";
|
||||
pathVersion = textBox3.Text + @"\bin\Debug\Starter\Version.txt";
|
||||
pathInstaller = textBox3.Text + @"\bin\Debug\Starter\Setup_Installer\setup.iss";
|
||||
projectName = @"BMTune_Starter";
|
||||
//pathSave = textBox3.Text + @"\BMTune_Starter\FCID";
|
||||
pathObj = textBox3.Text + @"\BMTune_Starter\obj";
|
||||
pathStarterSource = textBox3.Text + @"\BMTune_Starter\";
|
||||
//pathCryptor = textBox3.Text + @"\BMTune_Encrypter\bin\Debug\BMFuscator.exe";
|
||||
//pathCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Encrypter\bin\Debug\BMFuscator.exe";
|
||||
pathCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\Krawk-Protector-master\bin\Debug\BM Protector.exe";
|
||||
pathAppCryptor = textBox3.Text + @"\AppCryptor\bin\Debug\AppCryptor.exe";
|
||||
}
|
||||
|
||||
void LoadCryptedLocation()
|
||||
{
|
||||
pathStarterProject = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\BMTune.sln";
|
||||
pathBM = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\BMTune.exe";
|
||||
pathStarter = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\Starter\BMTune.exe";
|
||||
pathVersion = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\Starter\Version.txt";
|
||||
pathInstaller = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\Starter\Setup_Installer\setup.iss";
|
||||
projectName = @"BMTune_Starter";
|
||||
//pathSave = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\BMTune_Starter\FCID";
|
||||
pathObj = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\BMTune_Starter\obj";
|
||||
pathStarterSource = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\BMTune_Starter\";
|
||||
//pathCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\BMTune_Encrypter\bin\Debug\BMFuscator.exe";
|
||||
//pathAppCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\AppCryptor\bin\Debug\AppCryptor.exe";
|
||||
|
||||
}
|
||||
|
||||
void LoadingThread(object sender, EventArgs e)
|
||||
{
|
||||
if (Loading)
|
||||
{
|
||||
Loading = false;
|
||||
|
||||
//Save version
|
||||
if (File.Exists(pathVersion))
|
||||
{
|
||||
File.Create(pathVersion).Dispose();
|
||||
File.WriteAllText(pathVersion, txtBuildVersion.Text + Environment.NewLine);
|
||||
}
|
||||
|
||||
LoadLocations();
|
||||
NumberPackedStarted = int.Parse(textBox2.Text);
|
||||
int LoopSize = NumberPackedStarted;
|
||||
if (!DoAllAtOnce) LoopSize = 1;
|
||||
progressBar2.Value = 0;
|
||||
progressBar3.Value = 0;
|
||||
|
||||
LaunchAppCryptorBM();
|
||||
LoadCryptedLocation();
|
||||
|
||||
projectName = @"BMTune";
|
||||
string pathobjback = pathObj;
|
||||
pathObj = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\obj";
|
||||
|
||||
BuildSolution();
|
||||
|
||||
projectName = @"BMTune_Starter";
|
||||
pathObj = pathobjback;
|
||||
|
||||
BMTuneDo = true;
|
||||
|
||||
string buffffpath = pathStarter;
|
||||
if (BMTuneDo) buffffpath = pathBM;
|
||||
|
||||
//pathCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\Krawk-Protector-master\bin\Debug\BMFuscator.exe";
|
||||
pathCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMFuscator\bin\Debug\BMFuscator.exe";
|
||||
LaunchAppCryptor(buffffpath);
|
||||
pathCryptor = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\Krawk-Protector-master\bin\Debug\BM Protector.exe";
|
||||
LaunchAppCryptor(buffffpath);
|
||||
|
||||
|
||||
LaunchBMPacker();
|
||||
|
||||
|
||||
Environment.Exit(0);
|
||||
|
||||
//Launching Inno setup
|
||||
//DialogResult result = MessageBox.Show("Do you want to launch Inno Setup Installer?", "BMTune", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
//if (result == DialogResult.Yes) LaunchInno();
|
||||
}
|
||||
}
|
||||
|
||||
private void LaunchAppCryptor(string ThisFileToCrypt)
|
||||
{
|
||||
label1.Text = "Crypting .exe";
|
||||
LogThis("Crypting...");
|
||||
|
||||
Process process = new Process();
|
||||
process.StartInfo.FileName = pathCryptor;
|
||||
process.StartInfo.Arguments = @"""" + ThisFileToCrypt + @"""";
|
||||
process.Start();
|
||||
process.WaitForExit();
|
||||
|
||||
if (!ThisFileToCrypt.Contains("_BMFuscator.exe")) ThisFileToCrypt = ThisFileToCrypt.Substring(0, ThisFileToCrypt.Length - 4) + "_BMFuscator.exe";
|
||||
|
||||
RenameEncrypted(ThisFileToCrypt);
|
||||
|
||||
}
|
||||
|
||||
private void LaunchAppCryptorBM()
|
||||
{
|
||||
label1.Text = "AppCrypting .exe";
|
||||
LogThis("AppCrypting...");
|
||||
|
||||
Process process = new Process();
|
||||
process.StartInfo.FileName = pathAppCryptor;
|
||||
process.Start();
|
||||
process.WaitForExit();
|
||||
|
||||
//if (!ThisFileToCrypt.Contains("_BMFuscator.exe")) ThisFileToCrypt = ThisFileToCrypt.Substring(0, ThisFileToCrypt.Length - 4) + "_BMFuscator.exe";
|
||||
//RenameEncrypted(ThisFileToCrypt);
|
||||
}
|
||||
|
||||
public void LaunchBMPacker()
|
||||
{
|
||||
Process process = new Process();
|
||||
process.StartInfo.FileName = @"C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\BMTune PACKER.exe";
|
||||
process.StartInfo.Arguments = this.txtBuildVersion.Text;
|
||||
process.Start();
|
||||
}
|
||||
|
||||
private void RenameEncrypted(string ThisFileToCrypt)
|
||||
{
|
||||
label1.Text = "Renaming crypted .exe";
|
||||
LogThis("Renaming crypted...");
|
||||
|
||||
if (File.Exists(ThisFileToCrypt))
|
||||
{
|
||||
if (ThisFileToCrypt.Contains("_BMFuscator.exe"))
|
||||
{
|
||||
string TFile = ThisFileToCrypt;
|
||||
string Name = ThisFileToCrypt.Substring(0, ThisFileToCrypt.Length - 15) + ".exe";
|
||||
|
||||
File.Create(Name).Dispose();
|
||||
File.WriteAllBytes(Name, File.ReadAllBytes(TFile));
|
||||
|
||||
bool Retrying = true;
|
||||
while (Retrying)
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(TFile);
|
||||
Retrying = false;
|
||||
}
|
||||
catch
|
||||
{
|
||||
DialogResult result = MessageBox.Show("Can't Delete file:\n" + TFile + "\nDo you want to retry?", "BMTune", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (result == DialogResult.No) Retrying = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void RedoSettings()
|
||||
{
|
||||
if (File.Exists(pathStarterSource + "Program.cs"))
|
||||
{
|
||||
string[] AllInstallerLines = File.ReadAllLines(pathStarterSource + "Program.cs");
|
||||
for (int i = 0; i < AllInstallerLines.Length; i++)
|
||||
{
|
||||
if (AllInstallerLines[i].Contains(" private int Ȩ̨̛̙̩̖̗̫̝̙̘͚̱̹͇̋ͯ̂ͧ̈ͮ̿̓ͯ̀̕Ẍ̷̭͚̱̮̝͕̻̞̯̫͔̭̫̹͆͆ͪ̂̐ͤ̒͐͋̈ͭͥͭ̒̍̀̚͜͡ͅW̛͕͉̬̖̳̳̞̎͒ͫ̀ͧ͟Ę̵̵̭̹̭͖̲̰̐̇̍͌̽ͮͫ͋̂͛̋͊ͬ̓͝3̶̧̢͉͎̳̱̪͚̫̝ͨ̈́ͣ̿̕2̷̢̨̜̺͉̗̱̠͇̭̖̙̲̈́̋̎̈̎̂ͫ̎̑̆̌̎̃͂̑ͪ̀̚ͅ = ")) AllInstallerLines[i] = " private int Ȩ̨̛̙̩̖̗̫̝̙̘͚̱̹͇̋ͯ̂ͧ̈ͮ̿̓ͯ̀̕Ẍ̷̭͚̱̮̝͕̻̞̯̫͔̭̫̹͆͆ͪ̂̐ͤ̒͐͋̈ͭͥͭ̒̍̀̚͜͡ͅW̛͕͉̬̖̳̳̞̎͒ͫ̀ͧ͟Ę̵̵̭̹̭͖̲̰̐̇̍͌̽ͮͫ͋̂͛̋͊ͬ̓͝3̶̧̢͉͎̳̱̪͚̫̝ͨ̈́ͣ̿̕2̷̢̨̜̺͉̗̱̠͇̭̖̙̲̈́̋̎̈̎̂ͫ̎̑̆̌̎̃͂̑ͪ̀̚ͅ = " + NumberOfUnpackFiles + ";";
|
||||
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅF̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅF̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + EncryptEnd + ";";
|
||||
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅF̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅF̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + Encrypt1 + ";";
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞F̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞F̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + Encrypt2 + ";";
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅG̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅG̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + Encrypt3 + ";";
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅG̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞F̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅG̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞F̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + Encrypt4 + ";";
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅF̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̸̈́͌͆͌̓̅͌̊ͭ̐̇̿̚͠͏͔̤̪̳̦͚̻͚̫̤͉̼̥̰̜͕̼̠̱͠F̲̤̟̤͙̞̰̰͍͈͉̀ͪ̄̋͋̃͠ͅͅF̵̶̴͚̻̦̫̰̹̮͇̙̺̼͚͍̜̊ͦ̓̐̓̅̔̉̈́͗̉ͥ̏̾͛͒ͦ̀̕B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ẕ̴̱̰̝̻̺̗͈̞̣͇̤̖̝̦ͮ̆̃͋̀̔̏̈́̿̀ͬ͋ͬͮ̓̀̚͝͡G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + Encrypt5 + ";";
|
||||
if (AllInstallerLines[i].Contains(" private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = ")) AllInstallerLines[i] = " private int E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ = " + Encrypt6 + ";";
|
||||
//E̸̟̤͈̠͈̦̮͍͔͎͚̭͕͇͇̩͚̓͊̈́̋̾̾̌͗̽̇͌͛̇͒̽̎̓̍͜G̨̞͈̼͉̱̠̓ͫ͋̇̈̽̿̿ͤͩ̐̃̋̕͜B̶̹̻̦͚̗̆ͨ̍̾́̕͞Ḫ̸̵̡̫̖͇̞̦̞̣̱͇͔̫͙̳̠̜͇ͦͮ̈̈̓̏̚͢͜ͅͅ
|
||||
}
|
||||
|
||||
File.Create(pathStarterSource + "Program.cs").Dispose();
|
||||
File.WriteAllLines(pathStarterSource + "Program.cs", AllInstallerLines);
|
||||
}
|
||||
}
|
||||
|
||||
private void RedoCSPROJ()
|
||||
{
|
||||
if (File.Exists(pathStarterSource + "BMTune_Starter.csproj"))
|
||||
{
|
||||
List<string> RemadeLine = new List<string>();
|
||||
|
||||
bool InItemGroup = false;
|
||||
string[] AllInstallerLines = File.ReadAllLines(pathStarterSource + "BMTune_Starter.csproj");
|
||||
for (int i = 0; i < AllInstallerLines.Length; i++)
|
||||
{
|
||||
if (InItemGroup && AllInstallerLines[i].Contains("</ItemGroup>")) InItemGroup = false;
|
||||
if (!InItemGroup) RemadeLine.Add(AllInstallerLines[i]);
|
||||
//if (!AllInstallerLines[i].Contains("<EmbeddedResource Include=")) RemadeLine.Add(AllInstallerLines[i]);
|
||||
|
||||
if (AllInstallerLines[i].Contains("Content Include="))
|
||||
{
|
||||
InItemGroup = true;
|
||||
for (int i2 = 0; i2 < NumberOfUnpackFiles; i2++)
|
||||
{
|
||||
RemadeLine.Add(" <EmbeddedResource Include=\"FCID" + (i2 + 1) + ".txt\" />");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
string[] AllNeessf = new string[RemadeLine.Count];
|
||||
for (int i = 0; i < RemadeLine.Count; i++) AllNeessf[i] = RemadeLine[i];
|
||||
|
||||
File.Create(pathStarterSource + "BMTune_Starter.csproj").Dispose();
|
||||
File.WriteAllLines(pathStarterSource + "BMTune_Starter.csproj", AllNeessf);
|
||||
}
|
||||
}
|
||||
|
||||
public void LaunchInno()
|
||||
{
|
||||
//causing issue / error here need to launch .iss file from another method
|
||||
Process process = new Process();
|
||||
process.StartInfo.FileName = pathInstaller;
|
||||
process.Start();
|
||||
}
|
||||
|
||||
public void LogThis(string ThisText)
|
||||
{
|
||||
this.textBox1.Text += ThisText + Environment.NewLine;
|
||||
this.Invalidate();
|
||||
}
|
||||
|
||||
private void BuildSolution()
|
||||
{
|
||||
label1.Text = "Buiding .exe";
|
||||
LogThis("Buiding...");
|
||||
|
||||
progressBar2.Value = 50;
|
||||
|
||||
if (Directory.Exists(pathObj)) Directory.Delete(pathObj, true);
|
||||
//if (Directory.Exists(pathObj)) Directory.Delete(pathObj, true);
|
||||
|
||||
Process process = new Process();
|
||||
process.StartInfo.FileName = msbuild_path;
|
||||
process.StartInfo.Arguments = @"""" + pathStarterProject + @"""" + " /t:" + projectName + " /tv:14.0 /p:Configuration=Debug /p:Platform=x86 /p:BuildProjectReferences=true";
|
||||
process.StartInfo.CreateNoWindow = true;
|
||||
process.StartInfo.RedirectStandardInput = true;
|
||||
process.StartInfo.RedirectStandardOutput = false;
|
||||
process.StartInfo.UseShellExecute = false;
|
||||
process.Start();
|
||||
process.WaitForExit();
|
||||
|
||||
//progressBar2.Value = 0;
|
||||
}
|
||||
|
||||
/*private void DeleteAllPackedFiles()
|
||||
{
|
||||
for (int i = 0; i < MAXNumberOfUnpackFiles; i++)
|
||||
{
|
||||
if (File.Exists(pathSave + i + ".txt")) File.Delete(pathSave + i + ".txt");
|
||||
}
|
||||
}
|
||||
|
||||
private void PackThisPart()
|
||||
{
|
||||
byte[] LBytesX = new byte[this.binaryReader_0.BaseStream.Length / NumberOfUnpackFiles];
|
||||
if (CurrentFile != 1 && CurrentFile != NumberOfUnpackFiles) LBytesX = new byte[((this.binaryReader_0.BaseStream.Length / NumberOfUnpackFiles) * CurrentFile) - ((this.binaryReader_0.BaseStream.Length / NumberOfUnpackFiles) * (CurrentFile - 1))];
|
||||
if (CurrentFile == NumberOfUnpackFiles) LBytesX = new byte[this.binaryReader_0.BaseStream.Length - ((this.binaryReader_0.BaseStream.Length / NumberOfUnpackFiles) * (CurrentFile - 1))];
|
||||
|
||||
label1.Text = "Reading: " + CurrentFile + "/" + NumberOfUnpackFiles;
|
||||
//LogThis("Reading: " + CurrentFile + "/" + NumberOfUnpackFiles);
|
||||
for (int i = 0; i < LBytesX.Length; i++)
|
||||
{
|
||||
progressBar1.Value = (i * 100) / LBytesX.Length;
|
||||
LBytesX[i] = this.binaryReader_0.ReadByte();
|
||||
}
|
||||
|
||||
//LogThis("Compacting...");
|
||||
label1.Text = "Compacting: 1/3";
|
||||
//LogThis(" Compacting: 1/3");
|
||||
progressBar1.Value = (1 * 100) / 3;
|
||||
LBytesX = method_92_INT(LBytesX);
|
||||
|
||||
label1.Text = "Compacting: 2/3";
|
||||
//LogThis(" Compacting: 2/3");
|
||||
progressBar1.Value = (2 * 100) / 3;
|
||||
LBytesX = method_92(LBytesX);
|
||||
|
||||
label1.Text = "Compacting: 3/3";
|
||||
//LogThis(" Compacting: 3/3");
|
||||
progressBar1.Value = (3 * 100) / 3;
|
||||
LBytesX = method_inv(LBytesX);
|
||||
|
||||
FileStream stream;
|
||||
FileInfo info = new FileInfo(pathSave + CurrentFile + ".txt");
|
||||
if (info.Exists) stream = new FileStream(pathSave + CurrentFile + ".txt", FileMode.Truncate, FileAccess.Write);
|
||||
else stream = new FileStream(pathSave + CurrentFile + ".txt", FileMode.CreateNew, FileAccess.Write);
|
||||
BinaryWriter writer = new BinaryWriter(stream);
|
||||
|
||||
label1.Text = "Saving: " + CurrentFile + "/" + NumberOfUnpackFiles;
|
||||
//LogThis("Saving: " + CurrentFile + "/" + NumberOfUnpackFiles);
|
||||
for (int i = 0; i < LBytesX.Length; i++)
|
||||
{
|
||||
progressBar1.Value = (i * 100) / LBytesX.Length;
|
||||
writer.Write(LBytesX[i]);
|
||||
}
|
||||
writer.Close();
|
||||
writer.Dispose();
|
||||
writer = null;
|
||||
stream.Close();
|
||||
stream.Dispose();
|
||||
stream = null;
|
||||
LBytesX = null;
|
||||
GC.Collect(GC.MaxGeneration);
|
||||
GC.WaitForPendingFinalizers(); // wait until GC has finished its work
|
||||
GC.Collect(GC.MaxGeneration);
|
||||
|
||||
//LogThis("---------------------------------------");
|
||||
|
||||
CurrentFile++;
|
||||
}
|
||||
|
||||
byte[] method_inv(byte[] byte_01) {
|
||||
byte[] byte_02 = new byte[byte_01.Length];
|
||||
for (int i = 0; i < byte_01.Length; i++) byte_02[byte_01.Length - 1 - i] = byte_01[i];
|
||||
|
||||
byte_01 = byte_02;
|
||||
byte_02 = null;
|
||||
return byte_01;
|
||||
}*/
|
||||
|
||||
/*byte method_92_c(byte[] byte_01)
|
||||
{
|
||||
int int_92_0 = 0;
|
||||
for (int i = 0; i < byte_01.Length; i++)
|
||||
{
|
||||
int_92_0 = int_92_0 + (int)byte_01[i];
|
||||
if (int_92_0 > 255) int_92_0 = int_92_0 - 256;
|
||||
}
|
||||
return (byte)int_92_0;
|
||||
}
|
||||
|
||||
byte[] method_92(byte[] byte_01)
|
||||
{
|
||||
byte byte92 = method_92_c(byte_01);
|
||||
byte[] byte_02 = new byte[byte_01.Length + 1];
|
||||
for (int i = 0; i < byte_01.Length; i++)
|
||||
{
|
||||
if ((i % 2) == 0)
|
||||
{
|
||||
int int_01 = (int)byte_01[i] + byte92;
|
||||
if (int_01 > 255) int_01 -= 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
}
|
||||
else
|
||||
{
|
||||
int int_01 = (int)byte_01[i] - byte92;
|
||||
if (int_01 < 0) int_01 += 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
}
|
||||
}
|
||||
byte_02[byte_01.Length] = byte92;
|
||||
byte_02 = method_942(byte_02);
|
||||
|
||||
byte_01 = byte_02;
|
||||
byte_02 = null;
|
||||
return byte_01;
|
||||
}
|
||||
|
||||
byte[] method_942(byte[] byte_01)
|
||||
{
|
||||
byte byte92 = method_92_c(byte_01);
|
||||
byte[] byte_02 = new byte[byte_01.Length + 9];
|
||||
int int_99 = 0;
|
||||
for (int i = 0; i < byte_01.Length; i++)
|
||||
{
|
||||
int int_01 = (int)byte_01[i] - byte92;
|
||||
if (int_01 < 0) int_01 += 256;
|
||||
byte_02[int_99] = (byte)int_01;
|
||||
|
||||
int int_02 = i + 1;
|
||||
if (int_02 == Encrypt1 || int_02 == Encrypt2 || int_02 == Encrypt3 || int_02 == Encrypt4 || int_02 == Encrypt5)
|
||||
{
|
||||
int_99++;
|
||||
byte_02[int_99] = byte92;
|
||||
byte92 = method_92_c(byte_02);
|
||||
}
|
||||
int_99++;
|
||||
}
|
||||
byte_02[byte_02.Length - 1] = byte92;
|
||||
|
||||
byte_01 = byte_02;
|
||||
byte_02 = null;
|
||||
return byte_01;
|
||||
}
|
||||
|
||||
//Compress
|
||||
byte[] method_92_INT(byte[] byte_01)
|
||||
{
|
||||
byte[] byte_02 = new byte[byte_01.Length];
|
||||
|
||||
for (int i = 0; i < byte_01.Length; i++)
|
||||
{
|
||||
int int_01 = (int)byte_01[i] - EncryptEnd;
|
||||
if (int_01 < 0) int_01 += 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
}
|
||||
|
||||
byte_01 = byte_02;
|
||||
byte_02 = null;
|
||||
return byte_01;
|
||||
}*/
|
||||
|
||||
private void Button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
EncryptedCount = 0;
|
||||
label1.Text = "";
|
||||
progressBar1.Value = 0;
|
||||
progressBar2.Value = 0;
|
||||
progressBar3.Value = 0;
|
||||
Loading = true;
|
||||
BMTuneDo = true;
|
||||
BufferTime = DateTime.Now;
|
||||
}
|
||||
|
||||
private void Button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
label1.Text = "";
|
||||
progressBar1.Value = 0;
|
||||
progressBar2.Value = 0;
|
||||
progressBar3.Value = 0;
|
||||
Loading = true;
|
||||
BMTuneDo = false;
|
||||
BufferTime = DateTime.Now;
|
||||
}
|
||||
|
||||
private void Button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start(pathStarterProject);
|
||||
}
|
||||
|
||||
private void CheckBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
DoAllAtOnce = checkBox1.Checked;
|
||||
}
|
||||
|
||||
private void Button5_Click(object sender, EventArgs e)
|
||||
{
|
||||
LoadLocations();
|
||||
RedoSettings();
|
||||
RedoCSPROJ();
|
||||
BuildSolution();
|
||||
}
|
||||
|
||||
private void Button4_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.textBox1.Text = "";
|
||||
this.Refresh();
|
||||
}
|
||||
|
||||
|
||||
/*public string GetExecutingFileHash()
|
||||
{
|
||||
return MD5(GetSelfBytes());
|
||||
}
|
||||
|
||||
private string MD5(byte[] input)
|
||||
{
|
||||
return MD5(ASCIIEncoding.ASCII.GetString(input));
|
||||
}
|
||||
|
||||
private string MD5(string input)
|
||||
{
|
||||
MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
|
||||
|
||||
byte[] originalBytes = ASCIIEncoding.Default.GetBytes(input);
|
||||
byte[] encodedBytes = md5.ComputeHash(originalBytes);
|
||||
|
||||
return BitConverter.ToString(encodedBytes).Replace("-", "");
|
||||
}
|
||||
|
||||
private byte[] GetSelfBytes()
|
||||
{
|
||||
FileStream running = File.OpenRead(pathStarter);
|
||||
|
||||
byte[] exeBytes = new byte[running.Length];
|
||||
running.Read(exeBytes, 0, exeBytes.Length);
|
||||
|
||||
running.Close();
|
||||
|
||||
return exeBytes;
|
||||
}*/
|
||||
|
||||
//###################################################################
|
||||
|
||||
/*byte[] method_93(byte[] byte_01, int Ver)
|
||||
{
|
||||
byte_01 = method_95(byte_01, Ver);
|
||||
|
||||
byte byte92 = byte_01[byte_01.Length - 1];
|
||||
byte[] byte_02 = new byte[byte_01.Length - 1];
|
||||
for (int i = 0; i < byte_02.Length; i++)
|
||||
{
|
||||
if ((i % 2) == 0)
|
||||
{
|
||||
int int_01 = (int)byte_01[i] - byte92;
|
||||
if (int_01 < 0) int_01 += 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
}
|
||||
else
|
||||
{
|
||||
int int_01 = (int)byte_01[i] + byte92;
|
||||
if (int_01 > 255) int_01 -= 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
}
|
||||
}
|
||||
return byte_02;
|
||||
}
|
||||
|
||||
byte[] method_95(byte[] byte_01, int Ver)
|
||||
{
|
||||
byte byte92_1 = byte_01[16];
|
||||
byte byte92_2 = byte_01[32 + 1];
|
||||
byte byte92_3 = byte_01[48 + 2];
|
||||
byte byte92_4 = byte_01[64 + 3];
|
||||
byte byte92_5 = byte_01[80 + 4];
|
||||
//byte byte92_6 = byte_01[96 + 5];
|
||||
if (Ver == 1)
|
||||
{
|
||||
byte92_1 = byte_01[15];
|
||||
byte92_2 = byte_01[25 + 1];
|
||||
byte92_3 = byte_01[53 + 2];
|
||||
byte92_4 = byte_01[67 + 3];
|
||||
byte92_5 = byte_01[78 + 4];
|
||||
}
|
||||
if (Ver == 2)
|
||||
{
|
||||
byte92_1 = byte_01[17];
|
||||
byte92_2 = byte_01[35 + 1];
|
||||
byte92_3 = byte_01[45 + 2];
|
||||
byte92_4 = byte_01[63 + 3];
|
||||
byte92_5 = byte_01[82 + 4];
|
||||
}
|
||||
byte byte92_9 = byte_01[byte_01.Length - 1];
|
||||
byte byte92 = 0;
|
||||
byte[] byte_02 = new byte[byte_01.Length - 9];
|
||||
int int_99 = 0;
|
||||
for (int i = 0; i < byte_02.Length; i++)
|
||||
{
|
||||
//if (i < 96) byte92 = byte92_6;
|
||||
if (Ver == 0)
|
||||
{
|
||||
if (i < 80) byte92 = byte92_5;
|
||||
if (i < 64) byte92 = byte92_4;
|
||||
if (i < 48) byte92 = byte92_3;
|
||||
if (i < 32) byte92 = byte92_2;
|
||||
if (i < 16) byte92 = byte92_1;
|
||||
|
||||
if (i >= 80) byte92 = byte92_9;
|
||||
if (i == 16 || i == 32 || i == 48 || i == 64 || i == 80) int_99++;
|
||||
}
|
||||
if (Ver == 1)
|
||||
{
|
||||
if (i < 78) byte92 = byte92_5;
|
||||
if (i < 67) byte92 = byte92_4;
|
||||
if (i < 53) byte92 = byte92_3;
|
||||
if (i < 25) byte92 = byte92_2;
|
||||
if (i < 15) byte92 = byte92_1;
|
||||
|
||||
if (i >= 78) byte92 = byte92_9;
|
||||
if (i == 15 || i == 25 || i == 53 || i == 67 || i == 78) int_99++;
|
||||
}
|
||||
if (Ver == 2)
|
||||
{
|
||||
if (i < 82) byte92 = byte92_5;
|
||||
if (i < 63) byte92 = byte92_4;
|
||||
if (i < 45) byte92 = byte92_3;
|
||||
if (i < 35) byte92 = byte92_2;
|
||||
if (i < 17) byte92 = byte92_1;
|
||||
|
||||
if (i >= 82) byte92 = byte92_9;
|
||||
if (i == 17 || i == 35 || i == 45 || i == 63 || i == 82) int_99++;
|
||||
}
|
||||
|
||||
int int_01 = (int)byte_01[int_99] + byte92;
|
||||
if (int_01 > 255) int_01 -= 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
|
||||
int_99++;
|
||||
}
|
||||
return byte_02;
|
||||
}
|
||||
|
||||
//Decompress
|
||||
byte[] method_93_INT(byte[] byte_01, int Ver)
|
||||
{
|
||||
byte[] byte_02 = new byte[byte_01.Length];
|
||||
|
||||
for (int i = 0; i < byte_01.Length; i++)
|
||||
{
|
||||
int TConute = 33;
|
||||
if (Ver == 1) TConute = 47;
|
||||
if (Ver == 2) TConute = 55;
|
||||
int int_01 = (int)byte_01[i] + TConute;
|
||||
if (int_01 > 255) int_01 -= 256;
|
||||
byte_02[i] = (byte)int_01;
|
||||
}
|
||||
|
||||
return byte_02;
|
||||
}*/
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,21 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace BMTune_Uploader
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Point d'entrée principal de l'application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Les informations générales relatives à un assembly dépendent de
|
||||
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
|
||||
// associées à un assembly.
|
||||
[assembly: AssemblyTitle("BMTune_Uploader")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("BMTune_Uploader")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
|
||||
// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
|
||||
// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
|
||||
[assembly: Guid("2ba666b0-971c-4500-aaf4-71f12eb4dd98")]
|
||||
|
||||
// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
|
||||
//
|
||||
// Version principale
|
||||
// Version secondaire
|
||||
// Numéro de build
|
||||
// Révision
|
||||
//
|
||||
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
|
||||
// en utilisant '*', comme indiqué ci-dessous :
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -1,71 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace BMTune_Uploader.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BMTune_Uploader.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,117 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
|
@ -1,30 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace BMTune_Uploader.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
Binary file not shown.
Binary file not shown.
|
@ -1,8 +0,0 @@
|
|||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\bin\Debug\BMTune PACKER.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Packer\obj\Debug\BMTune_Packer.csprojAssemblyReference.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Packer\obj\Debug\BMTune_Uploader.Form1.resources
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Packer\obj\Debug\BMTune_Uploader.Properties.Resources.resources
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Packer\obj\Debug\BMTune_Packer.csproj.GenerateResource.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Packer\obj\Debug\BMTune PACKER.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Packer\obj\Debug\BMTune PACKER.pdb
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\bin\Debug\BMTune PACKER.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,21 +0,0 @@
|
|||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\bin\Debug\BMTune_Uploader.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\bin\Debug\BMTune_Uploader.pdb
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.csprojAssemblyReference.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.Form1.resources
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.Properties.Resources.resources
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.csproj.GenerateResource.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.csproj.CoreCompileInputs.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune_Uploader\obj\Debug\BMTune_Uploader.pdb
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\bin\Debug\BMTune_Uploader.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\bin\Debug\BMTune_Uploader.pdb
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\obj\Debug\BMTune_Uploader.csprojAssemblyReference.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\obj\Debug\BMTune_Uploader.Form1.resources
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\obj\Debug\BMTune_Uploader.Properties.Resources.resources
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\obj\Debug\BMTune_Uploader.csproj.GenerateResource.cache
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\bin\Debug\BMTune PACKER.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\bin\Debug\BMTune PACKER.pdb
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\obj\Debug\BMTune PACKER.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2\BMTune_Uploader\obj\Debug\BMTune PACKER.pdb
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\BMTune PACKER.exe
|
||||
C:\Users\boule\Documents\Visual Studio 2019\Projects\BMTune2_Crypted\bin\Debug\BMTune PACKER.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue