commit 63b4550175009c6daa6b9a6ddb322376aa1bdeef Author: Ryan Sammon Date: Fri May 10 13:06:17 2013 -0400 Original Github Commit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..412eeda --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp +*.sln merge=union +*.csproj merge=union +*.vbproj merge=union +*.fsproj merge=union +*.dbproj merge=union + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ebd21a --- /dev/null +++ b/.gitignore @@ -0,0 +1,163 @@ +################# +## Eclipse +################# + +*.pydevproject +.project +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# PDT-specific +.buildpath + + +################# +## Visual Studio +################# + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Rr]elease/ +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.vspscc +.builds +*.dotCover + +## TODO: If you have NuGet Package Restore enabled, uncomment this +#packages/ + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf + +# Visual Studio profiler +*.psess +*.vsp + +# ReSharper is a .NET coding add-in +_ReSharper* + +# Installshield output folder +[Ee]xpress + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish + +# Others +[Bb]in +[Oo]bj +sql +TestResults +*.Cache +ClientBin +stylecop.* +~$* +*.dbmdl +Generated_Code #added for RIA/Silverlight projects + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML + + + +############ +## Windows +############ + +# Windows image file caches +Thumbs.db + +# Folder config file +Desktop.ini + + +############# +## Python +############# + +*.py[co] + +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg + +# Mac crap +.DS_Store diff --git a/Vinesauce ROM Corruptor.sln b/Vinesauce ROM Corruptor.sln new file mode 100644 index 0000000..7959ed1 --- /dev/null +++ b/Vinesauce ROM Corruptor.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vinesauce ROM Corruptor", "Vinesauce ROM Corruptor\Vinesauce ROM Corruptor.csproj", "{E9F51B29-2A51-4D37-B0A7-94CB7EC3F0D4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E9F51B29-2A51-4D37-B0A7-94CB7EC3F0D4}.Debug|x86.ActiveCfg = Release|x86 + {E9F51B29-2A51-4D37-B0A7-94CB7EC3F0D4}.Debug|x86.Build.0 = Release|x86 + {E9F51B29-2A51-4D37-B0A7-94CB7EC3F0D4}.Release|x86.ActiveCfg = Release|x86 + {E9F51B29-2A51-4D37-B0A7-94CB7EC3F0D4}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Vinesauce ROM Corruptor/HotkeyForm.Designer.cs b/Vinesauce ROM Corruptor/HotkeyForm.Designer.cs new file mode 100644 index 0000000..f39e429 --- /dev/null +++ b/Vinesauce ROM Corruptor/HotkeyForm.Designer.cs @@ -0,0 +1,230 @@ +namespace Vinesauce_ROM_Corruptor +{ + partial class HotkeyForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HotkeyForm)); + this.groupBox_SelectAction = new System.Windows.Forms.GroupBox(); + this.radioButton_SubRange = new System.Windows.Forms.RadioButton(); + this.radioButton_AddRange = new System.Windows.Forms.RadioButton(); + this.radioButton_AddEnd = new System.Windows.Forms.RadioButton(); + this.radioButton_SubEnd = new System.Windows.Forms.RadioButton(); + this.radioButton_SubStart = new System.Windows.Forms.RadioButton(); + this.radioButton_AddStart = new System.Windows.Forms.RadioButton(); + this.groupBox_SelectHotkey = new System.Windows.Forms.GroupBox(); + this.label_PressAnyKey = new System.Windows.Forms.Label(); + this.label_HotkeyColon = new System.Windows.Forms.Label(); + this.label_HotkeyKey = new System.Windows.Forms.Label(); + this.button_Ok = new System.Windows.Forms.Button(); + this.button_Cancel = new System.Windows.Forms.Button(); + this.groupBox_SelectAction.SuspendLayout(); + this.groupBox_SelectHotkey.SuspendLayout(); + this.SuspendLayout(); + // + // groupBox_SelectAction + // + this.groupBox_SelectAction.Controls.Add(this.radioButton_SubRange); + this.groupBox_SelectAction.Controls.Add(this.radioButton_AddRange); + this.groupBox_SelectAction.Controls.Add(this.radioButton_AddEnd); + this.groupBox_SelectAction.Controls.Add(this.radioButton_SubEnd); + this.groupBox_SelectAction.Controls.Add(this.radioButton_SubStart); + this.groupBox_SelectAction.Controls.Add(this.radioButton_AddStart); + this.groupBox_SelectAction.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_SelectAction.Location = new System.Drawing.Point(12, 12); + this.groupBox_SelectAction.Name = "groupBox_SelectAction"; + this.groupBox_SelectAction.Size = new System.Drawing.Size(420, 93); + this.groupBox_SelectAction.TabIndex = 0; + this.groupBox_SelectAction.TabStop = false; + this.groupBox_SelectAction.Text = "Select Action"; + // + // radioButton_SubRange + // + this.radioButton_SubRange.AutoSize = true; + this.radioButton_SubRange.Location = new System.Drawing.Point(194, 65); + this.radioButton_SubRange.Name = "radioButton_SubRange"; + this.radioButton_SubRange.Size = new System.Drawing.Size(202, 17); + this.radioButton_SubRange.TabIndex = 5; + this.radioButton_SubRange.Text = "Subtract Increment from Range"; + this.radioButton_SubRange.UseVisualStyleBackColor = true; + // + // radioButton_AddRange + // + this.radioButton_AddRange.AutoSize = true; + this.radioButton_AddRange.Location = new System.Drawing.Point(6, 65); + this.radioButton_AddRange.Name = "radioButton_AddRange"; + this.radioButton_AddRange.Size = new System.Drawing.Size(163, 17); + this.radioButton_AddRange.TabIndex = 2; + this.radioButton_AddRange.Text = "Add Increment to Range"; + this.radioButton_AddRange.UseVisualStyleBackColor = true; + // + // radioButton_AddEnd + // + this.radioButton_AddEnd.AutoSize = true; + this.radioButton_AddEnd.Location = new System.Drawing.Point(6, 42); + this.radioButton_AddEnd.Name = "radioButton_AddEnd"; + this.radioButton_AddEnd.Size = new System.Drawing.Size(177, 17); + this.radioButton_AddEnd.TabIndex = 1; + this.radioButton_AddEnd.Text = "Add Increment to End Byte"; + this.radioButton_AddEnd.UseVisualStyleBackColor = true; + // + // radioButton_SubEnd + // + this.radioButton_SubEnd.AutoSize = true; + this.radioButton_SubEnd.Location = new System.Drawing.Point(194, 42); + this.radioButton_SubEnd.Name = "radioButton_SubEnd"; + this.radioButton_SubEnd.Size = new System.Drawing.Size(216, 17); + this.radioButton_SubEnd.TabIndex = 4; + this.radioButton_SubEnd.Text = "Subtract Increment from End Byte"; + this.radioButton_SubEnd.UseVisualStyleBackColor = true; + // + // radioButton_SubStart + // + this.radioButton_SubStart.AutoSize = true; + this.radioButton_SubStart.Location = new System.Drawing.Point(194, 19); + this.radioButton_SubStart.Name = "radioButton_SubStart"; + this.radioButton_SubStart.Size = new System.Drawing.Size(221, 17); + this.radioButton_SubStart.TabIndex = 3; + this.radioButton_SubStart.Text = "Subtract Increment from Start Byte"; + this.radioButton_SubStart.UseVisualStyleBackColor = true; + // + // radioButton_AddStart + // + this.radioButton_AddStart.AutoSize = true; + this.radioButton_AddStart.Checked = true; + this.radioButton_AddStart.Location = new System.Drawing.Point(6, 19); + this.radioButton_AddStart.Name = "radioButton_AddStart"; + this.radioButton_AddStart.Size = new System.Drawing.Size(182, 17); + this.radioButton_AddStart.TabIndex = 0; + this.radioButton_AddStart.TabStop = true; + this.radioButton_AddStart.Text = "Add Increment to Start Byte"; + this.radioButton_AddStart.UseVisualStyleBackColor = true; + // + // groupBox_SelectHotkey + // + this.groupBox_SelectHotkey.Controls.Add(this.label_HotkeyKey); + this.groupBox_SelectHotkey.Controls.Add(this.label_HotkeyColon); + this.groupBox_SelectHotkey.Controls.Add(this.label_PressAnyKey); + this.groupBox_SelectHotkey.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_SelectHotkey.Location = new System.Drawing.Point(12, 111); + this.groupBox_SelectHotkey.Name = "groupBox_SelectHotkey"; + this.groupBox_SelectHotkey.Size = new System.Drawing.Size(420, 62); + this.groupBox_SelectHotkey.TabIndex = 1; + this.groupBox_SelectHotkey.TabStop = false; + this.groupBox_SelectHotkey.Text = "Select Hotkey"; + // + // label_PressAnyKey + // + this.label_PressAnyKey.AutoSize = true; + this.label_PressAnyKey.Location = new System.Drawing.Point(6, 16); + this.label_PressAnyKey.Name = "label_PressAnyKey"; + this.label_PressAnyKey.Size = new System.Drawing.Size(150, 13); + this.label_PressAnyKey.TabIndex = 0; + this.label_PressAnyKey.Text = "Press Any Key to Change"; + // + // label_HotkeyColon + // + this.label_HotkeyColon.AutoSize = true; + this.label_HotkeyColon.Location = new System.Drawing.Point(6, 38); + this.label_HotkeyColon.Name = "label_HotkeyColon"; + this.label_HotkeyColon.Size = new System.Drawing.Size(51, 13); + this.label_HotkeyColon.TabIndex = 1; + this.label_HotkeyColon.Text = "Hotkey:"; + // + // label_HotkeyKey + // + this.label_HotkeyKey.AutoSize = true; + this.label_HotkeyKey.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label_HotkeyKey.Location = new System.Drawing.Point(63, 38); + this.label_HotkeyKey.Name = "label_HotkeyKey"; + this.label_HotkeyKey.Size = new System.Drawing.Size(38, 13); + this.label_HotkeyKey.TabIndex = 2; + this.label_HotkeyKey.Text = "Space"; + // + // button_Ok + // + this.button_Ok.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_Ok.Location = new System.Drawing.Point(12, 179); + this.button_Ok.Name = "button_Ok"; + this.button_Ok.Size = new System.Drawing.Size(75, 23); + this.button_Ok.TabIndex = 2; + this.button_Ok.Text = "OK"; + this.button_Ok.UseVisualStyleBackColor = true; + this.button_Ok.Click += new System.EventHandler(this.button_Ok_Click); + // + // button_Cancel + // + this.button_Cancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_Cancel.Location = new System.Drawing.Point(93, 179); + this.button_Cancel.Name = "button_Cancel"; + this.button_Cancel.Size = new System.Drawing.Size(75, 23); + this.button_Cancel.TabIndex = 3; + this.button_Cancel.Text = "Cancel"; + this.button_Cancel.UseVisualStyleBackColor = true; + this.button_Cancel.Click += new System.EventHandler(this.button_Cancel_Click); + // + // HotkeyForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(445, 211); + this.Controls.Add(this.button_Cancel); + this.Controls.Add(this.button_Ok); + this.Controls.Add(this.groupBox_SelectHotkey); + this.Controls.Add(this.groupBox_SelectAction); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.KeyPreview = true; + this.Name = "HotkeyForm"; + this.Text = "Setup Hotkey"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.HotkeyForm_FormClosing); + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.HotkeyForm_KeyDown); + this.groupBox_SelectAction.ResumeLayout(false); + this.groupBox_SelectAction.PerformLayout(); + this.groupBox_SelectHotkey.ResumeLayout(false); + this.groupBox_SelectHotkey.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.GroupBox groupBox_SelectAction; + private System.Windows.Forms.RadioButton radioButton_SubRange; + private System.Windows.Forms.RadioButton radioButton_SubEnd; + private System.Windows.Forms.RadioButton radioButton_SubStart; + private System.Windows.Forms.RadioButton radioButton_AddRange; + private System.Windows.Forms.RadioButton radioButton_AddEnd; + private System.Windows.Forms.RadioButton radioButton_AddStart; + private System.Windows.Forms.GroupBox groupBox_SelectHotkey; + private System.Windows.Forms.Label label_HotkeyKey; + private System.Windows.Forms.Label label_HotkeyColon; + private System.Windows.Forms.Label label_PressAnyKey; + private System.Windows.Forms.Button button_Ok; + private System.Windows.Forms.Button button_Cancel; + } +} \ No newline at end of file diff --git a/Vinesauce ROM Corruptor/HotkeyForm.cs b/Vinesauce ROM Corruptor/HotkeyForm.cs new file mode 100644 index 0000000..d4523c3 --- /dev/null +++ b/Vinesauce ROM Corruptor/HotkeyForm.cs @@ -0,0 +1,93 @@ +/* + * Copyright (C) 2013 Ryan Sammon. + * + * This file is part of the Vinesauce ROM Corruptor. + * + * The Vinesauce ROM Corruptor is free software: you can redistribute + * it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * The Vinesauce ROM Corruptor is distributed in the hope that it + * will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with the Vinesauce ROM Corruptor. If not, see + * . + */ + +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace Vinesauce_ROM_Corruptor +{ + public partial class HotkeyForm : Form + { + private Keys Hotkey; + + public HotkeyForm() + { + InitializeComponent(); + MainForm.HotkeyEnabled = false; + switch (MainForm.HotkeyAction) + { + case HotkeyActions.AddStart: + radioButton_AddStart.Checked = true; + break; + case HotkeyActions.AddEnd: + radioButton_AddEnd.Checked = true; + break; + case HotkeyActions.AddRange: + radioButton_AddRange.Checked = true; + break; + case HotkeyActions.SubStart: + radioButton_SubStart.Checked = true; + break; + case HotkeyActions.SubEnd: + radioButton_SubEnd.Checked = true; + break; + case HotkeyActions.SubRange: + radioButton_SubRange.Checked = true; + break; + } + Hotkey = MainForm.Hotkey; + label_HotkeyKey.Text = Hotkey.ToString(); + } + + private void HotkeyForm_KeyDown(object sender, KeyEventArgs e) + { + Hotkey = e.KeyCode; + label_HotkeyKey.Text = Hotkey.ToString(); + } + + private void button_Ok_Click(object sender, EventArgs e) + { + if (radioButton_AddStart.Checked) MainForm.HotkeyAction = HotkeyActions.AddStart; + if (radioButton_AddEnd.Checked) MainForm.HotkeyAction = HotkeyActions.AddEnd; + if (radioButton_AddRange.Checked) MainForm.HotkeyAction = HotkeyActions.AddRange; + if (radioButton_SubStart.Checked) MainForm.HotkeyAction = HotkeyActions.SubStart; + if (radioButton_SubEnd.Checked) MainForm.HotkeyAction = HotkeyActions.SubEnd; + if (radioButton_SubRange.Checked) MainForm.HotkeyAction = HotkeyActions.SubRange; + MainForm.Hotkey = Hotkey; + this.Close(); + } + + private void button_Cancel_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void HotkeyForm_FormClosing(object sender, FormClosingEventArgs e) + { + MainForm.HotkeyEnabled = true; + } + } +} diff --git a/Vinesauce ROM Corruptor/HotkeyForm.resx b/Vinesauce ROM Corruptor/HotkeyForm.resx new file mode 100644 index 0000000..8e94086 --- /dev/null +++ b/Vinesauce ROM Corruptor/HotkeyForm.resx @@ -0,0 +1,659 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + AAABAAQAEBAAAAAAIABoBAAARgAAACAgAAAAACAAqBAAAK4EAAAwMAAAAAAgAKglAABWFQAAQEAAAAAA + IAAoQgAA/joAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAD////b//////// + /////////v7+//39/f/n5+f/1tbW/9fX1//y8vL//v7+//7+/v/////////////////////b////2/// + //////////////z8/P/g4OD/7+/v//r6+v/29vb/19fX/8bGxv/+/v7/////////////////////2/// + /9v//////////////////////v7+//Hx8f/Nzc3/6urq//7+/v/Y2Nj//v7+//////////////////// + /9v////b//////////////////////7+/v/U2sD//v79/9bbwf/9/fr/2NjX//7+/v////////////// + ///////b////2//////////////////////+/v7/vtC0//z+/P/A0rj/+fz5/9jY1//+/v7///////// + ////////////2////9v//v///v7+//3+/f/8+/r/7Ovl/9fZzf/Q0Mb/0NLF/93e1f/j4+H//f38//7+ + /v///////////////9v+/v7b9/f3/+Df4f/d3d3/n6lN/4aWCf+InQX/i58D/4ygBP+HmQX/gZEV/8TG + u//IyMf/2dnZ//39/f/+/v7b5ejW2+Xm3P/6+/L/yteP/4umB/+MqBD/vMx1/7O/bv/I04r/lbAo/4mm + Bf+wxWH/9ffq/+np5f+tsp///v7+28TUj9uMqyb/i6wp/4eqGv+KrCT/4+rG/+boz/9/iQ7/xcmR//T3 + 6/+ZuEX/hKsp/4atNP+MsUT/haJL//7+/tvY5MHbha8//4OvPf+Brz3/s8yG//38+v+ztl3/mZ4i/56k + Lf/09Of/0uK+/3yvQ/9+sEb/f7JM/5m0ef/+/v7b9vrx24a2Yf+Atlr/f7dd/7/ar//t7tj/u7lY/+Hh + t/++vV//29mp/+Lv3f93tV3/drVe/3a4Zf+8z7T///7+2/79/dvO5cj/sdat/4jBgv+czp7/5+bC/+np + x//9/v3/8/Pf/9/crf/C4cX/bLxz/5/RoP/H3cb/8vTy//7+/tv//v7b/v7+//7+/v/y+vT/jtGo/7/k + y//7/v3//v7+//3+/f/b8uP/ds2g/6vewP/5/Pv/8/Ly//7+/v/+/v7b////2/7+/v/+/v7//v7+/9nz + 6f9k0Kv/fti6/57kz/+P38v/Z9W3/2rWuf/v+ff/9vf2//7+/v//////////2////9v///////////7+ + /v/0/fz/etzJ/1TUu/9R18D/U9jC/2bdyv+j6N3/9/v7//39/v///////////////9v////b//////// + ///+/v7//v7+//r+/v/x/Pv/4vj2/+v7+f/5/v3//f7+//7+/v/+///////////////////bAAD//wAA + //8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//ygA + AAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAAAAD///+3//////////////////////// + //////////////////////////////7+/v/+/v7//f39//7+/v/+/v7//v7+//7+/v/+/v7///////// + ////////////////////////////////////////////////////////////t////7f///////////// + //////////////////////////////7+/v/+/v7/+vr6/9/f3//BwcH/sLCw/6urq/+oqKj/urq6/9XV + 1f/19fX//v7+//7+/v/+/v7//v7+//////////////////////////////////////////+3////t/// + ////////////////////////////////////////9/f3/8XFxf/BwcH/1dXV/+/v7//5+fn//f39//f3 + 9//k5OT/xcXF/5ycnP+SkpL/4eHh//39/f/+/v7///////////////////////////////////////// + /7f///+3///////////////////////////////////////////7+/v//f39//39/f/9/f3//f39//b2 + 9v/9/f3//f39//7+/v/9/f3//v7+//Dw8P+0tLT//f39//7+/v////////////////////////////// + ////////////t////7f//////////////////////////////////////////////////////v7+//z8 + /P/w8PD/4eHh//7+/v/9/f3//f39//7+/v//////+Pj4/7i4uP/+/v7///////////////////////// + //////////////////////+3////t/////////////////////////////////////////////////// + ///+/v7//f39/9ra2v+oqKj/rq6u/7Gxsf/8/Pz//v7+///+///4+Pj/uLi4//7+/v////////////// + /////////////////////////////////7f///+3//////////////////////////////////////// + //////////////7+/v/7/Pf/8/Tp//79/v/+/v7//vz9//T35P/+/f3///7+//j39f+4uLf//v7+//// + ////////////////////////////////////////////t////7f///////////////////////////// + /////////////////////////v7+/9PYu/+PnmX//v35//3+/v/j59L/gpRS//r88f/+/v7/9/f3/7i4 + uP/+/v7///////////////////////////////////////////////+3////t/////////////////// + ///////////////////////////////////+/v7/w9K0/4KeZP/6/vj//f7+/87exf98mV3/8Pfu//7+ + /P/4+Pf/uLi4//7+/v/+/v7//////////////////////////////////////////7f///+3//////// + //////////////////////////////////////////////3+/v/o9e3/ytzL//z+/P/+/f7/8Pv1/8XV + yP/3/fz//v7+//j49f+4uLj//v7+//7+/v//////////////////////////////////////////t/// + /7f///////7////+//////7//v7+/////v/+//3//v3+//3+/P/9/v7//v3+//38/v/4/fn//vz8//38 + /f/7/vf//Pr9//3++v/9/f3/9/j5/8bHxv/+/v7//v78//7+/v///v7///////////////////////// + //////+3////t////////v////7//////v/9/fz//f39//v9+//++/3/9vTx/+Xl2//Ozb//u76n/6yv + lf+kpJD/oaON/6Kliv+pqZb/tLWm/8XHuP/d3db/8fDv//v7+v/9/Pz//vz+//7+/f////////////// + /////////////////7f///+3/////////v////7///7///v6/P/a2dv/vMC//7Gxlf+Bhi//e4kW/3+Q + DP+Glgn/i5sG/4ycBv+NnAf/jpwG/4uaB/+GlAf/gIsN/3Z8E/91fDf/mZiS/5ibnP/Jycr/+fj1//// + ////////////////////////////t/7+/rf9/f3//Pz8/+Tk5P/Ew8X/w8LD/+Hi4P/7+/j/vspw/46j + AP+QoAL/jaAB/4ihAv+HoQH/iKMB/4qiAf+LowH/jKUB/4ujAf+KogD/jaYB/42nCv/r7sr/8/X0/8bI + xP+Ylpj/mZmZ/8/Pz//5+fn//f39//7+/v////+3/v7+t+Hh4f/Ly8v/3t7d//z7/P/9/fz//f74/9zk + rf+NpRT/jaQC/4mjAf+IogD/hKAF/5OqKf+rv03/r8FU/6a3Rf+KpBb/hqMD/4ejAP+LpgH/jaUF/6S6 + Q//3+ub//f37//z8/f/y8vL/urq6/46Ojv+7u7v//v7+/////7f//fu3xNGU//Hy2P/9/fH//v70//P2 + 3f/F04T/iKUV/4mnBP+IpwL/gqQE/5y0O//e57X/+/3w/97hw/+UnVP/+vrr//b44//C0Ir/hagU/4Om + Bv+IqAr/h6cS/5+3Sv/h6b7/+vvw//7++P/7/PD/3+jA/46Xc//+/v7/////t/7997eSsjL/iqga/5av + Ov+YsUX/i60k/4iqEP+HqA//iKkS/4epEv+mvk//9/fk//z8/P/z8+b/g5Ap/3F+BP+2u37//vz5//38 + +//f5rz/iqoj/4SrFf+Hqx3/h6sh/4SrJ/+Sskf/mbZX/5O1Rv+DrCr/hZda//7+/v////+3//34t6K9 + Vf+IqiL/iaok/4SqHf+EqiH/hqgj/4itJP+EqyH/lbJK//X35//7/P3/+/33/6y0Yv+EjAb/hIsE/3+L + DP/i48D/+v36//r9+//W4q3/gast/4GsLf+CqDf/ga0t/4GrNf+DrTr/gq06/4CnO/+Nn2z//v7+//// + /7f+/fu3scd//4WuMv+Grjr/g641/4CrNP+CrzT/gK0z/4WsP//O3qX//f38//z++//k5cL/j5Ye/5WY + GP+QlxH/kZoO/6WsTP/7+vP/+/z+//r7+P+Wumb/e602/32uPf9+rzz/gK9D/4CvSf+Cs0j/g65I/6Kx + jv/+/v7/////t/z9/bfJ27D/hLBI/4OwR/+Fskb/g7JD/4KvSP+Ar0b/iK1Q//H25f/++/7//fz0/7a6 + Zv+jpC3/nqQs/6GnMv+jpSv/nqQv/9vdsP/+/vv//P38/7rVn/98sEv/fbNN/32xTf98sUv/fbRR/3uz + Tf9/qFX/wcq4//7+/v////+3/v79t+bx3P+CsVb/grRX/4O0VP+CtFH/f7NS/3y2VP+Ptmn/+fvy//z8 + /v/p6cr/sbBN/7WyRP+2uWP/4+Ow/66xRf+zs0D/vb9t//38+P/8/fz/zuHA/3i1Vf96s1r/e7NW/3i0 + Vv95tV7/drZc/3mkYP/o6+X///7//////7f+/f63+f71/5W8ef9/tlz/frhg/365ZP+CuWn/gLlm/4G6 + b//1+vD//P38/9XVnv/DwGb/w8Jq/+zsz//+/Pr/1dGb/8O/XP/DvWr/7+3T//n++v/G37z/drVh/3S4 + Y/90tWT/crlm/3K8af94t3H/k7KP//v8+v///v7/////t//+/rf8/f3/yeC+/4W4eP+Cunr/fLl1/3q7 + cf97uG//c7hx/9/v2//6+vL/1tKQ/9DQhv/q6Mj//v78//z+/f/7+/D/1taf/9TQif/m4rf/+vz8/6bQ + pP9vuWz/ab5o/225bf9+vHv/nc2Y/63Pq//Q29L//v39///+/v////+3//78t/77/v/4/vj/8v70/+35 + 7f/Y7tf/rNSq/36+gP9zv37/qdSs/+/z4P/b2Kf/7O3T//3++//9/f7//v77//7+/f/7+/H/5eLB/9zd + sv/r9+r/e8OL/2q9ff9uvnv/qNSw/+n56P/4/fn/2tzc//v7/P/+/P7//v7+/////7f//v23//3+//7+ + /v/+/v7//v3+//7+/v/5/vz/1u7Z/4DGmP93xY7/x+XI//f47f/7/vz//P7+//7+/v/+/v3//v79//39 + /v/9/Pn/5PPb/6HVsP9px47/Z8GL/7jgwf/0/vr//v39/+7t7v/y8PH//v79//7+/v/+/v7/////t/// + /7f///////////7+/v/+/v7////////////9/v3/0O7d/3LJm/97yZ//w+za//f+/P/+/f7//v3+//7+ + /v/6/v3//v38/+369P+f3sT/Z82i/2bKn/+Y2rr/9f75//z9/v/39/f/7u7u//39/f////////////// + //////+3////t//////+/v7//v7+//7+/v/+/v7///////79/v/8/fv/nN/F/2LOpP9qzaX/i9W7/7vr + 2//Y9u3/4Pnx/9X06/+x5db/fda6/2XTsv9m1bT/bNKy/9f07P/+/P7/+ff4/+zx8P/9/f3//v7+//// + /////////////////7f///+3/////////////////////////////////v7+//3+/f/R8+n/ZdC0/13U + sP9Z0qj/W86p/2DOrv9g0bH/XtG1/1bStv9Z1rb/YdW5/1zWu/953MT/7/37//n39//29vP//P79//// + ////////////////////////////t////7f////////////////////////////////+/f7/+/39/+f7 + 9/9q1L3/Vde4/1TTtP9R07f/UdW6/1TWvP9T17z/Vde+/1XZwf9T2cL/WNjC/43d0f/r9Pb/+fv5//v8 + /P/+/P7///////////////////////////////+3////t/////////////////////////////////3+ + ///+/v7/7/38/6/p4f953c3/WdbB/1HWwP9Q2cT/UdnH/1LZx/9T2cb/ZNzL/43k2f+67+n/7fz6//r+ + /v/+/v7//v7///7+/////////////////////////////////7f///+3//////////////////////// + /////////P7+//7+/v/+/f7//P3+//X+/v/t/fv/3Pj1/8vy7//D8u7/z/Tx/+T7+P/w/v3/+f7+//z+ + /v/7/v7//v7+//7+/v/+/////v//////////////////////////////////t////7f///////////// + ///////////////////+/v7//v7+//z////8/v7//P7+//7+/v/9/v7//P7///z+///7/v7//f7+//7+ + /v/+/v7//f7+//7+/v///v7///////7////+//////////////////////////////////+3AAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAoAAAAMAAAAGAAAAABACAAAAAAAIAlAAAAAAAAAAAAAAAAAAAAAAAA////k////////////v7+//// + /////////v7+/////////////v7+/////////////v7+//7+/v///////v7+//7+/v/+/v7//v7+//7+ + /v/9/f3//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//// + ///+/v7//v7+///////+/v7//v7+///////+/v7//v7+///////+/v7//v7+//////////+T////k/// + //////////////////////////////////////////////7+/v/////////////////+/v7///////// + ///+/v7//v7+//7+/v/+/v7//f39//7+/v/+/v7//v7+//39/f/+/v7//v7+//7+/v////////////// + ///+/v7///////////////////////////////////////////////////////////////////////// + //////+T////k/7+/v/+/v7//v7+///////+/v7///////7+/v///////v7+//7+/v/+/v7//v7+//7+ + /v/+/v7//v7+//39/f/19fX/19fX/7e3t/+cnJz/i4uL/4WFhf+BgYH/fHx8/4eHh/+dnZ3/uLi4/9zc + 3P/29vb//f39//7+/v/9/f3//v7+//7+/v///////v7+///////+/v7//v7+/////////////v7+//// + /////////v7+//////////+T////k/7+/v////////////////////////////////////////////// + ///////////////////6+vr/0dHR/6enp/+np6f/urq6/9TU1P/v7+//8/Pz//39/f/9/f3/9/f3/+jo + 6P/S0tL/t7e3/4eHh/9qamr/iYmJ/9LS0v/7+/v//f39//7+/v////////////7+/v////////////7+ + /v////////////7+/v////////////7+/v////+T////k/////////////////////////////////// + ///////////////////////////////////r6+v/19fX//f39//9/f3//f39//39/f/8/Pz//f39//z8 + /P/+/v7//v7+//7+/v/+/v7//v7+//39/f/09PT/x8fH/3Fxcf/g4OD//v7+//39/f////////////// + //////////////////////////////////////////////////////+T////k//////+/v7///////// + ///+/v7//v7+///////+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+/v/9/f3//f39//7+ + /v/9/f3/8vLy//n5+f/8/Pz//f39//7+/v/+/v7//f39//39/f/+/v7//f39/62trf/a2tr//Pz8//7+ + /v/+/v7//v7+///////+/v7//v7+/////////////v7+//7+/v/+/v7//v7+//////////+T/v7+k/// + /////////v7+//7+/v/////////////////+/v7////////////+/v7///////7+/v/+/v7///////// + ///+/v7/+/v7//39/f/z8/P/0NDQ//39/f///////f39//39/f/9/f3//f39//7+/v///////////66u + rv/b29v//v7+//7+/v////////////7+/v////////////7+/v////////////7+/v////////////7+ + /v/+/v6T////k////////////////////////////v7+//////////////////////////////////// + ///////////////////+/v7//f39//39/f/Nzc3/xcXF/+Tk5P/l5eX/5OTk//Dw8P/9/f3//f39//7+ + /v///////////66urv/b29v//v7+//////////////////////////////////////////////////// + //////////////////////+T////k//////+/v7////////////+/v7////////////+/v7//v7+//// + ///+/v7//v7+///////+/v7///////7+/v/+/v7//f39//39/P/Ozs7/nZ2d/6CgoP+goKD/n5+f/9TU + 1P/9/fz//v7+//7+/v/+/v7//v7+/66vrv/b29v//v7+///////+/v7//v7+///////+/v7//v7+//// + ///+/v7//v7+///////+/v7//v7+//////////+T////k/////////////////////////////////7+ + /v////////////7+/v////////////7+/v////////////7+/v/+/v7//P38//3+9//9/fj//v3+//7+ + /v/+/f7//vv///79+P/9/vL//vz9//7+/v/+/f7//v39/66vq//b29v//v7+///////+/v7///////// + ///+/v7////////////+/v7////////////+/v7//v7+//////////+T////k/////////////////// + /////////v7+///////////////////////////////////////////////////////+/v7//f32/7a9 + mf/V2r////78///9/v///v7///37/8vQsf/Dy6L//v73//7+/f///f7///39/66vrP/b29v//v7+//// + ///////////////////////////////////+/v7///////////////////////////////+T////k/7+ + /v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+ + /v/+/v7/7vHd/3aJQv+Somj//f71//38/v/9//7//f7x/4CSUf+BllH/9fjn//7+/f/+/v7//f3+/66u + rv/b29v//v7+///////+/v7//v7+//7+/v/+/v7//v7+/////////////v7+///////+/v7//v7+//// + //////+T////k//////////////////////////////////////+/v7//v7+/////////////v7+//7+ + /v////////////7+/v/+/v7/4uvX/3SSTP+HoGb/+P3z//7+/v/9/v7/8/3t/3aTU/9/m1v/6vPj//z+ + /v////z//v7+/66urv/a2tr//v7+///////////////////////////////////////+/v7///////// + //////////////////////+T////k////////////v7+/////////////v7+//////////////////// + ///////////////////////////////////8/v7/7Prv/4Gfdv+guJf/+v/6//7//v/+/v7/9f75/4+s + if+Qqof/7vny//v+/v////z////7/6+urf/b29v//v7+//7+/v////////////////////////////// + //////////////////////////////////////+T////k/7+/v/+/v7///////7+/v/+/v7//v7+//// + /////////v7+///////+/v7//v7+//7+/v///////v7+//7+/v/9/v7/+P78/9/v5f/q+O3//P77//78 + /v/+/f7/+P78/+Pw6v/m8ez/+P79//z+/v/+/v7//v78/6+vrf/b29v//v7+//7+/v/+/v7//v7+//// + ///+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//////////+T////k/////////////////7+ + /v/////////////////+/v7///////7+/v////7///7+///+/v/+/v7//v7+//7+/////v7//vz9//n8 + /f/3/fj//v37//75/v/8/f3/+f72//z9+//7+v3//f75//7+/P/+/P///v3+/7Gysf/b29v//v7+//7+ + /f////7///7+//7+/v////////////7+/v////////////7+/v////////////7+/v/+/v6T////k/// + ///////////////+/////v///v7+//7+/f/+/v3//f78//7+/P/9/vr//fz9//78/v/7/vb/+vz8//z6 + /v/+/f7//vz+//39/f/8/fr//v39//77/v/8/fz/+/73//79/P/9+/7//f39//z+/P/8/vz/+vz8/+js + 6f/09fb/+/v9//7++f/+/vn//v38//79/v/+/v7///////////////////////////////////////// + //////+T////k//////+/v7//v7+//7+/v/+/v7///////39/f/9/P3//f39//7+/v/4+/v//fz9//z1 + +//w7ef/4eDP/8nItv+xsZf/naGB/46Tb/+AhF//eHhZ/3V1Wf9zd1X/dHlS/3h6WP+AgWb/jY12/5ye + hv+ur5v/yMi7/+Hh2f/w7e//+vr3//z9/f/8+/7//fr+//7+/P/+/v3///////7+/v///////v7+//7+ + /v/+/v7//v7+//////////+T////k//////+/v7//////////v////7//v7+//79/v/+/f7//fz+/+zs + 7f/AxsP/q6qh/42JZP96eDv/cnoi/3SCFv96ig//gI8M/4WVDP+ImAj/iZkJ/4mYCv+KmQr/ipkJ/4qZ + Cf+Glgj/gZAH/32JDP92fRT/bGwY/2RnIv9qakj/gX55/5WWl//Ex8r/7u/x//7+9v/+/vv//v7+//// + ///+/v7//v7+///////+/v7//v7+//////////+T/v7+k/7+/v/+/v7//v7+//7+/f/+/v7//Pv8/+3s + 7v+9vL7/np6f/6+vsP/T1Nb/5ObG/5CkIf+OoQP/jqAE/46hAv+OoQH/jKEB/42hAf+OoAD/j6EA/5Gj + Af+SogH/kqIA/5SkAf+RogH/kKAC/4+gA/+PogL/j6MD/4uiBv+QpSj/5OXQ/8HCwf+QlpP/bnBx/317 + ff++vL3/8PDw//z8/P/+/v7//f39//7+/v/+/v7//v7+//////////+T/v7+k/z8/P/9/f3//v7+//Lz + 8f/MzMz/qqmr/7OytP/j4uP//f38//7+/P/+/vb/ytSG/4qhB/+QpAD/kKEB/4+gAv+MnwD/h6AD/4ah + Av+GogH/hqMA/4ejAP+IoQL/iaID/4qkAP+LpgH/i6YA/4mjAP+KogD/jKUB/46nAv+Npwv/2uKf//36 + /P/6/fr/+/33/93d2/+cm5z/b29v/4aGhv/Kysr/9fX1//39/f/9/f3//v7+//7+/v////+T/v7+k/39 + /f/s7Oz/v7+//7q7uf/W1tb/+vn7//z8/f/+/v3//f74//7+9P/l6rf/kqcn/4yiBf+NogH/i6QA/4mi + AP+JogD/hqEC/4WfBv+Dngn/iKUS/5GsG/+RqCD/i6EZ/4agCP+HpAP/iKUB/4mkAP+KowD/jaYA/4+n + Af+NpAn/l7Ar/+/0z//+/vf//f76//37/f/9/f3/9vb2/8rKyv+IiIj/b29v/7CwsP/u7u7//v7+//// + ///+/v6T//7/k/r79v/Fx7z/7u7r//38/f/9/Pz//v3+//79/v/9/fn//v7v/+Dov/+PqSb/iacD/4ql + AP+KpgD/hKMC/4SkAf+Eogf/iage/7bIa//j6rn/9PbZ/9bas//e4bj/8/XT/9virf+wwGn/h6Il/3+i + B/+BpAD/haUC/4qnAv+KpQX/h6YM/5qzQP/r8Mv//v70//39/f/9/f7//f39//z8/P/8/Pz/5ubk/5mb + kP+IiYX//f39///////+/v6T//3+k9nfu/+twWb/5um+//b44P/+/u7//v7w//n86P/p78T/uMlt/4yn + IP+Hpgf/iqcG/4qnBf+IpwT/g6YC/4SjEv+5ym//8/bY//3+9v/8/fn/7+/b/32KLv+Nl0D/9vXh//39 + +P/9/ff/8PPW/6jAWf+Cpw//gqcG/4amCv+IqQ3/iagV/4aoFP+Urjr/ydeR/+3y1f/7/O3//v70//79 + 9f/3+uX/3+m9/6K6Zf+EiW///f39//7+/v/+/v6T//3+k9njsP9/pQ7/iKYa/5ewNf+gtFL/pbZg/5ix + SP+KrCL/h6oP/4elDf+Gpwv/iakP/4imEv+Iqwz/hqkV/8vYiv/+/e///f37//78/v/5+O3/mqRV/25+ + A/9uegf/pqts//z88f/+/fr//f37//r67P+/zoH/haUc/4SpDf+FqhX/h6kc/4arFf+IqyD/gqgk/4yu + PP+bt1j/pr5s/6C4aP+YuE7/hKss/3ylIP+KkXH//v7+//7+/v/+/v6T/vv+k+PqwP+CpRn/hacR/4uq + HP+IqRv/hqkY/4SpFf+Hqxj/iaoZ/4uqGv+Hqxj/hqsY/4aqGf+HqSb/xNOO//789P/8+f3/+fv8//79 + +P/AxYn/eYcI/3qFAP95hAH/eocS/9TWqf/++/r/+/38//r8/f/5+vH/usx8/4OqG/+Erh//h60p/4Sp + KP+IqjX/g60o/4OtKv+EqzP/g6wv/4OvLf+Criz/hKw2/3qeMP+Rmnz//v7+///////+/v6T/v78k+/2 + 0f+IqTD/h6oh/4qrKf+Iqib/g6kf/4SrIv+DqST/hKgl/4mtKf+Hryf/g6wk/4OpKf+ovnD/+/3t//z7 + /v/6/f3/+/36/+rtx/+FkCD/ho4H/4iMB/+GjQX/gI0C/42WMP/09dj//P35//j++//7/vv//P7p/5m1 + Xv9/qy7/ga0u/32oLv+BqDr/g7Ax/36rLv+BrTb/gqw7/4KtP/+CrT//f6c8/3aaOP+iro///v7+//7+ + /v////+T//79k/r95f+LqkX/hK0q/4mvN/+IsDf/hrAz/3+pLv+BqzP/ga0x/4CvKv+BrTL/gqs3/4ir + Q//j8ML//f76//v9/f/8/vz//fzx/6yzY/+KkxP/kZQV/5GWEP+OlA3/j5gI/4qVEP+/wn7//fz0//v9 + /v/7/f7//Pz8/9PivP9/qkH/e60y/3yuNf99rTr/f7A3/4CvO/+BsD7/f65D/4OySP+CskX/gq9F/3SV + Qv+5w67//v7+///////+/v6T/fv/k/z99v+btW//ha5A/4SuQf+DrUH/hK1B/4OuPv+Crz3/hLJA/4Ct + Pv+BrT//h69I/568bf/8/ur//vv+//78/v/9/vb/4uK5/5efMf+dnyX/m58j/5igHf+Xnhz/mp4a/5me + Hf+YoDX/6+vO//77/v/9/vz//Pz9/+/36f+Ks1z/fK9A/3yuR/99r0X/fa5J/3+tTP98rUr/f7BT/36x + T/9/tEv/g7NM/3GQS//Y3tL//v7+//////////+T/f7+k/v++f+40Jj/g7BK/4OxSf+Eskn/hbNI/4Oy + RP+Dskb/grBJ/4CuTf9+sEb/ha9L/7rNm//9/fv//vv+//78/v/7++v/trhr/6OmMf+ppzH/oqcw/6Cn + OP+kqDj/pacw/6SnLf+hqDX/vsN3//799f/+/vr//f77//j9+P+lxoL/e7BK/32zVP99tE3/fbNN/3uy + S/98tEr/frZR/3m0Tf97tE//g7FY/3eQXv/t8Oz//v7+//////////+T/v78k/7+/v/S48D/grBU/4Cz + Uv+CtFT/hLRS/3+vTP+Cs1D/fbJP/320Uv98tVL/ha9b/8vbsf/+/vv//f3+//36/P/n6MH/qqxK/7Ov + Qv+xrz3/p6xE/9TVmf/NzYf/q7A+/66vPP+vsD7/q7JL//Py2//+/f3//f38//38/f+10aD/d7NQ/3e0 + WP99s1j/fbRU/3SyUP96s1P/fLVb/3i1XP93t1f/e65b/5Clfv/8+/v//v7+///////+/v6T//7+k/3+ + /f/x++f/irNn/4O1W/+Bs1v/gbRa/4O3W/+Ct1v/g7dd/4G2XP99uFv/fbNg/8jgtP/+/vz/+/z+//z+ + 9f/Ky5H/vbpf/765U/+7u1X/wMN4//v66f/39eD/u7xu/7u3Tf++u0v/uLdW/9LPpP/+/vj/+f75//n+ + /P+41ab/e7Zc/3a1X/96tGD/e7Rf/3e0X/92uGH/c7dj/3K3Zf91tWj/fKlw/7nLtf/9+/3///7///// + ///+/v6T//3+k/7+/P/3/vX/p8aS/4K1Xv9+uF3/f7tj/3u5ZP98uWj/grtt/4G4bP+Aumj/eLho/7XZ + qv/+/fz//Pz+//b44f/Gw33/xsJr/8PAY//Ix3v/7+7S//78/P/+/fv/6ebH/8W/cf/Hw2D/yMBq/8nG + hf/7+uj/+v75//b++f+qzJz/d7Rg/3K4Zf9zumX/crZk/3S5aP9xumf/c75q/3a8bf98tnf/ep54/+r0 + 6P/8/Pv//v7+//7+/v/+/v6T//3+k/7+/f/5/fz/2e3Q/4a2cP98tmr/e7hv/3q5cf94uG//erpw/3q5 + b/99uG7/crlu/5vKlv/7/ff//fv9/+boxP/TzYP/0tF//83Mhv/t6sz//v76//3+/f/8/v7//v73/+Xi + uv/JyYH/0cuC/9DNgf/x7ND//fz9/+z68f+SwIr/dLhq/2q7aP9ovGT/a7pp/3C6bf95unX/fbh2/4zB + hf+awZf/qbyr//v++v///vz///7+//7+/v/+/v6T/v7+k/79/v/9/P7/9f3z/8Xhw/+83bz/tdi1/6bP + pf+Qwo3/gbt6/328dP95unT/cbx2/3y3f//o+Ob//P34/+Dhtv/b1ZX/0tSX/+vp0P/+/vf//v7+//3+ + /f/8//r//f78//398//o6cX/2Nak/93bmv/m5MD//vz8/9Tw3P98u4D/bLp0/2m/cv9ovm7/crh3/4zE + jf+63Lr/4fbh/+//7//J1Mz/6+/v//77////+////v7+///////+/v6T//76k/78/v/+/P7/+/76//n+ + +v/5/vr/+f76//n++P/s/Ov/y+jL/5nGm/96wIH/c8GA/3a8gf+x2bT/9Pvt/9zdsf/e2rD/7/HY//38 + /P/8/vv//P39//79/v///vr//v7+//7+/P/9/fX/8O7Y/9vYsv/c4Lb/9vzv/6DTrf9wwoP/a7+A/2m+ + f/90vYD/rNm3/+j46f/4/vf/+v37//Py9P/X1df//Pz8//79/f/9/P7//v7+//////////+T//76k//9 + /v/+/f7//v79//7+/v/+/v7//v3+///9/v/9/v7/+P78/+z78v+03rn/ecCP/3HCiP+Bx5P/yunN/+Xo + zf/8+u///f77//z+/f/7/v3//f7+//7+/v/+/v3//v79//7+/f/9/f7//v37//f36f/b68r/yenL/3rC + kf9nxon/YsGH/3S9jP+54sH/7v72//z9/f/+/f3//fv8/9vX2v/49/j//v78//3//P/9/v7//v7+//// + //////+T////k/7+/v/////////////////+/v7//v7+/////////////////////v/4/vj/uOPL/3jG + lv9rx5D/i82j/9705f/w/fv/9/38//r+/f/+/v7//v7+//7+/v/9/v3/+//9//z+/f/+/P7//vz9//b9 + +P/K8tz/fsuh/2jIlv9lypb/Z8aU/67hwf/1/fb/+f79//3+/v/+/f3/5eXl/+7u7v/+/v7///////// + //////////////////////+T////k/7+/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//7+ + /v/9/f7/8P32/5/Yuv9sypv/bMeZ/4jLqf++7Nj/9f76//z9/f/+/f7//v3+//79/v/9/v7/+v7+//3+ + +//9/fr/8v73/7rn1v97z7D/Zc6m/2LNov9ny6L/iNKx/+f98//7/fz//fz+//z9/v/v8PD/7e3t//z8 + /P/9/f3//v7+//7+/v///////v7+//7+/v////+T////k/////////////////7+/v/+/v7//v7+//7+ + /v///////v7+///+///9/P7//v38/9346/93zqz/YM2i/2rNov9uyqL/ldO8/8Lu4P/i/PT/7/76//X+ + /P/2/vz/8v36/+b79P/E7d//k9vD/2vPsP9l1LL/aNWz/2XSrv9uz7D/vOvc//v9/f/+/P7//vv+/+3x + 8P/q7e3//Pz8//39/f/+/v7////////////+/v7///////////////+T////k/////////////////// + ///////////////////////////////////+/f7//v39//n++f+f4s3/Yc+t/2XSrP9e0qr/W8+m/2LM + p/9zz6//iNm//47awv+S3cX/i9nD/3vRvP9ozrP/ZNS0/2bWtf9k1LX/Yta5/2DWt/972L7/3fr0//78 + /v/+/P7/8/Hw/+/y8P/7/v7///////////////////////////////////////////////+T////k/7+ + /v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/9/f3/+/79//79/P/D8eX/adC3/2DU + tf9a07D/WNOp/1nRqv9Yz6v/XNGw/1nQr/9Z1LL/V9O0/1XTuP9Q1Lf/U9a3/13Wuf9e1Ln/WtS6/1vZ + vf+K38z/6v77//78/v/x8O//9/fz//z9/f/+/v7//v7+///////+/v7//v7+///////+/v7//v7+//// + //////+T////k//////+/v7//v7+///////////////////////+/v7//v7+///////+/f7/+f7+//3+ + /f/c+fP/cNG8/1XXuP9Y1bb/VtSz/1LSsv9T1Lb/VNW5/1PUuP9W1rr/Vde6/1PWu/9X2L//V9m//1XZ + wf9S2L//Vde//1rYwf+V39T/5PP1/+zu7//8/vv/+v37//36/f/+/f7///////7+/v////////////7+ + /v///////v7+//7+/v/+/v6T////k/////////////////////////////////////////////////// + ///+/f7//f7+//j+/f/e+vj/g9fH/1vXv/9P1rz/UNS7/07UvP9L1b3/StfA/07Yw/9Q18P/UdjD/0/Y + wv9R2MP/UtrF/1Tbx/9X2cb/YdjG/5Lj1v/P7+v/9Pz9//3//v/+/v7//f7+//79///+/v////////// + ///////////////////////////////////+/v6T////k//////+/v7//v7+//7+/v/+/v7//v7+//7+ + /v/+/v7//v7+//7+/v/8/v7//v7+//3+/v/x/v3/0fby/6jo4P+D4NH/YdjE/1fVwP9U1sL/UtjE/1Pa + yP9T2cf/VNrI/1Tbx/9X2cb/ZdvK/4jk1/+v6+T/1Pb0/+39/P/2/v7/+v7+//3+/v/+/v7//v7+//3/ + ///+/v7//v7+///////+/v7//v7+///////+/v7//v7+//////////+T////k/////////////////// + //////////////7+/v////////////7+/v/7/v7//v7////+///+/f7//P3+//f+/v/w/v7/6P37/9z6 + 9v/L9PD/uO3o/67r5f+o7Ob/tO7p/9D08P/e+/j/6v38//P+/v/5/v3//P7+//v+/v/6/v7//f7+//7+ + /v/+/v7//v7+//3////+/v7//v7+///////+/v7//v7+///////+/v7//v7+///////+/v6T/v7+k/// + ///////////////////////////////////////////////////9/v7//v7+//7+/v/+/v///f7+//z+ + /v/7/v7//P7+//v+/v/5/v3/+v7+//r+/v/7/v7/+v7///j//v/5//7/+v7+//v+/f/8/v3//f7+//3+ + /v/+/v7///7+//7+/v////////////3////+//////////////////////////////////////////// + ///+/v6T////k/7+/v////////////7+/v/+/v7////////////+/v7////////////+/v7///////7/ + ///7/v7//P////z////9/v///v7///7+///9/v///P////z////8////+/////z//v/+/v7///7+///9 + /v///v7//f7+//7//v/+/v7////////////+/v7///////7////+//////////////////////////// + ///+/v7///////////////+TAAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAA + AAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA + //8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAA + AAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA + //8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAA + AAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA + //8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//KAAAAEAAAACAAAAAAQAgAAAA + AAAAQgAAAAAAAAAAAAAAAAAAAAAAAP///2////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///+/v7//f39//39/f/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7///////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////2////9v//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////7+/v/+/v7//v7+//7+/v/9/f3//f39//7+/v/+/v7//v7+//7+/v/9/f3//v7+//7+ + /v/+/v7//v7+//////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////9v////b/// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////v7+//39/f/8/Pz/+Pj4//Pz8//v7+//7e3t/+zs + 7P/u7u7/7+/v//X19f/6+vr//f39//7+/v////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////b////2////////////////////////////////////////////////////////////// + ///////////////////////////////////+/v7//v7+//7+/v/6+vr/8PDw/9DQ0P+wsLD/kpKS/35+ + fv9wcHD/bm5u/2tra/9oaGj/YWFh/2NjY/9zc3P/hISE/56env+7u7v/4eHh//b29v/8/Pz//f39//39 + /f/9/f3//v7+//7+/v/+/v7///////////////////////////////////////////////////////// + /////////////////////////////////2////9v//////////////////////////////////////// + /////////////////////////////////////////////////////////f39//Dw8P+6urr/jo6O/5GR + kf+dnZ3/vr6+/9bW1v/r6+v/7+/v//r6+v/9/f3//f39//b29v/q6ur/1dXV/8DAwP+kpKT/enp6/11d + Xf9XV1f/k5OT/9TU1P/6+vr//f39//39/f/+/v7//v7+//////////////////////////////////// + //////////////////////////////////////////////////////9v////b/////////////////// + /////////////////////////////////////////////////////////////////////////////+Hh + 4f+jo6P/ycnJ/+7u7v/4+Pj//Pz8//7+/v/9/f3//Pz8//7+/v/8/Pz//f39//39/f/+/v7//v7+//7+ + /v/+/v7//v7+//n5+f/w8PD/zc3N/4iIiP9aWlr/kZGR//v7+//+/v7//Pz8//////////////////// + ////////////////////////////////////////////////////////////////////////////b/// + /2////////////////////////////////////////////////////////////////////////////// + ///////////////////z8/P/+vr6//39/f/9/f3//f39//39/f/9/f3//f39//z8/P/8/Pz//Pz8//39 + /f/+/v7//v7+//7+/v/+/v7//f39//7+/v/8/Pz//v7+//7+/v/7+/v/19fX/2lpaf/39/f//Pz8//7+ + /v/+/v7///////////////////////////////////////////////////////////////////////// + /////////////////2////9v//////////////////////////////////////////////////////// + /////////////////////////////////////////v7+//7+/v/9/f3//v7+//39/f/8/Pz//v7+//39 + /f/9/f3/9fX1/+rq6v/9/f3//f39//39/f/9/f3//v7+//7+/v/+/v7//f39//7+/v/+/v7//f39//Hx + 8f94eHj/9vb2//39/f/9/f3///////////////////////////////////////////////////////// + //////////////////////////////////////9v////b/////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///+/v7/+/v7//39/f/+/v7/9fX1/8LCwv/6+vr//f39///////8/Pz//f39//39/f/9/f3//f39//7+ + /v/////////////////x8fH/eHh4//j4+P/+/v7//v7+//////////////////////////////////// + ////////////////////////////////////////////////////////////b////2////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////v7+//39/f/9/f3//Pz8/9LS0v/Hx8f//v7+//7+/v/+/v7//v7+//z8 + /P/7+/v//f39//7+/v/+/v7/////////////////8fHx/3h4eP/4+Pj//v7+//7+/v////////////// + //////////////////////////////////////////////////////////////////////////////// + /2////9v//////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////7+/v/8/Pz//v7+//39/f+goKD/jo6O/6Wl + pf+kpKT/p6en/6ampv+srKz//Pz8//7+/v/9/f3//f39//////////////////Hx8f94eHj/+Pj4//7+ + /v/+/v7///////////////////////////////////////////////////////////////////////// + //////////////////////9v////b/////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////////+/v7//f39//7+ + /v/8/Pz/0NDQ/7a2tv+3t7f/tra2/7a2tv+2tbb/vr2+//v7+//8/Pz//v7+//7+/v////////7////+ + /v/x8vH/eHh3//j4+P/+/v7//v7+//////////////////////////////////////////////////// + ////////////////////////////////////////////b////2////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////v7+//z8/f/9/fr//f74//39+//+/f7//v7///7+/v/+/P3//vz///77/v/9/vX//v/3//79 + /f/+/f7////////9/////f7/8fLt/3h4d//4+Pj//v7+//7+/v////////////////////////////// + /////////////////////////////////////////////////////////////////2////9v//////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////79/v/8/fz/9/rp/9vexf/5+e3//v79///9/////v7///7+///8 + /v/+/Pn/4OTG//T63f/+/vn//v3+/////v///P////39//Hy7P94eHb/+Pj4//7+/v/+/v7///////// + //////////////////////////////////////////////////////////////////////////////// + //////9v////b/////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7//f33/73Enf9te0H/ytGt///+ + +P///f///v7///7//v/+/vr/3uLH/29+QP+msoD//P7u///+/P////7//v3+//79/v/x8vD/eHh3//j4 + +P/+/v7//v7+//////////////////////////////////////////////////////////////////// + ////////////////////////////b////2////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////////////v7+//j6 + 7f+YqGz/aoIx/5uqdP/8/vH//vz///39///8//7//P71/7K9kP9pgTD/iZ1a//D03v/+//z////9//7+ + /v/9/f//8PHx/3h4eP/4+Pj//v7+//7+/v////////////////////////////////////////////// + /////////////////////////////////////////////////2////9v//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////7+/v/1+e3/iaBk/2+OPf+OpW7/9v3u//7+///+/v7//P7+//f+8/+ft4P/cJBB/4Gb + XP/l7tj/+/78//7//f////z///7+//Hx8f93d3f/+Pj4//7+/v/+/v7///////////////////////// + //////////////////////////////////////////////////////////////////////9v////b/// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////8/v7/8vv0/5q2iv9ukFb/nbOP//n/9//+//7////+//3+ + /v/3/vr/rMak/3GSW/+MqHz/5/Tn//j9/v/9/v3////7////+//y8vH/eHd3//j4+P/+/v7//v7+//7+ + /v////////////////////////////////////////////////////////////////////////////// + ////////////b////2////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////P7+//T++//E28X/h6OF/8zf + y//5//r//v7+///+/v/+/v7/+P7+/9vw4v+Gn4b/ucy5//H79//5/v7//f7+///+/P////v/8vHu/3d2 + dv/5+fn//v7+//7+/v/+/v7///////////////////////////////////////////////////////// + /////////////////////////////////2////9v//////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////3+ + /v/6/v3/8fz3/+Hx6P/y/fX/+/76///9/v///P///f3+//n//P/0/vn/4u7p//L69//4/v3/+v79//3+ + /////v7///79//Ly7/94eHf/+fn5//7+/v/9/f3//v7+//////////////////////////////////// + //////////////////////////////////////////////////////9v////b/////////////////// + //////////////////////////////////////////////////////7////+///+/v///v////7+//7/ + /v/+/v7//v7////+/////v7//vz9//v8/v/3/v3/9/33//3++v//+/7//vr///z+/f/5//f/+/74//z8 + /v/7+/3//P75//3/+f/+/v7//vz///79/v/y8fH/eHh4//f39//+/v7//v7+//7+/v////7///7+///+ + ////////////////////////////////////////////////////////////////////////////b/// + /2////////////////////////7////+/////////////////v/+/v3//v/+/////v////7//v/8//7/ + +//+/f3//vv///3+/P/7//j/+/79//z8///+/f///v3+///6/f/+/P//+fv6//v++P/+/fv///r+//76 + ///6/fv/+f/1//7++P/9+v3//fn9//79/P/9//v//f78//z9/f/6+/z/9Pf2/66zr//5+vv//f3+//7+ + /P/+//v//v75//7++//+/f////7+//////////////////////////////////////////////////// + /////////////////2////9v///////////////////////+/////v////////////////7//f79//39 + /P/8/fz//v79//z9+//8/fr//f38//75///+/Pz//P71//r9+v/7+v///vz+//78/f/8+/z/+Pj3//Ly + 7v/t7On/6Obm/+bj5v/l4+X/4+Tj/+Pl4P/l5uH/6ujp//Ds8f/18vj/9/j7//v9+//8/vv//P79//n7 + +//4+/n//Pr+//r6/P/9/vr//P35//79/P/9+/3//vv///79/v////////////////////////////// + //////////////////////////////////////9v////b/////////////////////////////////// + //////////////z8/P/9/f3//fz9//7+/v/8/v3/9/v6//39/P/+9/3/9u/0/+nm3f/b2sX/xcWt/6in + jP+Wl3P/gYdd/3Z8Tv9sc0P/Zms7/2JkOf9fYTr/X2E5/11jNf9fZDP/YGU1/2JmO/9naUP/bXBN/3d6 + WP+FiWn/l5h//7KxoP/NzMD/4eDZ/+7p7f/5+Pb//f37//z8/v/8+/7//fr+//7+/f/+/vr////+//// + ////////////////////////////////////////////////////////////b////2////////////// + ///////////+/////v/////////////+///+/f7//fz+//38/v/8/P3/8/b0/+Dm4v/AwL3/oJmK/4N6 + YP9zbkL/am0q/2t2Hf9vexX/dYQR/3uKDv9+jw3/g5QN/4WVCv+FlQv/hpUM/4aWDf+Glg3/h5cM/4aX + C/+Hlw3/gZIK/3uLCP94hQr/c3wP/21wF/9gXxj/Wlcd/1laLf9mYVL/hYJ+/6Oio//Nz9P/6u3w//j5 + +v/+/vj////0/////f////////////////////////////////////////////////////////////// + /2////9v/////////////////////////v////7//////////////v///Pv9//X09v/T0tP/nZye/4uN + jv+Tlpj/t7as/6u3Yv+Bkw7/i5wN/4ueCv+LoQb/jaEF/42gBP+OngT/kaAE/5GgAv+SoQH/k6IA/5Oi + AP+UogD/laIA/5WhAf+WogL/lKEC/5KfAf+SoAP/kqAF/5KgBv+Rngj/kp4L/42cDf+Hmhn/jZpE/7a1 + of+Hh4b/Wl9b/01TUv97fYD/tLO0/+jm5P////7///////////////////////////////////////// + //////////////////////9v////b/39/f/9/f3//f39//39/f/9/f3//f79//7+/v/19Pb/y8rM/6Gg + ov+Xlpj/pqam/+Xl5P/29fb/+/r7//v85P+aqzT/jKMC/5ChAP+QnwP/kKAD/4+gAv+NoAD/iaIA/4mi + AP+JoQD/iqEB/4uhAf+NpAL/i6EA/46jAv+OogH/j6QA/4+lAf+OowL/jKEC/42hA/+LoQL/i6MA/4yl + AP+NpwD/jKkA/5CqGf/s8MT//Pr6//X49v/g5uL/rrGw/3h4dv9aVVz/bm1u/66urv/g4OD/+vr6//7+ + /v/9/f3//Pz8//7+/v/9/f3//v7+////////////////b////2/9/f3//Pz8//39/f/+/v7/+fn5/97f + 3v+2tbb/mZiZ/7a1t//e3d7/9PT1//3+/P/9/vr//v78//7+8v/Y4Jv/iqAP/4yjAP+RowD/kaIB/4+h + Av+OnwH/i58A/4igBP+GoAT/hqEC/4ShAP+FowD/hKMA/4mkAP+GnwL/iKAD/4mjAf+JpQD/i6cA/4uo + AP+KpAD/iaIA/4qiAP+MpAL/jqYD/46mAf+MpQ3/xtJ8//397v/7+v3/+/75//v+9//3+PH/5OLj/7Oz + s/98fHz/W1tb/39/f//FxcX/7+/v//z8/P/+/v7//Pz8//7+/v///////////////2////9v/f39//39 + /f/19fX/2NjY/6qqqv+vsK7/z8/P//n4+f/8+/3//fz9//7+/f/9/fn//f74//7/8f/r8L//nK48/4ig + Bv+OowT/jqMB/4ykAP+KogD/iqIA/4mhAP+HoQL/hp8D/4WgBf+CoAP/g6IG/4enCf+Iowv/iaER/4if + Ef+GoAb/iaYD/4imAf+IpQD/iqUA/4qjAP+KowD/jKUA/4+mAf+PpQP/i6IK/5StJ//d56f//v70//3+ + +P/8/vf//vz9//37/f/8/P3/+Pj4/9XV1f+ZmZn/W1tb/2xsbP+wsLD/6Ojo//r6+v/+/v7///////// + //////9v////b/7+/v/v7+//oaGh/7m5uf/x8fD//f79//z8/P/9/P3//fz9//39/f/9/fr//v/5//3/ + 9v/q8cf/nLBA/4ikC/+JogL/jKMB/4ulAf+HpAL/haMB/4ejAP+FowD/gqMB/4GdD/+NojH/t8Zr/8zX + i//V35n/1eCW/9ffm//S2pT/t8Rr/5SoO/+CnBj/g6EK/4OiAv+EpAD/haQA/4ilAP+KpwH/jaYA/42m + CP+Jpwv/la41/+Xut//+/vT//v77//38/f/8+/7//f3+//39/f/8/Pz//Pz8//f39/+0tLT/Z2dn/1FR + Uf+5ubn//v7+////////////////b//+/2///vz/2+PD//H11//9/PL//vz9//77/v/9/f3//v79//79 + /v/+/v3//v70//3/4f/f6q7/kKU6/4OjBv+JqQD/iaYA/4mmAP+IpQH/g6MC/4KkAv+Eowj/g6AX/6S7 + U//e6aj/+f3b//7+8P/+/vn/7e/X/4KJUf/a3bT//v7v//7+8P/8/eX/4em4/66/bf+DoCT/faMG/3+l + AP+CpQP/hqYG/4mnA/+HpQf/hqQL/4amEv+KozH/2+Ws//v94v/+/vX//v3+//79/v/9/f3//v3+//79 + /f/+/f7//v36//n85/+mr43/ioqF//39/f///////////////2///v9v//32/6GzYv+it1L/2eCk/+7x + zP/5/OD///7p////7P/8/uj/8fbV/9/orf+svl3/jacj/4ekDf+Ipwb/iqgI/4qnCP+JqAX/iKgF/4On + Af+BpAn/lK00/9XhmP/4+uD//v74//v++//8/Pr/9vfl/5igV/9oeQf/jpZA/+/u0//+/vn//Pz2//79 + +//6++v/2+Wr/5ayPP+DqA//gaYG/4WmCv+IqQ7/iaoP/4moFf+JqhT/iKoY/46oM/+zxXH/2eSu/+/0 + 2f/8/ur//v7v//7+9P/8/uz/8/ja/9vntv+owWn/e5U7/42Ogf/9/f3///////////////9v//3/b/7+ + 8v+gulH/f6QN/4ajG/+WrzT/orlO/6q6Zf+uvHP/p7ll/5eyRP+KrCL/hqkQ/4imDv+GpAz/hqcJ/4mp + Dv+JpxH/iqcT/4irCP+CqAj/mrU9/+PrsP/+/e7//v34//78/v/+/P7/+/vx/7a9gP9tfQz/bXwB/214 + DP+eomH/+Pjq//398//+/vv//v38//799//u9Mv/obhT/4WmGv+EqA3/haoR/4aqFv+IqRv/iKwX/4it + Fv+HqyH/hKcm/4erMv+Xs1L/p8Bq/7LGff+uv4H/qb5x/5u5VP+HrDP/fqkc/3SWJf+Wl4j//f39//// + ////////////b//7/2///fX/rMRi/36mCP+Bpgf/iKkS/4emGP+GpRz/hqYf/4apHP+FqRb/h60T/4ms + EP+MqxP/iqoU/4eqE/+Iqhb/hqgU/4aoGP+GqhX/jqo1/+3yw//+/fb//Pj9//r7/f/8/f3//vv7/9fZ + rf95hhr/cYIA/3aDAP9zgAL/d4MW/8nPl//+/Pn//fv8//z8/P/7+/3//fv8/+/y1f+dsVP/g6gS/4Gq + Ev+FrBv/h6sj/4WqIP+DqCL/ia4t/4WuJv+Aqxz/h64w/4KoMP+CqS7/gaku/4OuKP+FsCv/ha4u/4Kr + Kv9wkC3/m56Q//7+/v///////////////2//+/9v//34/7/Sgf9+nxj/hKYY/42sJP+MqyP/iKgc/4er + Gf+CqBX/gaYX/4iqH/+IqCD/h6Yf/4urIf+HrB7/haob/4SrGf+DpyL/jao//9zotv/+/Pv//fr9//v8 + /P/5/fz//f71//Dw1P+Nlzf/fowF/4CJAf+BiAL/f4gA/3uIBP97iB7/6eXL///+9//9/vz/+P37//r9 + /v/7/Pj/7fXJ/5q2TP+AqyL/gq4l/4WtK/+Dqiv/g6g0/4SmOv+ErDH/gKwn/4OqNf+CqjT/hK01/4Ww + Nv+CrzH/gaw1/4GoO/+Apjj/aIUv/6qwnf/+/v3///////////////9v//79b//+9P/O4Jf/f6Ij/4is + Iv+KrCj/iKoq/4msKP+EqiP/g6oi/4WsJv+Dqyf/g6km/4arKf+Iryr/hrAp/4KsJf+FrCn/hqg4/73O + j//8/u7//f39//v8/f/6/fz/+/37//397/+zvGv/gIwS/4ePCf+Kjgn/h4wI/4iPBv+EjwP/gY0M/6iv + Wv/5+eL//P34//j++v/4/vz/+/76//3/8P/T3rD/gaY+/3+sL/+Ari//fqst/36pM/+Bqjr/gq8z/36u + Kf9+qjT/g682/4GsO/+Bq0D/g65C/4KtQf9/qD3/gKg8/2iFNf+6wrD//v7+////////////////b//+ + /W///vb/3euz/32gL/+ErSf/iLAw/4iuN/+JsDX/h7Ey/3+pK/+AqS7/gqsy/4GsMP+Arir/gK4q/4Gt + Mf+BqzP/h6w9/5e2V//r887//f73//3+/v/6/Pz//P78//79+P/l5r//iZUm/4mREf+PkhP/kpUR/42T + Dv+NlAv/jZcG/4uVC/+Hkxv/19in//388//8/v3/+fz+//v9/v/8/Pv/9fjr/527c/9+qjn/e60x/3ut + Mv9+rjf/faw5/3+wN/9/sTT/gbA+/4CxO/9/rkD/hLJI/4KyRv+BsET/ga5D/4SqSf9kfz3/0tjL//7+ + /v///////////////2/+/P9v/v38/+nu0P+Cokj/hK04/4WvO/+Frj//hK09/4WvPv+CrTr/f6s4/4Ct + Of+EsTz/g7I5/36tNf+BrDv/hK1D/4esS/+604n/+/7m//79/f/9+////f78//7++P/7++z/sbZn/5KZ + JP+Wmh3/mZsf/5meHP+UnBb/k5sV/5eeEv+XnBX/j5ka/6WrVf/089z//vv+//78///7/P3//P3+//v8 + +//C2Kr/fapD/3uuOv96rT3/fa9B/3utQf99rkP/fq1D/4CtSv9+rkf/f65O/3+vTv+Bs0v/grZJ/4Ky + R/+FrE//Zn1G/+3y6v/+/v7///////////////9v/fz/b/v9/f/u9eD/lrVq/4WvRv+Er0T/hK9E/4Sv + RP+Er0T/hbFD/4ayQv+EsUH/hLFD/4OuRf+Aq0T/g7BD/4WwRP+Epk//2+rA//7+9v/9+v///vr///79 + /f/+/vX/5uW7/5qiOf+coSj/oaIq/56hJv+ZoSH/m6Mj/5yiJP+eoST/oqIk/5mfIv+YoTT/ztCa///9 + +P///f7////6//z9+//7/f3/4fHW/4KuT/98rkP/fa5L/3+yTP99sUj/fbBM/3+vTf9/sE3/eK1H/3+z + U/98sVD/fLNN/32yTP+Ds1L/fqNU/3SIXv/5/Pr//v7+////////////////b/3+/W/8/v3/9/3v/6vG + h/+CsEv/g7NL/4GwSf+Es0r/hrRL/4OyRv+CskT/grFG/4GvSP+Ar03/f7BN/32wRv+Gskz/j61h/+/0 + 4//9/f3//vz+//77///+/f3/+fnh/7a4bP+jpzn/p6cu/6moMv+lqTP/nKM1/6muSP+jpzn/pqkz/6Wn + L/+nqzH/oac2/6uyWP/19tb///38//7++//+/vr//Pz9//f+8v+OtWb/e7FL/3yzU/9+tVX/fbNN/32z + Tf96skz/erRL/361TP9/tlL/e7VQ/3izTf97tlD/gbJX/3eaV/+ZqIv//v3+//7+/v////////////// + /2////tv/v39//z++v/A1an/gq5U/4G1UP9/s1L/g7VU/4a2U/9/r0v/gLBM/4KzT/99sk7/frNR/3u0 + Uf98tVL/g69Y/524df/0+Oj//f77//z+/v/9+v7//vz4/+TmuP+nqkn/r65D/7KsPf+vrzr/p6w+/6qt + XP/x8Lf/vLxp/6mvOv+srj3/ra46/62vPf+rskX/2duk///8+//+/f3//v78//78/v/7/fn/nMCB/3iy + Uf91tVP/eLJY/32zVv9+tFP/drNQ/3SzT/98s1L/fbVa/3q1XP93tlj/d7dU/3yyWP9zllj/xM24//77 + /f///v////////////////9v//79b//+/v/8/vr/4fPR/4WuX/+DtFb/g7Nb/4O0W/+EtVn/hLZX/4S2 + Vv+BtVT/f7RU/4C1Vv9+tlb/fLdY/4CzXf+cv3z/8/np//7+/P/7/f7//P3+//z87f/Fxo7/tLNY/7u3 + T/+9t03/tbVJ/6+1U//X2J///v7t/+Lgsv+vslT/tLRJ/7i1Q/+5t0b/srRL/7y7ff/7+u3//v78//v+ + +v/6/v7/+v75/6XJjf98tln/d7ZZ/3i0Xf98s1z/frRb/3mzWv92tFr/fLhf/3i2YP91tWL/dbdj/3a2 + Yv9+smr/dZVm/+Lr3v//+/////7/////////////////b//+/2/+/v7//P75//X87f+UuHr/g7Nb/4K1 + XP9/tFv/f7Rb/3+1XP+AuGD/g7pj/4a7Zf+EuGP/grhi/324X/94tGD/lMJ+//D55//+/f3/+/z///r+ + +//v8NH/wsF+/8G9Zv/CvV3/wLxX/76/YP/Fx4X/+/rm///8/v/9++7/0dCb/725YP+/ulH/wr5Q/766 + Wv+5tW//5uTF//7+9//5//f/9//8//b/9v+hxov/erRe/3W2X/90tWL/ebZi/3m0Yv92s2P/dLVi/3C3 + Yv9wuWT/cbpn/3O4af93tG//fKl1/5Krjf/3/ff//fr9///+/////////////////2///f9v/v3+//3+ + +v/2/vX/u9Ss/4SyYv+AuF3/fLhd/3+8Y/99vGb/eLhl/3u5af+Bu2//f7ht/4K5bP+Aumn/d7pp/4K6 + dP/o9uH//v39//z7/v/9/vf/3+Cw/8bBd//Gwm3/xMJn/8XDav/LyYf/8vDU///9/P/+/f7//v78//b0 + 4v/PyY7/w79q/8rGZf/Lw2z/yMJ0/9jVov/9/e//+/74//j+/f/x//H/j7h+/3ezYv9zuGT/cLll/3K7 + Zf9wt2T/crdo/3S8av9xvGn/c79r/3W+bP94unD/frV6/3OZcv/L3cn/+v33//79+////v7///////// + //////9v//3/b//9/v/+/vz/+Pz7/+f34P+PuHj/gLhp/3y3aP96uGz/fLtx/3m5b/92tmz/eLlu/3y8 + cf98uG7/fLds/3O7bv93tXH/1OzP//3++//++v7/+/zv/9TTmv/TzID/0tB+/8zNe//Sz5H/7+vP///+ + +P///v7//P79//z+/v/+/vr/9fLW/8vKj//Lynz/zsl9/9HNff/Sz5D/+/fi//39/P/3/f3/2/Pd/4O0 + eP92uGr/bLlm/2y+af9nu2P/a7pn/265bP9yu23/erx2/3q4c/9/u3f/ir6E/5G4j/+QqJH/7vfv//3+ + +v///vz///7+////////////////b//+/m///v7//v3+//v8/v/3//X/uNWt/424hv+Muof/irqH/4i7 + hf+CuX7/f7t6/3y7df95u2//e7pw/3q4cf9xu3P/crZz/7LUr//4/vX//fz9//P03//Y1pz/2dKL/9PV + if/Pz5b/6+nL//799P///v7//v7+//z//P/7//v//f77//7+9f/u7tD/1NWf/9XSl//b2JH/1tOS//Tx + 1v/+/P3/9fz7/7/ixP98tnn/cLlw/2m7bv9qwW3/Zrxo/2q5bf9zuXX/e7p5/5C9kP+y2LH/yurH/9jx + 1/+/08H/x9HL//v9/v///f7///z+///+/v///////////////2////xv//7+///7///9/P7/+v75//D9 + 8P/q/u3/6f3s/+P35f/Z8dn/yObH/6zUqP+LvYb/g7t8/327eP95vXn/cr16/3K7ev+OwJL/4/bh//r+ + +P/r7NH/2dah/9vWm//T2J7/6+nT//79+P/+/vn//v7+//79///+/vz//v/5//7//f/8/Pv////2//Hz + 1v/d27T/2dai/9rYoP/k48P//f34/+779f+UzaD/dr5//2y7eP9pvXj/Z79z/22+df94uYH/jL6R/8bp + xf/u/+//8/70//T+9f/z+/X/uL26//f4+v/9+/////v////8/////v////////////////9v///4b//9 + /P//+v///v3+//z++v/7/vz/+//7//r++//7/vz//P38//r++f/z/vL/5/vo/7rbvP+Jvo//eMKC/3PC + gv91woT/fLuF/7feuf/0/vD/4+bG/9rZqf/g3bj/8/Xd//7+/P/8/f7/+/77//z9/f/+/P////79///+ + /P///f7//v79//7+/f/+/vn/+fjo/+TfxP/Y2a3/2+K6//T67P/L6M7/c7+I/2/EhP9rwIH/ab2C/23A + gP93uoT/st6+/+r88P/2/vP/+/75//z9/P/9+/3/3Nfc/+Tg4//8/Pz//v79//3+/v/8/P7//v7+//// + ////////////b///+W///v3///v////9/v/+/v3//v7+//7+/v///f7///z+///8/v/+/f7//f7+//f/ + /P/x/fj/1PDa/53Tpf92vYr/csSK/3fCiP+Hx5b/0/LX/9few//t7ND/+/ru//7++v/8/f3/+v79//r+ + /v/8/v7///7////+/v///v7///7+//7++//+/f///fz+//79+v/8+/H/7O/V/9Tlwf/X8Nb/msuk/2/F + jf9mxYb/YsGG/2e8hv98vY7/vObE/+n98v/3/v3//vz9//79/P/+/P3/7+zv/9bR1f/+/f3//v78//7+ + +//9//z//f7+//7+/v///////////////2////5v//7+///+/////v7////+///////+/v7//v7+//7+ + /v/+/v7///7///7////+//7//f/+//3/+//p+On/pde5/3PCkv9yxo7/bMWN/5PSqP/e8t3/+vz5//n9 + /f/5/fz/+v79//z+/f/9/v7//v7+///+/v/9/v7//f/8//3//P/+/v3//fz9//78/v/+/P7//v38//X/ + 9f/a+eL/ntex/3bElf9ox5L/Z8uT/2DFjf9ywpP/td7A//X+9P/2/vv/+f7+//79/v/+/f3/+Pj4/9PT + 0//19PT//////////v////7////+//////////////////////////9v////b/////////////////// + /////////v7+//7+/v/+/v7//v7+///////////////////////+/v7/+f36/+L67v+Tz6v/cMWU/2zJ + lP92xZf/ns+w/9/67v/p/vn/9v79//j9/f/8/v7//v3+//79/v///v////7///3+/v/7//7/+P79//7+ + /f//+/7//vz9//r8+P/j/fD/ntq+/3HJoP9ky5z/ZcmZ/2PIl/9qxpj/nd27/+f+8P/4/fr/+v7+//v+ + /v/+/f7//v39/+Dg4P/t7e3//Pz8////////////////////////////////////////////////b/// + /2///////////////////////////////////////////////////////////////////////v3///39 + /v/4/vz/1PPg/3/MqP9sy53/ZsiZ/3PHnP+IzKr/vOrW//L9+P/8/vz//v39///9/v///P7///3////9 + ///8/v//+//+//z//P/+/vr//P35//H/9//L8eP/i9G4/2/OrP9l0Kj/YM6k/2XOpf9pzKX/hc+w/9P3 + 5//2//v//v3+//78/v/9/P7/+v39/+bm5v/t7e3//Pz8//v7+//+/v7///////////////////////// + /////////////////2////9v//////////////////////7+/v/+/v7//v7+//7+/v/+/v7//v7+//// + //////////////79///9/P///v39//X++P+q48v/b8un/1/NoP9ky5//bs2i/3TJpP+a0r3/w+3f/9/7 + 8//t/vr/9f78//n+/f/7/v7/+v79//j//f/z//r/6Pz0/87y5v+k483/ec+z/2rSsv9k1LH/Z9Wy/2nU + sP9m0q7/b82v/6jhzv/w/vr//v3+//77////+/7/+/v8/+Lq6P/q6+v/+/v7//z8/P/9/f3//v7+//// + //////////////////////////////////////9v////b//////////////////////+/v7//v7+//7+ + /v/+/v7//v7+//7+/v/////////////////+/v7//v3+///8/f/9/vv/1/fp/4HVuf9fz6n/ZNGp/2bR + qP9gzqX/Ysqm/23Lq/+B07f/nuHK/7Xt2/++8N//x/Tl/8bz5P+97t//rePW/5XZxv97z7f/btGz/2jV + s/9j07L/ZNW0/2XWuP9j1Lb/ZNaz/3fRt//K9On/+f7+///7/v///P///fn7/+3t7P/n7+3//f7+//7+ + /v/+/v7//v7+//7+/v//////////////////////////////////////////b////2////////////// + ///////////////////////////////////////////////////////////+//3+/f/9/v3///78//T+ + +f+Z38z/Ys2w/2TSsf9j1LD/XNOr/1jRpv9az6b/Xs2n/2HKp/9ozK3/aMqs/2jMrv9ozrD/Z86y/2fO + tv9gz7X/WdGz/1vUtP9h1rb/ZtW3/2TVuP9g1rr/XNe6/2DXt/+M38n/3fv2//v8/f/++v3//Pr7/+zq + 6P/29vP/+P78//3///////////////////////////////////////////////////////////////// + /2////9v///////////////////////////////////////////////////////////////////////+ + /v/9/f3/+v/+///+/f/6/vv/u/Dj/27PuP9h07f/XNW0/1nTsP9X0qn/WtSs/1bPqf9Y0a3/WtKx/1jR + sP9Y1LP/V9Wz/1XUtP9V1bn/UNS4/07VuP9R17j/V9a4/17Wuv9c07n/WtO6/1jXvf9f2L3/mePU/+f+ + /P/9/v////3+/+np5v/5+vb//f38//z8/f///v////////////////////////////////////////// + //////////////////////9v////b/////////////////////////////////////////////////// + /////////////////////v///v3+//j+/v/9/f3/+/79/9P27/930Lz/V9S3/1bXuP9Y1bX/V9Wy/1TS + sP9T0rP/U9O1/1TUt/9U1Lf/VdW4/1fWuf9X17n/UtW5/1TWu/9X2b//Vtm//1TYv/9W2cD/U9a+/1XX + vv9Y2cD/XdfA/6Pj2//j9ff/6ezu/+/x8P/8/vr/+v36//r6/P/++v7///7///////////////////// + ////////////////////////////////////////////b////2////////////////////////////// + //////////////////////////////////////////7///78/v/6/v7/+/z8//X+/f/Z+PT/g9bE/1rY + vf9S2bz/Uta5/1TVuP9Q0bf/T9O5/07UvP9N1b3/Tta+/1DXwP9S18D/U9i//1HYv/9U2L//VtfB/1fZ + w/9U2sT/UdvF/1Haw/9V2cP/X9jE/33Zyv+14t3/6Pb4//f7/P/8/v7//P78//v+/f/8/P7///v////+ + /////////////////////////////////////////////////////////////////2////9v//////// + //////////////////////////////////////////////////////////////7+///+/v////////3/ + /v/z//7/2/r3/5rb0f9z1sX/XdfC/0/Uvf9O1Lz/TdS9/07Ywf9I1b//SNfB/0zZxP9O2cb/T9jF/0/Y + xv9L2MT/TNnF/07axv9P2sb/VNnH/1/byv9o2Mn/eNvO/5rp3v/Y9vH/8f79//f+/v/8/v7//v7+//// + /v///////v7///3+//////////////////////////////////////////////////////////////// + //////9v////b/////////////////////////////////////////////////////////////////// + ///9/////P////7+/////v///f7+//T+/f/k/vv/yfby/6rp4P+M49T/advH/17Wwv9X07//WNfE/1XY + xP9V2sf/VNnI/1XZyP9X28n/V9vI/1jax/9b2MX/advK/4Pk1f+l6uH/yPPv/+b8/P/y/f7/9f79//f+ + /v/6/v7//f7+//7+/v////////////7////9//////////////////////////////////////////// + ////////////////////////////b////2////////////////////////////////////////////// + /////////////////////////P/+//v//v/+/v////7////+///+/f7//P3+//f9/f/y/v7/7P79/+T9 + +v/b/Pf/yvTu/73x6/+q6OH/oOXd/5jl3f+W5t//n+fg/7zs5v/N9fD/2fv3/+T9+//t/v3/9P79//n9 + /f/8/v7//P7+//r+/v/6/v7//P39//7+/v/+/v7////////////+/////f////////////////////// + /////////////////////////////////////////////////2////9v//////////////////////// + //////////////////////////////////////////////7+/v/8/v7//v7+///+/////v////7+//79 + /v/+/v7//P7+//r9/f/7/v7/+f7+//f+/v/z/f3/8v7+//D+/v/v/f7/8P7+//H+/v/z//7/9P/+//X/ + /f/3/v7/+P39//v//v/7/v3//P7+//z+/v/8/v7//f7+//7+/v/+/v7//v7+/////////////v////3/ + //////////////////////////////////////////////////////////////////////9v////b/// + ///////////////////////////////////////////////////////////////////+/v7//v7+//7+ + /v///////f////z////7/v7/+/7+//v////7/v7//f7+//z+/v/8/v7/+/7+//z+///8/v///f7///3+ + ///9/v///P/+//3//v/9//7//f7+//3+/f/9/v7//f79//7+/v/9/v3//v7+/////////v7///7+//// + //////////////7////9//////////////////////////////////////////////////////////// + ////////////b////2////////////////////////////////////////////////////////////// + //////////////////////////////z////8/////P////3////9/////v7////+/////v///v7///7+ + ///9/////P////z////8////+/////r//v/8//7//v7+///+/v///f7///3+///+/v/9//7//P/+//// + ///////////////////////////////////+/////v////////////////////////////////////// + /////////////////////////////////28AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== + + + \ No newline at end of file diff --git a/Vinesauce ROM Corruptor/MainForm.Designer.cs b/Vinesauce ROM Corruptor/MainForm.Designer.cs new file mode 100644 index 0000000..3d6cb20 --- /dev/null +++ b/Vinesauce ROM Corruptor/MainForm.Designer.cs @@ -0,0 +1,1245 @@ +namespace Vinesauce_ROM_Corruptor +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + this.button_RomToCorruptBrowse = new System.Windows.Forms.Button(); + this.textBox_RomToCorrupt = new System.Windows.Forms.TextBox(); + this.labelRomToCorrupt = new System.Windows.Forms.Label(); + this.labelSaveLocation = new System.Windows.Forms.Label(); + this.textBox_SaveLocation = new System.Windows.Forms.TextBox(); + this.button_SaveLocationBrowse = new System.Windows.Forms.Button(); + this.checkBox_Overwrite = new System.Windows.Forms.CheckBox(); + this.groupBox_FileSelection = new System.Windows.Forms.GroupBox(); + this.groupBox_EmulatorSelection = new System.Windows.Forms.GroupBox(); + this.button_EmulatorToRunBrowse = new System.Windows.Forms.Button(); + this.textBox_EmulatorToRun = new System.Windows.Forms.TextBox(); + this.label_EmulatorToRun = new System.Windows.Forms.Label(); + this.checkBox_RunEmulator = new System.Windows.Forms.CheckBox(); + this.groupBox_TextReplace = new System.Windows.Forms.GroupBox(); + this.button_TextUseByteCorruptionRangeHelp = new System.Windows.Forms.Button(); + this.checkBox_TextUseByteCorruptionRange = new System.Windows.Forms.CheckBox(); + this.button_ReplaceWithHelp = new System.Windows.Forms.Button(); + this.button_TextToReplaceHelp = new System.Windows.Forms.Button(); + this.textBox_ReplaceWith = new System.Windows.Forms.TextBox(); + this.label_ReplaceWith = new System.Windows.Forms.Label(); + this.textBox_TextToReplace = new System.Windows.Forms.TextBox(); + this.label_TextToReplace = new System.Windows.Forms.Label(); + this.button_AnchorWordsHelp = new System.Windows.Forms.Button(); + this.textBox_AnchorWords = new System.Windows.Forms.TextBox(); + this.label_AnchorWords = new System.Windows.Forms.Label(); + this.checkBox_TextReplacementEnable = new System.Windows.Forms.CheckBox(); + this.button_Run = new System.Windows.Forms.Button(); + this.groupBox_ByteCorruption = new System.Windows.Forms.GroupBox(); + this.button_EnableNESCPUJamProtectionHelp = new System.Windows.Forms.Button(); + this.button_ReplaceByteXwithYHelp = new System.Windows.Forms.Button(); + this.textBox_ReplaceByteXwithYByteY = new System.Windows.Forms.TextBox(); + this.label_ReplaceByteXwithY = new System.Windows.Forms.Label(); + this.checkBox_EnableNESCPUJamProtection = new System.Windows.Forms.CheckBox(); + this.textBox_ReplaceByteXwithYByteX = new System.Windows.Forms.TextBox(); + this.radioButton_ReplaceByteXwithY = new System.Windows.Forms.RadioButton(); + this.button_ShiftRightXBytesHelp = new System.Windows.Forms.Button(); + this.label_ShiftRightXBytes = new System.Windows.Forms.Label(); + this.textBox_ShiftRightXBytes = new System.Windows.Forms.TextBox(); + this.radioButton_ShiftRightXBytes = new System.Windows.Forms.RadioButton(); + this.radioButton_AddXToByte = new System.Windows.Forms.RadioButton(); + this.button_AddXToByteHelp = new System.Windows.Forms.Button(); + this.label_AddXToByte = new System.Windows.Forms.Label(); + this.textBox_AddXToByte = new System.Windows.Forms.TextBox(); + this.button_EveryNBytesHelp = new System.Windows.Forms.Button(); + this.label_EveryNBytes2 = new System.Windows.Forms.Label(); + this.textBox_EveryNBytes = new System.Windows.Forms.TextBox(); + this.label_EveryNBytes1 = new System.Windows.Forms.Label(); + this.button_AutoEndHelp = new System.Windows.Forms.Button(); + this.checkBox_AutoEnd = new System.Windows.Forms.CheckBox(); + this.button_RangeHelp = new System.Windows.Forms.Button(); + this.button_IncrementHelp = new System.Windows.Forms.Button(); + this.textBox_Increment = new System.Windows.Forms.TextBox(); + this.label_Increment = new System.Windows.Forms.Label(); + this.button_RangeDown = new System.Windows.Forms.Button(); + this.button_RangeUp = new System.Windows.Forms.Button(); + this.button_StartByteDown = new System.Windows.Forms.Button(); + this.button_EndByteDown = new System.Windows.Forms.Button(); + this.button_StartByteUp = new System.Windows.Forms.Button(); + this.button_EndByteUp = new System.Windows.Forms.Button(); + this.textBox_EndByte = new System.Windows.Forms.TextBox(); + this.label_EndByte = new System.Windows.Forms.Label(); + this.textBox_StartByte = new System.Windows.Forms.TextBox(); + this.label_StartByte = new System.Windows.Forms.Label(); + this.checkBox_ByteCorruptionEnable = new System.Windows.Forms.CheckBox(); + this.groupBox_ColorReplacement = new System.Windows.Forms.GroupBox(); + this.button_ColorUseByteCorruptionRangeHelp = new System.Windows.Forms.Button(); + this.button_ReplaceWithColorsHelp = new System.Windows.Forms.Button(); + this.checkBox_ColorUseByteCorruptionRange = new System.Windows.Forms.CheckBox(); + this.textBox_ReplaceWithColors = new System.Windows.Forms.TextBox(); + this.label_ReplaceWithColors = new System.Windows.Forms.Label(); + this.button_ColorsToReplaceHelp = new System.Windows.Forms.Button(); + this.textBox_ColorsToReplace = new System.Windows.Forms.TextBox(); + this.label_ColorsToReplace = new System.Windows.Forms.Label(); + this.checkBox_ColorReplacementEnable = new System.Windows.Forms.CheckBox(); + this.groupBox_NESPalette = new System.Windows.Forms.GroupBox(); + this.pictureBox_NESPalette = new System.Windows.Forms.PictureBox(); + this.button_NESPaletteHelp = new System.Windows.Forms.Button(); + this.button_Save = new System.Windows.Forms.Button(); + this.button_Load = new System.Windows.Forms.Button(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.checkBox_UseTinyURL = new System.Windows.Forms.CheckBox(); + this.button_UseTinyURLHelp = new System.Windows.Forms.Button(); + this.checkBox_HotkeyEnable = new System.Windows.Forms.CheckBox(); + this.button_HotkeySet = new System.Windows.Forms.Button(); + this.button_HotkeyHelp = new System.Windows.Forms.Button(); + this.groupBox_FileSelection.SuspendLayout(); + this.groupBox_EmulatorSelection.SuspendLayout(); + this.groupBox_TextReplace.SuspendLayout(); + this.groupBox_ByteCorruption.SuspendLayout(); + this.groupBox_ColorReplacement.SuspendLayout(); + this.groupBox_NESPalette.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox_NESPalette)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // button_RomToCorruptBrowse + // + this.button_RomToCorruptBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_RomToCorruptBrowse.Location = new System.Drawing.Point(327, 30); + this.button_RomToCorruptBrowse.Name = "button_RomToCorruptBrowse"; + this.button_RomToCorruptBrowse.Size = new System.Drawing.Size(26, 23); + this.button_RomToCorruptBrowse.TabIndex = 0; + this.button_RomToCorruptBrowse.Text = "..."; + this.button_RomToCorruptBrowse.UseVisualStyleBackColor = true; + this.button_RomToCorruptBrowse.Click += new System.EventHandler(this.button_RomToCorruptBrowse_Click); + // + // textBox_RomToCorrupt + // + this.textBox_RomToCorrupt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_RomToCorrupt.Location = new System.Drawing.Point(9, 32); + this.textBox_RomToCorrupt.Name = "textBox_RomToCorrupt"; + this.textBox_RomToCorrupt.Size = new System.Drawing.Size(312, 20); + this.textBox_RomToCorrupt.TabIndex = 1; + // + // labelRomToCorrupt + // + this.labelRomToCorrupt.AutoSize = true; + this.labelRomToCorrupt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelRomToCorrupt.Location = new System.Drawing.Point(6, 16); + this.labelRomToCorrupt.Name = "labelRomToCorrupt"; + this.labelRomToCorrupt.Size = new System.Drawing.Size(95, 13); + this.labelRomToCorrupt.TabIndex = 2; + this.labelRomToCorrupt.Text = "ROM to Corrupt"; + // + // labelSaveLocation + // + this.labelSaveLocation.AutoSize = true; + this.labelSaveLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelSaveLocation.Location = new System.Drawing.Point(6, 55); + this.labelSaveLocation.Name = "labelSaveLocation"; + this.labelSaveLocation.Size = new System.Drawing.Size(146, 13); + this.labelSaveLocation.TabIndex = 3; + this.labelSaveLocation.Text = "Save Corrupted ROM To"; + // + // textBox_SaveLocation + // + this.textBox_SaveLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_SaveLocation.Location = new System.Drawing.Point(9, 71); + this.textBox_SaveLocation.Name = "textBox_SaveLocation"; + this.textBox_SaveLocation.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.textBox_SaveLocation.Size = new System.Drawing.Size(312, 20); + this.textBox_SaveLocation.TabIndex = 4; + this.textBox_SaveLocation.Text = "C:\\CorruptedROM.rom"; + // + // button_SaveLocationBrowse + // + this.button_SaveLocationBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_SaveLocationBrowse.Location = new System.Drawing.Point(327, 69); + this.button_SaveLocationBrowse.Name = "button_SaveLocationBrowse"; + this.button_SaveLocationBrowse.Size = new System.Drawing.Size(26, 23); + this.button_SaveLocationBrowse.TabIndex = 5; + this.button_SaveLocationBrowse.Text = "..."; + this.button_SaveLocationBrowse.UseVisualStyleBackColor = true; + this.button_SaveLocationBrowse.Click += new System.EventHandler(this.button_SaveLocationBrowse_Click); + // + // checkBox_Overwrite + // + this.checkBox_Overwrite.AutoSize = true; + this.checkBox_Overwrite.Checked = true; + this.checkBox_Overwrite.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox_Overwrite.Location = new System.Drawing.Point(9, 97); + this.checkBox_Overwrite.Name = "checkBox_Overwrite"; + this.checkBox_Overwrite.Size = new System.Drawing.Size(104, 17); + this.checkBox_Overwrite.TabIndex = 6; + this.checkBox_Overwrite.Text = "Overwrite File"; + this.checkBox_Overwrite.UseVisualStyleBackColor = true; + // + // groupBox_FileSelection + // + this.groupBox_FileSelection.Controls.Add(this.checkBox_Overwrite); + this.groupBox_FileSelection.Controls.Add(this.labelRomToCorrupt); + this.groupBox_FileSelection.Controls.Add(this.button_SaveLocationBrowse); + this.groupBox_FileSelection.Controls.Add(this.button_RomToCorruptBrowse); + this.groupBox_FileSelection.Controls.Add(this.textBox_SaveLocation); + this.groupBox_FileSelection.Controls.Add(this.textBox_RomToCorrupt); + this.groupBox_FileSelection.Controls.Add(this.labelSaveLocation); + this.groupBox_FileSelection.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_FileSelection.Location = new System.Drawing.Point(12, 12); + this.groupBox_FileSelection.Name = "groupBox_FileSelection"; + this.groupBox_FileSelection.Size = new System.Drawing.Size(359, 117); + this.groupBox_FileSelection.TabIndex = 7; + this.groupBox_FileSelection.TabStop = false; + this.groupBox_FileSelection.Text = "File Selection"; + // + // groupBox_EmulatorSelection + // + this.groupBox_EmulatorSelection.Controls.Add(this.button_EmulatorToRunBrowse); + this.groupBox_EmulatorSelection.Controls.Add(this.textBox_EmulatorToRun); + this.groupBox_EmulatorSelection.Controls.Add(this.label_EmulatorToRun); + this.groupBox_EmulatorSelection.Controls.Add(this.checkBox_RunEmulator); + this.groupBox_EmulatorSelection.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_EmulatorSelection.Location = new System.Drawing.Point(13, 135); + this.groupBox_EmulatorSelection.Name = "groupBox_EmulatorSelection"; + this.groupBox_EmulatorSelection.Size = new System.Drawing.Size(358, 83); + this.groupBox_EmulatorSelection.TabIndex = 8; + this.groupBox_EmulatorSelection.TabStop = false; + this.groupBox_EmulatorSelection.Text = "Emulator Selection"; + // + // button_EmulatorToRunBrowse + // + this.button_EmulatorToRunBrowse.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_EmulatorToRunBrowse.Location = new System.Drawing.Point(326, 54); + this.button_EmulatorToRunBrowse.Name = "button_EmulatorToRunBrowse"; + this.button_EmulatorToRunBrowse.Size = new System.Drawing.Size(26, 23); + this.button_EmulatorToRunBrowse.TabIndex = 8; + this.button_EmulatorToRunBrowse.Text = "..."; + this.button_EmulatorToRunBrowse.UseVisualStyleBackColor = true; + this.button_EmulatorToRunBrowse.Click += new System.EventHandler(this.button_EmulatorToRunBrowse_Click); + // + // textBox_EmulatorToRun + // + this.textBox_EmulatorToRun.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_EmulatorToRun.Location = new System.Drawing.Point(8, 56); + this.textBox_EmulatorToRun.Name = "textBox_EmulatorToRun"; + this.textBox_EmulatorToRun.Size = new System.Drawing.Size(312, 20); + this.textBox_EmulatorToRun.TabIndex = 7; + // + // label_EmulatorToRun + // + this.label_EmulatorToRun.AutoSize = true; + this.label_EmulatorToRun.Location = new System.Drawing.Point(5, 40); + this.label_EmulatorToRun.Name = "label_EmulatorToRun"; + this.label_EmulatorToRun.Size = new System.Drawing.Size(98, 13); + this.label_EmulatorToRun.TabIndex = 1; + this.label_EmulatorToRun.Text = "Emulator to Run"; + // + // checkBox_RunEmulator + // + this.checkBox_RunEmulator.AutoSize = true; + this.checkBox_RunEmulator.Checked = true; + this.checkBox_RunEmulator.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox_RunEmulator.Location = new System.Drawing.Point(8, 20); + this.checkBox_RunEmulator.Name = "checkBox_RunEmulator"; + this.checkBox_RunEmulator.Size = new System.Drawing.Size(195, 17); + this.checkBox_RunEmulator.TabIndex = 0; + this.checkBox_RunEmulator.Text = "Run Emulator After Corrupting"; + this.checkBox_RunEmulator.UseVisualStyleBackColor = true; + this.checkBox_RunEmulator.CheckedChanged += new System.EventHandler(this.checkBox_RunEmulator_CheckedChanged); + // + // groupBox_TextReplace + // + this.groupBox_TextReplace.Controls.Add(this.button_TextUseByteCorruptionRangeHelp); + this.groupBox_TextReplace.Controls.Add(this.checkBox_TextUseByteCorruptionRange); + this.groupBox_TextReplace.Controls.Add(this.button_ReplaceWithHelp); + this.groupBox_TextReplace.Controls.Add(this.button_TextToReplaceHelp); + this.groupBox_TextReplace.Controls.Add(this.textBox_ReplaceWith); + this.groupBox_TextReplace.Controls.Add(this.label_ReplaceWith); + this.groupBox_TextReplace.Controls.Add(this.textBox_TextToReplace); + this.groupBox_TextReplace.Controls.Add(this.label_TextToReplace); + this.groupBox_TextReplace.Controls.Add(this.button_AnchorWordsHelp); + this.groupBox_TextReplace.Controls.Add(this.textBox_AnchorWords); + this.groupBox_TextReplace.Controls.Add(this.label_AnchorWords); + this.groupBox_TextReplace.Controls.Add(this.checkBox_TextReplacementEnable); + this.groupBox_TextReplace.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_TextReplace.Location = new System.Drawing.Point(12, 224); + this.groupBox_TextReplace.Name = "groupBox_TextReplace"; + this.groupBox_TextReplace.Size = new System.Drawing.Size(359, 162); + this.groupBox_TextReplace.TabIndex = 9; + this.groupBox_TextReplace.TabStop = false; + this.groupBox_TextReplace.Text = "Text Replacement"; + // + // button_TextUseByteCorruptionRangeHelp + // + this.button_TextUseByteCorruptionRangeHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_TextUseByteCorruptionRangeHelp.Location = new System.Drawing.Point(327, 15); + this.button_TextUseByteCorruptionRangeHelp.Name = "button_TextUseByteCorruptionRangeHelp"; + this.button_TextUseByteCorruptionRangeHelp.Size = new System.Drawing.Size(26, 23); + this.button_TextUseByteCorruptionRangeHelp.TabIndex = 17; + this.button_TextUseByteCorruptionRangeHelp.Text = "?"; + this.button_TextUseByteCorruptionRangeHelp.UseVisualStyleBackColor = true; + this.button_TextUseByteCorruptionRangeHelp.Click += new System.EventHandler(this.button_TextUseByteCorruptionRangeHelp_Click); + // + // checkBox_TextUseByteCorruptionRange + // + this.checkBox_TextUseByteCorruptionRange.AutoSize = true; + this.checkBox_TextUseByteCorruptionRange.Enabled = false; + this.checkBox_TextUseByteCorruptionRange.Location = new System.Drawing.Point(141, 19); + this.checkBox_TextUseByteCorruptionRange.Name = "checkBox_TextUseByteCorruptionRange"; + this.checkBox_TextUseByteCorruptionRange.Size = new System.Drawing.Size(180, 17); + this.checkBox_TextUseByteCorruptionRange.TabIndex = 16; + this.checkBox_TextUseByteCorruptionRange.Text = "Use Byte Corruption Range"; + this.checkBox_TextUseByteCorruptionRange.UseVisualStyleBackColor = true; + // + // button_ReplaceWithHelp + // + this.button_ReplaceWithHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_ReplaceWithHelp.Location = new System.Drawing.Point(327, 132); + this.button_ReplaceWithHelp.Name = "button_ReplaceWithHelp"; + this.button_ReplaceWithHelp.Size = new System.Drawing.Size(26, 23); + this.button_ReplaceWithHelp.TabIndex = 15; + this.button_ReplaceWithHelp.Text = "?"; + this.button_ReplaceWithHelp.UseVisualStyleBackColor = true; + this.button_ReplaceWithHelp.Click += new System.EventHandler(this.button_ReplaceWithHelp_Click); + // + // button_TextToReplaceHelp + // + this.button_TextToReplaceHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_TextToReplaceHelp.Location = new System.Drawing.Point(327, 93); + this.button_TextToReplaceHelp.Name = "button_TextToReplaceHelp"; + this.button_TextToReplaceHelp.Size = new System.Drawing.Size(26, 23); + this.button_TextToReplaceHelp.TabIndex = 14; + this.button_TextToReplaceHelp.Text = "?"; + this.button_TextToReplaceHelp.UseVisualStyleBackColor = true; + this.button_TextToReplaceHelp.Click += new System.EventHandler(this.button_TextToReplaceHelp_Click); + // + // textBox_ReplaceWith + // + this.textBox_ReplaceWith.Enabled = false; + this.textBox_ReplaceWith.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_ReplaceWith.Location = new System.Drawing.Point(9, 134); + this.textBox_ReplaceWith.Name = "textBox_ReplaceWith"; + this.textBox_ReplaceWith.Size = new System.Drawing.Size(312, 20); + this.textBox_ReplaceWith.TabIndex = 13; + // + // label_ReplaceWith + // + this.label_ReplaceWith.AutoSize = true; + this.label_ReplaceWith.Enabled = false; + this.label_ReplaceWith.Location = new System.Drawing.Point(6, 118); + this.label_ReplaceWith.Name = "label_ReplaceWith"; + this.label_ReplaceWith.Size = new System.Drawing.Size(84, 13); + this.label_ReplaceWith.TabIndex = 12; + this.label_ReplaceWith.Text = "Replace With"; + // + // textBox_TextToReplace + // + this.textBox_TextToReplace.Enabled = false; + this.textBox_TextToReplace.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_TextToReplace.Location = new System.Drawing.Point(9, 95); + this.textBox_TextToReplace.Name = "textBox_TextToReplace"; + this.textBox_TextToReplace.Size = new System.Drawing.Size(312, 20); + this.textBox_TextToReplace.TabIndex = 11; + // + // label_TextToReplace + // + this.label_TextToReplace.AutoSize = true; + this.label_TextToReplace.Enabled = false; + this.label_TextToReplace.Location = new System.Drawing.Point(6, 79); + this.label_TextToReplace.Name = "label_TextToReplace"; + this.label_TextToReplace.Size = new System.Drawing.Size(98, 13); + this.label_TextToReplace.TabIndex = 10; + this.label_TextToReplace.Text = "Text to Replace"; + // + // button_AnchorWordsHelp + // + this.button_AnchorWordsHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_AnchorWordsHelp.Location = new System.Drawing.Point(327, 53); + this.button_AnchorWordsHelp.Name = "button_AnchorWordsHelp"; + this.button_AnchorWordsHelp.Size = new System.Drawing.Size(26, 23); + this.button_AnchorWordsHelp.TabIndex = 9; + this.button_AnchorWordsHelp.Text = "?"; + this.button_AnchorWordsHelp.UseVisualStyleBackColor = true; + this.button_AnchorWordsHelp.Click += new System.EventHandler(this.button_AnchorWordsHelp_Click); + // + // textBox_AnchorWords + // + this.textBox_AnchorWords.Enabled = false; + this.textBox_AnchorWords.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_AnchorWords.Location = new System.Drawing.Point(9, 55); + this.textBox_AnchorWords.Name = "textBox_AnchorWords"; + this.textBox_AnchorWords.Size = new System.Drawing.Size(312, 20); + this.textBox_AnchorWords.TabIndex = 3; + this.textBox_AnchorWords.Text = "NINTENDO"; + // + // label_AnchorWords + // + this.label_AnchorWords.AutoSize = true; + this.label_AnchorWords.Enabled = false; + this.label_AnchorWords.Location = new System.Drawing.Point(6, 39); + this.label_AnchorWords.Name = "label_AnchorWords"; + this.label_AnchorWords.Size = new System.Drawing.Size(87, 13); + this.label_AnchorWords.TabIndex = 1; + this.label_AnchorWords.Text = "Anchor Words"; + // + // checkBox_TextReplacementEnable + // + this.checkBox_TextReplacementEnable.AutoSize = true; + this.checkBox_TextReplacementEnable.Location = new System.Drawing.Point(9, 19); + this.checkBox_TextReplacementEnable.Name = "checkBox_TextReplacementEnable"; + this.checkBox_TextReplacementEnable.Size = new System.Drawing.Size(65, 17); + this.checkBox_TextReplacementEnable.TabIndex = 0; + this.checkBox_TextReplacementEnable.Text = "Enable"; + this.checkBox_TextReplacementEnable.UseVisualStyleBackColor = true; + this.checkBox_TextReplacementEnable.CheckedChanged += new System.EventHandler(this.checkBox_TextReplacementEnable_CheckedChanged); + // + // button_Run + // + this.button_Run.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_Run.Location = new System.Drawing.Point(12, 569); + this.button_Run.Name = "button_Run"; + this.button_Run.Size = new System.Drawing.Size(55, 28); + this.button_Run.TabIndex = 10; + this.button_Run.Text = "Run"; + this.button_Run.UseVisualStyleBackColor = true; + this.button_Run.Click += new System.EventHandler(this.button_Run_Click); + // + // groupBox_ByteCorruption + // + this.groupBox_ByteCorruption.Controls.Add(this.button_EnableNESCPUJamProtectionHelp); + this.groupBox_ByteCorruption.Controls.Add(this.button_ReplaceByteXwithYHelp); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_ReplaceByteXwithYByteY); + this.groupBox_ByteCorruption.Controls.Add(this.label_ReplaceByteXwithY); + this.groupBox_ByteCorruption.Controls.Add(this.checkBox_EnableNESCPUJamProtection); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_ReplaceByteXwithYByteX); + this.groupBox_ByteCorruption.Controls.Add(this.radioButton_ReplaceByteXwithY); + this.groupBox_ByteCorruption.Controls.Add(this.button_ShiftRightXBytesHelp); + this.groupBox_ByteCorruption.Controls.Add(this.label_ShiftRightXBytes); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_ShiftRightXBytes); + this.groupBox_ByteCorruption.Controls.Add(this.radioButton_ShiftRightXBytes); + this.groupBox_ByteCorruption.Controls.Add(this.radioButton_AddXToByte); + this.groupBox_ByteCorruption.Controls.Add(this.button_AddXToByteHelp); + this.groupBox_ByteCorruption.Controls.Add(this.label_AddXToByte); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_AddXToByte); + this.groupBox_ByteCorruption.Controls.Add(this.button_EveryNBytesHelp); + this.groupBox_ByteCorruption.Controls.Add(this.label_EveryNBytes2); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_EveryNBytes); + this.groupBox_ByteCorruption.Controls.Add(this.label_EveryNBytes1); + this.groupBox_ByteCorruption.Controls.Add(this.button_AutoEndHelp); + this.groupBox_ByteCorruption.Controls.Add(this.checkBox_AutoEnd); + this.groupBox_ByteCorruption.Controls.Add(this.button_RangeHelp); + this.groupBox_ByteCorruption.Controls.Add(this.button_IncrementHelp); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_Increment); + this.groupBox_ByteCorruption.Controls.Add(this.label_Increment); + this.groupBox_ByteCorruption.Controls.Add(this.button_RangeDown); + this.groupBox_ByteCorruption.Controls.Add(this.button_RangeUp); + this.groupBox_ByteCorruption.Controls.Add(this.button_StartByteDown); + this.groupBox_ByteCorruption.Controls.Add(this.button_EndByteDown); + this.groupBox_ByteCorruption.Controls.Add(this.button_StartByteUp); + this.groupBox_ByteCorruption.Controls.Add(this.button_EndByteUp); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_EndByte); + this.groupBox_ByteCorruption.Controls.Add(this.label_EndByte); + this.groupBox_ByteCorruption.Controls.Add(this.textBox_StartByte); + this.groupBox_ByteCorruption.Controls.Add(this.label_StartByte); + this.groupBox_ByteCorruption.Controls.Add(this.checkBox_ByteCorruptionEnable); + this.groupBox_ByteCorruption.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_ByteCorruption.Location = new System.Drawing.Point(378, 135); + this.groupBox_ByteCorruption.Name = "groupBox_ByteCorruption"; + this.groupBox_ByteCorruption.Size = new System.Drawing.Size(358, 251); + this.groupBox_ByteCorruption.TabIndex = 11; + this.groupBox_ByteCorruption.TabStop = false; + this.groupBox_ByteCorruption.Text = "Byte Corruption"; + // + // button_EnableNESCPUJamProtectionHelp + // + this.button_EnableNESCPUJamProtectionHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_EnableNESCPUJamProtectionHelp.Location = new System.Drawing.Point(220, 221); + this.button_EnableNESCPUJamProtectionHelp.Name = "button_EnableNESCPUJamProtectionHelp"; + this.button_EnableNESCPUJamProtectionHelp.Size = new System.Drawing.Size(26, 23); + this.button_EnableNESCPUJamProtectionHelp.TabIndex = 43; + this.button_EnableNESCPUJamProtectionHelp.Text = "?"; + this.button_EnableNESCPUJamProtectionHelp.UseVisualStyleBackColor = true; + this.button_EnableNESCPUJamProtectionHelp.Click += new System.EventHandler(this.button_EnableNESCPUJamProtectionHelp_Click); + // + // button_ReplaceByteXwithYHelp + // + this.button_ReplaceByteXwithYHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_ReplaceByteXwithYHelp.Location = new System.Drawing.Point(220, 194); + this.button_ReplaceByteXwithYHelp.Name = "button_ReplaceByteXwithYHelp"; + this.button_ReplaceByteXwithYHelp.Size = new System.Drawing.Size(26, 23); + this.button_ReplaceByteXwithYHelp.TabIndex = 44; + this.button_ReplaceByteXwithYHelp.Text = "?"; + this.button_ReplaceByteXwithYHelp.UseVisualStyleBackColor = true; + this.button_ReplaceByteXwithYHelp.Click += new System.EventHandler(this.button_ReplaceByteXwithYHelp_Click); + // + // textBox_ReplaceByteXwithYByteY + // + this.textBox_ReplaceByteXwithYByteY.Enabled = false; + this.textBox_ReplaceByteXwithYByteY.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_ReplaceByteXwithYByteY.Location = new System.Drawing.Point(171, 196); + this.textBox_ReplaceByteXwithYByteY.Name = "textBox_ReplaceByteXwithYByteY"; + this.textBox_ReplaceByteXwithYByteY.Size = new System.Drawing.Size(43, 20); + this.textBox_ReplaceByteXwithYByteY.TabIndex = 43; + this.textBox_ReplaceByteXwithYByteY.Text = "0"; + this.textBox_ReplaceByteXwithYByteY.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // label_ReplaceByteXwithY + // + this.label_ReplaceByteXwithY.AutoSize = true; + this.label_ReplaceByteXwithY.Enabled = false; + this.label_ReplaceByteXwithY.Location = new System.Drawing.Point(135, 199); + this.label_ReplaceByteXwithY.Name = "label_ReplaceByteXwithY"; + this.label_ReplaceByteXwithY.Size = new System.Drawing.Size(30, 13); + this.label_ReplaceByteXwithY.TabIndex = 42; + this.label_ReplaceByteXwithY.Text = "with"; + // + // checkBox_EnableNESCPUJamProtection + // + this.checkBox_EnableNESCPUJamProtection.AutoSize = true; + this.checkBox_EnableNESCPUJamProtection.Enabled = false; + this.checkBox_EnableNESCPUJamProtection.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.checkBox_EnableNESCPUJamProtection.Location = new System.Drawing.Point(6, 225); + this.checkBox_EnableNESCPUJamProtection.Name = "checkBox_EnableNESCPUJamProtection"; + this.checkBox_EnableNESCPUJamProtection.Size = new System.Drawing.Size(211, 17); + this.checkBox_EnableNESCPUJamProtection.TabIndex = 40; + this.checkBox_EnableNESCPUJamProtection.Text = "Enable NES CPU Jam Protection"; + this.checkBox_EnableNESCPUJamProtection.UseVisualStyleBackColor = true; + // + // textBox_ReplaceByteXwithYByteX + // + this.textBox_ReplaceByteXwithYByteX.Enabled = false; + this.textBox_ReplaceByteXwithYByteX.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_ReplaceByteXwithYByteX.Location = new System.Drawing.Point(86, 196); + this.textBox_ReplaceByteXwithYByteX.Name = "textBox_ReplaceByteXwithYByteX"; + this.textBox_ReplaceByteXwithYByteX.Size = new System.Drawing.Size(43, 20); + this.textBox_ReplaceByteXwithYByteX.TabIndex = 41; + this.textBox_ReplaceByteXwithYByteX.Text = "0"; + this.textBox_ReplaceByteXwithYByteX.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // radioButton_ReplaceByteXwithY + // + this.radioButton_ReplaceByteXwithY.AutoSize = true; + this.radioButton_ReplaceByteXwithY.Enabled = false; + this.radioButton_ReplaceByteXwithY.Location = new System.Drawing.Point(8, 197); + this.radioButton_ReplaceByteXwithY.Name = "radioButton_ReplaceByteXwithY"; + this.radioButton_ReplaceByteXwithY.Size = new System.Drawing.Size(72, 17); + this.radioButton_ReplaceByteXwithY.TabIndex = 40; + this.radioButton_ReplaceByteXwithY.TabStop = true; + this.radioButton_ReplaceByteXwithY.Text = "Replace"; + this.radioButton_ReplaceByteXwithY.UseVisualStyleBackColor = true; + // + // button_ShiftRightXBytesHelp + // + this.button_ShiftRightXBytesHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_ShiftRightXBytesHelp.Location = new System.Drawing.Point(188, 168); + this.button_ShiftRightXBytesHelp.Name = "button_ShiftRightXBytesHelp"; + this.button_ShiftRightXBytesHelp.Size = new System.Drawing.Size(26, 23); + this.button_ShiftRightXBytesHelp.TabIndex = 39; + this.button_ShiftRightXBytesHelp.Text = "?"; + this.button_ShiftRightXBytesHelp.UseVisualStyleBackColor = true; + this.button_ShiftRightXBytesHelp.Click += new System.EventHandler(this.button_ShiftRightXBytesHelp_Click); + // + // label_ShiftRightXBytes + // + this.label_ShiftRightXBytes.AutoSize = true; + this.label_ShiftRightXBytes.Enabled = false; + this.label_ShiftRightXBytes.Location = new System.Drawing.Point(135, 173); + this.label_ShiftRightXBytes.Name = "label_ShiftRightXBytes"; + this.label_ShiftRightXBytes.Size = new System.Drawing.Size(38, 13); + this.label_ShiftRightXBytes.TabIndex = 38; + this.label_ShiftRightXBytes.Text = "Bytes"; + // + // textBox_ShiftRightXBytes + // + this.textBox_ShiftRightXBytes.Enabled = false; + this.textBox_ShiftRightXBytes.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_ShiftRightXBytes.Location = new System.Drawing.Point(99, 170); + this.textBox_ShiftRightXBytes.Name = "textBox_ShiftRightXBytes"; + this.textBox_ShiftRightXBytes.Size = new System.Drawing.Size(30, 20); + this.textBox_ShiftRightXBytes.TabIndex = 37; + this.textBox_ShiftRightXBytes.Text = "0"; + this.textBox_ShiftRightXBytes.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // radioButton_ShiftRightXBytes + // + this.radioButton_ShiftRightXBytes.AutoSize = true; + this.radioButton_ShiftRightXBytes.Enabled = false; + this.radioButton_ShiftRightXBytes.Location = new System.Drawing.Point(8, 171); + this.radioButton_ShiftRightXBytes.Name = "radioButton_ShiftRightXBytes"; + this.radioButton_ShiftRightXBytes.Size = new System.Drawing.Size(85, 17); + this.radioButton_ShiftRightXBytes.TabIndex = 36; + this.radioButton_ShiftRightXBytes.TabStop = true; + this.radioButton_ShiftRightXBytes.Text = "Shift Right"; + this.radioButton_ShiftRightXBytes.UseVisualStyleBackColor = true; + // + // radioButton_AddXToByte + // + this.radioButton_AddXToByte.AutoSize = true; + this.radioButton_AddXToByte.Checked = true; + this.radioButton_AddXToByte.Enabled = false; + this.radioButton_AddXToByte.Location = new System.Drawing.Point(8, 145); + this.radioButton_AddXToByte.Name = "radioButton_AddXToByte"; + this.radioButton_AddXToByte.Size = new System.Drawing.Size(47, 17); + this.radioButton_AddXToByte.TabIndex = 35; + this.radioButton_AddXToByte.TabStop = true; + this.radioButton_AddXToByte.Text = "Add"; + this.radioButton_AddXToByte.UseVisualStyleBackColor = true; + // + // button_AddXToByteHelp + // + this.button_AddXToByteHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_AddXToByteHelp.Location = new System.Drawing.Point(188, 142); + this.button_AddXToByteHelp.Name = "button_AddXToByteHelp"; + this.button_AddXToByteHelp.Size = new System.Drawing.Size(26, 23); + this.button_AddXToByteHelp.TabIndex = 34; + this.button_AddXToByteHelp.Text = "?"; + this.button_AddXToByteHelp.UseVisualStyleBackColor = true; + this.button_AddXToByteHelp.Click += new System.EventHandler(this.button_AddXToByteHelp_Click); + // + // label_AddXToByte + // + this.label_AddXToByte.AutoSize = true; + this.label_AddXToByte.Enabled = false; + this.label_AddXToByte.Location = new System.Drawing.Point(135, 147); + this.label_AddXToByte.Name = "label_AddXToByte"; + this.label_AddXToByte.Size = new System.Drawing.Size(47, 13); + this.label_AddXToByte.TabIndex = 33; + this.label_AddXToByte.Text = "to Byte"; + // + // textBox_AddXToByte + // + this.textBox_AddXToByte.Enabled = false; + this.textBox_AddXToByte.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_AddXToByte.Location = new System.Drawing.Point(61, 144); + this.textBox_AddXToByte.Name = "textBox_AddXToByte"; + this.textBox_AddXToByte.Size = new System.Drawing.Size(68, 20); + this.textBox_AddXToByte.TabIndex = 32; + this.textBox_AddXToByte.Text = "0"; + this.textBox_AddXToByte.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // button_EveryNBytesHelp + // + this.button_EveryNBytesHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_EveryNBytesHelp.Location = new System.Drawing.Point(188, 116); + this.button_EveryNBytesHelp.Name = "button_EveryNBytesHelp"; + this.button_EveryNBytesHelp.Size = new System.Drawing.Size(26, 23); + this.button_EveryNBytesHelp.TabIndex = 30; + this.button_EveryNBytesHelp.Text = "?"; + this.button_EveryNBytesHelp.UseVisualStyleBackColor = true; + this.button_EveryNBytesHelp.Click += new System.EventHandler(this.button_EveryNBytesHelp_Click); + // + // label_EveryNBytes2 + // + this.label_EveryNBytes2.AutoSize = true; + this.label_EveryNBytes2.Enabled = false; + this.label_EveryNBytes2.Location = new System.Drawing.Point(135, 121); + this.label_EveryNBytes2.Name = "label_EveryNBytes2"; + this.label_EveryNBytes2.Size = new System.Drawing.Size(47, 13); + this.label_EveryNBytes2.TabIndex = 29; + this.label_EveryNBytes2.Text = "th Byte"; + // + // textBox_EveryNBytes + // + this.textBox_EveryNBytes.Enabled = false; + this.textBox_EveryNBytes.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_EveryNBytes.Location = new System.Drawing.Point(95, 118); + this.textBox_EveryNBytes.Name = "textBox_EveryNBytes"; + this.textBox_EveryNBytes.Size = new System.Drawing.Size(34, 20); + this.textBox_EveryNBytes.TabIndex = 28; + this.textBox_EveryNBytes.Text = "1"; + this.textBox_EveryNBytes.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // label_EveryNBytes1 + // + this.label_EveryNBytes1.AutoSize = true; + this.label_EveryNBytes1.Enabled = false; + this.label_EveryNBytes1.Location = new System.Drawing.Point(5, 121); + this.label_EveryNBytes1.Name = "label_EveryNBytes1"; + this.label_EveryNBytes1.Size = new System.Drawing.Size(84, 13); + this.label_EveryNBytes1.TabIndex = 27; + this.label_EveryNBytes1.Text = "Corrupt Every"; + // + // button_AutoEndHelp + // + this.button_AutoEndHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_AutoEndHelp.Location = new System.Drawing.Point(262, 90); + this.button_AutoEndHelp.Name = "button_AutoEndHelp"; + this.button_AutoEndHelp.Size = new System.Drawing.Size(26, 23); + this.button_AutoEndHelp.TabIndex = 26; + this.button_AutoEndHelp.Text = "?"; + this.button_AutoEndHelp.UseVisualStyleBackColor = true; + this.button_AutoEndHelp.Click += new System.EventHandler(this.button_AutoEndHelp_Click); + // + // checkBox_AutoEnd + // + this.checkBox_AutoEnd.AutoSize = true; + this.checkBox_AutoEnd.Enabled = false; + this.checkBox_AutoEnd.Location = new System.Drawing.Point(178, 94); + this.checkBox_AutoEnd.Name = "checkBox_AutoEnd"; + this.checkBox_AutoEnd.Size = new System.Drawing.Size(78, 17); + this.checkBox_AutoEnd.TabIndex = 25; + this.checkBox_AutoEnd.Text = "Auto End"; + this.checkBox_AutoEnd.UseVisualStyleBackColor = true; + this.checkBox_AutoEnd.CheckedChanged += new System.EventHandler(this.checkBox_AutoEnd_CheckedChanged); + // + // button_RangeHelp + // + this.button_RangeHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_RangeHelp.Location = new System.Drawing.Point(262, 51); + this.button_RangeHelp.Name = "button_RangeHelp"; + this.button_RangeHelp.Size = new System.Drawing.Size(26, 23); + this.button_RangeHelp.TabIndex = 24; + this.button_RangeHelp.Text = "?"; + this.button_RangeHelp.UseVisualStyleBackColor = true; + this.button_RangeHelp.Click += new System.EventHandler(this.button_RangeHelp_Click); + // + // button_IncrementHelp + // + this.button_IncrementHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_IncrementHelp.Location = new System.Drawing.Point(134, 90); + this.button_IncrementHelp.Name = "button_IncrementHelp"; + this.button_IncrementHelp.Size = new System.Drawing.Size(26, 23); + this.button_IncrementHelp.TabIndex = 16; + this.button_IncrementHelp.Text = "?"; + this.button_IncrementHelp.UseVisualStyleBackColor = true; + this.button_IncrementHelp.Click += new System.EventHandler(this.button_IncrementHelp_Click); + // + // textBox_Increment + // + this.textBox_Increment.Enabled = false; + this.textBox_Increment.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_Increment.Location = new System.Drawing.Point(74, 92); + this.textBox_Increment.Name = "textBox_Increment"; + this.textBox_Increment.Size = new System.Drawing.Size(55, 20); + this.textBox_Increment.TabIndex = 23; + this.textBox_Increment.Text = "1000"; + this.textBox_Increment.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // label_Increment + // + this.label_Increment.AutoSize = true; + this.label_Increment.Enabled = false; + this.label_Increment.Location = new System.Drawing.Point(5, 95); + this.label_Increment.Name = "label_Increment"; + this.label_Increment.Size = new System.Drawing.Size(63, 13); + this.label_Increment.TabIndex = 22; + this.label_Increment.Text = "Increment"; + // + // button_RangeDown + // + this.button_RangeDown.Enabled = false; + this.button_RangeDown.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_RangeDown.Location = new System.Drawing.Point(230, 38); + this.button_RangeDown.Name = "button_RangeDown"; + this.button_RangeDown.Size = new System.Drawing.Size(26, 49); + this.button_RangeDown.TabIndex = 21; + this.button_RangeDown.Text = "-"; + this.button_RangeDown.UseVisualStyleBackColor = true; + this.button_RangeDown.Click += new System.EventHandler(this.button_RangeDown_Click); + // + // button_RangeUp + // + this.button_RangeUp.Enabled = false; + this.button_RangeUp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_RangeUp.Location = new System.Drawing.Point(198, 38); + this.button_RangeUp.Name = "button_RangeUp"; + this.button_RangeUp.Size = new System.Drawing.Size(26, 49); + this.button_RangeUp.TabIndex = 20; + this.button_RangeUp.Text = "+"; + this.button_RangeUp.UseVisualStyleBackColor = true; + this.button_RangeUp.Click += new System.EventHandler(this.button_RangeUp_Click); + // + // button_StartByteDown + // + this.button_StartByteDown.Enabled = false; + this.button_StartByteDown.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_StartByteDown.Location = new System.Drawing.Point(166, 38); + this.button_StartByteDown.Name = "button_StartByteDown"; + this.button_StartByteDown.Size = new System.Drawing.Size(26, 23); + this.button_StartByteDown.TabIndex = 19; + this.button_StartByteDown.Text = "-"; + this.button_StartByteDown.UseVisualStyleBackColor = true; + this.button_StartByteDown.Click += new System.EventHandler(this.button_StartByteDown_Click); + // + // button_EndByteDown + // + this.button_EndByteDown.Enabled = false; + this.button_EndByteDown.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_EndByteDown.Location = new System.Drawing.Point(166, 64); + this.button_EndByteDown.Name = "button_EndByteDown"; + this.button_EndByteDown.Size = new System.Drawing.Size(26, 23); + this.button_EndByteDown.TabIndex = 18; + this.button_EndByteDown.Text = "-"; + this.button_EndByteDown.UseVisualStyleBackColor = true; + this.button_EndByteDown.Click += new System.EventHandler(this.button_EndByteDown_Click); + // + // button_StartByteUp + // + this.button_StartByteUp.Enabled = false; + this.button_StartByteUp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_StartByteUp.Location = new System.Drawing.Point(134, 38); + this.button_StartByteUp.Name = "button_StartByteUp"; + this.button_StartByteUp.Size = new System.Drawing.Size(26, 23); + this.button_StartByteUp.TabIndex = 17; + this.button_StartByteUp.Text = "+"; + this.button_StartByteUp.UseVisualStyleBackColor = true; + this.button_StartByteUp.Click += new System.EventHandler(this.button_StartByteUp_Click); + // + // button_EndByteUp + // + this.button_EndByteUp.Enabled = false; + this.button_EndByteUp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_EndByteUp.Location = new System.Drawing.Point(134, 64); + this.button_EndByteUp.Name = "button_EndByteUp"; + this.button_EndByteUp.Size = new System.Drawing.Size(26, 23); + this.button_EndByteUp.TabIndex = 16; + this.button_EndByteUp.Text = "+"; + this.button_EndByteUp.UseVisualStyleBackColor = true; + this.button_EndByteUp.Click += new System.EventHandler(this.button_EndByteUp_Click); + // + // textBox_EndByte + // + this.textBox_EndByte.Enabled = false; + this.textBox_EndByte.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_EndByte.Location = new System.Drawing.Point(74, 66); + this.textBox_EndByte.Name = "textBox_EndByte"; + this.textBox_EndByte.Size = new System.Drawing.Size(55, 20); + this.textBox_EndByte.TabIndex = 5; + this.textBox_EndByte.Text = "1000"; + this.textBox_EndByte.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // label_EndByte + // + this.label_EndByte.AutoSize = true; + this.label_EndByte.Enabled = false; + this.label_EndByte.Location = new System.Drawing.Point(5, 69); + this.label_EndByte.Name = "label_EndByte"; + this.label_EndByte.Size = new System.Drawing.Size(58, 13); + this.label_EndByte.TabIndex = 4; + this.label_EndByte.Text = "End Byte"; + // + // textBox_StartByte + // + this.textBox_StartByte.Enabled = false; + this.textBox_StartByte.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_StartByte.Location = new System.Drawing.Point(74, 40); + this.textBox_StartByte.Name = "textBox_StartByte"; + this.textBox_StartByte.Size = new System.Drawing.Size(55, 20); + this.textBox_StartByte.TabIndex = 3; + this.textBox_StartByte.Text = "0"; + this.textBox_StartByte.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // label_StartByte + // + this.label_StartByte.AutoSize = true; + this.label_StartByte.Enabled = false; + this.label_StartByte.Location = new System.Drawing.Point(5, 43); + this.label_StartByte.Name = "label_StartByte"; + this.label_StartByte.Size = new System.Drawing.Size(63, 13); + this.label_StartByte.TabIndex = 2; + this.label_StartByte.Text = "Start Byte"; + // + // checkBox_ByteCorruptionEnable + // + this.checkBox_ByteCorruptionEnable.AutoSize = true; + this.checkBox_ByteCorruptionEnable.Location = new System.Drawing.Point(8, 19); + this.checkBox_ByteCorruptionEnable.Name = "checkBox_ByteCorruptionEnable"; + this.checkBox_ByteCorruptionEnable.Size = new System.Drawing.Size(65, 17); + this.checkBox_ByteCorruptionEnable.TabIndex = 1; + this.checkBox_ByteCorruptionEnable.Text = "Enable"; + this.checkBox_ByteCorruptionEnable.UseVisualStyleBackColor = true; + this.checkBox_ByteCorruptionEnable.CheckedChanged += new System.EventHandler(this.checkBox_ByteCorruptionEnable_CheckedChanged); + // + // groupBox_ColorReplacement + // + this.groupBox_ColorReplacement.Controls.Add(this.button_ColorUseByteCorruptionRangeHelp); + this.groupBox_ColorReplacement.Controls.Add(this.button_ReplaceWithColorsHelp); + this.groupBox_ColorReplacement.Controls.Add(this.checkBox_ColorUseByteCorruptionRange); + this.groupBox_ColorReplacement.Controls.Add(this.textBox_ReplaceWithColors); + this.groupBox_ColorReplacement.Controls.Add(this.label_ReplaceWithColors); + this.groupBox_ColorReplacement.Controls.Add(this.button_ColorsToReplaceHelp); + this.groupBox_ColorReplacement.Controls.Add(this.textBox_ColorsToReplace); + this.groupBox_ColorReplacement.Controls.Add(this.label_ColorsToReplace); + this.groupBox_ColorReplacement.Controls.Add(this.checkBox_ColorReplacementEnable); + this.groupBox_ColorReplacement.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_ColorReplacement.Location = new System.Drawing.Point(12, 394); + this.groupBox_ColorReplacement.Name = "groupBox_ColorReplacement"; + this.groupBox_ColorReplacement.Size = new System.Drawing.Size(359, 169); + this.groupBox_ColorReplacement.TabIndex = 16; + this.groupBox_ColorReplacement.TabStop = false; + this.groupBox_ColorReplacement.Text = "Color Replacement"; + // + // button_ColorUseByteCorruptionRangeHelp + // + this.button_ColorUseByteCorruptionRangeHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_ColorUseByteCorruptionRangeHelp.Location = new System.Drawing.Point(327, 15); + this.button_ColorUseByteCorruptionRangeHelp.Name = "button_ColorUseByteCorruptionRangeHelp"; + this.button_ColorUseByteCorruptionRangeHelp.Size = new System.Drawing.Size(26, 23); + this.button_ColorUseByteCorruptionRangeHelp.TabIndex = 19; + this.button_ColorUseByteCorruptionRangeHelp.Text = "?"; + this.button_ColorUseByteCorruptionRangeHelp.UseVisualStyleBackColor = true; + this.button_ColorUseByteCorruptionRangeHelp.Click += new System.EventHandler(this.button_ColorUseByteCorruptionRangeHelp_Click); + // + // button_ReplaceWithColorsHelp + // + this.button_ReplaceWithColorsHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_ReplaceWithColorsHelp.Location = new System.Drawing.Point(327, 93); + this.button_ReplaceWithColorsHelp.Name = "button_ReplaceWithColorsHelp"; + this.button_ReplaceWithColorsHelp.Size = new System.Drawing.Size(26, 23); + this.button_ReplaceWithColorsHelp.TabIndex = 14; + this.button_ReplaceWithColorsHelp.Text = "?"; + this.button_ReplaceWithColorsHelp.UseVisualStyleBackColor = true; + this.button_ReplaceWithColorsHelp.Click += new System.EventHandler(this.button_ReplaceWithColorsHelp_Click); + // + // checkBox_ColorUseByteCorruptionRange + // + this.checkBox_ColorUseByteCorruptionRange.AutoSize = true; + this.checkBox_ColorUseByteCorruptionRange.Enabled = false; + this.checkBox_ColorUseByteCorruptionRange.Location = new System.Drawing.Point(141, 19); + this.checkBox_ColorUseByteCorruptionRange.Name = "checkBox_ColorUseByteCorruptionRange"; + this.checkBox_ColorUseByteCorruptionRange.Size = new System.Drawing.Size(180, 17); + this.checkBox_ColorUseByteCorruptionRange.TabIndex = 18; + this.checkBox_ColorUseByteCorruptionRange.Text = "Use Byte Corruption Range"; + this.checkBox_ColorUseByteCorruptionRange.UseVisualStyleBackColor = true; + // + // textBox_ReplaceWithColors + // + this.textBox_ReplaceWithColors.Enabled = false; + this.textBox_ReplaceWithColors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_ReplaceWithColors.Location = new System.Drawing.Point(9, 95); + this.textBox_ReplaceWithColors.Name = "textBox_ReplaceWithColors"; + this.textBox_ReplaceWithColors.Size = new System.Drawing.Size(312, 20); + this.textBox_ReplaceWithColors.TabIndex = 11; + // + // label_ReplaceWithColors + // + this.label_ReplaceWithColors.AutoSize = true; + this.label_ReplaceWithColors.Enabled = false; + this.label_ReplaceWithColors.Location = new System.Drawing.Point(6, 79); + this.label_ReplaceWithColors.Name = "label_ReplaceWithColors"; + this.label_ReplaceWithColors.Size = new System.Drawing.Size(84, 13); + this.label_ReplaceWithColors.TabIndex = 10; + this.label_ReplaceWithColors.Text = "Replace With"; + // + // button_ColorsToReplaceHelp + // + this.button_ColorsToReplaceHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_ColorsToReplaceHelp.Location = new System.Drawing.Point(327, 53); + this.button_ColorsToReplaceHelp.Name = "button_ColorsToReplaceHelp"; + this.button_ColorsToReplaceHelp.Size = new System.Drawing.Size(26, 23); + this.button_ColorsToReplaceHelp.TabIndex = 9; + this.button_ColorsToReplaceHelp.Text = "?"; + this.button_ColorsToReplaceHelp.UseVisualStyleBackColor = true; + this.button_ColorsToReplaceHelp.Click += new System.EventHandler(this.button_ColorsToReplaceHelp_Click); + // + // textBox_ColorsToReplace + // + this.textBox_ColorsToReplace.Enabled = false; + this.textBox_ColorsToReplace.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox_ColorsToReplace.Location = new System.Drawing.Point(9, 55); + this.textBox_ColorsToReplace.Name = "textBox_ColorsToReplace"; + this.textBox_ColorsToReplace.Size = new System.Drawing.Size(312, 20); + this.textBox_ColorsToReplace.TabIndex = 3; + // + // label_ColorsToReplace + // + this.label_ColorsToReplace.AutoSize = true; + this.label_ColorsToReplace.Enabled = false; + this.label_ColorsToReplace.Location = new System.Drawing.Point(6, 39); + this.label_ColorsToReplace.Name = "label_ColorsToReplace"; + this.label_ColorsToReplace.Size = new System.Drawing.Size(108, 13); + this.label_ColorsToReplace.TabIndex = 1; + this.label_ColorsToReplace.Text = "Colors to Replace"; + // + // checkBox_ColorReplacementEnable + // + this.checkBox_ColorReplacementEnable.AutoSize = true; + this.checkBox_ColorReplacementEnable.Location = new System.Drawing.Point(9, 19); + this.checkBox_ColorReplacementEnable.Name = "checkBox_ColorReplacementEnable"; + this.checkBox_ColorReplacementEnable.Size = new System.Drawing.Size(65, 17); + this.checkBox_ColorReplacementEnable.TabIndex = 0; + this.checkBox_ColorReplacementEnable.Text = "Enable"; + this.checkBox_ColorReplacementEnable.UseVisualStyleBackColor = true; + this.checkBox_ColorReplacementEnable.CheckedChanged += new System.EventHandler(this.checkBox_ColorReplacementEnable_CheckedChanged); + // + // groupBox_NESPalette + // + this.groupBox_NESPalette.Controls.Add(this.pictureBox_NESPalette); + this.groupBox_NESPalette.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox_NESPalette.Location = new System.Drawing.Point(378, 392); + this.groupBox_NESPalette.Name = "groupBox_NESPalette"; + this.groupBox_NESPalette.Size = new System.Drawing.Size(358, 171); + this.groupBox_NESPalette.TabIndex = 35; + this.groupBox_NESPalette.TabStop = false; + this.groupBox_NESPalette.Text = "NES Palette"; + // + // pictureBox_NESPalette + // + this.pictureBox_NESPalette.BackColor = System.Drawing.SystemColors.ControlDarkDark; + this.pictureBox_NESPalette.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pictureBox_NESPalette.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_NESPalette.Image"))); + this.pictureBox_NESPalette.Location = new System.Drawing.Point(8, 19); + this.pictureBox_NESPalette.Name = "pictureBox_NESPalette"; + this.pictureBox_NESPalette.Size = new System.Drawing.Size(344, 145); + this.pictureBox_NESPalette.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox_NESPalette.TabIndex = 0; + this.pictureBox_NESPalette.TabStop = false; + // + // button_NESPaletteHelp + // + this.button_NESPaletteHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_NESPaletteHelp.Location = new System.Drawing.Point(704, 573); + this.button_NESPaletteHelp.Name = "button_NESPaletteHelp"; + this.button_NESPaletteHelp.Size = new System.Drawing.Size(26, 23); + this.button_NESPaletteHelp.TabIndex = 16; + this.button_NESPaletteHelp.Text = "?"; + this.button_NESPaletteHelp.UseVisualStyleBackColor = true; + this.button_NESPaletteHelp.Click += new System.EventHandler(this.button_NESPaletteHelp_Click); + // + // button_Save + // + this.button_Save.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_Save.Location = new System.Drawing.Point(73, 569); + this.button_Save.Name = "button_Save"; + this.button_Save.Size = new System.Drawing.Size(69, 28); + this.button_Save.TabIndex = 37; + this.button_Save.Text = "Save"; + this.button_Save.UseVisualStyleBackColor = true; + this.button_Save.Click += new System.EventHandler(this.button_Save_Click); + // + // button_Load + // + this.button_Load.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_Load.Location = new System.Drawing.Point(148, 569); + this.button_Load.Name = "button_Load"; + this.button_Load.Size = new System.Drawing.Size(69, 28); + this.button_Load.TabIndex = 38; + this.button_Load.Text = "Load"; + this.button_Load.UseVisualStyleBackColor = true; + this.button_Load.Click += new System.EventHandler(this.button_Load_Click); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.White; + this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pictureBox1.Image = global::Vinesauce_ROM_Corruptor.Properties.Resources.Vinesauce_Mushroom; + this.pictureBox1.Location = new System.Drawing.Point(378, 12); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(358, 117); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; + this.pictureBox1.TabIndex = 39; + this.pictureBox1.TabStop = false; + // + // checkBox_UseTinyURL + // + this.checkBox_UseTinyURL.AutoSize = true; + this.checkBox_UseTinyURL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.checkBox_UseTinyURL.Location = new System.Drawing.Point(223, 577); + this.checkBox_UseTinyURL.Name = "checkBox_UseTinyURL"; + this.checkBox_UseTinyURL.Size = new System.Drawing.Size(101, 17); + this.checkBox_UseTinyURL.TabIndex = 41; + this.checkBox_UseTinyURL.Text = "Use TinyURL"; + this.checkBox_UseTinyURL.UseVisualStyleBackColor = true; + // + // button_UseTinyURLHelp + // + this.button_UseTinyURLHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_UseTinyURLHelp.Location = new System.Drawing.Point(330, 573); + this.button_UseTinyURLHelp.Name = "button_UseTinyURLHelp"; + this.button_UseTinyURLHelp.Size = new System.Drawing.Size(26, 23); + this.button_UseTinyURLHelp.TabIndex = 42; + this.button_UseTinyURLHelp.Text = "?"; + this.button_UseTinyURLHelp.UseVisualStyleBackColor = true; + this.button_UseTinyURLHelp.Click += new System.EventHandler(this.button_UseTinyURLHelp_Click); + // + // checkBox_HotkeyEnable + // + this.checkBox_HotkeyEnable.AutoSize = true; + this.checkBox_HotkeyEnable.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.checkBox_HotkeyEnable.Location = new System.Drawing.Point(363, 577); + this.checkBox_HotkeyEnable.Name = "checkBox_HotkeyEnable"; + this.checkBox_HotkeyEnable.Size = new System.Drawing.Size(109, 17); + this.checkBox_HotkeyEnable.TabIndex = 43; + this.checkBox_HotkeyEnable.Text = "Enable Hotkey"; + this.checkBox_HotkeyEnable.UseVisualStyleBackColor = true; + this.checkBox_HotkeyEnable.CheckedChanged += new System.EventHandler(this.checkBox_HotkeyEnable_CheckedChanged); + // + // button_HotkeySet + // + this.button_HotkeySet.Enabled = false; + this.button_HotkeySet.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_HotkeySet.Location = new System.Drawing.Point(473, 574); + this.button_HotkeySet.Name = "button_HotkeySet"; + this.button_HotkeySet.Size = new System.Drawing.Size(26, 23); + this.button_HotkeySet.TabIndex = 44; + this.button_HotkeySet.Text = "..."; + this.button_HotkeySet.UseVisualStyleBackColor = true; + this.button_HotkeySet.Click += new System.EventHandler(this.button_HotkeySet_Click); + // + // button_HotkeyHelp + // + this.button_HotkeyHelp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_HotkeyHelp.Location = new System.Drawing.Point(505, 574); + this.button_HotkeyHelp.Name = "button_HotkeyHelp"; + this.button_HotkeyHelp.Size = new System.Drawing.Size(26, 23); + this.button_HotkeyHelp.TabIndex = 45; + this.button_HotkeyHelp.Text = "?"; + this.button_HotkeyHelp.UseVisualStyleBackColor = true; + this.button_HotkeyHelp.Click += new System.EventHandler(this.button_HotkeyHelp_Click); + // + // MainForm + // + this.AcceptButton = this.button_Run; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(742, 599); + this.Controls.Add(this.button_HotkeyHelp); + this.Controls.Add(this.button_HotkeySet); + this.Controls.Add(this.checkBox_HotkeyEnable); + this.Controls.Add(this.button_UseTinyURLHelp); + this.Controls.Add(this.checkBox_UseTinyURL); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.button_Load); + this.Controls.Add(this.button_Save); + this.Controls.Add(this.button_NESPaletteHelp); + this.Controls.Add(this.groupBox_NESPalette); + this.Controls.Add(this.groupBox_ColorReplacement); + this.Controls.Add(this.groupBox_ByteCorruption); + this.Controls.Add(this.button_Run); + this.Controls.Add(this.groupBox_TextReplace); + this.Controls.Add(this.groupBox_EmulatorSelection); + this.Controls.Add(this.groupBox_FileSelection); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "MainForm"; + this.Text = "Vinesauce ROM Corruptor"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); + this.groupBox_FileSelection.ResumeLayout(false); + this.groupBox_FileSelection.PerformLayout(); + this.groupBox_EmulatorSelection.ResumeLayout(false); + this.groupBox_EmulatorSelection.PerformLayout(); + this.groupBox_TextReplace.ResumeLayout(false); + this.groupBox_TextReplace.PerformLayout(); + this.groupBox_ByteCorruption.ResumeLayout(false); + this.groupBox_ByteCorruption.PerformLayout(); + this.groupBox_ColorReplacement.ResumeLayout(false); + this.groupBox_ColorReplacement.PerformLayout(); + this.groupBox_NESPalette.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox_NESPalette)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button button_RomToCorruptBrowse; + private System.Windows.Forms.TextBox textBox_RomToCorrupt; + private System.Windows.Forms.Label labelRomToCorrupt; + private System.Windows.Forms.Label labelSaveLocation; + private System.Windows.Forms.TextBox textBox_SaveLocation; + private System.Windows.Forms.Button button_SaveLocationBrowse; + private System.Windows.Forms.CheckBox checkBox_Overwrite; + private System.Windows.Forms.GroupBox groupBox_FileSelection; + private System.Windows.Forms.GroupBox groupBox_EmulatorSelection; + private System.Windows.Forms.CheckBox checkBox_RunEmulator; + private System.Windows.Forms.Button button_EmulatorToRunBrowse; + private System.Windows.Forms.TextBox textBox_EmulatorToRun; + private System.Windows.Forms.Label label_EmulatorToRun; + private System.Windows.Forms.GroupBox groupBox_TextReplace; + private System.Windows.Forms.Button button_ReplaceWithHelp; + private System.Windows.Forms.Button button_TextToReplaceHelp; + private System.Windows.Forms.TextBox textBox_ReplaceWith; + private System.Windows.Forms.Label label_ReplaceWith; + private System.Windows.Forms.TextBox textBox_TextToReplace; + private System.Windows.Forms.Label label_TextToReplace; + private System.Windows.Forms.Button button_AnchorWordsHelp; + private System.Windows.Forms.TextBox textBox_AnchorWords; + private System.Windows.Forms.Label label_AnchorWords; + private System.Windows.Forms.CheckBox checkBox_TextReplacementEnable; + public System.Windows.Forms.Button button_Run; + private System.Windows.Forms.GroupBox groupBox_ByteCorruption; + private System.Windows.Forms.TextBox textBox_StartByte; + private System.Windows.Forms.Label label_StartByte; + private System.Windows.Forms.CheckBox checkBox_ByteCorruptionEnable; + private System.Windows.Forms.TextBox textBox_EndByte; + private System.Windows.Forms.Label label_EndByte; + public System.Windows.Forms.Button button_RangeDown; + public System.Windows.Forms.Button button_RangeUp; + public System.Windows.Forms.Button button_StartByteDown; + public System.Windows.Forms.Button button_EndByteDown; + public System.Windows.Forms.Button button_StartByteUp; + public System.Windows.Forms.Button button_EndByteUp; + private System.Windows.Forms.Button button_RangeHelp; + private System.Windows.Forms.Button button_IncrementHelp; + private System.Windows.Forms.TextBox textBox_Increment; + private System.Windows.Forms.Label label_Increment; + private System.Windows.Forms.Button button_AutoEndHelp; + private System.Windows.Forms.CheckBox checkBox_AutoEnd; + private System.Windows.Forms.Button button_EveryNBytesHelp; + private System.Windows.Forms.Label label_EveryNBytes2; + private System.Windows.Forms.TextBox textBox_EveryNBytes; + private System.Windows.Forms.Label label_EveryNBytes1; + private System.Windows.Forms.Button button_AddXToByteHelp; + private System.Windows.Forms.Label label_AddXToByte; + private System.Windows.Forms.TextBox textBox_AddXToByte; + private System.Windows.Forms.GroupBox groupBox_ColorReplacement; + private System.Windows.Forms.Button button_ReplaceWithColorsHelp; + private System.Windows.Forms.TextBox textBox_ReplaceWithColors; + private System.Windows.Forms.Label label_ReplaceWithColors; + private System.Windows.Forms.CheckBox checkBox_ColorReplacementEnable; + private System.Windows.Forms.GroupBox groupBox_NESPalette; + private System.Windows.Forms.PictureBox pictureBox_NESPalette; + private System.Windows.Forms.Button button_NESPaletteHelp; + private System.Windows.Forms.Button button_ColorsToReplaceHelp; + private System.Windows.Forms.TextBox textBox_ColorsToReplace; + private System.Windows.Forms.Label label_ColorsToReplace; + private System.Windows.Forms.Button button_TextUseByteCorruptionRangeHelp; + private System.Windows.Forms.CheckBox checkBox_TextUseByteCorruptionRange; + private System.Windows.Forms.Button button_ColorUseByteCorruptionRangeHelp; + private System.Windows.Forms.CheckBox checkBox_ColorUseByteCorruptionRange; + private System.Windows.Forms.Button button_Save; + private System.Windows.Forms.Button button_Load; + private System.Windows.Forms.Button button_ShiftRightXBytesHelp; + private System.Windows.Forms.Label label_ShiftRightXBytes; + private System.Windows.Forms.TextBox textBox_ShiftRightXBytes; + private System.Windows.Forms.RadioButton radioButton_ShiftRightXBytes; + private System.Windows.Forms.RadioButton radioButton_AddXToByte; + private System.Windows.Forms.Button button_ReplaceByteXwithYHelp; + private System.Windows.Forms.TextBox textBox_ReplaceByteXwithYByteY; + private System.Windows.Forms.Label label_ReplaceByteXwithY; + private System.Windows.Forms.TextBox textBox_ReplaceByteXwithYByteX; + private System.Windows.Forms.RadioButton radioButton_ReplaceByteXwithY; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.CheckBox checkBox_EnableNESCPUJamProtection; + private System.Windows.Forms.CheckBox checkBox_UseTinyURL; + private System.Windows.Forms.Button button_UseTinyURLHelp; + private System.Windows.Forms.Button button_EnableNESCPUJamProtectionHelp; + private System.Windows.Forms.CheckBox checkBox_HotkeyEnable; + private System.Windows.Forms.Button button_HotkeySet; + private System.Windows.Forms.Button button_HotkeyHelp; + } +} + diff --git a/Vinesauce ROM Corruptor/MainForm.cs b/Vinesauce ROM Corruptor/MainForm.cs new file mode 100644 index 0000000..c683445 --- /dev/null +++ b/Vinesauce ROM Corruptor/MainForm.cs @@ -0,0 +1,1827 @@ +/* + * Copyright (C) 2013 Ryan Sammon. + * + * This file is part of the Vinesauce ROM Corruptor. + * + * The Vinesauce ROM Corruptor is free software: you can redistribute + * it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * The Vinesauce ROM Corruptor is distributed in the hope that it + * will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with the Vinesauce ROM Corruptor. If not, see + * . + */ + +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; +using System.IO; +using System.Diagnostics; +using System.Runtime.InteropServices; +using System.Threading; +using System.Text.RegularExpressions; +using Microsoft.VisualBasic; +using System.Net; + +namespace Vinesauce_ROM_Corruptor +{ + public enum HotkeyActions + { + AddStart, + AddEnd, + AddRange, + SubStart, + SubEnd, + SubRange + } + + public partial class MainForm : Form + { + [DllImport("User32.dll")] + static extern bool MoveWindow(IntPtr handle, int x, int y, int width, int height, bool redraw); + + [DllImport("user32.dll")] + [return: MarshalAs(UnmanagedType.Bool)] + static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect); + + [StructLayout(LayoutKind.Sequential)] + public struct RECT + { + public int Left; + public int Top; + public int Right; + public int Bottom; + } + + static private Process Emulator = null; + + private List NESCPUJamProtection_Avoid = new List() { 0x48, 0x08, 0x68, 0x28, 0x78, 0x00, 0x02, 0x12, 0x22, 0x32, 0x42, 0x52, 0x62, 0x72, 0x92, 0xB2, 0xD2, 0xF2 }; + private List NESCPUJamProtection_Protect_1 = new List() { 0x48, 0x08, 0x68, 0x28, 0x78, 0x40, 0x60, 0x00, 0x90, 0xB0, 0xF0, 0x30, 0xD0, 0x10, 0x50, 0x70, 0x4C, 0x6C, 0x20 }; + private List NESCPUJamProtection_Protect_2 = new List() { 0x90, 0xB0, 0xF0, 0x30, 0xD0, 0x10, 0x50, 0x70, 0x4C, 0x6C, 0x20 }; + private List NESCPUJamProtection_Protect_3 = new List() { 0x4C, 0x6C, 0x20 }; + + static public Keys Hotkey = Keys.Space; + static public HotkeyActions HotkeyAction = HotkeyActions.AddStart; + static public bool HotkeyEnabled = false; + + public MainForm() + { + InitializeComponent(); + + // Try to load the save location and emulator to run. + try + { + string text = File.ReadAllText("VinesauceROMCorruptor.txt"); + Match m = Regex.Match(text, "(?<=textBox_SaveLocation\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_SaveLocation.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_EmulatorToRun\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_EmulatorToRun.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=HotkeyEnabled=).*?(?=\r)"); + if (m.Success) + { + checkBox_HotkeyEnable.Checked = bool.Parse(m.Groups[0].Value); + } + m = Regex.Match(text, "(?<=Hotkey=).*?(?=\r)"); + if (m.Success) + { + Hotkey = (Keys)Enum.Parse(typeof(Keys),m.Groups[0].Value,false); + } + m = Regex.Match(text, "(?<=HotkeyAction=).*?(?=\r)"); + if (m.Success) + { + HotkeyAction = (HotkeyActions)Enum.Parse(typeof(HotkeyActions), m.Groups[0].Value, false); + } + } + catch + { + // Do nothing, stop exception. + } + } + + private void button_RomToCorruptBrowse_Click(object sender, EventArgs e) + { + button_Run.Focus(); + OpenFileDialog fDialog = new OpenFileDialog(); + fDialog.Title = "Select ROM to Corrupt"; + fDialog.CheckFileExists = true; + fDialog.CheckPathExists = true; + fDialog.Filter = "All files (*.*)|*.*"; + if (fDialog.ShowDialog() == DialogResult.OK) + { + textBox_RomToCorrupt.Text = fDialog.FileName.ToString(); + } + textBox_RomToCorrupt.SelectionStart = textBox_RomToCorrupt.Text.Length; + textBox_RomToCorrupt.ScrollToCaret(); + + // Set to end of new ROM if desired. + if (checkBox_AutoEnd.Checked) + { + FindEndOfROM(); + } + } + + private void button_SaveLocationBrowse_Click(object sender, EventArgs e) + { + button_Run.Focus(); + SaveFileDialog fDialog = new SaveFileDialog(); + fDialog.CheckPathExists = true; + fDialog.DefaultExt = "rom"; + fDialog.FileName = "CorruptedROM"; + fDialog.AddExtension = true; + fDialog.OverwritePrompt = false; + fDialog.Title = "Select Save Location for Corrupted ROM"; + fDialog.Filter = "All files (*.*)|*.*"; + + if (fDialog.ShowDialog() == DialogResult.OK) + { + textBox_SaveLocation.Text = fDialog.FileName; + } + textBox_SaveLocation.SelectionStart = textBox_SaveLocation.Text.Length; + textBox_SaveLocation.ScrollToCaret(); + } + + private void checkBox_RunEmulator_CheckedChanged(object sender, EventArgs e) + { + label_EmulatorToRun.Enabled = checkBox_RunEmulator.Checked; + textBox_EmulatorToRun.Enabled = checkBox_RunEmulator.Checked; + button_EmulatorToRunBrowse.Enabled = checkBox_RunEmulator.Checked; + } + + private void button_EmulatorToRunBrowse_Click(object sender, EventArgs e) + { + button_Run.Focus(); + OpenFileDialog fDialog = new OpenFileDialog(); + fDialog.Title = "Select Emulator to Run"; + fDialog.Filter = "Executable Files|*.exe"; + fDialog.CheckFileExists = true; + fDialog.CheckPathExists = true; + if (fDialog.ShowDialog() == DialogResult.OK) + { + textBox_EmulatorToRun.Text = fDialog.FileName.ToString(); + } + textBox_EmulatorToRun.SelectionStart = textBox_EmulatorToRun.Text.Length; + textBox_EmulatorToRun.ScrollToCaret(); + } + + private void button_AnchorWordsHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("Enter a few sections of text that you know exist within the ROM, separated by pipes ( | ). These text sections are used to automatically build a translation table.", + "Anchor Words Help"); + } + + private void checkBox_TextReplacementEnable_CheckedChanged(object sender, EventArgs e) + { + label_AnchorWords.Enabled = checkBox_TextReplacementEnable.Checked; + textBox_AnchorWords.Enabled = checkBox_TextReplacementEnable.Checked; + label_TextToReplace.Enabled = checkBox_TextReplacementEnable.Checked; + textBox_TextToReplace.Enabled = checkBox_TextReplacementEnable.Checked; + label_ReplaceWith.Enabled = checkBox_TextReplacementEnable.Checked; + textBox_ReplaceWith.Enabled = checkBox_TextReplacementEnable.Checked; + checkBox_TextUseByteCorruptionRange.Enabled = checkBox_TextReplacementEnable.Checked && checkBox_ByteCorruptionEnable.Checked; + checkBox_TextUseByteCorruptionRange.Checked = false; + } + + private void button_TextToReplaceHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("Enter sections of text to replace, separated by pipes ( | ). Be aware that small sections of text will cause more collateral corruption than large sections of text. Non-letter characters will match any value.", + "Text To Replace Help"); + } + + private void button_ReplaceWithHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("Enter what to replace the matching sections of text with, separated by pipes ( | ). The number of sections of text entered here must match the number to replace. The size of the text to replace and the replacement may differ.", + "Replace With Help"); + } + + public void button_Run_Click(object sender, EventArgs e) + { + // Check that we can write to the file. + if (File.Exists(textBox_SaveLocation.Text) && !checkBox_Overwrite.Checked) + { + if (!checkBox_Overwrite.Checked) + { + MessageBox.Show("File to save to exists and overwrite is not enabled.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + + // Read the ROM in. + byte[] ROM = null; + try + { + ROM = File.ReadAllBytes(textBox_RomToCorrupt.Text); + } + catch + { + MessageBox.Show("Error reading ROM.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Read in all of the text boxes. + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + uint EveryNthByte; + try + { + EveryNthByte = Convert.ToUInt32(textBox_EveryNBytes.Text); + } + catch + { + MessageBox.Show("Invalid byte corruption interval.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + if (EveryNthByte == 0) + { + MessageBox.Show("Invalid byte corruption interval.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + int AddXtoByte; + try + { + AddXtoByte = Convert.ToInt32(textBox_AddXToByte.Text); + } + catch + { + MessageBox.Show("Invalid byte addition value.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + int ShiftRightXBytes; + try + { + ShiftRightXBytes = Convert.ToInt32(textBox_ShiftRightXBytes.Text); + } + catch + { + MessageBox.Show("Invalid right shift value.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + byte ReplaceByteXwithYByteX; + try + { + ReplaceByteXwithYByteX = Convert.ToByte(textBox_ReplaceByteXwithYByteX.Text, 16); + } + catch + { + MessageBox.Show("Invalid byte to match.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + byte ReplaceByteXwithYByteY; + try + { + ReplaceByteXwithYByteY = Convert.ToByte(textBox_ReplaceByteXwithYByteY.Text, 16); + } + catch + { + MessageBox.Show("Invalid byte replacement.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Limit the end byte. + if (EndByte > (ROM.LongLength - 1)) + { + EndByte = ROM.LongLength - 1; + } + + // Areas to not corrupt. + List ProtectedRegions = new List(); + + // Delimeter for text sections. + char[] Delimeter = new char[1] { '|' }; + + // Do text replacement if desired. + if (checkBox_TextReplacementEnable.Checked) + { + // Translation dictionary. + Dictionary TranslationDictionary = new Dictionary(); + + // Read in the text and its replacement. + string[] TextToReplace = textBox_TextToReplace.Text.Split(Delimeter, StringSplitOptions.RemoveEmptyEntries); + string[] ReplaceWith = textBox_ReplaceWith.Text.Split(Delimeter, StringSplitOptions.RemoveEmptyEntries); + + // Make sure they have equal length. + if (TextToReplace.Length != ReplaceWith.Length) + { + MessageBox.Show("Number of text sections to replace does not match number of replacements.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Create relative offset arrays of the anchors. + string[] Anchors = textBox_AnchorWords.Text.Split(Delimeter, StringSplitOptions.RemoveEmptyEntries); + int[][] RelativeAnchors = new int[Anchors.Length][]; + for (int i = 0; i < Anchors.Length; i++) + { + RelativeAnchors[i] = new int[Anchors[i].Length]; + for (int j = 0; j < Anchors[i].Length; j++) + { + RelativeAnchors[i][j] = Anchors[i][j] - Anchors[i][0]; + } + } + + // Look for the anchors. + for (int i = 0; i < RelativeAnchors.Length; i++) + { + // Position in ROM. + long j = 0; + + // Scan the entire ROM. + while (j < ROM.LongLength) + { + // If a match has been found. + bool Match = true; + + // Look for the relative values. + for (int k = 0; k < RelativeAnchors[i].Length; k++) + { + // Make sure its in range. + if (j + k < ROM.LongLength) + { + // Ignore non-letter characters for matching purposes. + if (!Char.IsLetter(Anchors[i][k])) + { + continue; + } + + // Check if the relative value doesn't match. + if ((ROM[j + k] - ROM[j]) != RelativeAnchors[i][k]) + { + // It doesn't, break. + Match = false; + break; + } + } + else + { + // Out of range before matching. + Match = false; + break; + } + } + + // If a match was found, update the dictionary. + if (Match) + { + int k = 0; + for (k = 0; k < Anchors[i].Length; k++) + { + if (!TranslationDictionary.ContainsKey(Anchors[i][k])) + { + TranslationDictionary.Add(Anchors[i][k], ROM[j + k]); + } + } + + // Move ahead to the correct location in the ROM. + j = j + k + 1; + } + else + { + // Move ahead one byte. + j = j + 1; + } + } + } + + // Calculate the offset to translate unknown text, assuming ASCII structure. + int ASCIIOffset = 0; + if (TranslationDictionary.Count > 0) + { + ASCIIOffset = TranslationDictionary.First().Value - TranslationDictionary.First().Key; + } + + // Create arrays of the text to be replaced in ROM format. + byte[][] ByteTextToReplace = new byte[TextToReplace.Length][]; + for (int i = 0; i < TextToReplace.Length; i++) + { + ByteTextToReplace[i] = new byte[TextToReplace[i].Length]; + for (int j = 0; j < TextToReplace[i].Length; j++) + { + if (TranslationDictionary.ContainsKey(TextToReplace[i][j])) + { + ByteTextToReplace[i][j] = TranslationDictionary[TextToReplace[i][j]]; + } + else + { + int ASCIITranslated = TextToReplace[i][j] + ASCIIOffset; + if (ASCIITranslated >= Byte.MinValue && ASCIITranslated <= Byte.MaxValue) + { + ByteTextToReplace[i][j] = (byte)(ASCIITranslated); + } + else + { + // Could not translate. + ByteTextToReplace[i][j] = (byte)(TextToReplace[i][j]); + } + } + } + } + + // Create arrays of the replacement text in ROM format. + byte[][] ByteReplaceWith = new byte[ReplaceWith.Length][]; + for (int i = 0; i < ReplaceWith.Length; i++) + { + ByteReplaceWith[i] = new byte[ReplaceWith[i].Length]; + for (int j = 0; j < ReplaceWith[i].Length; j++) + { + if (TranslationDictionary.ContainsKey(ReplaceWith[i][j])) + { + ByteReplaceWith[i][j] = TranslationDictionary[ReplaceWith[i][j]]; + } + else + { + int ASCIITranslated = ReplaceWith[i][j] + ASCIIOffset; + if (ASCIITranslated >= Byte.MinValue && ASCIITranslated <= Byte.MaxValue) + { + ByteReplaceWith[i][j] = (byte)(ASCIITranslated); + } + else + { + // Could not translate. + ByteReplaceWith[i][j] = (byte)(ReplaceWith[i][j]); + } + } + } + } + + // Area of ROM to consider. + long TextReplacementStartByte = 0; + long TextReplacementEndByte = ROM.LongLength - 1; + + // Change area if using the byte corruption range. + if (checkBox_TextUseByteCorruptionRange.Checked) + { + TextReplacementStartByte = StartByte; + TextReplacementEndByte = EndByte; + } + + // Look for the text to replace. + for (int i = 0; i < ByteTextToReplace.Length; i++) + { + // Position in ROM. + long j = TextReplacementStartByte; + + // Scan the entire ROM. + while (j <= TextReplacementEndByte) + { + // If a match has been found. + bool Match = true; + + // Look for the text. + for (int k = 0; k < ByteTextToReplace[i].Length; k++) + { + // Make sure its in range. + if (j + k <= TextReplacementEndByte) + { + // Ignore non-letter characters for matching purposes. + if (!Char.IsLetter(TextToReplace[i][k])) + { + continue; + } + + // Check if the relative value doesn't match. + if (ROM[j + k] != ByteTextToReplace[i][k]) + { + // It doesn't, break. + Match = false; + break; + } + } + else + { + // Out of range before matching. + Match = false; + break; + } + } + + // If the entire string matched, replace it. + if (Match) + { + // If the area is protected. + bool Protected = false; + + // Length of the replacement. + int k = ByteReplaceWith[i].Length - 1; + + // Check if the area is protected. + foreach (long[] ProtectedRegion in ProtectedRegions) + { + if ((j >= ProtectedRegion[0] && j <= ProtectedRegion[1]) || (j + k >= ProtectedRegion[0] && j + k <= ProtectedRegion[1]) || (j < ProtectedRegion[0] && j + k > ProtectedRegion[1])) + { + // Yes, its protected. + Protected = true; + break; + } + } + + // If not protected, replace the text. + if (!Protected) + { + for (k = 0; k < ByteReplaceWith[i].Length; k++) + { + ROM[j + k] = ByteReplaceWith[i][k]; + } + + // Protect the inserted text. + ProtectedRegions.Add(new long[2] { j, j + k }); + } + + // Move ahead to the correct location in the ROM. + j = j + k + 1; + } + else + { + // Move ahead one byte. + j = j + 1; + } + } + } + } + + // Do color replacement if desired. + if (checkBox_ColorReplacementEnable.Checked) + { + // Read in the text and its replacement. + string[] ColorsToReplace = textBox_ColorsToReplace.Text.Split(Delimeter, StringSplitOptions.RemoveEmptyEntries); + string[] ColorsReplaceWith = textBox_ReplaceWithColors.Text.Split(Delimeter, StringSplitOptions.RemoveEmptyEntries); + + // Make sure they have equal length. + if (ColorsToReplace.Length != ColorsReplaceWith.Length) + { + MessageBox.Show("Number of colors to replace does not match number of replacements.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Convert the strings. + byte[] ColorsToReplaceBytes = new byte[ColorsToReplace.Length]; + byte[] ColorsReplaceWithBytes = new byte[ColorsReplaceWith.Length]; + for (int i = 0; i < ColorsToReplace.Length; i++) + { + try + { + byte Converted = Convert.ToByte(ColorsToReplace[i], 16); + ColorsToReplaceBytes[i] = Converted; + } + catch + { + MessageBox.Show("Invalid color to replace.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + for (int i = 0; i < ColorsReplaceWithBytes.Length; i++) + { + try + { + byte Converted = Convert.ToByte(ColorsReplaceWith[i], 16); + ColorsReplaceWithBytes[i] = Converted; + } + catch + { + MessageBox.Show("Invalid color replacement.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + + // Area of ROM to consider. + long ColorReplacementStartByte = 0; + long ColorReplacementEndByte = ROM.LongLength - 1; + + // Change area if using the byte corruption range. + if (checkBox_ColorUseByteCorruptionRange.Checked) + { + ColorReplacementStartByte = StartByte; + ColorReplacementEndByte = EndByte; + } + + // Position in ROM. + long j = ColorReplacementStartByte; + + // Scan the entire ROM. + while (j <= ColorReplacementEndByte) + { + // If a palette has been found. + bool Palette = true; + + // Look for a palette. + for (int k = 0; k < 4; k++) + { + // Make sure its in range. + if (j + k <= ColorReplacementEndByte) + { + // Check if value exceeds the maximum valid color value. + if (ROM[j + k] > 0x3F) + { + // It does, break. + Palette = false; + break; + } + } + else + { + // Out of range before matching. + Palette = false; + break; + } + } + + // If a possible palette was found, do color replacement. + if (Palette) + { + for (int i = 0; i < ColorsToReplaceBytes.Length; i++) + { + for (int k = 0; k < 4; k++) + { + if (ROM[j + k] == ColorsToReplaceBytes[i]) + { + // If the byte is protected. + bool Protected = false; + + // Check if the byte is protected. + foreach (long[] ProtectedRegion in ProtectedRegions) + { + if (j + k >= ProtectedRegion[0] && j + k <= ProtectedRegion[1]) + { + // Yes, its protected. + Protected = true; + break; + } + } + + // If its not protected, do the replacement. + if (!Protected) + { + ROM[j + k] = ColorsReplaceWithBytes[i]; + ProtectedRegions.Add(new long[2] { j + k, j + k }); + } + } + } + } + + // Move ahead to the correct location in the ROM. + j = j + 4; + } + else + { + // Move ahead one byte. + j = j + 1; + } + } + } + + // Do byte corruption if desired. + if (checkBox_ByteCorruptionEnable.Checked) + { + if (radioButton_AddXToByte.Checked && AddXtoByte != 0) + { + for (long i = StartByte + EveryNthByte; i <= EndByte; i = i + EveryNthByte) + { + // If the byte is protected. + bool Protected = false; + + // Check if the byte is protected. + foreach (long[] ProtectedRegion in ProtectedRegions) + { + if (i >= ProtectedRegion[0] && i <= ProtectedRegion[1]) + { + // Yes, its protected. + Protected = true; + break; + } + } + + // Do NES CPU jam protection if desired. + if (checkBox_EnableNESCPUJamProtection.Checked) + { + if (!Protected && i >= 2) + { + if (NESCPUJamProtection_Avoid.Contains((byte)((ROM[i] + AddXtoByte) % (Byte.MaxValue + 1))) + || NESCPUJamProtection_Protect_1.Contains(ROM[i]) + || NESCPUJamProtection_Protect_2.Contains(ROM[i-1]) + || NESCPUJamProtection_Protect_3.Contains(ROM[i-2])) + { + Protected = true; + } + } + } + + // If the byte is not protected, corrupt it. + if (!Protected) + { + int NewValue = (ROM[i] + AddXtoByte) % (Byte.MaxValue + 1); + ROM[i] = (byte)NewValue; + } + } + } + else if (radioButton_ShiftRightXBytes.Checked && ShiftRightXBytes != 0) + { + for (long i = StartByte + EveryNthByte; i <= EndByte; i = i + EveryNthByte) + { + long j = i + ShiftRightXBytes; + + if (j >= StartByte && j <= EndByte) + { + // If the byte is protected. + bool Protected = false; + + // Check if the byte is protected. + foreach (long[] ProtectedRegion in ProtectedRegions) + { + if (j >= ProtectedRegion[0] && j <= ProtectedRegion[1]) + { + // Yes, its protected. + Protected = true; + break; + } + } + + // Do NES CPU jam protection if desired. + if (checkBox_EnableNESCPUJamProtection.Checked) + { + if (!Protected && j >= 2) + { + if (NESCPUJamProtection_Avoid.Contains(ROM[i]) + || NESCPUJamProtection_Protect_1.Contains(ROM[j]) + || NESCPUJamProtection_Protect_2.Contains(ROM[j-1]) + || NESCPUJamProtection_Protect_3.Contains(ROM[j-2])) + { + Protected = true; + } + } + } + + // If the byte is not protected, corrupt it. + if (!Protected) + { + ROM[j] = ROM[i]; + } + } + } + } + else if (radioButton_ReplaceByteXwithY.Checked && ReplaceByteXwithYByteX != ReplaceByteXwithYByteY) + { + for (long i = StartByte + EveryNthByte; i <= EndByte; i = i + EveryNthByte) + { + if (ROM[i] == ReplaceByteXwithYByteX) + { + // If the byte is protected. + bool Protected = false; + + // Check if the byte is protected. + foreach (long[] ProtectedRegion in ProtectedRegions) + { + if (i >= ProtectedRegion[0] && i <= ProtectedRegion[1]) + { + // Yes, its protected. + Protected = true; + break; + } + } + + // If the byte is not protected, corrupt it. + if (!Protected) + { + ROM[i] = ReplaceByteXwithYByteY; + } + } + } + } + } + + // Write the file. + try + { + File.WriteAllBytes(textBox_SaveLocation.Text, ROM); + } + catch + { + MessageBox.Show("Error saving corrupted ROM.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Start the emulator if desired. + if (checkBox_RunEmulator.Checked) + { + try + { + // See if the emulator is already running. + Emulator = Process.GetProcessesByName(Path.GetFileNameWithoutExtension(textBox_EmulatorToRun.Text))[0]; + + // It is, get its current position and kill. + RECT EmulatorPosition; + GetWindowRect(Emulator.MainWindowHandle, out EmulatorPosition); + Emulator.Kill(); + Emulator.WaitForExit(); + + // Attempt to restart. + try + { + Emulator = Process.Start(textBox_EmulatorToRun.Text, textBox_SaveLocation.Text); + } + catch + { + MessageBox.Show("Error starting emulator.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Delay to let the process start. + Emulator.WaitForInputIdle(); + Thread.Sleep(500); + + // Move the window to its previous location. + MoveWindow(Emulator.MainWindowHandle, EmulatorPosition.Left, EmulatorPosition.Top, EmulatorPosition.Right - EmulatorPosition.Left, EmulatorPosition.Bottom - EmulatorPosition.Top, true); + } + catch + { + // Its not, just try to start the emulator. + try + { + Emulator = Process.Start(textBox_EmulatorToRun.Text, textBox_SaveLocation.Text); + } + catch + { + MessageBox.Show("Error starting emulator.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + } + } + + private void checkBox_ByteCorruptionEnable_CheckedChanged(object sender, EventArgs e) + { + label_EndByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_StartByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_Increment.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_EveryNBytes1.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_EveryNBytes2.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_AddXToByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_ReplaceByteXwithY.Enabled = checkBox_ByteCorruptionEnable.Checked; + label_ShiftRightXBytes.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_EndByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_StartByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_Increment.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_EveryNBytes.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_AddXToByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_ShiftRightXBytes.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_ReplaceByteXwithYByteX.Enabled = checkBox_ByteCorruptionEnable.Checked; + textBox_ReplaceByteXwithYByteY.Enabled = checkBox_ByteCorruptionEnable.Checked; + button_EndByteUp.Enabled = checkBox_ByteCorruptionEnable.Checked; + button_EndByteDown.Enabled = checkBox_ByteCorruptionEnable.Checked; + button_StartByteUp.Enabled = checkBox_ByteCorruptionEnable.Checked; + button_StartByteDown.Enabled = checkBox_ByteCorruptionEnable.Checked; + button_RangeUp.Enabled = checkBox_ByteCorruptionEnable.Checked; + button_RangeDown.Enabled = checkBox_ByteCorruptionEnable.Checked; + radioButton_AddXToByte.Enabled = checkBox_ByteCorruptionEnable.Checked; + radioButton_ShiftRightXBytes.Enabled = checkBox_ByteCorruptionEnable.Checked; + radioButton_ReplaceByteXwithY.Enabled = checkBox_ByteCorruptionEnable.Checked; + checkBox_AutoEnd.Enabled = checkBox_ByteCorruptionEnable.Checked; + checkBox_AutoEnd.Checked = false; + checkBox_TextUseByteCorruptionRange.Enabled = checkBox_TextReplacementEnable.Checked && checkBox_ByteCorruptionEnable.Checked; + checkBox_ColorUseByteCorruptionRange.Enabled = checkBox_ColorReplacementEnable.Checked && checkBox_ByteCorruptionEnable.Checked; + checkBox_TextUseByteCorruptionRange.Checked = false; + checkBox_ColorUseByteCorruptionRange.Checked = false; + checkBox_EnableNESCPUJamProtection.Enabled = checkBox_ByteCorruptionEnable.Checked; + checkBox_EnableNESCPUJamProtection.Checked = false; + } + + private void button_IncrementHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("The value that '+' and '-' buttons will change the start and end bytes by in hexadecimal.", + "Increment Help"); + } + + private void button_RangeHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("The first and last byte to consider for corruption, in hexadecimal. Starting corruption too close to the beginning of the ROM can make it fail to run.", + "Range Help"); + } + + private void button_AutoEndHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When checked, corruption will go until the end of the ROM.", + "Auto End Help"); + } + + private void FindEndOfROM() + { + byte[] ROM = null; + try + { + ROM = File.ReadAllBytes(textBox_RomToCorrupt.Text); + } + catch + { + MessageBox.Show("Error reading ROM.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + checkBox_AutoEnd.Checked = false; + return; + } + + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + checkBox_AutoEnd.Checked = false; + return; + } + + long MaxByte = ROM.LongLength - 1; + if (StartByte > MaxByte) + { + StartByte = MaxByte; + textBox_StartByte.Text = MaxByte.ToString("X"); + } + textBox_EndByte.Text = MaxByte.ToString("X"); + } + + private void checkBox_AutoEnd_CheckedChanged(object sender, EventArgs e) + { + if (checkBox_ByteCorruptionEnable.Checked) + { + if (checkBox_AutoEnd.Checked) + { + FindEndOfROM(); + } + + label_EndByte.Enabled = !checkBox_AutoEnd.Checked; + textBox_EndByte.Enabled = !checkBox_AutoEnd.Checked; + button_EndByteUp.Enabled = !checkBox_AutoEnd.Checked; + button_EndByteDown.Enabled = !checkBox_AutoEnd.Checked; + button_RangeUp.Enabled = !checkBox_AutoEnd.Checked; + button_RangeDown.Enabled = !checkBox_AutoEnd.Checked; + } + } + + private void button_StartByteUp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Increment; + try + { + Increment = Convert.ToInt64(textBox_Increment.Text, 16); + } + catch + { + MessageBox.Show("Invalid increment.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + StartByte = StartByte + Increment; + if (StartByte > EndByte) + { + StartByte = EndByte; + } + textBox_StartByte.Text = StartByte.ToString("X"); + } + + private void button_StartByteDown_Click(object sender, EventArgs e) + { + button_Run.Focus(); + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Increment; + try + { + Increment = Convert.ToInt64(textBox_Increment.Text, 16); + } + catch + { + MessageBox.Show("Invalid increment.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + StartByte = StartByte - Increment; + if (StartByte < 0) + { + StartByte = 0; + } + textBox_StartByte.Text = StartByte.ToString("X"); + } + + private void button_EndByteUp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Increment; + try + { + Increment = Convert.ToInt64(textBox_Increment.Text, 16); + } + catch + { + MessageBox.Show("Invalid increment.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + EndByte = EndByte + Increment; + textBox_EndByte.Text = EndByte.ToString("X"); + } + + private void button_EndByteDown_Click(object sender, EventArgs e) + { + button_Run.Focus(); + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Increment; + try + { + Increment = Convert.ToInt64(textBox_Increment.Text, 16); + } + catch + { + MessageBox.Show("Invalid increment.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + EndByte = EndByte - Increment; + if (EndByte < StartByte) + { + EndByte = StartByte; + } + textBox_EndByte.Text = EndByte.ToString("X"); + } + + private void button_RangeUp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Increment; + try + { + Increment = Convert.ToInt64(textBox_Increment.Text, 16); + } + catch + { + MessageBox.Show("Invalid increment.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + StartByte = StartByte + Increment; + EndByte = EndByte + Increment; + textBox_StartByte.Text = StartByte.ToString("X"); + textBox_EndByte.Text = EndByte.ToString("X"); + } + + private void button_RangeDown_Click(object sender, EventArgs e) + { + button_Run.Focus(); + long StartByte; + try + { + StartByte = Convert.ToInt64(textBox_StartByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid start byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long EndByte; + try + { + EndByte = Convert.ToInt64(textBox_EndByte.Text, 16); + } + catch + { + MessageBox.Show("Invalid end byte.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Increment; + try + { + Increment = Convert.ToInt64(textBox_Increment.Text, 16); + } + catch + { + MessageBox.Show("Invalid increment.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + long Difference = EndByte - StartByte; + StartByte = StartByte - Increment; + if (StartByte < 0) + { + StartByte = 0; + EndByte = Difference; + } + else + { + EndByte = EndByte - Increment; + } + textBox_StartByte.Text = StartByte.ToString("X"); + textBox_EndByte.Text = EndByte.ToString("X"); + } + + private void button_EveryNBytesHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("This decimal value specifies how often to corrupt bytes in the ROM. A value of one will corrupt every byte, a value of two will corrupt every second byte, and so on.", + "Every Nth Byte Help"); + } + + private void button_AddXToByteHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When this option is selected, this decimal value is added to each byte selected for corruption.", + "Add X to Byte Help"); + } + + private void button_NESPaletteHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("This table shows the hexadecimal values of all of the colors available on the NES. The row indicates the most significant nibble of the byte, while the column indicates the least significant nibble of the byte. Therefore, valid hexadecimal color values range from 00 to 3F.", + "NES Palette Help"); + } + + private void button_ColorsToReplaceHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("Enter the hexadecimal values of the colors to replace separated by pipes ( | ).", + "Colors to Replace Help"); + } + + private void button_ReplaceWithColorsHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("Enter the hexadecimal values of the colors to replace the matching colors with, separated by pipes ( | ). The number of colors to match must equal the number of replacements.", + "Color Replace With Help"); + } + + private void checkBox_ColorReplacementEnable_CheckedChanged(object sender, EventArgs e) + { + label_ColorsToReplace.Enabled = checkBox_ColorReplacementEnable.Checked; + label_ReplaceWithColors.Enabled = checkBox_ColorReplacementEnable.Checked; + textBox_ColorsToReplace.Enabled = checkBox_ColorReplacementEnable.Checked; + textBox_ReplaceWithColors.Enabled = checkBox_ColorReplacementEnable.Checked; + checkBox_ColorUseByteCorruptionRange.Enabled = checkBox_ColorReplacementEnable.Checked && checkBox_ByteCorruptionEnable.Checked; + checkBox_ColorUseByteCorruptionRange.Checked = false; + } + + private void button_TextUseByteCorruptionRangeHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("If byte corruption is enabled, this option will be available. Checking this box causes the text replacement to only consider bytes in the range specified for byte corruption. This is useful if text replacement is causing too much colatteral corruption.", + "Text Replacement Use Byte Corruption Range Help"); + } + + private void button_ColorUseByteCorruptionRangeHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("If byte corruption is enabled, this option will be available. Checking this box causes the color replacement to only consider bytes in the range specified for byte corruption. This is useful if color replacement is causing too much colatteral corruption.", + "Color Replacement Use Byte Corruption Range Help"); + } + + private void button_Save_Click(object sender, EventArgs e) + { + button_Run.Focus(); + if (checkBox_UseTinyURL.Checked) + { + // Get the name of the paste from user. + string name = Interaction.InputBox("Please enter a brief description of these corruption settings below.", "Save to TinyURL", ""); + if (name == "") + { + MessageBox.Show("No description entered, save to TinyURL aborted.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + string response = ""; + try + { + // Create a TinyURL. + System.Net.WebClient wc = new System.Net.WebClient(); + UriBuilder ub = new UriBuilder(); + ub.Host = "tinyurl.com"; + ub.Path = "/api-create.php"; + ub.Query = "url=" + SettingsToString(); + response = wc.DownloadString(ub.Uri); + } + catch + { + MessageBox.Show("Error saving to TinyURL. Please retry.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Handle the response. + if (response.Contains("http://tinyurl.com/")) + { + System.Windows.Forms.Clipboard.SetDataObject(response, true); + MessageBox.Show("TinyURL:\n\n" + response + "\n\nCopied to clipboard.", "Saved to TinyURL", MessageBoxButtons.OK, MessageBoxIcon.Information); + } + else + { + MessageBox.Show("Save to TinyURL failed. Reason: " + response, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + // Add to list of TinyURL saves. + try + { + // Open the file to write to. + StreamWriter sw = new StreamWriter("TinyURLs.txt", true); + + // Write the save location and emulator to run. + sw.WriteLine(response + " (" + name + ")"); + + // Close the file. + sw.Close(); + } + catch + { + MessageBox.Show("Error adding to list of TinyURLs.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + else + { + SaveFileDialog fDialog = new SaveFileDialog(); + fDialog.CheckPathExists = true; + fDialog.DefaultExt = "txt"; + fDialog.FileName = "CorruptionSettings"; + fDialog.AddExtension = true; + fDialog.OverwritePrompt = true; + fDialog.Title = "Select Save Location for Corruption Settings"; + fDialog.Filter = "Text Documents (*.txt)|*.txt"; + + if (fDialog.ShowDialog() == DialogResult.OK) + { + try + { + // Open the file to write to. + StreamWriter sw = new StreamWriter(fDialog.FileName); + + // Write the settings to the file. + sw.Write(SettingsToString()); + + // Close the file. + sw.Close(); + } + catch + { + MessageBox.Show("Error saving corruption settings.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + } + } + + private void button_Load_Click(object sender, EventArgs e) + { + button_Run.Focus(); + if (checkBox_UseTinyURL.Checked) + { + // Get the TinyURL from the user. + string url = Interaction.InputBox("Please enter the TinyURL to load below.", "Load from TinyURL", ""); + if (url == "") + { + MessageBox.Show("No TinyURL entered, load from TinyURL aborted.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + try + { + // Make the request. + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); + request.Method = "HEAD"; + request.AllowAutoRedirect = false; + + // Get the response. + HttpWebResponse response = (HttpWebResponse)request.GetResponse(); + string text = response.GetResponseHeader("Location"); + response.Close(); + + // Unescape the text. + text = Uri.UnescapeDataString(text); + + // Load the settings. + StringToSettings(text); + } + catch + { + MessageBox.Show("Error loading from TinyURL. Please ensure the TinyURL is correct and retry.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + else + { + OpenFileDialog fDialog = new OpenFileDialog(); + fDialog.Title = "Select Corruption Settings to Load"; + fDialog.Filter = "Text Documents (*.txt)|*.txt"; + fDialog.CheckFileExists = true; + fDialog.CheckPathExists = true; + + if (fDialog.ShowDialog() == DialogResult.OK) + { + try + { + // Load the settings from the file. + StringToSettings(File.ReadAllText(fDialog.FileName)); + } + catch + { + MessageBox.Show("Error loading corruption settings.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + } + } + } + + private void button_ShiftRightXBytesHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When this option is selected, each byte selected for corruption is shifted right by the number of bytes specified by this decimal value. This value can be negative, resulting in a shift to the left.", + "Shift Right X Bytes Help"); + } + + private void button_ReplaceByteXwithYHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When this option is selected, each byte selected for corruption is compared to the first hexadecimal value. If it matches, it is replaced by the second hexadecimal value.", + "Replace Byte X with Y Help"); + } + + private string SettingsToString() + { + StringBuilder sb = new StringBuilder(); + + // ROM to corrupt. + sb.AppendLine("textBox_RomToCorrupt.Text=" + textBox_RomToCorrupt.Text); + + // General settings. + sb.AppendLine("checkBox_EnableNESCPUJamProtection.Checked=" + checkBox_EnableNESCPUJamProtection.Checked.ToString()); + + // Text replacement settings. + sb.AppendLine("checkBox_TextReplacementEnable.Checked=" + checkBox_TextReplacementEnable.Checked.ToString()); + sb.AppendLine("checkBox_TextUseByteCorruptionRange.Checked=" + checkBox_TextUseByteCorruptionRange.Checked.ToString()); + sb.AppendLine("textBox_AnchorWords.Text=" + textBox_AnchorWords.Text); + sb.AppendLine("textBox_TextToReplace.Text=" + textBox_TextToReplace.Text); + sb.AppendLine("textBox_ReplaceWith.Text=" + textBox_ReplaceWith.Text); + + // Color replacement settings. + sb.AppendLine("checkBox_ColorReplacementEnable.Checked=" + checkBox_ColorReplacementEnable.Checked.ToString()); + sb.AppendLine("checkBox_ColorUseByteCorruptionRange.Checked=" + checkBox_ColorUseByteCorruptionRange.Checked.ToString()); + sb.AppendLine("textBox_ColorsToReplace.Text=" + textBox_ColorsToReplace.Text); + sb.AppendLine("textBox_ReplaceWithColors.Text=" + textBox_ReplaceWithColors.Text); + + // Byte corruption settings. + sb.AppendLine("checkBox_ByteCorruptionEnable.Checked=" + checkBox_ByteCorruptionEnable.Checked.ToString()); + sb.AppendLine("checkBox_AutoEnd.Checked=" + checkBox_AutoEnd.Checked.ToString()); + sb.AppendLine("radioButton_AddXToByte.Checked=" + radioButton_AddXToByte.Checked.ToString()); + sb.AppendLine("radioButton_ShiftRightXBytes.Checked=" + radioButton_ShiftRightXBytes.Checked.ToString()); + sb.AppendLine("radioButton_ReplaceByteXwithY.Checked=" + radioButton_ReplaceByteXwithY.Checked.ToString()); + sb.AppendLine("textBox_StartByte.Text=" + textBox_StartByte.Text); + sb.AppendLine("textBox_EndByte.Text=" + textBox_EndByte.Text); + sb.AppendLine("textBox_Increment.Text=" + textBox_Increment.Text); + sb.AppendLine("textBox_EveryNBytes.Text=" + textBox_EveryNBytes.Text); + sb.AppendLine("textBox_AddXToByte.Text=" + textBox_AddXToByte.Text); + sb.AppendLine("textBox_ShiftRightXBytes.Text=" + textBox_ShiftRightXBytes.Text); + sb.AppendLine("textBox_ReplaceByteXwithYByteX.Text=" + textBox_ReplaceByteXwithYByteX.Text); + sb.AppendLine("textBox_ReplaceByteXwithYByteY.Text=" + textBox_ReplaceByteXwithYByteY.Text); + + return sb.ToString(); + } + + private void StringToSettings(string text) + { + // ROM to corrupt. + Match m = Regex.Match(text, "(?<=textBox_RomToCorrupt\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_RomToCorrupt.Text = m.Groups[0].Value; + } + + // Enable checkboxes. + // Text replacement. + m = Regex.Match(text, "(?<=checkBox_TextReplacementEnable\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_TextReplacementEnable.Checked = true; + } + else + { + checkBox_TextReplacementEnable.Checked = false; + } + } + // Color replacement. + m = Regex.Match(text, "(?<=checkBox_ColorReplacementEnable\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_ColorReplacementEnable.Checked = true; + } + else + { + checkBox_ColorReplacementEnable.Checked = false; + } + } + // Byte corruption. + m = Regex.Match(text, "(?<=checkBox_ByteCorruptionEnable\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_ByteCorruptionEnable.Checked = true; + } + else + { + checkBox_ByteCorruptionEnable.Checked = false; + } + } + + // Use byte corruption range checkboxes. + // Text replacement. + m = Regex.Match(text, "(?<=checkBox_TextUseByteCorruptionRange\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_TextUseByteCorruptionRange.Checked = true; + } + else + { + checkBox_TextUseByteCorruptionRange.Checked = false; + } + } + // Color replacement. + m = Regex.Match(text, "(?<=checkBox_ColorUseByteCorruptionRange\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_ColorUseByteCorruptionRange.Checked = true; + } + else + { + checkBox_ColorUseByteCorruptionRange.Checked = false; + } + } + + // Text boxes. + // Text replacement. + m = Regex.Match(text, "(?<=textBox_AnchorWords\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_AnchorWords.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_TextToReplace\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_TextToReplace.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_ReplaceWith\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_ReplaceWith.Text = m.Groups[0].Value; + } + // Color replacement. + m = Regex.Match(text, "(?<=textBox_ColorsToReplace\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_ColorsToReplace.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_ReplaceWithColors\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_ReplaceWithColors.Text = m.Groups[0].Value; + } + // Byte corruption. + m = Regex.Match(text, "(?<=textBox_StartByte\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_StartByte.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_EndByte\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_EndByte.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_Increment\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_Increment.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_EveryNBytes\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_EveryNBytes.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_AddXToByte\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_AddXToByte.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_ShiftRightXBytes\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_ShiftRightXBytes.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_ReplaceByteXwithYByteX\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_ReplaceByteXwithYByteX.Text = m.Groups[0].Value; + } + m = Regex.Match(text, "(?<=textBox_ReplaceByteXwithYByteY\\.Text=).*?(?=\r)"); + if (m.Success) + { + textBox_ReplaceByteXwithYByteY.Text = m.Groups[0].Value; + } + + // Checkboxes. + // Byte corruption. + m = Regex.Match(text, "(?<=checkBox_AutoEnd\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_AutoEnd.Checked = true; + } + else + { + checkBox_AutoEnd.Checked = false; + } + } + m = Regex.Match(text, "(?<=checkBox_EnableNESCPUJamProtection\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + checkBox_EnableNESCPUJamProtection.Checked = true; + } + else + { + checkBox_EnableNESCPUJamProtection.Checked = false; + } + } + + // Radio buttons. + // Byte corruption. + // If a byte corruption radio button is checked in the save file. + bool ByteCorruptionRadioButtonChecked = false; + m = Regex.Match(text, "(?<=radioButton_AddXToByte\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + ByteCorruptionRadioButtonChecked = true; + radioButton_AddXToByte.Checked = true; + } + else + { + radioButton_AddXToByte.Checked = false; + } + } + if (!ByteCorruptionRadioButtonChecked) + { + m = Regex.Match(text, "(?<=radioButton_ShiftRightXBytes\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + ByteCorruptionRadioButtonChecked = true; + radioButton_ShiftRightXBytes.Checked = true; + } + else + { + radioButton_ShiftRightXBytes.Checked = false; + } + } + } + if (!ByteCorruptionRadioButtonChecked) + { + m = Regex.Match(text, "(?<=radioButton_ReplaceByteXwithY\\.Checked=).*?(?=\r)"); + if (m.Success) + { + if (m.Groups[0].Value == "True") + { + ByteCorruptionRadioButtonChecked = true; + radioButton_ReplaceByteXwithY.Checked = true; + } + else + { + radioButton_ReplaceByteXwithY.Checked = false; + } + } + } + // If a checked radio button was not found, set to default. + if (!ByteCorruptionRadioButtonChecked) + { + radioButton_AddXToByte.Checked = true; + } + } + + private void button_UseTinyURLHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When this box is checked, saving and loading is done to and from TinyURLs. All of the corruption settings are stored in the TinyURL conversion. Please be aware that these TinyURLs will not display anything useful in a web browser. To help keep track of TinyURLs you save, a list is kept in \"TinyURLs.txt\" in the same directory as this program.", + "Use TinyURL Help"); + } + + private void button_EnableNESCPUJamProtectionHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When this box is checked, certain byte values that are known important operations in the NES assembly language are protected. Furthermore, the program avoids changing bytes to certain byte values that are known to cause NES CPU jams. In general, this should result in more stable results at the cost of some corruption.", + "NES CPU Jam Protection Help"); + } + + private void button_HotkeyHelp_Click(object sender, EventArgs e) + { + button_Run.Focus(); + MessageBox.Show("When this box is checked, a hotkey is enabled that will change the byte corruption range, corrupt the ROM, close the emulator, and re-run the ROM. This is useful for quickly attempting many corruptions. The default hotkey is the spacebar, but can be set to any key via the \"...\" button." + +" The default change to the byte corruption range is to add the increment to the start byte, but can be set to one of six actions via the \"...\" button", + "Hotkey Help"); + } + + private void button_HotkeySet_Click(object sender, EventArgs e) + { + HotkeyForm form = new HotkeyForm(); + form.StartPosition = FormStartPosition.CenterParent; + form.ShowDialog(); + while (form.Visible == true) + this.Enabled = false; + } + + private void checkBox_HotkeyEnable_CheckedChanged(object sender, EventArgs e) + { + button_HotkeySet.Enabled = checkBox_HotkeyEnable.Checked; + HotkeyEnabled = checkBox_HotkeyEnable.Checked; + } + + private void MainForm_FormClosing(object sender, FormClosingEventArgs e) + { + // Record the save location and emulator to run. + try + { + // Open the file to write to. + StreamWriter sw = new StreamWriter("VinesauceROMCorruptor.txt", false); + + // Write the save location and emulator to run. + sw.WriteLine("textBox_SaveLocation.Text=" + textBox_SaveLocation.Text); + sw.WriteLine("textBox_EmulatorToRun.Text=" + textBox_EmulatorToRun.Text); + sw.WriteLine("HotkeyEnabled=" + checkBox_HotkeyEnable.Checked); + sw.WriteLine("Hotkey=" + Hotkey); + sw.WriteLine("HotkeyAction=" + HotkeyAction); + + // Close the file. + sw.Close(); + } + catch + { + // Do nothing, stop exception. + } + } + } +} diff --git a/Vinesauce ROM Corruptor/MainForm.resx b/Vinesauce ROM Corruptor/MainForm.resx new file mode 100644 index 0000000..0dffab5 --- /dev/null +++ b/Vinesauce ROM Corruptor/MainForm.resx @@ -0,0 +1,760 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + R0lGODlhIAKgAIcAAAAAAAAAvQAA/wBCUgBS9wBaAABrAABzAABz9wCMjACtAACtQgC1AADv3gD//yEh + ITm9/0IpvVIpAFL3lFreUmtC/2uE/3Nzc3t7e4wQAJQAhJQQAJRz96Xn/60AIa17ALW197X3ELX3tbX3 + 1r29vda199b3c94AzucAWudaEO/OrfcxAPdSlPdzUvdz9/e1APe19/fW9/f39/+lQv+lxv/ee//nrf// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /yH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAPACwAAAAAIAKgAAAI/wAfCBxIsKDBgwZvKFzIEKHDgw0f + SiTIMOLEhxUXXtz4ICPHghk9foRYcSTIkBZNdgyp8qTIlhQ1whSIMmVLlDdrzqxZciRPmzOD0tQZFGjO + lzBxCh2I9OPPG0Kb+vy5k2VRq1FlVuWZVepGrkmfQp36dOlSoEYveiU7dqjCo21Xvr26dmLarXHxxpxr + MuVdiX61qlSql6lgp4L/YpSpGPDhlXAT5jU7+HFjhHU5BubLdu/kvlg7U3b7uTLnyyRPP/6aeLXm0JEN + c0asevbruagxWy5td/fowqRt0+ZNlzho4bfH5nYJW/Rv5rFJR5dr3OHm6otrY4f++3ps5MOHPv/vGjdz + b/DFRy+XjNv1+ebhx3uevl52efeOtQOnfnx7fOmmKeefdYwNKB97ApqXn4ELojecgwvOR1l9wfVkFoXM + YeiZgrrpFxZhzk3YGoQdWvihiQeKBmJ/6qF4IokEenghftnBdyJ5GtrHYWr3wVjijgg+512AOVboY4oZ + FnhkkGfRmB6RRJFHn5PvSWlfi0vqaCNrMiYn5IgMApglk2MiqVSORV55IIZihcnjlGVKuF+acrK1Yoj1 + 0ckdgCxC9mSca5qIJpURqtknn02WOeSh/D05J6FV3mhogHX+12ifg9qmKKRI/tijm4jC6eaiiY4KpqhW + PgpopXhyymSoXk6eGl+mk226aqfUAZmkrhtuqZav/bEJ7K+8xgjqrsdWmOqldg77nrB3PhhlcnrKB1aw + zvIYLbWuNtitkcnm+u2bpaZZ7KvMSnsusnCtC26x2+Iq77z01mvvvfjmq+++/Pbr778AByzwwAQXbPDB + CCes8MIMN+zwwxBHLPHEFFds8cUYZ6zxxhx37PHHIIcs8sgkl2zyySinrPLKLLfs8sv/MMcs88w012zz + zTjnrPPOPPfs889ABy300EQXbfTRSCet9NJMN+3001BHLfXUVFdt9dVYZ6311lx3eu1IGIQt9thkY/CR + AGinrfbaAnwUwNtwxy13AB9FYPfdeOcdwUca9O3334Br8JEHhBdu+OEefJTB4ow37ngGij8u+eIfSWD5 + 5ZhnLsFHB3Tu+eegH/CRAaSXbvrpBnxUwOqst+56AR8NIPvstNc+wEcA5K777rwDgHvvwOf+e/C9Y4th + 2ciLfTbbzKPt9tzQv1233tTbzXfg2Pc9OOLcEx755I9/D37jlWtuvuWch65+56Oj7j7pqr8u/+qx226/ + 7MMTv3v+//oLz1H/vLMUrCaSvOQtr3lse1705ja96untetkL3Pa6hzjxjY9yHLmg48p3Ps2lb32ha9/7 + UBe/+b2ufvezHf/6t0L9tZB4AkzXRQqIvAMiUG0KXGDcGuhAvEEwgn+bIAUNZ8ELFnF8HOwg5j4Iws+J + cISmK6EJW4fCFNLuhcHDIvC0WLxYKQtsNCSbDW/oPI7okIEc6eEDOQJECXJkiBXMoAYZd0TwJVGJ6ONI + E0PIESiSkCNTPCFHrKjC/wFQd1wMoCEP6TsvisskYRQjR8i4thyekW5pVKMP2djGIL4RjkSU4xwhJ8o5 + 3hGPTNyj6ProxygCMpBUHCQhr7jIQ/8mcn+1BOCsskWQSI5tjGS05Bl5qMkfdlKIoKzj5JQpuVMqMZV7 + fGIrpQjLKs7ylojMJQu16cJYxcshvlTeJCmZNmHqkJhqNGYbkQlHZoavlBp0Zgeh2URp+pGagbQmIbHp + v40wsp8X+WcjudST+oQzbMC8oTkXiM4eqhOI7ByiOzcITyNyBI+ZoycI7QlFfE5Rn1bk50AD+k+RqitB + DDqo2cZJzraZ8ZJwa6gDHxrBiFJwouSrKBIvitHLaXR9HB2hR00I0hSalJswRGoWucUqAh40oQhcaPRk + Wj2aZs+m3cMpHXVqR572dHN6VKXngvq+oc6vqPc7qj9LqtQtMlUzVjN8KkvJKVXoUZV6VsUeVrmnVQxu + ZJR+vchX87gRsY6Vla2E3ythST9ZzhJ/be3iWhmp/1ZuHU+uG2lpGTcC05hmUpPW42QntfdJUHqPq8tE + bTO92tOfqo+s7jOr/NBqv8pORKC2JRYvC6JSqDavrmjcCGjvllc3bsS0hesrKf8KWHmez7V83EhiSydb + QW7ksbPL7UNwG1lF6qu3c6UkcOV21zVuZLR+22scmTtK5TrXfNAFHWz/uBHGso62hZysLbuLS/3qcl/g + zaxmx7vDz4K2uIBT7+Hcq9p3bmSwYC2sYVcp3emmbrGMxW/ttOsQ7vp3m10LsYhHTOISm/jEKE6xilfM + 4ha7+MUwjrGMZ0zjGtv4xjjOsY53zOMe+/jHQA6ykIdM5CIb+chITrKSl8zkJtU7+clQjrKUAZYmElj5 + yljOMgk+goAue/nLYEbARwhA5jKb+cwE+EgF1szmNru5Ah85gZznTOc6n+AjKMiznvfMZxR8ZAWADrSg + B72Cj6Tg0IhOtKJT8JEPOPrRkI70Bz6igEpb+tKYVgClM83pSn9kAaAOtahHvYCPJODUqE61qhPAYYR4 + mKSUpVRQtEzrK3M5zLju8pjRzGsyq/nNwF5znO1MbDnjuc/IzvOfCc1sQBt60dA+dKMlTW1Hb7rTmb42 + ti/9aVJ7G9SmXrW4T93qg7z6tmz/lZZQal3rW+c6zLvuNZp/Hew3D7vYdj52svu87GYT+tnRXvS0qy1p + bW/b0xw5OKa7/W1Sh3vcqy63Qc4tEYo/K1zsprW73/3leMvbzPSud5vvjW8663vfe+63vwUN8IAneuAE + h7TBDz7zbTO84aJ+OMRTLfGCWLzD6Q5RSzKu5Y1zXNcc+fi8OSJye3Ok5PnmCMr5zZGV/5sjLhc4R2Je + 8IQr3NI1x/bNcQ5ujuw84vzN5oe7ufakMmroRMey0Y/ucaWnmelNH/nToW5yqU895VW3OsuxnvWXb53r + Mvf61zWt+K+Pnew6Pzur0w5QdMe67Ut9u0riLneOHB3MdVd6/8jzTnK+n/zvKhd8ywsPc8SHvdOv5/Tj + cR75s/ecID93ddBjaBLO29rzn/dy6D8++qaXHuqnn3rqrb76rLee67HPduMVPvuG137ntx9I7s29e0fC + 3fdz5/jw5V18kR+/5MlH+fJX3nyXPz/m0V/49GnOEbKP+voQz75Atj/x7hN03b63ZcAXfGKWdHZXZuVX + b+eHb+m3b+vnb+0XcO9HcPHHbfNnc/Vnf6GGf+Omfw/Afz7nf7oFgOA3gME3fr2WgMG2gMXWgMn2gM0W + gdE2gdVWgWB3gWKXgRpYamYneajmgSCIeyIYKTMRgAK4EQSIdBtxgAiId3knbHvHd8bmd/9/p2yBJ3jO + RniFJ22Hh3jWhoOwB4ayp4MayIHiBoRDyH2Xp1vf9BBGGH7vhoK8poLAxoLE5oLIBoPMJoPQRoPUZoMI + txGLF4gXsYNltxE++IOUN1KWt1+Y51YE1YYO8YYm+HlyuHQb8YRsZodRtxFVqGd6eHUbsYWI5oddJ4iD + CIiMtxGGyIOImIiT94iSBWuOSIv/pS+UiIRJeIlnRodOtxFSOGd4SHUbgYWBxodatxFe+Giq2IxkaH9m + iHay6F22CGLVyHb5kosXkYQFuIRMeHeZqIlwFoVSOIx8FoqDhoyKZoqR5oyouHjV923RqGpouIaNeItT + lo/6uI/82I8W/viPABmQAjmQBFmQBnmQCJmQCrmQDP/ZkA75kBAZkRI5kRRZkRZ5kRiZkRq5kRzZkR75 + kS8jiQ8hAyRZkiZ5kjLwERCwkizZki4JAR9hATI5kzRZkxbwERyQkzq5kzzJAR/hAkAZlEI5lC7wESxw + lEiZlErJAh/RAk75lFAZlS3wETNQlVZ5lVg5Ax/xAlzZlV75lS/wESEwlmRZlmYZAh9BAWq5lmzZlhTw + ERMQl3I5l3Q5AR/RAHiZl3q5lw3wERfwl4AZmIJ5AfVYi5E4LgKBkopZkir5ko65kjFpk5IpkzjZk5aZ + kz9JlJoJlEa5lJ55lE0plaLplFSZlaZZlVsJlqrJlWJ5lq45lmnplrKplnBZl7b/GZd3yZe6iZd+OZi+ + +ZeFiY9EKEMbsZiL2ZiP+ZKROZk2WZmX2ZOZuZlE2ZmfuZShOZpSWZqnmZWpuZpg2ZqveZaxOZtuWZu3 + WZe5uZt82Zu/OZjBaY3DiSHGqZjImZwtuZzMSZPO+Zw7GZ3SKZTUWZ1JeZ3YCZXauZ1X2Z3e6ZXgGZ5l + OZ7kyZbmeZ5zmZ7qqZfs2Z6B+Z7YOB0fMZ8oWZ/2CZkckZ/NyRH8CZ0c8Z/TyRECap0cUaDZyREIyp0c + saDfyREOKp4cEaHlyREUip4ccaHryREa6p6L6IEl0hIgepIiOqL4aaI3iaIp2p8ryqIA6qIvOqAxKqMG + SqM1/5qgN4qjDKqjO/qgPeqjEgqkQVqhQ0qkGGqkR7qhSVqn2DITTWqST2qfUWqi+1ml/omlAbqlBOql + BxqmCkqmDXqmEKqmE9qmFgqnGTqnHOp2zYKneUqSe5qcfZqff5qigcqig/qihSqjh1qjiYqji7qjjeqj + jxqkkUqkk3qklZp53gcTmaqpHDGiLtmpzPmp/Bmq/zmqAlqqBXqqCJqqC7qqDtqqEfqqFBqrFzqrGlqr + kHirTJqrm/qYvjqZwPqcwiqdxFqdxoqdyLqdyuqdzBqezkqe0Hqe0qqe1Nqe1jqL8TkuuZqSu8qrLNmt + kvmtlxmumzmun1muo3mup5muq8a5rq/ZrrP5rrcZr7s5r79Zr9R4r2WSr9vqmP56ohtRpVa6EViapRux + pVy6EV76pRsRpmK6EWRaphtxpmi6EWq6phvRpm66EXAapxsxp3Q6jf11jZZ6ceuisfvKrzBZolI6kwBr + mQKrmQTrmQYrmghrmgqrmgzrmg4rmxBrmxKrmxTrmxYbtETrIsWprUfLrx1bk02roiI7spyppSbLlF2a + slMJpiyrlWP6smFppjKLlmlas2/Jpjhrl2+6s30ppz5LmHYqtLb/ii9GuxFIS6IbsbRMS6Ug65NXCrdR + C6Moa7d3u7J5q7cuy7d9G7N/C7g0K7iDe7OFa7g6i7iJ27OLy7hAq3aOe62Qi7aSO7lrq5+YC7JP26Il + O7d0+7l2W7U2Wrp8m7U8urqC27VCGruIG7ZIeruVV3FpCJLc273e+73gG77iO77kW77me77om77qu77s + 277u+77wG7/yO7/0W7/2e7/4m7/6u7/8uzQiaSxlwREdMMAEXMAG3AEfAQIKvMAM3MAg8BElEMESPMEU + XAIfAQMYnMEavMEw8BE08MEgHMIiTAMfoQImfMIonMIq8BE20MIu/MIwbAMfUQM0XMM2fMM1//ARJrDD + PNzDPmwCHyECQjzERFzEIvARI5DESrzETDwCH+EAUBzFUjzFDvARMXDFWJzFWhwDY4u7hwkobXIkBzzG + BJzADnzGCgzBFbzGEXzBHPzGGOzBIzzHH1zCKnzHJszCMbzHLTzDOPzHNKzDPzzIOxzERnzIQozETbzI + SfzEVPzIUGzFWzzJV9zF2VsjTcWGVCHAZDzGZozGDqzGbFzBbgzHHCzHdDzCdozHKqzHfBzDfgzIOCzI + hPzDhozIRqzIjNzEjgzJVCzJlLzFlsyIhTJAmvw1E9HJnswRoHzGojzKE1zKpqzBqJzKIbzKrIzCrvzK + LxzLsmzDtFzLPRR8y7hMxLq8y0vcy74sxcAczFk8zP/LclL/KxDKfMCf3MwL/MzQ3MYcMc2nzBHWrMoc + kc2tzBHcDMsc8c2zzBHibMscUc65zBHozMscsc6/zBHuLMyNe4/wKWvGMy3JXM8FfM/4/MAcsc8ULM3+ + 3MEAHdDXPNAErc0GfdDdnNAKDc4M3dDj/NAQbc4SPdHpXNEWzc4YndHvvNHaa49v1S6bvBEiPdLMXNL5 + fNIoLcEq7c/V7NLYHNPbTNPefNPhrNPk3NPnDNTqPNTtbNTwDCV4EcBO/dQDTNL4rM/7fNXTnNUBvdUE + 3dUH/dUKHdYNPdYQXdYTfdYWndYZvdb7Ic+7BddxHdVSbdIbUdVW3c8rncF4bc3/ep3NfM3Nfv3NgC3O + gl3OhI3Ohr3OiO3Oii0pHz3PD+DYCAzZUk3X0GzXppzZqbzZrNzZr/zZshzatTzauFzau3zavpzawbza + GGsqbfIRsC3XzUzbo2zbcIzbdKzbeMzbfOzbgAzchCzciEzcjGzckIzclKzcxUycxwzSEvHcsl3S0s3G + 1P3G1j3H2H3H2r3H3P3H3j3I4H3I4r3I5P3I5j3J6F22bd3UF+HeGxHZaUzVlD3f/7wRLv3SGxHTMr0R + NF3TG3HTOL0ROr3TG9HTPr0RQB3UGzHURL0RRn3U2EvM27W92oKY4oLM7e3Y0A3K8b3GEr7B9S3QF47h + eTzTqRsuwzbt4Tmc0yEOxDxN4kf80yfuxEKt4lVc1C3OxUgd40ptL2E8IAx+EQ4u2RdB2fy8EZeN2S1d + 4SQM00Ke3wjd4Uie5CC+5Ew+4k7+5CYe5VKe4lRe5Sx+5Vj+4ko6Hl3u3Dj+3nMN4VXd49Sc5hV+3wWt + 4UVu5HCO5P3t0Hbu5AFO0XxO5QWu0YKe5f076qRe6qZ+6qie6qq+6qze6q7+6rAe67I+67QUXuu2fuu4 + nuu6vuu83uu+/utBFhAAOw== + + + + + AAABAAQAEBAAAAAAIABoBAAARgAAACAgAAAAACAAqBAAAK4EAAAwMAAAAAAgAKglAABWFQAAQEAAAAAA + IAAoQgAA/joAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAAAAD////b//////// + /////////v7+//39/f/n5+f/1tbW/9fX1//y8vL//v7+//7+/v/////////////////////b////2/// + //////////////z8/P/g4OD/7+/v//r6+v/29vb/19fX/8bGxv/+/v7/////////////////////2/// + /9v//////////////////////v7+//Hx8f/Nzc3/6urq//7+/v/Y2Nj//v7+//////////////////// + /9v////b//////////////////////7+/v/U2sD//v79/9bbwf/9/fr/2NjX//7+/v////////////// + ///////b////2//////////////////////+/v7/vtC0//z+/P/A0rj/+fz5/9jY1//+/v7///////// + ////////////2////9v//v///v7+//3+/f/8+/r/7Ovl/9fZzf/Q0Mb/0NLF/93e1f/j4+H//f38//7+ + /v///////////////9v+/v7b9/f3/+Df4f/d3d3/n6lN/4aWCf+InQX/i58D/4ygBP+HmQX/gZEV/8TG + u//IyMf/2dnZ//39/f/+/v7b5ejW2+Xm3P/6+/L/yteP/4umB/+MqBD/vMx1/7O/bv/I04r/lbAo/4mm + Bf+wxWH/9ffq/+np5f+tsp///v7+28TUj9uMqyb/i6wp/4eqGv+KrCT/4+rG/+boz/9/iQ7/xcmR//T3 + 6/+ZuEX/hKsp/4atNP+MsUT/haJL//7+/tvY5MHbha8//4OvPf+Brz3/s8yG//38+v+ztl3/mZ4i/56k + Lf/09Of/0uK+/3yvQ/9+sEb/f7JM/5m0ef/+/v7b9vrx24a2Yf+Atlr/f7dd/7/ar//t7tj/u7lY/+Hh + t/++vV//29mp/+Lv3f93tV3/drVe/3a4Zf+8z7T///7+2/79/dvO5cj/sdat/4jBgv+czp7/5+bC/+np + x//9/v3/8/Pf/9/crf/C4cX/bLxz/5/RoP/H3cb/8vTy//7+/tv//v7b/v7+//7+/v/y+vT/jtGo/7/k + y//7/v3//v7+//3+/f/b8uP/ds2g/6vewP/5/Pv/8/Ly//7+/v/+/v7b////2/7+/v/+/v7//v7+/9nz + 6f9k0Kv/fti6/57kz/+P38v/Z9W3/2rWuf/v+ff/9vf2//7+/v//////////2////9v///////////7+ + /v/0/fz/etzJ/1TUu/9R18D/U9jC/2bdyv+j6N3/9/v7//39/v///////////////9v////b//////// + ///+/v7//v7+//r+/v/x/Pv/4vj2/+v7+f/5/v3//f7+//7+/v/+///////////////////bAAD//wAA + //8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//ygA + AAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAAAAD///+3//////////////////////// + //////////////////////////////7+/v/+/v7//f39//7+/v/+/v7//v7+//7+/v/+/v7///////// + ////////////////////////////////////////////////////////////t////7f///////////// + //////////////////////////////7+/v/+/v7/+vr6/9/f3//BwcH/sLCw/6urq/+oqKj/urq6/9XV + 1f/19fX//v7+//7+/v/+/v7//v7+//////////////////////////////////////////+3////t/// + ////////////////////////////////////////9/f3/8XFxf/BwcH/1dXV/+/v7//5+fn//f39//f3 + 9//k5OT/xcXF/5ycnP+SkpL/4eHh//39/f/+/v7///////////////////////////////////////// + /7f///+3///////////////////////////////////////////7+/v//f39//39/f/9/f3//f39//b2 + 9v/9/f3//f39//7+/v/9/f3//v7+//Dw8P+0tLT//f39//7+/v////////////////////////////// + ////////////t////7f//////////////////////////////////////////////////////v7+//z8 + /P/w8PD/4eHh//7+/v/9/f3//f39//7+/v//////+Pj4/7i4uP/+/v7///////////////////////// + //////////////////////+3////t/////////////////////////////////////////////////// + ///+/v7//f39/9ra2v+oqKj/rq6u/7Gxsf/8/Pz//v7+///+///4+Pj/uLi4//7+/v////////////// + /////////////////////////////////7f///+3//////////////////////////////////////// + //////////////7+/v/7/Pf/8/Tp//79/v/+/v7//vz9//T35P/+/f3///7+//j39f+4uLf//v7+//// + ////////////////////////////////////////////t////7f///////////////////////////// + /////////////////////////v7+/9PYu/+PnmX//v35//3+/v/j59L/gpRS//r88f/+/v7/9/f3/7i4 + uP/+/v7///////////////////////////////////////////////+3////t/////////////////// + ///////////////////////////////////+/v7/w9K0/4KeZP/6/vj//f7+/87exf98mV3/8Pfu//7+ + /P/4+Pf/uLi4//7+/v/+/v7//////////////////////////////////////////7f///+3//////// + //////////////////////////////////////////////3+/v/o9e3/ytzL//z+/P/+/f7/8Pv1/8XV + yP/3/fz//v7+//j49f+4uLj//v7+//7+/v//////////////////////////////////////////t/// + /7f///////7////+//////7//v7+/////v/+//3//v3+//3+/P/9/v7//v3+//38/v/4/fn//vz8//38 + /f/7/vf//Pr9//3++v/9/f3/9/j5/8bHxv/+/v7//v78//7+/v///v7///////////////////////// + //////+3////t////////v////7//////v/9/fz//f39//v9+//++/3/9vTx/+Xl2//Ozb//u76n/6yv + lf+kpJD/oaON/6Kliv+pqZb/tLWm/8XHuP/d3db/8fDv//v7+v/9/Pz//vz+//7+/f////////////// + /////////////////7f///+3/////////v////7///7///v6/P/a2dv/vMC//7Gxlf+Bhi//e4kW/3+Q + DP+Glgn/i5sG/4ycBv+NnAf/jpwG/4uaB/+GlAf/gIsN/3Z8E/91fDf/mZiS/5ibnP/Jycr/+fj1//// + ////////////////////////////t/7+/rf9/f3//Pz8/+Tk5P/Ew8X/w8LD/+Hi4P/7+/j/vspw/46j + AP+QoAL/jaAB/4ihAv+HoQH/iKMB/4qiAf+LowH/jKUB/4ujAf+KogD/jaYB/42nCv/r7sr/8/X0/8bI + xP+Ylpj/mZmZ/8/Pz//5+fn//f39//7+/v////+3/v7+t+Hh4f/Ly8v/3t7d//z7/P/9/fz//f74/9zk + rf+NpRT/jaQC/4mjAf+IogD/hKAF/5OqKf+rv03/r8FU/6a3Rf+KpBb/hqMD/4ejAP+LpgH/jaUF/6S6 + Q//3+ub//f37//z8/f/y8vL/urq6/46Ojv+7u7v//v7+/////7f//fu3xNGU//Hy2P/9/fH//v70//P2 + 3f/F04T/iKUV/4mnBP+IpwL/gqQE/5y0O//e57X/+/3w/97hw/+UnVP/+vrr//b44//C0Ir/hagU/4Om + Bv+IqAr/h6cS/5+3Sv/h6b7/+vvw//7++P/7/PD/3+jA/46Xc//+/v7/////t/7997eSsjL/iqga/5av + Ov+YsUX/i60k/4iqEP+HqA//iKkS/4epEv+mvk//9/fk//z8/P/z8+b/g5Ap/3F+BP+2u37//vz5//38 + +//f5rz/iqoj/4SrFf+Hqx3/h6sh/4SrJ/+Sskf/mbZX/5O1Rv+DrCr/hZda//7+/v////+3//34t6K9 + Vf+IqiL/iaok/4SqHf+EqiH/hqgj/4itJP+EqyH/lbJK//X35//7/P3/+/33/6y0Yv+EjAb/hIsE/3+L + DP/i48D/+v36//r9+//W4q3/gast/4GsLf+CqDf/ga0t/4GrNf+DrTr/gq06/4CnO/+Nn2z//v7+//// + /7f+/fu3scd//4WuMv+Grjr/g641/4CrNP+CrzT/gK0z/4WsP//O3qX//f38//z++//k5cL/j5Ye/5WY + GP+QlxH/kZoO/6WsTP/7+vP/+/z+//r7+P+Wumb/e602/32uPf9+rzz/gK9D/4CvSf+Cs0j/g65I/6Kx + jv/+/v7/////t/z9/bfJ27D/hLBI/4OwR/+Fskb/g7JD/4KvSP+Ar0b/iK1Q//H25f/++/7//fz0/7a6 + Zv+jpC3/nqQs/6GnMv+jpSv/nqQv/9vdsP/+/vv//P38/7rVn/98sEv/fbNN/32xTf98sUv/fbRR/3uz + Tf9/qFX/wcq4//7+/v////+3/v79t+bx3P+CsVb/grRX/4O0VP+CtFH/f7NS/3y2VP+Ptmn/+fvy//z8 + /v/p6cr/sbBN/7WyRP+2uWP/4+Ow/66xRf+zs0D/vb9t//38+P/8/fz/zuHA/3i1Vf96s1r/e7NW/3i0 + Vv95tV7/drZc/3mkYP/o6+X///7//////7f+/f63+f71/5W8ef9/tlz/frhg/365ZP+CuWn/gLlm/4G6 + b//1+vD//P38/9XVnv/DwGb/w8Jq/+zsz//+/Pr/1dGb/8O/XP/DvWr/7+3T//n++v/G37z/drVh/3S4 + Y/90tWT/crlm/3K8af94t3H/k7KP//v8+v///v7/////t//+/rf8/f3/yeC+/4W4eP+Cunr/fLl1/3q7 + cf97uG//c7hx/9/v2//6+vL/1tKQ/9DQhv/q6Mj//v78//z+/f/7+/D/1taf/9TQif/m4rf/+vz8/6bQ + pP9vuWz/ab5o/225bf9+vHv/nc2Y/63Pq//Q29L//v39///+/v////+3//78t/77/v/4/vj/8v70/+35 + 7f/Y7tf/rNSq/36+gP9zv37/qdSs/+/z4P/b2Kf/7O3T//3++//9/f7//v77//7+/f/7+/H/5eLB/9zd + sv/r9+r/e8OL/2q9ff9uvnv/qNSw/+n56P/4/fn/2tzc//v7/P/+/P7//v7+/////7f//v23//3+//7+ + /v/+/v7//v3+//7+/v/5/vz/1u7Z/4DGmP93xY7/x+XI//f47f/7/vz//P7+//7+/v/+/v3//v79//39 + /v/9/Pn/5PPb/6HVsP9px47/Z8GL/7jgwf/0/vr//v39/+7t7v/y8PH//v79//7+/v/+/v7/////t/// + /7f///////////7+/v/+/v7////////////9/v3/0O7d/3LJm/97yZ//w+za//f+/P/+/f7//v3+//7+ + /v/6/v3//v38/+369P+f3sT/Z82i/2bKn/+Y2rr/9f75//z9/v/39/f/7u7u//39/f////////////// + //////+3////t//////+/v7//v7+//7+/v/+/v7///////79/v/8/fv/nN/F/2LOpP9qzaX/i9W7/7vr + 2//Y9u3/4Pnx/9X06/+x5db/fda6/2XTsv9m1bT/bNKy/9f07P/+/P7/+ff4/+zx8P/9/f3//v7+//// + /////////////////7f///+3/////////////////////////////////v7+//3+/f/R8+n/ZdC0/13U + sP9Z0qj/W86p/2DOrv9g0bH/XtG1/1bStv9Z1rb/YdW5/1zWu/953MT/7/37//n39//29vP//P79//// + ////////////////////////////t////7f////////////////////////////////+/f7/+/39/+f7 + 9/9q1L3/Vde4/1TTtP9R07f/UdW6/1TWvP9T17z/Vde+/1XZwf9T2cL/WNjC/43d0f/r9Pb/+fv5//v8 + /P/+/P7///////////////////////////////+3////t/////////////////////////////////3+ + ///+/v7/7/38/6/p4f953c3/WdbB/1HWwP9Q2cT/UdnH/1LZx/9T2cb/ZNzL/43k2f+67+n/7fz6//r+ + /v/+/v7//v7///7+/////////////////////////////////7f///+3//////////////////////// + /////////P7+//7+/v/+/f7//P3+//X+/v/t/fv/3Pj1/8vy7//D8u7/z/Tx/+T7+P/w/v3/+f7+//z+ + /v/7/v7//v7+//7+/v/+/////v//////////////////////////////////t////7f///////////// + ///////////////////+/v7//v7+//z////8/v7//P7+//7+/v/9/v7//P7///z+///7/v7//f7+//7+ + /v/+/v7//f7+//7+/v///v7///////7////+//////////////////////////////////+3AAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAoAAAAMAAAAGAAAAABACAAAAAAAIAlAAAAAAAAAAAAAAAAAAAAAAAA////k////////////v7+//// + /////////v7+/////////////v7+/////////////v7+//7+/v///////v7+//7+/v/+/v7//v7+//7+ + /v/9/f3//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//// + ///+/v7//v7+///////+/v7//v7+///////+/v7//v7+///////+/v7//v7+//////////+T////k/// + //////////////////////////////////////////////7+/v/////////////////+/v7///////// + ///+/v7//v7+//7+/v/+/v7//f39//7+/v/+/v7//v7+//39/f/+/v7//v7+//7+/v////////////// + ///+/v7///////////////////////////////////////////////////////////////////////// + //////+T////k/7+/v/+/v7//v7+///////+/v7///////7+/v///////v7+//7+/v/+/v7//v7+//7+ + /v/+/v7//v7+//39/f/19fX/19fX/7e3t/+cnJz/i4uL/4WFhf+BgYH/fHx8/4eHh/+dnZ3/uLi4/9zc + 3P/29vb//f39//7+/v/9/f3//v7+//7+/v///////v7+///////+/v7//v7+/////////////v7+//// + /////////v7+//////////+T////k/7+/v////////////////////////////////////////////// + ///////////////////6+vr/0dHR/6enp/+np6f/urq6/9TU1P/v7+//8/Pz//39/f/9/f3/9/f3/+jo + 6P/S0tL/t7e3/4eHh/9qamr/iYmJ/9LS0v/7+/v//f39//7+/v////////////7+/v////////////7+ + /v////////////7+/v////////////7+/v////+T////k/////////////////////////////////// + ///////////////////////////////////r6+v/19fX//f39//9/f3//f39//39/f/8/Pz//f39//z8 + /P/+/v7//v7+//7+/v/+/v7//v7+//39/f/09PT/x8fH/3Fxcf/g4OD//v7+//39/f////////////// + //////////////////////////////////////////////////////+T////k//////+/v7///////// + ///+/v7//v7+///////+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+/v/9/f3//f39//7+ + /v/9/f3/8vLy//n5+f/8/Pz//f39//7+/v/+/v7//f39//39/f/+/v7//f39/62trf/a2tr//Pz8//7+ + /v/+/v7//v7+///////+/v7//v7+/////////////v7+//7+/v/+/v7//v7+//////////+T/v7+k/// + /////////v7+//7+/v/////////////////+/v7////////////+/v7///////7+/v/+/v7///////// + ///+/v7/+/v7//39/f/z8/P/0NDQ//39/f///////f39//39/f/9/f3//f39//7+/v///////////66u + rv/b29v//v7+//7+/v////////////7+/v////////////7+/v////////////7+/v////////////7+ + /v/+/v6T////k////////////////////////////v7+//////////////////////////////////// + ///////////////////+/v7//f39//39/f/Nzc3/xcXF/+Tk5P/l5eX/5OTk//Dw8P/9/f3//f39//7+ + /v///////////66urv/b29v//v7+//////////////////////////////////////////////////// + //////////////////////+T////k//////+/v7////////////+/v7////////////+/v7//v7+//// + ///+/v7//v7+///////+/v7///////7+/v/+/v7//f39//39/P/Ozs7/nZ2d/6CgoP+goKD/n5+f/9TU + 1P/9/fz//v7+//7+/v/+/v7//v7+/66vrv/b29v//v7+///////+/v7//v7+///////+/v7//v7+//// + ///+/v7//v7+///////+/v7//v7+//////////+T////k/////////////////////////////////7+ + /v////////////7+/v////////////7+/v////////////7+/v/+/v7//P38//3+9//9/fj//v3+//7+ + /v/+/f7//vv///79+P/9/vL//vz9//7+/v/+/f7//v39/66vq//b29v//v7+///////+/v7///////// + ///+/v7////////////+/v7////////////+/v7//v7+//////////+T////k/////////////////// + /////////v7+///////////////////////////////////////////////////////+/v7//f32/7a9 + mf/V2r////78///9/v///v7///37/8vQsf/Dy6L//v73//7+/f///f7///39/66vrP/b29v//v7+//// + ///////////////////////////////////+/v7///////////////////////////////+T////k/7+ + /v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+ + /v/+/v7/7vHd/3aJQv+Somj//f71//38/v/9//7//f7x/4CSUf+BllH/9fjn//7+/f/+/v7//f3+/66u + rv/b29v//v7+///////+/v7//v7+//7+/v/+/v7//v7+/////////////v7+///////+/v7//v7+//// + //////+T////k//////////////////////////////////////+/v7//v7+/////////////v7+//7+ + /v////////////7+/v/+/v7/4uvX/3SSTP+HoGb/+P3z//7+/v/9/v7/8/3t/3aTU/9/m1v/6vPj//z+ + /v////z//v7+/66urv/a2tr//v7+///////////////////////////////////////+/v7///////// + //////////////////////+T////k////////////v7+/////////////v7+//////////////////// + ///////////////////////////////////8/v7/7Prv/4Gfdv+guJf/+v/6//7//v/+/v7/9f75/4+s + if+Qqof/7vny//v+/v////z////7/6+urf/b29v//v7+//7+/v////////////////////////////// + //////////////////////////////////////+T////k/7+/v/+/v7///////7+/v/+/v7//v7+//// + /////////v7+///////+/v7//v7+//7+/v///////v7+//7+/v/9/v7/+P78/9/v5f/q+O3//P77//78 + /v/+/f7/+P78/+Pw6v/m8ez/+P79//z+/v/+/v7//v78/6+vrf/b29v//v7+//7+/v/+/v7//v7+//// + ///+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//////////+T////k/////////////////7+ + /v/////////////////+/v7///////7+/v////7///7+///+/v/+/v7//v7+//7+/////v7//vz9//n8 + /f/3/fj//v37//75/v/8/f3/+f72//z9+//7+v3//f75//7+/P/+/P///v3+/7Gysf/b29v//v7+//7+ + /f////7///7+//7+/v////////////7+/v////////////7+/v////////////7+/v/+/v6T////k/// + ///////////////+/////v///v7+//7+/f/+/v3//f78//7+/P/9/vr//fz9//78/v/7/vb/+vz8//z6 + /v/+/f7//vz+//39/f/8/fr//v39//77/v/8/fz/+/73//79/P/9+/7//f39//z+/P/8/vz/+vz8/+js + 6f/09fb/+/v9//7++f/+/vn//v38//79/v/+/v7///////////////////////////////////////// + //////+T////k//////+/v7//v7+//7+/v/+/v7///////39/f/9/P3//f39//7+/v/4+/v//fz9//z1 + +//w7ef/4eDP/8nItv+xsZf/naGB/46Tb/+AhF//eHhZ/3V1Wf9zd1X/dHlS/3h6WP+AgWb/jY12/5ye + hv+ur5v/yMi7/+Hh2f/w7e//+vr3//z9/f/8+/7//fr+//7+/P/+/v3///////7+/v///////v7+//7+ + /v/+/v7//v7+//////////+T////k//////+/v7//////////v////7//v7+//79/v/+/f7//fz+/+zs + 7f/AxsP/q6qh/42JZP96eDv/cnoi/3SCFv96ig//gI8M/4WVDP+ImAj/iZkJ/4mYCv+KmQr/ipkJ/4qZ + Cf+Glgj/gZAH/32JDP92fRT/bGwY/2RnIv9qakj/gX55/5WWl//Ex8r/7u/x//7+9v/+/vv//v7+//// + ///+/v7//v7+///////+/v7//v7+//////////+T/v7+k/7+/v/+/v7//v7+//7+/f/+/v7//Pv8/+3s + 7v+9vL7/np6f/6+vsP/T1Nb/5ObG/5CkIf+OoQP/jqAE/46hAv+OoQH/jKEB/42hAf+OoAD/j6EA/5Gj + Af+SogH/kqIA/5SkAf+RogH/kKAC/4+gA/+PogL/j6MD/4uiBv+QpSj/5OXQ/8HCwf+QlpP/bnBx/317 + ff++vL3/8PDw//z8/P/+/v7//f39//7+/v/+/v7//v7+//////////+T/v7+k/z8/P/9/f3//v7+//Lz + 8f/MzMz/qqmr/7OytP/j4uP//f38//7+/P/+/vb/ytSG/4qhB/+QpAD/kKEB/4+gAv+MnwD/h6AD/4ah + Av+GogH/hqMA/4ejAP+IoQL/iaID/4qkAP+LpgH/i6YA/4mjAP+KogD/jKUB/46nAv+Npwv/2uKf//36 + /P/6/fr/+/33/93d2/+cm5z/b29v/4aGhv/Kysr/9fX1//39/f/9/f3//v7+//7+/v////+T/v7+k/39 + /f/s7Oz/v7+//7q7uf/W1tb/+vn7//z8/f/+/v3//f74//7+9P/l6rf/kqcn/4yiBf+NogH/i6QA/4mi + AP+JogD/hqEC/4WfBv+Dngn/iKUS/5GsG/+RqCD/i6EZ/4agCP+HpAP/iKUB/4mkAP+KowD/jaYA/4+n + Af+NpAn/l7Ar/+/0z//+/vf//f76//37/f/9/f3/9vb2/8rKyv+IiIj/b29v/7CwsP/u7u7//v7+//// + ///+/v6T//7/k/r79v/Fx7z/7u7r//38/f/9/Pz//v3+//79/v/9/fn//v7v/+Dov/+PqSb/iacD/4ql + AP+KpgD/hKMC/4SkAf+Eogf/iage/7bIa//j6rn/9PbZ/9bas//e4bj/8/XT/9virf+wwGn/h6Il/3+i + B/+BpAD/haUC/4qnAv+KpQX/h6YM/5qzQP/r8Mv//v70//39/f/9/f7//f39//z8/P/8/Pz/5ubk/5mb + kP+IiYX//f39///////+/v6T//3+k9nfu/+twWb/5um+//b44P/+/u7//v7w//n86P/p78T/uMlt/4yn + IP+Hpgf/iqcG/4qnBf+IpwT/g6YC/4SjEv+5ym//8/bY//3+9v/8/fn/7+/b/32KLv+Nl0D/9vXh//39 + +P/9/ff/8PPW/6jAWf+Cpw//gqcG/4amCv+IqQ3/iagV/4aoFP+Urjr/ydeR/+3y1f/7/O3//v70//79 + 9f/3+uX/3+m9/6K6Zf+EiW///f39//7+/v/+/v6T//3+k9njsP9/pQ7/iKYa/5ewNf+gtFL/pbZg/5ix + SP+KrCL/h6oP/4elDf+Gpwv/iakP/4imEv+Iqwz/hqkV/8vYiv/+/e///f37//78/v/5+O3/mqRV/25+ + A/9uegf/pqts//z88f/+/fr//f37//r67P+/zoH/haUc/4SpDf+FqhX/h6kc/4arFf+IqyD/gqgk/4yu + PP+bt1j/pr5s/6C4aP+YuE7/hKss/3ylIP+KkXH//v7+//7+/v/+/v6T/vv+k+PqwP+CpRn/hacR/4uq + HP+IqRv/hqkY/4SpFf+Hqxj/iaoZ/4uqGv+Hqxj/hqsY/4aqGf+HqSb/xNOO//789P/8+f3/+fv8//79 + +P/AxYn/eYcI/3qFAP95hAH/eocS/9TWqf/++/r/+/38//r8/f/5+vH/usx8/4OqG/+Erh//h60p/4Sp + KP+IqjX/g60o/4OtKv+EqzP/g6wv/4OvLf+Criz/hKw2/3qeMP+Rmnz//v7+///////+/v6T/v78k+/2 + 0f+IqTD/h6oh/4qrKf+Iqib/g6kf/4SrIv+DqST/hKgl/4mtKf+Hryf/g6wk/4OpKf+ovnD/+/3t//z7 + /v/6/f3/+/36/+rtx/+FkCD/ho4H/4iMB/+GjQX/gI0C/42WMP/09dj//P35//j++//7/vv//P7p/5m1 + Xv9/qy7/ga0u/32oLv+BqDr/g7Ax/36rLv+BrTb/gqw7/4KtP/+CrT//f6c8/3aaOP+iro///v7+//7+ + /v////+T//79k/r95f+LqkX/hK0q/4mvN/+IsDf/hrAz/3+pLv+BqzP/ga0x/4CvKv+BrTL/gqs3/4ir + Q//j8ML//f76//v9/f/8/vz//fzx/6yzY/+KkxP/kZQV/5GWEP+OlA3/j5gI/4qVEP+/wn7//fz0//v9 + /v/7/f7//Pz8/9PivP9/qkH/e60y/3yuNf99rTr/f7A3/4CvO/+BsD7/f65D/4OySP+CskX/gq9F/3SV + Qv+5w67//v7+///////+/v6T/fv/k/z99v+btW//ha5A/4SuQf+DrUH/hK1B/4OuPv+Crz3/hLJA/4Ct + Pv+BrT//h69I/568bf/8/ur//vv+//78/v/9/vb/4uK5/5efMf+dnyX/m58j/5igHf+Xnhz/mp4a/5me + Hf+YoDX/6+vO//77/v/9/vz//Pz9/+/36f+Ks1z/fK9A/3yuR/99r0X/fa5J/3+tTP98rUr/f7BT/36x + T/9/tEv/g7NM/3GQS//Y3tL//v7+//////////+T/f7+k/v++f+40Jj/g7BK/4OxSf+Eskn/hbNI/4Oy + RP+Dskb/grBJ/4CuTf9+sEb/ha9L/7rNm//9/fv//vv+//78/v/7++v/trhr/6OmMf+ppzH/oqcw/6Cn + OP+kqDj/pacw/6SnLf+hqDX/vsN3//799f/+/vr//f77//j9+P+lxoL/e7BK/32zVP99tE3/fbNN/3uy + S/98tEr/frZR/3m0Tf97tE//g7FY/3eQXv/t8Oz//v7+//////////+T/v78k/7+/v/S48D/grBU/4Cz + Uv+CtFT/hLRS/3+vTP+Cs1D/fbJP/320Uv98tVL/ha9b/8vbsf/+/vv//f3+//36/P/n6MH/qqxK/7Ov + Qv+xrz3/p6xE/9TVmf/NzYf/q7A+/66vPP+vsD7/q7JL//Py2//+/f3//f38//38/f+10aD/d7NQ/3e0 + WP99s1j/fbRU/3SyUP96s1P/fLVb/3i1XP93t1f/e65b/5Clfv/8+/v//v7+///////+/v6T//7+k/3+ + /f/x++f/irNn/4O1W/+Bs1v/gbRa/4O3W/+Ct1v/g7dd/4G2XP99uFv/fbNg/8jgtP/+/vz/+/z+//z+ + 9f/Ky5H/vbpf/765U/+7u1X/wMN4//v66f/39eD/u7xu/7u3Tf++u0v/uLdW/9LPpP/+/vj/+f75//n+ + /P+41ab/e7Zc/3a1X/96tGD/e7Rf/3e0X/92uGH/c7dj/3K3Zf91tWj/fKlw/7nLtf/9+/3///7///// + ///+/v6T//3+k/7+/P/3/vX/p8aS/4K1Xv9+uF3/f7tj/3u5ZP98uWj/grtt/4G4bP+Aumj/eLho/7XZ + qv/+/fz//Pz+//b44f/Gw33/xsJr/8PAY//Ix3v/7+7S//78/P/+/fv/6ebH/8W/cf/Hw2D/yMBq/8nG + hf/7+uj/+v75//b++f+qzJz/d7Rg/3K4Zf9zumX/crZk/3S5aP9xumf/c75q/3a8bf98tnf/ep54/+r0 + 6P/8/Pv//v7+//7+/v/+/v6T//3+k/7+/f/5/fz/2e3Q/4a2cP98tmr/e7hv/3q5cf94uG//erpw/3q5 + b/99uG7/crlu/5vKlv/7/ff//fv9/+boxP/TzYP/0tF//83Mhv/t6sz//v76//3+/f/8/v7//v73/+Xi + uv/JyYH/0cuC/9DNgf/x7ND//fz9/+z68f+SwIr/dLhq/2q7aP9ovGT/a7pp/3C6bf95unX/fbh2/4zB + hf+awZf/qbyr//v++v///vz///7+//7+/v/+/v6T/v7+k/79/v/9/P7/9f3z/8Xhw/+83bz/tdi1/6bP + pf+Qwo3/gbt6/328dP95unT/cbx2/3y3f//o+Ob//P34/+Dhtv/b1ZX/0tSX/+vp0P/+/vf//v7+//3+ + /f/8//r//f78//398//o6cX/2Nak/93bmv/m5MD//vz8/9Tw3P98u4D/bLp0/2m/cv9ovm7/crh3/4zE + jf+63Lr/4fbh/+//7//J1Mz/6+/v//77////+////v7+///////+/v6T//76k/78/v/+/P7/+/76//n+ + +v/5/vr/+f76//n++P/s/Ov/y+jL/5nGm/96wIH/c8GA/3a8gf+x2bT/9Pvt/9zdsf/e2rD/7/HY//38 + /P/8/vv//P39//79/v///vr//v7+//7+/P/9/fX/8O7Y/9vYsv/c4Lb/9vzv/6DTrf9wwoP/a7+A/2m+ + f/90vYD/rNm3/+j46f/4/vf/+v37//Py9P/X1df//Pz8//79/f/9/P7//v7+//////////+T//76k//9 + /v/+/f7//v79//7+/v/+/v7//v3+///9/v/9/v7/+P78/+z78v+03rn/ecCP/3HCiP+Bx5P/yunN/+Xo + zf/8+u///f77//z+/f/7/v3//f7+//7+/v/+/v3//v79//7+/f/9/f7//v37//f36f/b68r/yenL/3rC + kf9nxon/YsGH/3S9jP+54sH/7v72//z9/f/+/f3//fv8/9vX2v/49/j//v78//3//P/9/v7//v7+//// + //////+T////k/7+/v/////////////////+/v7//v7+/////////////////////v/4/vj/uOPL/3jG + lv9rx5D/i82j/9705f/w/fv/9/38//r+/f/+/v7//v7+//7+/v/9/v3/+//9//z+/f/+/P7//vz9//b9 + +P/K8tz/fsuh/2jIlv9lypb/Z8aU/67hwf/1/fb/+f79//3+/v/+/f3/5eXl/+7u7v/+/v7///////// + //////////////////////+T////k/7+/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//7+ + /v/9/f7/8P32/5/Yuv9sypv/bMeZ/4jLqf++7Nj/9f76//z9/f/+/f7//v3+//79/v/9/v7/+v7+//3+ + +//9/fr/8v73/7rn1v97z7D/Zc6m/2LNov9ny6L/iNKx/+f98//7/fz//fz+//z9/v/v8PD/7e3t//z8 + /P/9/f3//v7+//7+/v///////v7+//7+/v////+T////k/////////////////7+/v/+/v7//v7+//7+ + /v///////v7+///+///9/P7//v38/9346/93zqz/YM2i/2rNov9uyqL/ldO8/8Lu4P/i/PT/7/76//X+ + /P/2/vz/8v36/+b79P/E7d//k9vD/2vPsP9l1LL/aNWz/2XSrv9uz7D/vOvc//v9/f/+/P7//vv+/+3x + 8P/q7e3//Pz8//39/f/+/v7////////////+/v7///////////////+T////k/////////////////// + ///////////////////////////////////+/f7//v39//n++f+f4s3/Yc+t/2XSrP9e0qr/W8+m/2LM + p/9zz6//iNm//47awv+S3cX/i9nD/3vRvP9ozrP/ZNS0/2bWtf9k1LX/Yta5/2DWt/972L7/3fr0//78 + /v/+/P7/8/Hw/+/y8P/7/v7///////////////////////////////////////////////+T////k/7+ + /v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/9/f3/+/79//79/P/D8eX/adC3/2DU + tf9a07D/WNOp/1nRqv9Yz6v/XNGw/1nQr/9Z1LL/V9O0/1XTuP9Q1Lf/U9a3/13Wuf9e1Ln/WtS6/1vZ + vf+K38z/6v77//78/v/x8O//9/fz//z9/f/+/v7//v7+///////+/v7//v7+///////+/v7//v7+//// + //////+T////k//////+/v7//v7+///////////////////////+/v7//v7+///////+/f7/+f7+//3+ + /f/c+fP/cNG8/1XXuP9Y1bb/VtSz/1LSsv9T1Lb/VNW5/1PUuP9W1rr/Vde6/1PWu/9X2L//V9m//1XZ + wf9S2L//Vde//1rYwf+V39T/5PP1/+zu7//8/vv/+v37//36/f/+/f7///////7+/v////////////7+ + /v///////v7+//7+/v/+/v6T////k/////////////////////////////////////////////////// + ///+/f7//f7+//j+/f/e+vj/g9fH/1vXv/9P1rz/UNS7/07UvP9L1b3/StfA/07Yw/9Q18P/UdjD/0/Y + wv9R2MP/UtrF/1Tbx/9X2cb/YdjG/5Lj1v/P7+v/9Pz9//3//v/+/v7//f7+//79///+/v////////// + ///////////////////////////////////+/v6T////k//////+/v7//v7+//7+/v/+/v7//v7+//7+ + /v/+/v7//v7+//7+/v/8/v7//v7+//3+/v/x/v3/0fby/6jo4P+D4NH/YdjE/1fVwP9U1sL/UtjE/1Pa + yP9T2cf/VNrI/1Tbx/9X2cb/ZdvK/4jk1/+v6+T/1Pb0/+39/P/2/v7/+v7+//3+/v/+/v7//v7+//3/ + ///+/v7//v7+///////+/v7//v7+///////+/v7//v7+//////////+T////k/////////////////// + //////////////7+/v////////////7+/v/7/v7//v7////+///+/f7//P3+//f+/v/w/v7/6P37/9z6 + 9v/L9PD/uO3o/67r5f+o7Ob/tO7p/9D08P/e+/j/6v38//P+/v/5/v3//P7+//v+/v/6/v7//f7+//7+ + /v/+/v7//v7+//3////+/v7//v7+///////+/v7//v7+///////+/v7//v7+///////+/v6T/v7+k/// + ///////////////////////////////////////////////////9/v7//v7+//7+/v/+/v///f7+//z+ + /v/7/v7//P7+//v+/v/5/v3/+v7+//r+/v/7/v7/+v7///j//v/5//7/+v7+//v+/f/8/v3//f7+//3+ + /v/+/v7///7+//7+/v////////////3////+//////////////////////////////////////////// + ///+/v6T////k/7+/v////////////7+/v/+/v7////////////+/v7////////////+/v7///////7/ + ///7/v7//P////z////9/v///v7///7+///9/v///P////z////8////+/////z//v/+/v7///7+///9 + /v///v7//f7+//7//v/+/v7////////////+/v7///////7////+//////////////////////////// + ///+/v7///////////////+TAAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAA + AAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA + //8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAA + AAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA + //8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAA + AAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//AAAAAAAA + //8AAAAAAAD//wAAAAAAAP//AAAAAAAA//8AAAAAAAD//wAAAAAAAP//KAAAAEAAAACAAAAAAQAgAAAA + AAAAQgAAAAAAAAAAAAAAAAAAAAAAAP///2////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///+/v7//f39//39/f/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7///////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////2////9v//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////7+/v/+/v7//v7+//7+/v/9/f3//f39//7+/v/+/v7//v7+//7+/v/9/f3//v7+//7+ + /v/+/v7//v7+//////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////9v////b/// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////v7+//39/f/8/Pz/+Pj4//Pz8//v7+//7e3t/+zs + 7P/u7u7/7+/v//X19f/6+vr//f39//7+/v////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////b////2////////////////////////////////////////////////////////////// + ///////////////////////////////////+/v7//v7+//7+/v/6+vr/8PDw/9DQ0P+wsLD/kpKS/35+ + fv9wcHD/bm5u/2tra/9oaGj/YWFh/2NjY/9zc3P/hISE/56env+7u7v/4eHh//b29v/8/Pz//f39//39 + /f/9/f3//v7+//7+/v/+/v7///////////////////////////////////////////////////////// + /////////////////////////////////2////9v//////////////////////////////////////// + /////////////////////////////////////////////////////////f39//Dw8P+6urr/jo6O/5GR + kf+dnZ3/vr6+/9bW1v/r6+v/7+/v//r6+v/9/f3//f39//b29v/q6ur/1dXV/8DAwP+kpKT/enp6/11d + Xf9XV1f/k5OT/9TU1P/6+vr//f39//39/f/+/v7//v7+//////////////////////////////////// + //////////////////////////////////////////////////////9v////b/////////////////// + /////////////////////////////////////////////////////////////////////////////+Hh + 4f+jo6P/ycnJ/+7u7v/4+Pj//Pz8//7+/v/9/f3//Pz8//7+/v/8/Pz//f39//39/f/+/v7//v7+//7+ + /v/+/v7//v7+//n5+f/w8PD/zc3N/4iIiP9aWlr/kZGR//v7+//+/v7//Pz8//////////////////// + ////////////////////////////////////////////////////////////////////////////b/// + /2////////////////////////////////////////////////////////////////////////////// + ///////////////////z8/P/+vr6//39/f/9/f3//f39//39/f/9/f3//f39//z8/P/8/Pz//Pz8//39 + /f/+/v7//v7+//7+/v/+/v7//f39//7+/v/8/Pz//v7+//7+/v/7+/v/19fX/2lpaf/39/f//Pz8//7+ + /v/+/v7///////////////////////////////////////////////////////////////////////// + /////////////////2////9v//////////////////////////////////////////////////////// + /////////////////////////////////////////v7+//7+/v/9/f3//v7+//39/f/8/Pz//v7+//39 + /f/9/f3/9fX1/+rq6v/9/f3//f39//39/f/9/f3//v7+//7+/v/+/v7//f39//7+/v/+/v7//f39//Hx + 8f94eHj/9vb2//39/f/9/f3///////////////////////////////////////////////////////// + //////////////////////////////////////9v////b/////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///+/v7/+/v7//39/f/+/v7/9fX1/8LCwv/6+vr//f39///////8/Pz//f39//39/f/9/f3//f39//7+ + /v/////////////////x8fH/eHh4//j4+P/+/v7//v7+//////////////////////////////////// + ////////////////////////////////////////////////////////////b////2////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////v7+//39/f/9/f3//Pz8/9LS0v/Hx8f//v7+//7+/v/+/v7//v7+//z8 + /P/7+/v//f39//7+/v/+/v7/////////////////8fHx/3h4eP/4+Pj//v7+//7+/v////////////// + //////////////////////////////////////////////////////////////////////////////// + /2////9v//////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////7+/v/8/Pz//v7+//39/f+goKD/jo6O/6Wl + pf+kpKT/p6en/6ampv+srKz//Pz8//7+/v/9/f3//f39//////////////////Hx8f94eHj/+Pj4//7+ + /v/+/v7///////////////////////////////////////////////////////////////////////// + //////////////////////9v////b/////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////////+/v7//f39//7+ + /v/8/Pz/0NDQ/7a2tv+3t7f/tra2/7a2tv+2tbb/vr2+//v7+//8/Pz//v7+//7+/v////////7////+ + /v/x8vH/eHh3//j4+P/+/v7//v7+//////////////////////////////////////////////////// + ////////////////////////////////////////////b////2////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////v7+//z8/f/9/fr//f74//39+//+/f7//v7///7+/v/+/P3//vz///77/v/9/vX//v/3//79 + /f/+/f7////////9/////f7/8fLt/3h4d//4+Pj//v7+//7+/v////////////////////////////// + /////////////////////////////////////////////////////////////////2////9v//////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////79/v/8/fz/9/rp/9vexf/5+e3//v79///9/////v7///7+///8 + /v/+/Pn/4OTG//T63f/+/vn//v3+/////v///P////39//Hy7P94eHb/+Pj4//7+/v/+/v7///////// + //////////////////////////////////////////////////////////////////////////////// + //////9v////b/////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7//f33/73Enf9te0H/ytGt///+ + +P///f///v7///7//v/+/vr/3uLH/29+QP+msoD//P7u///+/P////7//v3+//79/v/x8vD/eHh3//j4 + +P/+/v7//v7+//////////////////////////////////////////////////////////////////// + ////////////////////////////b////2////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////////////v7+//j6 + 7f+YqGz/aoIx/5uqdP/8/vH//vz///39///8//7//P71/7K9kP9pgTD/iZ1a//D03v/+//z////9//7+ + /v/9/f//8PHx/3h4eP/4+Pj//v7+//7+/v////////////////////////////////////////////// + /////////////////////////////////////////////////2////9v//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////7+/v/1+e3/iaBk/2+OPf+OpW7/9v3u//7+///+/v7//P7+//f+8/+ft4P/cJBB/4Gb + XP/l7tj/+/78//7//f////z///7+//Hx8f93d3f/+Pj4//7+/v/+/v7///////////////////////// + //////////////////////////////////////////////////////////////////////9v////b/// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////8/v7/8vv0/5q2iv9ukFb/nbOP//n/9//+//7////+//3+ + /v/3/vr/rMak/3GSW/+MqHz/5/Tn//j9/v/9/v3////7////+//y8vH/eHd3//j4+P/+/v7//v7+//7+ + /v////////////////////////////////////////////////////////////////////////////// + ////////////b////2////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////P7+//T++//E28X/h6OF/8zf + y//5//r//v7+///+/v/+/v7/+P7+/9vw4v+Gn4b/ucy5//H79//5/v7//f7+///+/P////v/8vHu/3d2 + dv/5+fn//v7+//7+/v/+/v7///////////////////////////////////////////////////////// + /////////////////////////////////2////9v//////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////3+ + /v/6/v3/8fz3/+Hx6P/y/fX/+/76///9/v///P///f3+//n//P/0/vn/4u7p//L69//4/v3/+v79//3+ + /////v7///79//Ly7/94eHf/+fn5//7+/v/9/f3//v7+//////////////////////////////////// + //////////////////////////////////////////////////////9v////b/////////////////// + //////////////////////////////////////////////////////7////+///+/v///v////7+//7/ + /v/+/v7//v7////+/////v7//vz9//v8/v/3/v3/9/33//3++v//+/7//vr///z+/f/5//f/+/74//z8 + /v/7+/3//P75//3/+f/+/v7//vz///79/v/y8fH/eHh4//f39//+/v7//v7+//7+/v////7///7+///+ + ////////////////////////////////////////////////////////////////////////////b/// + /2////////////////////////7////+/////////////////v/+/v3//v/+/////v////7//v/8//7/ + +//+/f3//vv///3+/P/7//j/+/79//z8///+/f///v3+///6/f/+/P//+fv6//v++P/+/fv///r+//76 + ///6/fv/+f/1//7++P/9+v3//fn9//79/P/9//v//f78//z9/f/6+/z/9Pf2/66zr//5+vv//f3+//7+ + /P/+//v//v75//7++//+/f////7+//////////////////////////////////////////////////// + /////////////////2////9v///////////////////////+/////v////////////////7//f79//39 + /P/8/fz//v79//z9+//8/fr//f38//75///+/Pz//P71//r9+v/7+v///vz+//78/f/8+/z/+Pj3//Ly + 7v/t7On/6Obm/+bj5v/l4+X/4+Tj/+Pl4P/l5uH/6ujp//Ds8f/18vj/9/j7//v9+//8/vv//P79//n7 + +//4+/n//Pr+//r6/P/9/vr//P35//79/P/9+/3//vv///79/v////////////////////////////// + //////////////////////////////////////9v////b/////////////////////////////////// + //////////////z8/P/9/f3//fz9//7+/v/8/v3/9/v6//39/P/+9/3/9u/0/+nm3f/b2sX/xcWt/6in + jP+Wl3P/gYdd/3Z8Tv9sc0P/Zms7/2JkOf9fYTr/X2E5/11jNf9fZDP/YGU1/2JmO/9naUP/bXBN/3d6 + WP+FiWn/l5h//7KxoP/NzMD/4eDZ/+7p7f/5+Pb//f37//z8/v/8+/7//fr+//7+/f/+/vr////+//// + ////////////////////////////////////////////////////////////b////2////////////// + ///////////+/////v/////////////+///+/f7//fz+//38/v/8/P3/8/b0/+Dm4v/AwL3/oJmK/4N6 + YP9zbkL/am0q/2t2Hf9vexX/dYQR/3uKDv9+jw3/g5QN/4WVCv+FlQv/hpUM/4aWDf+Glg3/h5cM/4aX + C/+Hlw3/gZIK/3uLCP94hQr/c3wP/21wF/9gXxj/Wlcd/1laLf9mYVL/hYJ+/6Oio//Nz9P/6u3w//j5 + +v/+/vj////0/////f////////////////////////////////////////////////////////////// + /2////9v/////////////////////////v////7//////////////v///Pv9//X09v/T0tP/nZye/4uN + jv+Tlpj/t7as/6u3Yv+Bkw7/i5wN/4ueCv+LoQb/jaEF/42gBP+OngT/kaAE/5GgAv+SoQH/k6IA/5Oi + AP+UogD/laIA/5WhAf+WogL/lKEC/5KfAf+SoAP/kqAF/5KgBv+Rngj/kp4L/42cDf+Hmhn/jZpE/7a1 + of+Hh4b/Wl9b/01TUv97fYD/tLO0/+jm5P////7///////////////////////////////////////// + //////////////////////9v////b/39/f/9/f3//f39//39/f/9/f3//f79//7+/v/19Pb/y8rM/6Gg + ov+Xlpj/pqam/+Xl5P/29fb/+/r7//v85P+aqzT/jKMC/5ChAP+QnwP/kKAD/4+gAv+NoAD/iaIA/4mi + AP+JoQD/iqEB/4uhAf+NpAL/i6EA/46jAv+OogH/j6QA/4+lAf+OowL/jKEC/42hA/+LoQL/i6MA/4yl + AP+NpwD/jKkA/5CqGf/s8MT//Pr6//X49v/g5uL/rrGw/3h4dv9aVVz/bm1u/66urv/g4OD/+vr6//7+ + /v/9/f3//Pz8//7+/v/9/f3//v7+////////////////b////2/9/f3//Pz8//39/f/+/v7/+fn5/97f + 3v+2tbb/mZiZ/7a1t//e3d7/9PT1//3+/P/9/vr//v78//7+8v/Y4Jv/iqAP/4yjAP+RowD/kaIB/4+h + Av+OnwH/i58A/4igBP+GoAT/hqEC/4ShAP+FowD/hKMA/4mkAP+GnwL/iKAD/4mjAf+JpQD/i6cA/4uo + AP+KpAD/iaIA/4qiAP+MpAL/jqYD/46mAf+MpQ3/xtJ8//397v/7+v3/+/75//v+9//3+PH/5OLj/7Oz + s/98fHz/W1tb/39/f//FxcX/7+/v//z8/P/+/v7//Pz8//7+/v///////////////2////9v/f39//39 + /f/19fX/2NjY/6qqqv+vsK7/z8/P//n4+f/8+/3//fz9//7+/f/9/fn//f74//7/8f/r8L//nK48/4ig + Bv+OowT/jqMB/4ykAP+KogD/iqIA/4mhAP+HoQL/hp8D/4WgBf+CoAP/g6IG/4enCf+Iowv/iaER/4if + Ef+GoAb/iaYD/4imAf+IpQD/iqUA/4qjAP+KowD/jKUA/4+mAf+PpQP/i6IK/5StJ//d56f//v70//3+ + +P/8/vf//vz9//37/f/8/P3/+Pj4/9XV1f+ZmZn/W1tb/2xsbP+wsLD/6Ojo//r6+v/+/v7///////// + //////9v////b/7+/v/v7+//oaGh/7m5uf/x8fD//f79//z8/P/9/P3//fz9//39/f/9/fr//v/5//3/ + 9v/q8cf/nLBA/4ikC/+JogL/jKMB/4ulAf+HpAL/haMB/4ejAP+FowD/gqMB/4GdD/+NojH/t8Zr/8zX + i//V35n/1eCW/9ffm//S2pT/t8Rr/5SoO/+CnBj/g6EK/4OiAv+EpAD/haQA/4ilAP+KpwH/jaYA/42m + CP+Jpwv/la41/+Xut//+/vT//v77//38/f/8+/7//f3+//39/f/8/Pz//Pz8//f39/+0tLT/Z2dn/1FR + Uf+5ubn//v7+////////////////b//+/2///vz/2+PD//H11//9/PL//vz9//77/v/9/f3//v79//79 + /v/+/v3//v70//3/4f/f6q7/kKU6/4OjBv+JqQD/iaYA/4mmAP+IpQH/g6MC/4KkAv+Eowj/g6AX/6S7 + U//e6aj/+f3b//7+8P/+/vn/7e/X/4KJUf/a3bT//v7v//7+8P/8/eX/4em4/66/bf+DoCT/faMG/3+l + AP+CpQP/hqYG/4mnA/+HpQf/hqQL/4amEv+KozH/2+Ws//v94v/+/vX//v3+//79/v/9/f3//v3+//79 + /f/+/f7//v36//n85/+mr43/ioqF//39/f///////////////2///v9v//32/6GzYv+it1L/2eCk/+7x + zP/5/OD///7p////7P/8/uj/8fbV/9/orf+svl3/jacj/4ekDf+Ipwb/iqgI/4qnCP+JqAX/iKgF/4On + Af+BpAn/lK00/9XhmP/4+uD//v74//v++//8/Pr/9vfl/5igV/9oeQf/jpZA/+/u0//+/vn//Pz2//79 + +//6++v/2+Wr/5ayPP+DqA//gaYG/4WmCv+IqQ7/iaoP/4moFf+JqhT/iKoY/46oM/+zxXH/2eSu/+/0 + 2f/8/ur//v7v//7+9P/8/uz/8/ja/9vntv+owWn/e5U7/42Ogf/9/f3///////////////9v//3/b/7+ + 8v+gulH/f6QN/4ajG/+WrzT/orlO/6q6Zf+uvHP/p7ll/5eyRP+KrCL/hqkQ/4imDv+GpAz/hqcJ/4mp + Dv+JpxH/iqcT/4irCP+CqAj/mrU9/+PrsP/+/e7//v34//78/v/+/P7/+/vx/7a9gP9tfQz/bXwB/214 + DP+eomH/+Pjq//398//+/vv//v38//799//u9Mv/obhT/4WmGv+EqA3/haoR/4aqFv+IqRv/iKwX/4it + Fv+HqyH/hKcm/4erMv+Xs1L/p8Bq/7LGff+uv4H/qb5x/5u5VP+HrDP/fqkc/3SWJf+Wl4j//f39//// + ////////////b//7/2///fX/rMRi/36mCP+Bpgf/iKkS/4emGP+GpRz/hqYf/4apHP+FqRb/h60T/4ms + EP+MqxP/iqoU/4eqE/+Iqhb/hqgU/4aoGP+GqhX/jqo1/+3yw//+/fb//Pj9//r7/f/8/f3//vv7/9fZ + rf95hhr/cYIA/3aDAP9zgAL/d4MW/8nPl//+/Pn//fv8//z8/P/7+/3//fv8/+/y1f+dsVP/g6gS/4Gq + Ev+FrBv/h6sj/4WqIP+DqCL/ia4t/4WuJv+Aqxz/h64w/4KoMP+CqS7/gaku/4OuKP+FsCv/ha4u/4Kr + Kv9wkC3/m56Q//7+/v///////////////2//+/9v//34/7/Sgf9+nxj/hKYY/42sJP+MqyP/iKgc/4er + Gf+CqBX/gaYX/4iqH/+IqCD/h6Yf/4urIf+HrB7/haob/4SrGf+DpyL/jao//9zotv/+/Pv//fr9//v8 + /P/5/fz//f71//Dw1P+Nlzf/fowF/4CJAf+BiAL/f4gA/3uIBP97iB7/6eXL///+9//9/vz/+P37//r9 + /v/7/Pj/7fXJ/5q2TP+AqyL/gq4l/4WtK/+Dqiv/g6g0/4SmOv+ErDH/gKwn/4OqNf+CqjT/hK01/4Ww + Nv+CrzH/gaw1/4GoO/+Apjj/aIUv/6qwnf/+/v3///////////////9v//79b//+9P/O4Jf/f6Ij/4is + Iv+KrCj/iKoq/4msKP+EqiP/g6oi/4WsJv+Dqyf/g6km/4arKf+Iryr/hrAp/4KsJf+FrCn/hqg4/73O + j//8/u7//f39//v8/f/6/fz/+/37//397/+zvGv/gIwS/4ePCf+Kjgn/h4wI/4iPBv+EjwP/gY0M/6iv + Wv/5+eL//P34//j++v/4/vz/+/76//3/8P/T3rD/gaY+/3+sL/+Ari//fqst/36pM/+Bqjr/gq8z/36u + Kf9+qjT/g682/4GsO/+Bq0D/g65C/4KtQf9/qD3/gKg8/2iFNf+6wrD//v7+////////////////b//+ + /W///vb/3euz/32gL/+ErSf/iLAw/4iuN/+JsDX/h7Ey/3+pK/+AqS7/gqsy/4GsMP+Arir/gK4q/4Gt + Mf+BqzP/h6w9/5e2V//r887//f73//3+/v/6/Pz//P78//79+P/l5r//iZUm/4mREf+PkhP/kpUR/42T + Dv+NlAv/jZcG/4uVC/+Hkxv/19in//388//8/v3/+fz+//v9/v/8/Pv/9fjr/527c/9+qjn/e60x/3ut + Mv9+rjf/faw5/3+wN/9/sTT/gbA+/4CxO/9/rkD/hLJI/4KyRv+BsET/ga5D/4SqSf9kfz3/0tjL//7+ + /v///////////////2/+/P9v/v38/+nu0P+Cokj/hK04/4WvO/+Frj//hK09/4WvPv+CrTr/f6s4/4Ct + Of+EsTz/g7I5/36tNf+BrDv/hK1D/4esS/+604n/+/7m//79/f/9+////f78//7++P/7++z/sbZn/5KZ + JP+Wmh3/mZsf/5meHP+UnBb/k5sV/5eeEv+XnBX/j5ka/6WrVf/089z//vv+//78///7/P3//P3+//v8 + +//C2Kr/fapD/3uuOv96rT3/fa9B/3utQf99rkP/fq1D/4CtSv9+rkf/f65O/3+vTv+Bs0v/grZJ/4Ky + R/+FrE//Zn1G/+3y6v/+/v7///////////////9v/fz/b/v9/f/u9eD/lrVq/4WvRv+Er0T/hK9E/4Sv + RP+Er0T/hbFD/4ayQv+EsUH/hLFD/4OuRf+Aq0T/g7BD/4WwRP+Epk//2+rA//7+9v/9+v///vr///79 + /f/+/vX/5uW7/5qiOf+coSj/oaIq/56hJv+ZoSH/m6Mj/5yiJP+eoST/oqIk/5mfIv+YoTT/ztCa///9 + +P///f7////6//z9+//7/f3/4fHW/4KuT/98rkP/fa5L/3+yTP99sUj/fbBM/3+vTf9/sE3/eK1H/3+z + U/98sVD/fLNN/32yTP+Ds1L/fqNU/3SIXv/5/Pr//v7+////////////////b/3+/W/8/v3/9/3v/6vG + h/+CsEv/g7NL/4GwSf+Es0r/hrRL/4OyRv+CskT/grFG/4GvSP+Ar03/f7BN/32wRv+Gskz/j61h/+/0 + 4//9/f3//vz+//77///+/f3/+fnh/7a4bP+jpzn/p6cu/6moMv+lqTP/nKM1/6muSP+jpzn/pqkz/6Wn + L/+nqzH/oac2/6uyWP/19tb///38//7++//+/vr//Pz9//f+8v+OtWb/e7FL/3yzU/9+tVX/fbNN/32z + Tf96skz/erRL/361TP9/tlL/e7VQ/3izTf97tlD/gbJX/3eaV/+ZqIv//v3+//7+/v////////////// + /2////tv/v39//z++v/A1an/gq5U/4G1UP9/s1L/g7VU/4a2U/9/r0v/gLBM/4KzT/99sk7/frNR/3u0 + Uf98tVL/g69Y/524df/0+Oj//f77//z+/v/9+v7//vz4/+TmuP+nqkn/r65D/7KsPf+vrzr/p6w+/6qt + XP/x8Lf/vLxp/6mvOv+srj3/ra46/62vPf+rskX/2duk///8+//+/f3//v78//78/v/7/fn/nMCB/3iy + Uf91tVP/eLJY/32zVv9+tFP/drNQ/3SzT/98s1L/fbVa/3q1XP93tlj/d7dU/3yyWP9zllj/xM24//77 + /f///v////////////////9v//79b//+/v/8/vr/4fPR/4WuX/+DtFb/g7Nb/4O0W/+EtVn/hLZX/4S2 + Vv+BtVT/f7RU/4C1Vv9+tlb/fLdY/4CzXf+cv3z/8/np//7+/P/7/f7//P3+//z87f/Fxo7/tLNY/7u3 + T/+9t03/tbVJ/6+1U//X2J///v7t/+Lgsv+vslT/tLRJ/7i1Q/+5t0b/srRL/7y7ff/7+u3//v78//v+ + +v/6/v7/+v75/6XJjf98tln/d7ZZ/3i0Xf98s1z/frRb/3mzWv92tFr/fLhf/3i2YP91tWL/dbdj/3a2 + Yv9+smr/dZVm/+Lr3v//+/////7/////////////////b//+/2/+/v7//P75//X87f+UuHr/g7Nb/4K1 + XP9/tFv/f7Rb/3+1XP+AuGD/g7pj/4a7Zf+EuGP/grhi/324X/94tGD/lMJ+//D55//+/f3/+/z///r+ + +//v8NH/wsF+/8G9Zv/CvV3/wLxX/76/YP/Fx4X/+/rm///8/v/9++7/0dCb/725YP+/ulH/wr5Q/766 + Wv+5tW//5uTF//7+9//5//f/9//8//b/9v+hxov/erRe/3W2X/90tWL/ebZi/3m0Yv92s2P/dLVi/3C3 + Yv9wuWT/cbpn/3O4af93tG//fKl1/5Krjf/3/ff//fr9///+/////////////////2///f9v/v3+//3+ + +v/2/vX/u9Ss/4SyYv+AuF3/fLhd/3+8Y/99vGb/eLhl/3u5af+Bu2//f7ht/4K5bP+Aumn/d7pp/4K6 + dP/o9uH//v39//z7/v/9/vf/3+Cw/8bBd//Gwm3/xMJn/8XDav/LyYf/8vDU///9/P/+/f7//v78//b0 + 4v/PyY7/w79q/8rGZf/Lw2z/yMJ0/9jVov/9/e//+/74//j+/f/x//H/j7h+/3ezYv9zuGT/cLll/3K7 + Zf9wt2T/crdo/3S8av9xvGn/c79r/3W+bP94unD/frV6/3OZcv/L3cn/+v33//79+////v7///////// + //////9v//3/b//9/v/+/vz/+Pz7/+f34P+PuHj/gLhp/3y3aP96uGz/fLtx/3m5b/92tmz/eLlu/3y8 + cf98uG7/fLds/3O7bv93tXH/1OzP//3++//++v7/+/zv/9TTmv/TzID/0tB+/8zNe//Sz5H/7+vP///+ + +P///v7//P79//z+/v/+/vr/9fLW/8vKj//Lynz/zsl9/9HNff/Sz5D/+/fi//39/P/3/f3/2/Pd/4O0 + eP92uGr/bLlm/2y+af9nu2P/a7pn/265bP9yu23/erx2/3q4c/9/u3f/ir6E/5G4j/+QqJH/7vfv//3+ + +v///vz///7+////////////////b//+/m///v7//v3+//v8/v/3//X/uNWt/424hv+Muof/irqH/4i7 + hf+CuX7/f7t6/3y7df95u2//e7pw/3q4cf9xu3P/crZz/7LUr//4/vX//fz9//P03//Y1pz/2dKL/9PV + if/Pz5b/6+nL//799P///v7//v7+//z//P/7//v//f77//7+9f/u7tD/1NWf/9XSl//b2JH/1tOS//Tx + 1v/+/P3/9fz7/7/ixP98tnn/cLlw/2m7bv9qwW3/Zrxo/2q5bf9zuXX/e7p5/5C9kP+y2LH/yurH/9jx + 1/+/08H/x9HL//v9/v///f7///z+///+/v///////////////2////xv//7+///7///9/P7/+v75//D9 + 8P/q/u3/6f3s/+P35f/Z8dn/yObH/6zUqP+LvYb/g7t8/327eP95vXn/cr16/3K7ev+OwJL/4/bh//r+ + +P/r7NH/2dah/9vWm//T2J7/6+nT//79+P/+/vn//v7+//79///+/vz//v/5//7//f/8/Pv////2//Hz + 1v/d27T/2dai/9rYoP/k48P//f34/+779f+UzaD/dr5//2y7eP9pvXj/Z79z/22+df94uYH/jL6R/8bp + xf/u/+//8/70//T+9f/z+/X/uL26//f4+v/9+/////v////8/////v////////////////9v///4b//9 + /P//+v///v3+//z++v/7/vz/+//7//r++//7/vz//P38//r++f/z/vL/5/vo/7rbvP+Jvo//eMKC/3PC + gv91woT/fLuF/7feuf/0/vD/4+bG/9rZqf/g3bj/8/Xd//7+/P/8/f7/+/77//z9/f/+/P////79///+ + /P///f7//v79//7+/f/+/vn/+fjo/+TfxP/Y2a3/2+K6//T67P/L6M7/c7+I/2/EhP9rwIH/ab2C/23A + gP93uoT/st6+/+r88P/2/vP/+/75//z9/P/9+/3/3Nfc/+Tg4//8/Pz//v79//3+/v/8/P7//v7+//// + ////////////b///+W///v3///v////9/v/+/v3//v7+//7+/v///f7///z+///8/v/+/f7//f7+//f/ + /P/x/fj/1PDa/53Tpf92vYr/csSK/3fCiP+Hx5b/0/LX/9few//t7ND/+/ru//7++v/8/f3/+v79//r+ + /v/8/v7///7////+/v///v7///7+//7++//+/f///fz+//79+v/8+/H/7O/V/9Tlwf/X8Nb/msuk/2/F + jf9mxYb/YsGG/2e8hv98vY7/vObE/+n98v/3/v3//vz9//79/P/+/P3/7+zv/9bR1f/+/f3//v78//7+ + +//9//z//f7+//7+/v///////////////2////5v//7+///+/////v7////+///////+/v7//v7+//7+ + /v/+/v7///7///7////+//7//f/+//3/+//p+On/pde5/3PCkv9yxo7/bMWN/5PSqP/e8t3/+vz5//n9 + /f/5/fz/+v79//z+/f/9/v7//v7+///+/v/9/v7//f/8//3//P/+/v3//fz9//78/v/+/P7//v38//X/ + 9f/a+eL/ntex/3bElf9ox5L/Z8uT/2DFjf9ywpP/td7A//X+9P/2/vv/+f7+//79/v/+/f3/+Pj4/9PT + 0//19PT//////////v////7////+//////////////////////////9v////b/////////////////// + /////////v7+//7+/v/+/v7//v7+///////////////////////+/v7/+f36/+L67v+Tz6v/cMWU/2zJ + lP92xZf/ns+w/9/67v/p/vn/9v79//j9/f/8/v7//v3+//79/v///v////7///3+/v/7//7/+P79//7+ + /f//+/7//vz9//r8+P/j/fD/ntq+/3HJoP9ky5z/ZcmZ/2PIl/9qxpj/nd27/+f+8P/4/fr/+v7+//v+ + /v/+/f7//v39/+Dg4P/t7e3//Pz8////////////////////////////////////////////////b/// + /2///////////////////////////////////////////////////////////////////////v3///39 + /v/4/vz/1PPg/3/MqP9sy53/ZsiZ/3PHnP+IzKr/vOrW//L9+P/8/vz//v39///9/v///P7///3////9 + ///8/v//+//+//z//P/+/vr//P35//H/9//L8eP/i9G4/2/OrP9l0Kj/YM6k/2XOpf9pzKX/hc+w/9P3 + 5//2//v//v3+//78/v/9/P7/+v39/+bm5v/t7e3//Pz8//v7+//+/v7///////////////////////// + /////////////////2////9v//////////////////////7+/v/+/v7//v7+//7+/v/+/v7//v7+//// + //////////////79///9/P///v39//X++P+q48v/b8un/1/NoP9ky5//bs2i/3TJpP+a0r3/w+3f/9/7 + 8//t/vr/9f78//n+/f/7/v7/+v79//j//f/z//r/6Pz0/87y5v+k483/ec+z/2rSsv9k1LH/Z9Wy/2nU + sP9m0q7/b82v/6jhzv/w/vr//v3+//77////+/7/+/v8/+Lq6P/q6+v/+/v7//z8/P/9/f3//v7+//// + //////////////////////////////////////9v////b//////////////////////+/v7//v7+//7+ + /v/+/v7//v7+//7+/v/////////////////+/v7//v3+///8/f/9/vv/1/fp/4HVuf9fz6n/ZNGp/2bR + qP9gzqX/Ysqm/23Lq/+B07f/nuHK/7Xt2/++8N//x/Tl/8bz5P+97t//rePW/5XZxv97z7f/btGz/2jV + s/9j07L/ZNW0/2XWuP9j1Lb/ZNaz/3fRt//K9On/+f7+///7/v///P///fn7/+3t7P/n7+3//f7+//7+ + /v/+/v7//v7+//7+/v//////////////////////////////////////////b////2////////////// + ///////////////////////////////////////////////////////////+//3+/f/9/v3///78//T+ + +f+Z38z/Ys2w/2TSsf9j1LD/XNOr/1jRpv9az6b/Xs2n/2HKp/9ozK3/aMqs/2jMrv9ozrD/Z86y/2fO + tv9gz7X/WdGz/1vUtP9h1rb/ZtW3/2TVuP9g1rr/XNe6/2DXt/+M38n/3fv2//v8/f/++v3//Pr7/+zq + 6P/29vP/+P78//3///////////////////////////////////////////////////////////////// + /2////9v///////////////////////////////////////////////////////////////////////+ + /v/9/f3/+v/+///+/f/6/vv/u/Dj/27PuP9h07f/XNW0/1nTsP9X0qn/WtSs/1bPqf9Y0a3/WtKx/1jR + sP9Y1LP/V9Wz/1XUtP9V1bn/UNS4/07VuP9R17j/V9a4/17Wuv9c07n/WtO6/1jXvf9f2L3/mePU/+f+ + /P/9/v////3+/+np5v/5+vb//f38//z8/f///v////////////////////////////////////////// + //////////////////////9v////b/////////////////////////////////////////////////// + /////////////////////v///v3+//j+/v/9/f3/+/79/9P27/930Lz/V9S3/1bXuP9Y1bX/V9Wy/1TS + sP9T0rP/U9O1/1TUt/9U1Lf/VdW4/1fWuf9X17n/UtW5/1TWu/9X2b//Vtm//1TYv/9W2cD/U9a+/1XX + vv9Y2cD/XdfA/6Pj2//j9ff/6ezu/+/x8P/8/vr/+v36//r6/P/++v7///7///////////////////// + ////////////////////////////////////////////b////2////////////////////////////// + //////////////////////////////////////////7///78/v/6/v7/+/z8//X+/f/Z+PT/g9bE/1rY + vf9S2bz/Uta5/1TVuP9Q0bf/T9O5/07UvP9N1b3/Tta+/1DXwP9S18D/U9i//1HYv/9U2L//VtfB/1fZ + w/9U2sT/UdvF/1Haw/9V2cP/X9jE/33Zyv+14t3/6Pb4//f7/P/8/v7//P78//v+/f/8/P7///v////+ + /////////////////////////////////////////////////////////////////2////9v//////// + //////////////////////////////////////////////////////////////7+///+/v////////3/ + /v/z//7/2/r3/5rb0f9z1sX/XdfC/0/Uvf9O1Lz/TdS9/07Ywf9I1b//SNfB/0zZxP9O2cb/T9jF/0/Y + xv9L2MT/TNnF/07axv9P2sb/VNnH/1/byv9o2Mn/eNvO/5rp3v/Y9vH/8f79//f+/v/8/v7//v7+//// + /v///////v7///3+//////////////////////////////////////////////////////////////// + //////9v////b/////////////////////////////////////////////////////////////////// + ///9/////P////7+/////v///f7+//T+/f/k/vv/yfby/6rp4P+M49T/advH/17Wwv9X07//WNfE/1XY + xP9V2sf/VNnI/1XZyP9X28n/V9vI/1jax/9b2MX/advK/4Pk1f+l6uH/yPPv/+b8/P/y/f7/9f79//f+ + /v/6/v7//f7+//7+/v////////////7////9//////////////////////////////////////////// + ////////////////////////////b////2////////////////////////////////////////////// + /////////////////////////P/+//v//v/+/v////7////+///+/f7//P3+//f9/f/y/v7/7P79/+T9 + +v/b/Pf/yvTu/73x6/+q6OH/oOXd/5jl3f+W5t//n+fg/7zs5v/N9fD/2fv3/+T9+//t/v3/9P79//n9 + /f/8/v7//P7+//r+/v/6/v7//P39//7+/v/+/v7////////////+/////f////////////////////// + /////////////////////////////////////////////////2////9v//////////////////////// + //////////////////////////////////////////////7+/v/8/v7//v7+///+/////v////7+//79 + /v/+/v7//P7+//r9/f/7/v7/+f7+//f+/v/z/f3/8v7+//D+/v/v/f7/8P7+//H+/v/z//7/9P/+//X/ + /f/3/v7/+P39//v//v/7/v3//P7+//z+/v/8/v7//f7+//7+/v/+/v7//v7+/////////////v////3/ + //////////////////////////////////////////////////////////////////////9v////b/// + ///////////////////////////////////////////////////////////////////+/v7//v7+//7+ + /v///////f////z////7/v7/+/7+//v////7/v7//f7+//z+/v/8/v7/+/7+//z+///8/v///f7///3+ + ///9/v///P/+//3//v/9//7//f7+//3+/f/9/v7//f79//7+/v/9/v3//v7+/////////v7///7+//// + //////////////7////9//////////////////////////////////////////////////////////// + ////////////b////2////////////////////////////////////////////////////////////// + //////////////////////////////z////8/////P////3////9/////v7////+/////v///v7///7+ + ///9/////P////z////8////+/////r//v/8//7//v7+///+/v///f7///3+///+/v/9//7//P/+//// + ///////////////////////////////////+/////v////////////////////////////////////// + /////////////////////////////////28AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== + + + \ No newline at end of file diff --git a/Vinesauce ROM Corruptor/Program.cs b/Vinesauce ROM Corruptor/Program.cs new file mode 100644 index 0000000..8a025c7 --- /dev/null +++ b/Vinesauce ROM Corruptor/Program.cs @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2013 Ryan Sammon. + * + * This file is part of the Vinesauce ROM Corruptor. + * + * The Vinesauce ROM Corruptor is free software: you can redistribute + * it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * The Vinesauce ROM Corruptor is distributed in the hope that it + * will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with the Vinesauce ROM Corruptor. If not, see + * . + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; +using System.Diagnostics; +using System.Runtime.InteropServices; + +namespace Vinesauce_ROM_Corruptor +{ + static class Program + { + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] + private static extern IntPtr SetWindowsHookEx(int idHook, + LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId); + + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] + [return: MarshalAs(UnmanagedType.Bool)] + private static extern bool UnhookWindowsHookEx(IntPtr hhk); + + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] + private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, + IntPtr wParam, IntPtr lParam); + + [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] + private static extern IntPtr GetModuleHandle(string lpModuleName); + + private const int WH_KEYBOARD_LL = 13; + private const int WM_KEYDOWN = 0x0100; + private static LowLevelKeyboardProc _proc = HookCallback; + private static IntPtr _hookID = IntPtr.Zero; + + private static MainForm form; + + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + _hookID = SetHook(_proc); + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + form = new MainForm(); + form.StartPosition = FormStartPosition.CenterScreen; + Application.Run(form); + UnhookWindowsHookEx(_hookID); + } + + private static IntPtr SetHook(LowLevelKeyboardProc proc) + { + using (Process curProcess = Process.GetCurrentProcess()) + using (ProcessModule curModule = curProcess.MainModule) + { + return SetWindowsHookEx(WH_KEYBOARD_LL, proc, + GetModuleHandle(curModule.ModuleName), 0); + } + } + + private delegate IntPtr LowLevelKeyboardProc( + int nCode, IntPtr wParam, IntPtr lParam); + + private static IntPtr HookCallback( + int nCode, IntPtr wParam, IntPtr lParam) + { + if (nCode >= 0 && wParam == (IntPtr)WM_KEYDOWN) + { + int vkCode = Marshal.ReadInt32(lParam); + Keys pressed = (Keys)vkCode; + if (MainForm.HotkeyEnabled && pressed == MainForm.Hotkey) + { + form.Focus(); + switch (MainForm.HotkeyAction) + { + case HotkeyActions.AddStart: + form.button_StartByteUp.PerformClick(); + break; + case HotkeyActions.AddEnd: + form.button_EndByteUp.PerformClick(); + break; + case HotkeyActions.AddRange: + form.button_RangeUp.PerformClick(); + break; + case HotkeyActions.SubStart: + form.button_StartByteDown.PerformClick(); + break; + case HotkeyActions.SubEnd: + form.button_EndByteDown.PerformClick(); + break; + case HotkeyActions.SubRange: + form.button_RangeDown.PerformClick(); + break; + } + form.button_Run.PerformClick(); + } + } + return CallNextHookEx(_hookID, nCode, wParam, lParam); + } + } +} diff --git a/Vinesauce ROM Corruptor/Properties/AssemblyInfo.cs b/Vinesauce ROM Corruptor/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ed56e45 --- /dev/null +++ b/Vinesauce ROM Corruptor/Properties/AssemblyInfo.cs @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2013 Ryan Sammon. + * + * This file is part of the Vinesauce ROM Corruptor. + * + * The Vinesauce ROM Corruptor is free software: you can redistribute + * it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * The Vinesauce ROM Corruptor is distributed in the hope that it + * will be useful, but WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with the Vinesauce ROM Corruptor. If not, see + * . + */ + +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Vinesauce ROM Corruptor")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Vinesauce ROM Corruptor")] +[assembly: AssemblyCopyright("Copyright © 2013 Ryan Sammon")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("80db862b-5595-4a5f-99df-e90829a79879")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Vinesauce ROM Corruptor/Properties/Resources.Designer.cs b/Vinesauce ROM Corruptor/Properties/Resources.Designer.cs new file mode 100644 index 0000000..b36ac18 --- /dev/null +++ b/Vinesauce ROM Corruptor/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.269 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Vinesauce_ROM_Corruptor.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [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() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Vinesauce_ROM_Corruptor.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Bitmap Vinesauce_Mushroom { + get { + object obj = ResourceManager.GetObject("Vinesauce Mushroom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Vinesauce ROM Corruptor/Properties/Resources.resx b/Vinesauce ROM Corruptor/Properties/Resources.resx new file mode 100644 index 0000000..f5bf8cb --- /dev/null +++ b/Vinesauce ROM Corruptor/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Vinesauce Mushroom.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Vinesauce ROM Corruptor/Properties/Settings.Designer.cs b/Vinesauce ROM Corruptor/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f0c08f5 --- /dev/null +++ b/Vinesauce ROM Corruptor/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.269 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Vinesauce_ROM_Corruptor.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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; + } + } + } +} diff --git a/Vinesauce ROM Corruptor/Properties/Settings.settings b/Vinesauce ROM Corruptor/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Vinesauce ROM Corruptor/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Vinesauce ROM Corruptor/Resources/Vinesauce Mushroom.png b/Vinesauce ROM Corruptor/Resources/Vinesauce Mushroom.png new file mode 100644 index 0000000..8611e3e Binary files /dev/null and b/Vinesauce ROM Corruptor/Resources/Vinesauce Mushroom.png differ diff --git a/Vinesauce ROM Corruptor/Vinesauce Mushroom.ico b/Vinesauce ROM Corruptor/Vinesauce Mushroom.ico new file mode 100644 index 0000000..539a724 Binary files /dev/null and b/Vinesauce ROM Corruptor/Vinesauce Mushroom.ico differ diff --git a/Vinesauce ROM Corruptor/Vinesauce ROM Corruptor.csproj b/Vinesauce ROM Corruptor/Vinesauce ROM Corruptor.csproj new file mode 100644 index 0000000..8cfbe92 --- /dev/null +++ b/Vinesauce ROM Corruptor/Vinesauce ROM Corruptor.csproj @@ -0,0 +1,105 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {E9F51B29-2A51-4D37-B0A7-94CB7EC3F0D4} + WinExe + Properties + Vinesauce_ROM_Corruptor + Vinesauce ROM Corruptor + v4.0 + Client + 512 + + + x86 + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + x86 + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + Vinesauce Mushroom.ico + + + + + + + + + + + + + + + + + Form + + + HotkeyForm.cs + + + Form + + + MainForm.cs + + + + + HotkeyForm.cs + + + MainForm.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + \ No newline at end of file diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/license.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +.