commit 976150ab4b45420ae172cb418e22d19eae49b37d Author: TommySalami Date: Mon Jul 21 23:19:39 2025 -0600 Add project files. diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.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..5d801b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,366 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# 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/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# 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 +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# Extra misc solution files +misc/ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..cb047b2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,23 @@ +Version 1.5.7 - 2025-07-21 + +* Update repository info and related URLs +* Minor changes + +Version 1.5.6 - 2024-09-01 + +* Update repository info and related URLs +* Update some NuGet Packages +* Minor changes + +Version 1.5.5 - 2023-05-20 + +* Rename BuildEmAll to PatchEmAll +* Minor code changes + +Version 1.5.4 - 2023-04-11 + +* Update to .NET Framework 4.8 +* Update all NuGet Packages +* Update Release project +* Update Installer project +* Update and add resource files diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..41dd9eb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,127 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..6305634 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,25 @@ +# @PatchEmAll +### The Original Automated ROM Patcher +## Contributing +Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a: +* Collector +* Database Administrator +* Datter +* Developer +* Dumper +* Graphic Artist +* Translator +* Player +* Tester + +Feel free to: +* Fork the repository +* Create an issue +* Branch your repository with the issue number and a meaningful name related to the changes you are making +* Create a pull request + +## Contact +GitEmAll: [https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll](https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll "GitEmAll") + +--- +###### Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved v2025-07-21-00 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..25cd386 --- /dev/null +++ b/LICENSE @@ -0,0 +1,42 @@ +------------------------------------------------------------------------------- +PatchEmAll - License version 20250721 +Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved +*************************************************************** + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Redistributions in any form are not permitted whatsoever, +under any conditions. + +2. This software may not be reverse engineered, decompiled, +or disassembled. + +3. PatchEmAll may publish revised and/or new versions of the +license from time to time. Each version will be given a +distinguishing version number. No one other than +PatchEmAll has the right to modify the terms applicable +to covered code created under this License. + +4. It is your responsibility to use this software in accordance +with all applicable laws. + +*************************************************************** + +THIS SOFTWARE IS PROVIDED BY THE PATCHEMALL DEVELOPMENT TEAM +'AS IS' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE PATCHEMALL DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +*************************************************************** + +This product includes Xdelta software, freely available from + diff --git a/PatchEmAll-CLI/App.config b/PatchEmAll-CLI/App.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/PatchEmAll-CLI/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/PatchEmAll-CLI/App.ico b/PatchEmAll-CLI/App.ico new file mode 100644 index 0000000..63922ff Binary files /dev/null and b/PatchEmAll-CLI/App.ico differ diff --git a/PatchEmAll-CLI/PatchEmAll-CLI.csproj b/PatchEmAll-CLI/PatchEmAll-CLI.csproj new file mode 100644 index 0000000..15a01c2 --- /dev/null +++ b/PatchEmAll-CLI/PatchEmAll-CLI.csproj @@ -0,0 +1,108 @@ + + + + + Debug + AnyCPU + {2D9F35C9-4274-429F-851E-96DAE240B59E} + Exe + PatchEmAll_CLI + PatchEmAll-CLI + v4.8 + 512 + true + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\PatchEmAll-CLI.xml + + + AnyCPU + none + true + bin\Release\ + TRACE + prompt + 4 + + + true + + + App.ico + + + + ..\packages\Serilog.2.12.0\lib\net47\Serilog.dll + + + ..\packages\Serilog.Sinks.Console.4.1.0\lib\net45\Serilog.Sinks.Console.dll + + + ..\packages\Serilog.Sinks.LogEmAll.0.0.7\lib\net461\Serilog.Sinks.LogEmAll.dll + + + + + + + + + + + + True + True + Resources.resx + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + {956e3b6c-eee3-44a9-be64-7b3ae0238924} + PatchEmAll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PatchEmAll-CLI/Program.cs b/PatchEmAll-CLI/Program.cs new file mode 100644 index 0000000..993dc81 --- /dev/null +++ b/PatchEmAll-CLI/Program.cs @@ -0,0 +1,54 @@ +using Serilog; +using Serilog.Formatting.Display; +using Serilog.Sinks.LogEmAll; + +namespace PatchEmAll_CLI +{ + /// + /// The Main Program Class. + /// + class Program + { + /// + /// The Main entry point for the program. + /// + static void Main(string[] args) + { + // Configure the Logger. + ConfigureSerilog(); + + // Create a new program object. + PatchEmAll.PatchEmAll pea = new PatchEmAll.PatchEmAll(); + + // Set the title. + pea.UpdateTitle(); + + // Print the version. + pea.PrintVersion(); + + // Load the default options passed from the default options file. + pea.LoadOptionsFromFile(); + + // Load the default options passed from the command line arguments. + pea.LoadOptionsFromCLI(args); + + // Process the command switch. + pea.ProcessCommandSwitch(); + + // Output the log to a text file. + pea.SaveLogToFile(); + } + + /// + /// Configure the logger. + /// + public static void ConfigureSerilog() + { + Log.Logger = new LoggerConfiguration() + .MinimumLevel.Information() + .WriteTo.Console(outputTemplate: "{Level:u4}: {Message:lj}{NewLine}{Exception}") + .WriteToListString(new MessageTemplateTextFormatter("{Level:u4}: {Message:lj}{Exception}")) + .CreateLogger(); + } + } +} diff --git a/PatchEmAll-CLI/Properties/AssemblyInfo.cs b/PatchEmAll-CLI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a483158 --- /dev/null +++ b/PatchEmAll-CLI/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("PatchEmAll-CLI")] +[assembly: AssemblyDescription("The Original Automated ROM Patcher")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("PatchEmAll")] +[assembly: AssemblyProduct("PatchEmAll-CLI")] +[assembly: AssemblyCopyright("Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved")] +[assembly: AssemblyTrademark("PatchEmAll - The Original Automated ROM Patcher")] +[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("2d9f35c9-4274-429f-851e-96dae240b59e")] + +// 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.5.7")] +[assembly: AssemblyFileVersion("1.5.7")] diff --git a/PatchEmAll-CLI/Properties/Resources.Designer.cs b/PatchEmAll-CLI/Properties/Resources.Designer.cs new file mode 100644 index 0000000..05ceb8b --- /dev/null +++ b/PatchEmAll-CLI/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace PatchEmAll_CLI.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", "17.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("PatchEmAll_CLI.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; + } + } + } +} diff --git a/PatchEmAll-CLI/Properties/Resources.resx b/PatchEmAll-CLI/Properties/Resources.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/PatchEmAll-CLI/Properties/Resources.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-Patches-Dat.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-Patches-Dat.sh new file mode 100644 index 0000000..c4e0e85 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-Patches-Dat.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -buildpatchesdat diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-Patches.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-Patches.sh new file mode 100644 index 0000000..12fe495 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-Patches.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -buildpatches diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-ROMs.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-ROMs.sh new file mode 100644 index 0000000..12604a9 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Build-ROMs.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -buildroms diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Donation-Info.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Donation-Info.sh new file mode 100644 index 0000000..908a789 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Donation-Info.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -donations diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Help.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Help.sh new file mode 100644 index 0000000..e279ab9 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Help.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -help diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-License.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-License.sh new file mode 100644 index 0000000..e2d51ff --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-License.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -license diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Version.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Version.sh new file mode 100644 index 0000000..4425fbc --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Print-Version.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -version diff --git a/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Save-Options.sh b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Save-Options.sh new file mode 100644 index 0000000..e2609f1 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/PatchEmAll-Save-Options.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../PatchEmAll-CLI.exe" -saveoptions diff --git a/PatchEmAll-CLI/Resources/BASHes/put your bash files in this directory.txt b/PatchEmAll-CLI/Resources/BASHes/put your bash files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll-CLI/Resources/BASHes/put your bash files in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-Patches-Dat.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-Patches-Dat.bat new file mode 100644 index 0000000..3d8d36a --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-Patches-Dat.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -buildpatchesdat "PD:..\Patches" "XF:..\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "MN:YourMachineName" "DD:..\Dats" "CO:YourComment" + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-Patches.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-Patches.bat new file mode 100644 index 0000000..94feb8e --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-Patches.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -buildpatches "RD:..\ROMs" "PD:..\Patches" "XF:..\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "DL: -- " "DF:..\Dats\YourDatPPDXMLFile.ppd" + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-ROMs.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-ROMs.bat new file mode 100644 index 0000000..de9ce40 --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Build-ROMs.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -buildroms "RD:..\ROMs" "PD:..\Patches" "XF:..\Xdelta\xdelta3-3.1.0-x86_64.exe" "DL: -- " + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Donation-Info.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Donation-Info.bat new file mode 100644 index 0000000..22c5840 --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Donation-Info.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -donations + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Help.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Help.bat new file mode 100644 index 0000000..5902904 --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Help.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -help "LF:..\Logs\Log_PEA_00000000_000000.txt" + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-License.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-License.bat new file mode 100644 index 0000000..82fc507 --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-License.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -license + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Version.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Version.bat new file mode 100644 index 0000000..ad8ef99 --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Print-Version.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -version + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Save-Options.bat b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Save-Options.bat new file mode 100644 index 0000000..de0121e --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/PatchEmAll-Save-Options.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\PatchEmAll-CLI.exe" -saveoptions + +rem */ Pause /* +@pause diff --git a/PatchEmAll-CLI/Resources/Batches/put your batch files in this directory.txt b/PatchEmAll-CLI/Resources/Batches/put your batch files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll-CLI/Resources/Batches/put your batch files in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll-CLI/packages.config b/PatchEmAll-CLI/packages.config new file mode 100644 index 0000000..b927374 --- /dev/null +++ b/PatchEmAll-CLI/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/PatchEmAll-GUI/App.config b/PatchEmAll-GUI/App.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/PatchEmAll-GUI/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/PatchEmAll-GUI/App.ico b/PatchEmAll-GUI/App.ico new file mode 100644 index 0000000..63922ff Binary files /dev/null and b/PatchEmAll-GUI/App.ico differ diff --git a/PatchEmAll-GUI/FrmPatchEmAll.Designer.cs b/PatchEmAll-GUI/FrmPatchEmAll.Designer.cs new file mode 100644 index 0000000..89178de --- /dev/null +++ b/PatchEmAll-GUI/FrmPatchEmAll.Designer.cs @@ -0,0 +1,1283 @@ +namespace PatchEmAll_GUI +{ + partial class FrmPatchEmAll + { + /// + /// 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(FrmPatchEmAll)); + this.splitContainer4 = new System.Windows.Forms.SplitContainer(); + this.splitContainer5 = new System.Windows.Forms.SplitContainer(); + this.txtLoadedDatafile = new System.Windows.Forms.TextBox(); + this.lbFromDat = new System.Windows.Forms.ListBox(); + this.btnLoadDat = new System.Windows.Forms.Button(); + this.lbToDat = new System.Windows.Forms.ListBox(); + this.btnRemoveAllPrepatches = new System.Windows.Forms.Button(); + this.btnAddPrepatch = new System.Windows.Forms.Button(); + this.btnRemovePrepatch = new System.Windows.Forms.Button(); + this.lbPrepatches = new System.Windows.Forms.ListBox(); + this.btnLoadPPD = new System.Windows.Forms.Button(); + this.lblCountPrepatches = new System.Windows.Forms.Label(); + this.btnSavePPD = new System.Windows.Forms.Button(); + this.btnCheckPrepatches = new System.Windows.Forms.Button(); + this.msMain = new System.Windows.Forms.MenuStrip(); + this.tsmiCommands = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiBuildROMs = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiBuildPatches = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiBuildPatchesDatafile = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiLoadOptions = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiSaveOptions = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiSaveLog = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiExit = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiView = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiLog = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiOptions = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiPPDBuilder = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiHelp = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiLicense = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiDonations = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiRegistration = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiToolbar = new System.Windows.Forms.ToolStripMenuItem(); + this.tsMain = new System.Windows.Forms.ToolStrip(); + this.tsbBuildROMs = new System.Windows.Forms.ToolStripButton(); + this.tsbBuildPatches = new System.Windows.Forms.ToolStripButton(); + this.tsbBuildPatchesDatafile = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbLoadOptions = new System.Windows.Forms.ToolStripButton(); + this.tsbSaveOptions = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbSaveLog = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewLog = new System.Windows.Forms.ToolStripButton(); + this.tsbViewOptions = new System.Windows.Forms.ToolStripButton(); + this.tsbViewPPDBuilder = new System.Windows.Forms.ToolStripButton(); + this.tsbViewHelp = new System.Windows.Forms.ToolStripButton(); + this.tsbViewLicense = new System.Windows.Forms.ToolStripButton(); + this.tsbDonations = new System.Windows.Forms.ToolStripButton(); + this.tsbRegistration = new System.Windows.Forms.ToolStripButton(); + this.tsbViewToolbar = new System.Windows.Forms.ToolStripButton(); + this.ssMain = new System.Windows.Forms.StatusStrip(); + this.tsslSnap = new System.Windows.Forms.ToolStripStatusLabel(); + this.tsslStarusMessage = new System.Windows.Forms.ToolStripStatusLabel(); + this.tspbBuildProgress = new System.Windows.Forms.ToolStripProgressBar(); + this.tssbCancel = new System.Windows.Forms.ToolStripSplitButton(); + this.tcMain = new System.Windows.Forms.TabControl(); + this.tabLog = new System.Windows.Forms.TabPage(); + this.rtbLog = new Serilog.Sinks.LogEmAll.RichTextBoxLog(); + this.tabOptions = new System.Windows.Forms.TabPage(); + this.gbOptionsInfo = new System.Windows.Forms.GroupBox(); + this.lblOptionsInfo2 = new System.Windows.Forms.Label(); + this.lblOptionsInfo1 = new System.Windows.Forms.Label(); + this.gbOptions = new System.Windows.Forms.GroupBox(); + this.cbLogLevel = new System.Windows.Forms.ComboBox(); + this.cbLanguage = new System.Windows.Forms.ComboBox(); + this.cbSounds = new System.Windows.Forms.ComboBox(); + this.lblLogLevel = new System.Windows.Forms.Label(); + this.lblLanguage = new System.Windows.Forms.Label(); + this.txtComment = new System.Windows.Forms.TextBox(); + this.txtMachineName = new System.Windows.Forms.TextBox(); + this.txtDelimiter = new System.Windows.Forms.TextBox(); + this.txtXdeltaBuildCommand = new System.Windows.Forms.TextBox(); + this.txtPathXdeltaFile = new System.Windows.Forms.TextBox(); + this.txtPathDatPPDXMLFile = new System.Windows.Forms.TextBox(); + this.txtPathDatsDir = new System.Windows.Forms.TextBox(); + this.txtPathPatchesDir = new System.Windows.Forms.TextBox(); + this.txtPathROMsDir = new System.Windows.Forms.TextBox(); + this.lblSounds = new System.Windows.Forms.Label(); + this.lblComment = new System.Windows.Forms.Label(); + this.lblMachineName = new System.Windows.Forms.Label(); + this.lblDelimiter = new System.Windows.Forms.Label(); + this.lblXdeltaBuildCommand = new System.Windows.Forms.Label(); + this.lblPathXdeltaFile = new System.Windows.Forms.Label(); + this.lblPathDatPPDXMLFile = new System.Windows.Forms.Label(); + this.lblPathDatsDir = new System.Windows.Forms.Label(); + this.lblPathPatchesDir = new System.Windows.Forms.Label(); + this.lblPathROMsDir = new System.Windows.Forms.Label(); + this.tabPPDBuilder = new System.Windows.Forms.TabPage(); + this.tabHelp = new System.Windows.Forms.TabPage(); + this.rtbHelp = new System.Windows.Forms.RichTextBox(); + this.tabLicense = new System.Windows.Forms.TabPage(); + this.rtbLicense = new System.Windows.Forms.RichTextBox(); + this.tabDonations = new System.Windows.Forms.TabPage(); + this.rtbDonations = new System.Windows.Forms.RichTextBox(); + this.tabRegistration = new System.Windows.Forms.TabPage(); + this.gbRegistrationInfo = new System.Windows.Forms.GroupBox(); + this.lblRegistrationInfo1 = new System.Windows.Forms.Label(); + this.tlpRegistration = new System.Windows.Forms.TableLayoutPanel(); + this.gbRegistration = new System.Windows.Forms.GroupBox(); + this.lblRegistrationKey = new System.Windows.Forms.Label(); + this.lblRegistrationKeyLabel = new System.Windows.Forms.Label(); + this.lblRegistrationStatus = new System.Windows.Forms.Label(); + this.lblRegistrationStatusLabel = new System.Windows.Forms.Label(); + this.gbRegisterApp = new System.Windows.Forms.GroupBox(); + this.lblRegisterAppPassword = new System.Windows.Forms.Label(); + this.lblRegisterAppEmailAddress = new System.Windows.Forms.Label(); + this.lblRegisterAppUsername = new System.Windows.Forms.Label(); + this.btnRegisterApp = new System.Windows.Forms.Button(); + this.txtRegisterAppPassword = new System.Windows.Forms.TextBox(); + this.txtRegisterAppEmailAddress = new System.Windows.Forms.TextBox(); + this.txtRegisterAppUsername = new System.Windows.Forms.TextBox(); + this.bgwBuildROMs = new System.ComponentModel.BackgroundWorker(); + this.bgwBuildPatches = new System.ComponentModel.BackgroundWorker(); + this.bgwBuildDatafile = new System.ComponentModel.BackgroundWorker(); + this.bgwStartupTasks = new System.ComponentModel.BackgroundWorker(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit(); + this.splitContainer4.Panel1.SuspendLayout(); + this.splitContainer4.Panel2.SuspendLayout(); + this.splitContainer4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit(); + this.splitContainer5.Panel1.SuspendLayout(); + this.splitContainer5.Panel2.SuspendLayout(); + this.splitContainer5.SuspendLayout(); + this.msMain.SuspendLayout(); + this.tsMain.SuspendLayout(); + this.ssMain.SuspendLayout(); + this.tcMain.SuspendLayout(); + this.tabLog.SuspendLayout(); + this.tabOptions.SuspendLayout(); + this.gbOptionsInfo.SuspendLayout(); + this.gbOptions.SuspendLayout(); + this.tabPPDBuilder.SuspendLayout(); + this.tabHelp.SuspendLayout(); + this.tabLicense.SuspendLayout(); + this.tabDonations.SuspendLayout(); + this.tabRegistration.SuspendLayout(); + this.gbRegistrationInfo.SuspendLayout(); + this.tlpRegistration.SuspendLayout(); + this.gbRegistration.SuspendLayout(); + this.gbRegisterApp.SuspendLayout(); + this.SuspendLayout(); + // + // splitContainer4 + // + resources.ApplyResources(this.splitContainer4, "splitContainer4"); + this.splitContainer4.Name = "splitContainer4"; + // + // splitContainer4.Panel1 + // + this.splitContainer4.Panel1.Controls.Add(this.splitContainer5); + // + // splitContainer4.Panel2 + // + this.splitContainer4.Panel2.Controls.Add(this.lbPrepatches); + this.splitContainer4.Panel2.Controls.Add(this.btnLoadPPD); + this.splitContainer4.Panel2.Controls.Add(this.lblCountPrepatches); + this.splitContainer4.Panel2.Controls.Add(this.btnSavePPD); + this.splitContainer4.Panel2.Controls.Add(this.btnCheckPrepatches); + // + // splitContainer5 + // + resources.ApplyResources(this.splitContainer5, "splitContainer5"); + this.splitContainer5.Name = "splitContainer5"; + // + // splitContainer5.Panel1 + // + this.splitContainer5.Panel1.Controls.Add(this.txtLoadedDatafile); + this.splitContainer5.Panel1.Controls.Add(this.lbFromDat); + this.splitContainer5.Panel1.Controls.Add(this.btnLoadDat); + // + // splitContainer5.Panel2 + // + this.splitContainer5.Panel2.Controls.Add(this.lbToDat); + this.splitContainer5.Panel2.Controls.Add(this.btnRemoveAllPrepatches); + this.splitContainer5.Panel2.Controls.Add(this.btnAddPrepatch); + this.splitContainer5.Panel2.Controls.Add(this.btnRemovePrepatch); + // + // txtLoadedDatafile + // + resources.ApplyResources(this.txtLoadedDatafile, "txtLoadedDatafile"); + this.txtLoadedDatafile.Name = "txtLoadedDatafile"; + this.txtLoadedDatafile.ReadOnly = true; + // + // lbFromDat + // + resources.ApplyResources(this.lbFromDat, "lbFromDat"); + this.lbFromDat.FormattingEnabled = true; + this.lbFromDat.Name = "lbFromDat"; + this.lbFromDat.Sorted = true; + // + // btnLoadDat + // + this.btnLoadDat.Image = global::PatchEmAll_GUI.Properties.Resources.LoadDat_16x16; + resources.ApplyResources(this.btnLoadDat, "btnLoadDat"); + this.btnLoadDat.Name = "btnLoadDat"; + this.btnLoadDat.UseVisualStyleBackColor = true; + this.btnLoadDat.Click += new System.EventHandler(this.LoadDat_Click); + // + // lbToDat + // + resources.ApplyResources(this.lbToDat, "lbToDat"); + this.lbToDat.FormattingEnabled = true; + this.lbToDat.Name = "lbToDat"; + this.lbToDat.Sorted = true; + // + // btnRemoveAllPrepatches + // + resources.ApplyResources(this.btnRemoveAllPrepatches, "btnRemoveAllPrepatches"); + this.btnRemoveAllPrepatches.Image = global::PatchEmAll_GUI.Properties.Resources.RemoveAllPrepatches_16x16; + this.btnRemoveAllPrepatches.Name = "btnRemoveAllPrepatches"; + this.btnRemoveAllPrepatches.UseVisualStyleBackColor = true; + this.btnRemoveAllPrepatches.Click += new System.EventHandler(this.RemoveAllPrepatches_Click); + // + // btnAddPrepatch + // + resources.ApplyResources(this.btnAddPrepatch, "btnAddPrepatch"); + this.btnAddPrepatch.Image = global::PatchEmAll_GUI.Properties.Resources.AddPrepatch_16x16; + this.btnAddPrepatch.Name = "btnAddPrepatch"; + this.btnAddPrepatch.UseVisualStyleBackColor = true; + this.btnAddPrepatch.Click += new System.EventHandler(this.AddPrepatch_Click); + // + // btnRemovePrepatch + // + resources.ApplyResources(this.btnRemovePrepatch, "btnRemovePrepatch"); + this.btnRemovePrepatch.Image = global::PatchEmAll_GUI.Properties.Resources.RemovePrepatch_16x16; + this.btnRemovePrepatch.Name = "btnRemovePrepatch"; + this.btnRemovePrepatch.UseVisualStyleBackColor = true; + this.btnRemovePrepatch.Click += new System.EventHandler(this.RemovePrepatch_Click); + // + // lbPrepatches + // + resources.ApplyResources(this.lbPrepatches, "lbPrepatches"); + this.lbPrepatches.FormattingEnabled = true; + this.lbPrepatches.Name = "lbPrepatches"; + // + // btnLoadPPD + // + this.btnLoadPPD.Image = global::PatchEmAll_GUI.Properties.Resources.LoadPPD_16x16; + resources.ApplyResources(this.btnLoadPPD, "btnLoadPPD"); + this.btnLoadPPD.Name = "btnLoadPPD"; + this.btnLoadPPD.UseVisualStyleBackColor = true; + this.btnLoadPPD.Click += new System.EventHandler(this.LoadPPD_Click); + // + // lblCountPrepatches + // + resources.ApplyResources(this.lblCountPrepatches, "lblCountPrepatches"); + this.lblCountPrepatches.Name = "lblCountPrepatches"; + // + // btnSavePPD + // + this.btnSavePPD.Image = global::PatchEmAll_GUI.Properties.Resources.SavePPD_16x16; + resources.ApplyResources(this.btnSavePPD, "btnSavePPD"); + this.btnSavePPD.Name = "btnSavePPD"; + this.btnSavePPD.UseVisualStyleBackColor = true; + this.btnSavePPD.Click += new System.EventHandler(this.SavePPD_Click); + // + // btnCheckPrepatches + // + resources.ApplyResources(this.btnCheckPrepatches, "btnCheckPrepatches"); + this.btnCheckPrepatches.Image = global::PatchEmAll_GUI.Properties.Resources.CheckPrepatches_16x16; + this.btnCheckPrepatches.Name = "btnCheckPrepatches"; + this.btnCheckPrepatches.UseVisualStyleBackColor = true; + this.btnCheckPrepatches.Click += new System.EventHandler(this.CheckPrepatches_Click); + // + // msMain + // + this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiCommands, + this.tsmiView}); + resources.ApplyResources(this.msMain, "msMain"); + this.msMain.Name = "msMain"; + // + // tsmiCommands + // + this.tsmiCommands.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiBuildROMs, + this.tsmiBuildPatches, + this.tsmiBuildPatchesDatafile, + this.toolStripSeparator1, + this.tsmiLoadOptions, + this.tsmiSaveOptions, + this.toolStripSeparator2, + this.tsmiSaveLog, + this.toolStripSeparator3, + this.tsmiExit}); + this.tsmiCommands.Name = "tsmiCommands"; + resources.ApplyResources(this.tsmiCommands, "tsmiCommands"); + // + // tsmiBuildROMs + // + resources.ApplyResources(this.tsmiBuildROMs, "tsmiBuildROMs"); + this.tsmiBuildROMs.Image = global::PatchEmAll_GUI.Properties.Resources.BuildROMs_32x32; + this.tsmiBuildROMs.Name = "tsmiBuildROMs"; + this.tsmiBuildROMs.Click += new System.EventHandler(this.BuildROMs_Click); + // + // tsmiBuildPatches + // + resources.ApplyResources(this.tsmiBuildPatches, "tsmiBuildPatches"); + this.tsmiBuildPatches.Image = global::PatchEmAll_GUI.Properties.Resources.BuildPatches_32x32; + this.tsmiBuildPatches.Name = "tsmiBuildPatches"; + this.tsmiBuildPatches.Click += new System.EventHandler(this.BuildPatches_Click); + // + // tsmiBuildPatchesDatafile + // + resources.ApplyResources(this.tsmiBuildPatchesDatafile, "tsmiBuildPatchesDatafile"); + this.tsmiBuildPatchesDatafile.Image = global::PatchEmAll_GUI.Properties.Resources.BuildDatafile_32x32; + this.tsmiBuildPatchesDatafile.Name = "tsmiBuildPatchesDatafile"; + this.tsmiBuildPatchesDatafile.Click += new System.EventHandler(this.BuildPatchesDatafile_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1"); + // + // tsmiLoadOptions + // + resources.ApplyResources(this.tsmiLoadOptions, "tsmiLoadOptions"); + this.tsmiLoadOptions.Image = global::PatchEmAll_GUI.Properties.Resources.LoadOptions_32x32; + this.tsmiLoadOptions.Name = "tsmiLoadOptions"; + this.tsmiLoadOptions.Click += new System.EventHandler(this.LoadOptions_Click); + // + // tsmiSaveOptions + // + resources.ApplyResources(this.tsmiSaveOptions, "tsmiSaveOptions"); + this.tsmiSaveOptions.Image = global::PatchEmAll_GUI.Properties.Resources.SaveOptions_32x32; + this.tsmiSaveOptions.Name = "tsmiSaveOptions"; + this.tsmiSaveOptions.Click += new System.EventHandler(this.SaveOptions_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); + // + // tsmiSaveLog + // + resources.ApplyResources(this.tsmiSaveLog, "tsmiSaveLog"); + this.tsmiSaveLog.Image = global::PatchEmAll_GUI.Properties.Resources.SaveLog_32x32; + this.tsmiSaveLog.Name = "tsmiSaveLog"; + this.tsmiSaveLog.Click += new System.EventHandler(this.SaveLog_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3"); + // + // tsmiExit + // + this.tsmiExit.Image = global::PatchEmAll_GUI.Properties.Resources.Exit_32x32; + this.tsmiExit.Name = "tsmiExit"; + resources.ApplyResources(this.tsmiExit, "tsmiExit"); + this.tsmiExit.Click += new System.EventHandler(this.ExitApp_Click); + // + // tsmiView + // + this.tsmiView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiLog, + this.toolStripSeparator7, + this.tsmiOptions, + this.toolStripSeparator8, + this.tsmiPPDBuilder, + this.toolStripSeparator9, + this.tsmiHelp, + this.toolStripSeparator10, + this.tsmiLicense, + this.toolStripSeparator11, + this.tsmiDonations, + this.toolStripSeparator12, + this.tsmiRegistration, + this.toolStripSeparator13, + this.tsmiToolbar}); + this.tsmiView.Name = "tsmiView"; + resources.ApplyResources(this.tsmiView, "tsmiView"); + // + // tsmiLog + // + this.tsmiLog.Checked = true; + this.tsmiLog.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiLog.Name = "tsmiLog"; + resources.ApplyResources(this.tsmiLog, "tsmiLog"); + this.tsmiLog.Click += new System.EventHandler(this.ViewLog_Click); + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + resources.ApplyResources(this.toolStripSeparator7, "toolStripSeparator7"); + // + // tsmiOptions + // + this.tsmiOptions.Checked = true; + this.tsmiOptions.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiOptions.Name = "tsmiOptions"; + resources.ApplyResources(this.tsmiOptions, "tsmiOptions"); + this.tsmiOptions.Click += new System.EventHandler(this.ViewOptions_Click); + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + resources.ApplyResources(this.toolStripSeparator8, "toolStripSeparator8"); + // + // tsmiPPDBuilder + // + this.tsmiPPDBuilder.Checked = true; + this.tsmiPPDBuilder.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiPPDBuilder.Name = "tsmiPPDBuilder"; + resources.ApplyResources(this.tsmiPPDBuilder, "tsmiPPDBuilder"); + this.tsmiPPDBuilder.Click += new System.EventHandler(this.ViewPPDBuilder_Click); + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + resources.ApplyResources(this.toolStripSeparator9, "toolStripSeparator9"); + // + // tsmiHelp + // + this.tsmiHelp.Name = "tsmiHelp"; + resources.ApplyResources(this.tsmiHelp, "tsmiHelp"); + this.tsmiHelp.Click += new System.EventHandler(this.ViewHelp_Click); + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + resources.ApplyResources(this.toolStripSeparator10, "toolStripSeparator10"); + // + // tsmiLicense + // + this.tsmiLicense.Name = "tsmiLicense"; + resources.ApplyResources(this.tsmiLicense, "tsmiLicense"); + this.tsmiLicense.Click += new System.EventHandler(this.ViewLicense_Click); + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + resources.ApplyResources(this.toolStripSeparator11, "toolStripSeparator11"); + // + // tsmiDonations + // + this.tsmiDonations.Name = "tsmiDonations"; + resources.ApplyResources(this.tsmiDonations, "tsmiDonations"); + this.tsmiDonations.Click += new System.EventHandler(this.ViewDonations_Click); + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + resources.ApplyResources(this.toolStripSeparator12, "toolStripSeparator12"); + // + // tsmiRegistration + // + this.tsmiRegistration.Name = "tsmiRegistration"; + resources.ApplyResources(this.tsmiRegistration, "tsmiRegistration"); + this.tsmiRegistration.Click += new System.EventHandler(this.ViewRegistration_Click); + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + resources.ApplyResources(this.toolStripSeparator13, "toolStripSeparator13"); + // + // tsmiToolbar + // + this.tsmiToolbar.Checked = true; + this.tsmiToolbar.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiToolbar.Name = "tsmiToolbar"; + resources.ApplyResources(this.tsmiToolbar, "tsmiToolbar"); + this.tsmiToolbar.Click += new System.EventHandler(this.ViewToolbar_Click); + // + // tsMain + // + this.tsMain.ImageScalingSize = new System.Drawing.Size(32, 32); + this.tsMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsbBuildROMs, + this.tsbBuildPatches, + this.tsbBuildPatchesDatafile, + this.toolStripSeparator4, + this.tsbLoadOptions, + this.tsbSaveOptions, + this.toolStripSeparator5, + this.tsbSaveLog, + this.toolStripSeparator6, + this.tsbViewLog, + this.tsbViewOptions, + this.tsbViewPPDBuilder, + this.tsbViewHelp, + this.tsbViewLicense, + this.tsbDonations, + this.tsbRegistration, + this.tsbViewToolbar}); + resources.ApplyResources(this.tsMain, "tsMain"); + this.tsMain.Name = "tsMain"; + // + // tsbBuildROMs + // + this.tsbBuildROMs.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.tsbBuildROMs, "tsbBuildROMs"); + this.tsbBuildROMs.Image = global::PatchEmAll_GUI.Properties.Resources.BuildROMs_32x32; + this.tsbBuildROMs.Name = "tsbBuildROMs"; + this.tsbBuildROMs.Click += new System.EventHandler(this.BuildROMs_Click); + // + // tsbBuildPatches + // + this.tsbBuildPatches.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.tsbBuildPatches, "tsbBuildPatches"); + this.tsbBuildPatches.Image = global::PatchEmAll_GUI.Properties.Resources.BuildPatches_32x32; + this.tsbBuildPatches.Name = "tsbBuildPatches"; + this.tsbBuildPatches.Click += new System.EventHandler(this.BuildPatches_Click); + // + // tsbBuildPatchesDatafile + // + this.tsbBuildPatchesDatafile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.tsbBuildPatchesDatafile, "tsbBuildPatchesDatafile"); + this.tsbBuildPatchesDatafile.Image = global::PatchEmAll_GUI.Properties.Resources.BuildDatafile_32x32; + this.tsbBuildPatchesDatafile.Name = "tsbBuildPatchesDatafile"; + this.tsbBuildPatchesDatafile.Click += new System.EventHandler(this.BuildPatchesDatafile_Click); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4"); + // + // tsbLoadOptions + // + this.tsbLoadOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.tsbLoadOptions, "tsbLoadOptions"); + this.tsbLoadOptions.Image = global::PatchEmAll_GUI.Properties.Resources.LoadOptions_32x32; + this.tsbLoadOptions.Name = "tsbLoadOptions"; + this.tsbLoadOptions.Click += new System.EventHandler(this.LoadOptions_Click); + // + // tsbSaveOptions + // + this.tsbSaveOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.tsbSaveOptions, "tsbSaveOptions"); + this.tsbSaveOptions.Image = global::PatchEmAll_GUI.Properties.Resources.SaveOptions_32x32; + this.tsbSaveOptions.Name = "tsbSaveOptions"; + this.tsbSaveOptions.Click += new System.EventHandler(this.SaveOptions_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5"); + // + // tsbSaveLog + // + this.tsbSaveLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + resources.ApplyResources(this.tsbSaveLog, "tsbSaveLog"); + this.tsbSaveLog.Image = global::PatchEmAll_GUI.Properties.Resources.SaveLog_32x32; + this.tsbSaveLog.Name = "tsbSaveLog"; + this.tsbSaveLog.Click += new System.EventHandler(this.SaveLog_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + resources.ApplyResources(this.toolStripSeparator6, "toolStripSeparator6"); + // + // tsbViewLog + // + this.tsbViewLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewLog.Image = global::PatchEmAll_GUI.Properties.Resources.Log_32x32; + resources.ApplyResources(this.tsbViewLog, "tsbViewLog"); + this.tsbViewLog.Name = "tsbViewLog"; + this.tsbViewLog.Click += new System.EventHandler(this.ViewLog_Click); + // + // tsbViewOptions + // + this.tsbViewOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewOptions.Image = global::PatchEmAll_GUI.Properties.Resources.Options_32x32; + resources.ApplyResources(this.tsbViewOptions, "tsbViewOptions"); + this.tsbViewOptions.Name = "tsbViewOptions"; + this.tsbViewOptions.Click += new System.EventHandler(this.ViewOptions_Click); + // + // tsbViewPPDBuilder + // + this.tsbViewPPDBuilder.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewPPDBuilder.Image = global::PatchEmAll_GUI.Properties.Resources.PPDBuilder_32x32; + resources.ApplyResources(this.tsbViewPPDBuilder, "tsbViewPPDBuilder"); + this.tsbViewPPDBuilder.Name = "tsbViewPPDBuilder"; + this.tsbViewPPDBuilder.Click += new System.EventHandler(this.ViewPPDBuilder_Click); + // + // tsbViewHelp + // + this.tsbViewHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewHelp.Image = global::PatchEmAll_GUI.Properties.Resources.Help_32x32; + resources.ApplyResources(this.tsbViewHelp, "tsbViewHelp"); + this.tsbViewHelp.Name = "tsbViewHelp"; + this.tsbViewHelp.Click += new System.EventHandler(this.ViewHelp_Click); + // + // tsbViewLicense + // + this.tsbViewLicense.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewLicense.Image = global::PatchEmAll_GUI.Properties.Resources.License_32x32; + resources.ApplyResources(this.tsbViewLicense, "tsbViewLicense"); + this.tsbViewLicense.Name = "tsbViewLicense"; + this.tsbViewLicense.Click += new System.EventHandler(this.ViewLicense_Click); + // + // tsbDonations + // + this.tsbDonations.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbDonations.Image = global::PatchEmAll_GUI.Properties.Resources.Donate_32x32; + resources.ApplyResources(this.tsbDonations, "tsbDonations"); + this.tsbDonations.Name = "tsbDonations"; + this.tsbDonations.Click += new System.EventHandler(this.ViewDonations_Click); + // + // tsbRegistration + // + this.tsbRegistration.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbRegistration.Image = global::PatchEmAll_GUI.Properties.Resources.Key_32x32; + resources.ApplyResources(this.tsbRegistration, "tsbRegistration"); + this.tsbRegistration.Name = "tsbRegistration"; + this.tsbRegistration.Click += new System.EventHandler(this.ViewRegistration_Click); + // + // tsbViewToolbar + // + this.tsbViewToolbar.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewToolbar.Image = global::PatchEmAll_GUI.Properties.Resources.Toolbar_32x32; + resources.ApplyResources(this.tsbViewToolbar, "tsbViewToolbar"); + this.tsbViewToolbar.Name = "tsbViewToolbar"; + this.tsbViewToolbar.Click += new System.EventHandler(this.ViewToolbar_Click); + // + // ssMain + // + this.ssMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsslSnap, + this.tsslStarusMessage, + this.tspbBuildProgress, + this.tssbCancel}); + resources.ApplyResources(this.ssMain, "ssMain"); + this.ssMain.Name = "ssMain"; + // + // tsslSnap + // + this.tsslSnap.Name = "tsslSnap"; + resources.ApplyResources(this.tsslSnap, "tsslSnap"); + this.tsslSnap.Spring = true; + // + // tsslStarusMessage + // + this.tsslStarusMessage.Name = "tsslStarusMessage"; + resources.ApplyResources(this.tsslStarusMessage, "tsslStarusMessage"); + // + // tspbBuildProgress + // + this.tspbBuildProgress.Name = "tspbBuildProgress"; + resources.ApplyResources(this.tspbBuildProgress, "tspbBuildProgress"); + // + // tssbCancel + // + this.tssbCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tssbCancel.DropDownButtonWidth = 0; + resources.ApplyResources(this.tssbCancel, "tssbCancel"); + this.tssbCancel.Image = global::PatchEmAll_GUI.Properties.Resources.Cancel_16x16; + this.tssbCancel.Name = "tssbCancel"; + this.tssbCancel.Click += new System.EventHandler(this.CancelBuild_Click); + // + // tcMain + // + this.tcMain.Controls.Add(this.tabLog); + this.tcMain.Controls.Add(this.tabOptions); + this.tcMain.Controls.Add(this.tabPPDBuilder); + this.tcMain.Controls.Add(this.tabHelp); + this.tcMain.Controls.Add(this.tabLicense); + this.tcMain.Controls.Add(this.tabDonations); + this.tcMain.Controls.Add(this.tabRegistration); + resources.ApplyResources(this.tcMain, "tcMain"); + this.tcMain.Name = "tcMain"; + this.tcMain.SelectedIndex = 0; + // + // tabLog + // + this.tabLog.Controls.Add(this.rtbLog); + resources.ApplyResources(this.tabLog, "tabLog"); + this.tabLog.Name = "tabLog"; + this.tabLog.UseVisualStyleBackColor = true; + // + // rtbLog + // + resources.ApplyResources(this.rtbLog, "rtbLog"); + this.rtbLog.Name = "rtbLog"; + this.rtbLog.ReadOnly = true; + // + // tabOptions + // + this.tabOptions.Controls.Add(this.gbOptionsInfo); + this.tabOptions.Controls.Add(this.gbOptions); + resources.ApplyResources(this.tabOptions, "tabOptions"); + this.tabOptions.Name = "tabOptions"; + this.tabOptions.UseVisualStyleBackColor = true; + // + // gbOptionsInfo + // + resources.ApplyResources(this.gbOptionsInfo, "gbOptionsInfo"); + this.gbOptionsInfo.Controls.Add(this.lblOptionsInfo2); + this.gbOptionsInfo.Controls.Add(this.lblOptionsInfo1); + this.gbOptionsInfo.Name = "gbOptionsInfo"; + this.gbOptionsInfo.TabStop = false; + // + // lblOptionsInfo2 + // + resources.ApplyResources(this.lblOptionsInfo2, "lblOptionsInfo2"); + this.lblOptionsInfo2.Name = "lblOptionsInfo2"; + // + // lblOptionsInfo1 + // + resources.ApplyResources(this.lblOptionsInfo1, "lblOptionsInfo1"); + this.lblOptionsInfo1.Name = "lblOptionsInfo1"; + // + // gbOptions + // + resources.ApplyResources(this.gbOptions, "gbOptions"); + this.gbOptions.Controls.Add(this.cbLogLevel); + this.gbOptions.Controls.Add(this.cbLanguage); + this.gbOptions.Controls.Add(this.cbSounds); + this.gbOptions.Controls.Add(this.lblLogLevel); + this.gbOptions.Controls.Add(this.lblLanguage); + this.gbOptions.Controls.Add(this.txtComment); + this.gbOptions.Controls.Add(this.txtMachineName); + this.gbOptions.Controls.Add(this.txtDelimiter); + this.gbOptions.Controls.Add(this.txtXdeltaBuildCommand); + this.gbOptions.Controls.Add(this.txtPathXdeltaFile); + this.gbOptions.Controls.Add(this.txtPathDatPPDXMLFile); + this.gbOptions.Controls.Add(this.txtPathDatsDir); + this.gbOptions.Controls.Add(this.txtPathPatchesDir); + this.gbOptions.Controls.Add(this.txtPathROMsDir); + this.gbOptions.Controls.Add(this.lblSounds); + this.gbOptions.Controls.Add(this.lblComment); + this.gbOptions.Controls.Add(this.lblMachineName); + this.gbOptions.Controls.Add(this.lblDelimiter); + this.gbOptions.Controls.Add(this.lblXdeltaBuildCommand); + this.gbOptions.Controls.Add(this.lblPathXdeltaFile); + this.gbOptions.Controls.Add(this.lblPathDatPPDXMLFile); + this.gbOptions.Controls.Add(this.lblPathDatsDir); + this.gbOptions.Controls.Add(this.lblPathPatchesDir); + this.gbOptions.Controls.Add(this.lblPathROMsDir); + this.gbOptions.Name = "gbOptions"; + this.gbOptions.TabStop = false; + // + // cbLogLevel + // + resources.ApplyResources(this.cbLogLevel, "cbLogLevel"); + this.cbLogLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbLogLevel.FormattingEnabled = true; + this.cbLogLevel.Items.AddRange(new object[] { + resources.GetString("cbLogLevel.Items")}); + this.cbLogLevel.Name = "cbLogLevel"; + // + // cbLanguage + // + resources.ApplyResources(this.cbLanguage, "cbLanguage"); + this.cbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbLanguage.FormattingEnabled = true; + this.cbLanguage.Items.AddRange(new object[] { + resources.GetString("cbLanguage.Items")}); + this.cbLanguage.Name = "cbLanguage"; + // + // cbSounds + // + resources.ApplyResources(this.cbSounds, "cbSounds"); + this.cbSounds.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbSounds.FormattingEnabled = true; + this.cbSounds.Items.AddRange(new object[] { + resources.GetString("cbSounds.Items"), + resources.GetString("cbSounds.Items1")}); + this.cbSounds.Name = "cbSounds"; + // + // lblLogLevel + // + resources.ApplyResources(this.lblLogLevel, "lblLogLevel"); + this.lblLogLevel.Name = "lblLogLevel"; + // + // lblLanguage + // + resources.ApplyResources(this.lblLanguage, "lblLanguage"); + this.lblLanguage.Name = "lblLanguage"; + // + // txtComment + // + resources.ApplyResources(this.txtComment, "txtComment"); + this.txtComment.Name = "txtComment"; + this.txtComment.ReadOnly = true; + // + // txtMachineName + // + resources.ApplyResources(this.txtMachineName, "txtMachineName"); + this.txtMachineName.Name = "txtMachineName"; + this.txtMachineName.ReadOnly = true; + // + // txtDelimiter + // + resources.ApplyResources(this.txtDelimiter, "txtDelimiter"); + this.txtDelimiter.Name = "txtDelimiter"; + this.txtDelimiter.ReadOnly = true; + // + // txtXdeltaBuildCommand + // + resources.ApplyResources(this.txtXdeltaBuildCommand, "txtXdeltaBuildCommand"); + this.txtXdeltaBuildCommand.Name = "txtXdeltaBuildCommand"; + this.txtXdeltaBuildCommand.ReadOnly = true; + // + // txtPathXdeltaFile + // + resources.ApplyResources(this.txtPathXdeltaFile, "txtPathXdeltaFile"); + this.txtPathXdeltaFile.Name = "txtPathXdeltaFile"; + this.txtPathXdeltaFile.ReadOnly = true; + this.txtPathXdeltaFile.Click += new System.EventHandler(this.ChangePathXdeltaFile_Click); + // + // txtPathDatPPDXMLFile + // + resources.ApplyResources(this.txtPathDatPPDXMLFile, "txtPathDatPPDXMLFile"); + this.txtPathDatPPDXMLFile.Name = "txtPathDatPPDXMLFile"; + this.txtPathDatPPDXMLFile.ReadOnly = true; + this.txtPathDatPPDXMLFile.Click += new System.EventHandler(this.ChangePathDatPPDXMLFile_Click); + // + // txtPathDatsDir + // + resources.ApplyResources(this.txtPathDatsDir, "txtPathDatsDir"); + this.txtPathDatsDir.Name = "txtPathDatsDir"; + this.txtPathDatsDir.ReadOnly = true; + this.txtPathDatsDir.Click += new System.EventHandler(this.ChangePathDatsDir_Click); + // + // txtPathPatchesDir + // + resources.ApplyResources(this.txtPathPatchesDir, "txtPathPatchesDir"); + this.txtPathPatchesDir.Name = "txtPathPatchesDir"; + this.txtPathPatchesDir.ReadOnly = true; + this.txtPathPatchesDir.Click += new System.EventHandler(this.ChangePathPatchesDir_Click); + // + // txtPathROMsDir + // + resources.ApplyResources(this.txtPathROMsDir, "txtPathROMsDir"); + this.txtPathROMsDir.Name = "txtPathROMsDir"; + this.txtPathROMsDir.ReadOnly = true; + this.txtPathROMsDir.Click += new System.EventHandler(this.ChangePathRomsDir_Click); + // + // lblSounds + // + resources.ApplyResources(this.lblSounds, "lblSounds"); + this.lblSounds.Name = "lblSounds"; + // + // lblComment + // + resources.ApplyResources(this.lblComment, "lblComment"); + this.lblComment.Name = "lblComment"; + // + // lblMachineName + // + resources.ApplyResources(this.lblMachineName, "lblMachineName"); + this.lblMachineName.Name = "lblMachineName"; + // + // lblDelimiter + // + resources.ApplyResources(this.lblDelimiter, "lblDelimiter"); + this.lblDelimiter.Name = "lblDelimiter"; + // + // lblXdeltaBuildCommand + // + resources.ApplyResources(this.lblXdeltaBuildCommand, "lblXdeltaBuildCommand"); + this.lblXdeltaBuildCommand.Name = "lblXdeltaBuildCommand"; + // + // lblPathXdeltaFile + // + resources.ApplyResources(this.lblPathXdeltaFile, "lblPathXdeltaFile"); + this.lblPathXdeltaFile.Name = "lblPathXdeltaFile"; + // + // lblPathDatPPDXMLFile + // + resources.ApplyResources(this.lblPathDatPPDXMLFile, "lblPathDatPPDXMLFile"); + this.lblPathDatPPDXMLFile.Name = "lblPathDatPPDXMLFile"; + // + // lblPathDatsDir + // + resources.ApplyResources(this.lblPathDatsDir, "lblPathDatsDir"); + this.lblPathDatsDir.Name = "lblPathDatsDir"; + // + // lblPathPatchesDir + // + resources.ApplyResources(this.lblPathPatchesDir, "lblPathPatchesDir"); + this.lblPathPatchesDir.Name = "lblPathPatchesDir"; + // + // lblPathROMsDir + // + resources.ApplyResources(this.lblPathROMsDir, "lblPathROMsDir"); + this.lblPathROMsDir.Name = "lblPathROMsDir"; + // + // tabPPDBuilder + // + this.tabPPDBuilder.Controls.Add(this.splitContainer4); + resources.ApplyResources(this.tabPPDBuilder, "tabPPDBuilder"); + this.tabPPDBuilder.Name = "tabPPDBuilder"; + this.tabPPDBuilder.UseVisualStyleBackColor = true; + // + // tabHelp + // + this.tabHelp.Controls.Add(this.rtbHelp); + resources.ApplyResources(this.tabHelp, "tabHelp"); + this.tabHelp.Name = "tabHelp"; + this.tabHelp.UseVisualStyleBackColor = true; + // + // rtbHelp + // + resources.ApplyResources(this.rtbHelp, "rtbHelp"); + this.rtbHelp.Name = "rtbHelp"; + this.rtbHelp.ReadOnly = true; + // + // tabLicense + // + this.tabLicense.Controls.Add(this.rtbLicense); + resources.ApplyResources(this.tabLicense, "tabLicense"); + this.tabLicense.Name = "tabLicense"; + this.tabLicense.UseVisualStyleBackColor = true; + // + // rtbLicense + // + resources.ApplyResources(this.rtbLicense, "rtbLicense"); + this.rtbLicense.Name = "rtbLicense"; + this.rtbLicense.ReadOnly = true; + // + // tabDonations + // + this.tabDonations.Controls.Add(this.rtbDonations); + resources.ApplyResources(this.tabDonations, "tabDonations"); + this.tabDonations.Name = "tabDonations"; + this.tabDonations.UseVisualStyleBackColor = true; + // + // rtbDonations + // + resources.ApplyResources(this.rtbDonations, "rtbDonations"); + this.rtbDonations.Name = "rtbDonations"; + this.rtbDonations.ReadOnly = true; + // + // tabRegistration + // + this.tabRegistration.Controls.Add(this.gbRegistrationInfo); + this.tabRegistration.Controls.Add(this.tlpRegistration); + resources.ApplyResources(this.tabRegistration, "tabRegistration"); + this.tabRegistration.Name = "tabRegistration"; + this.tabRegistration.UseVisualStyleBackColor = true; + // + // gbRegistrationInfo + // + this.gbRegistrationInfo.Controls.Add(this.lblRegistrationInfo1); + resources.ApplyResources(this.gbRegistrationInfo, "gbRegistrationInfo"); + this.gbRegistrationInfo.Name = "gbRegistrationInfo"; + this.gbRegistrationInfo.TabStop = false; + // + // lblRegistrationInfo1 + // + resources.ApplyResources(this.lblRegistrationInfo1, "lblRegistrationInfo1"); + this.lblRegistrationInfo1.Name = "lblRegistrationInfo1"; + // + // tlpRegistration + // + resources.ApplyResources(this.tlpRegistration, "tlpRegistration"); + this.tlpRegistration.Controls.Add(this.gbRegistration, 1, 0); + this.tlpRegistration.Controls.Add(this.gbRegisterApp, 0, 0); + this.tlpRegistration.Name = "tlpRegistration"; + // + // gbRegistration + // + resources.ApplyResources(this.gbRegistration, "gbRegistration"); + this.gbRegistration.Controls.Add(this.lblRegistrationKey); + this.gbRegistration.Controls.Add(this.lblRegistrationKeyLabel); + this.gbRegistration.Controls.Add(this.lblRegistrationStatus); + this.gbRegistration.Controls.Add(this.lblRegistrationStatusLabel); + this.gbRegistration.Name = "gbRegistration"; + this.gbRegistration.TabStop = false; + // + // lblRegistrationKey + // + resources.ApplyResources(this.lblRegistrationKey, "lblRegistrationKey"); + this.lblRegistrationKey.Name = "lblRegistrationKey"; + // + // lblRegistrationKeyLabel + // + resources.ApplyResources(this.lblRegistrationKeyLabel, "lblRegistrationKeyLabel"); + this.lblRegistrationKeyLabel.Name = "lblRegistrationKeyLabel"; + // + // lblRegistrationStatus + // + resources.ApplyResources(this.lblRegistrationStatus, "lblRegistrationStatus"); + this.lblRegistrationStatus.Name = "lblRegistrationStatus"; + // + // lblRegistrationStatusLabel + // + resources.ApplyResources(this.lblRegistrationStatusLabel, "lblRegistrationStatusLabel"); + this.lblRegistrationStatusLabel.Name = "lblRegistrationStatusLabel"; + // + // gbRegisterApp + // + resources.ApplyResources(this.gbRegisterApp, "gbRegisterApp"); + this.gbRegisterApp.Controls.Add(this.lblRegisterAppPassword); + this.gbRegisterApp.Controls.Add(this.lblRegisterAppEmailAddress); + this.gbRegisterApp.Controls.Add(this.lblRegisterAppUsername); + this.gbRegisterApp.Controls.Add(this.btnRegisterApp); + this.gbRegisterApp.Controls.Add(this.txtRegisterAppPassword); + this.gbRegisterApp.Controls.Add(this.txtRegisterAppEmailAddress); + this.gbRegisterApp.Controls.Add(this.txtRegisterAppUsername); + this.gbRegisterApp.Name = "gbRegisterApp"; + this.gbRegisterApp.TabStop = false; + // + // lblRegisterAppPassword + // + resources.ApplyResources(this.lblRegisterAppPassword, "lblRegisterAppPassword"); + this.lblRegisterAppPassword.Name = "lblRegisterAppPassword"; + // + // lblRegisterAppEmailAddress + // + resources.ApplyResources(this.lblRegisterAppEmailAddress, "lblRegisterAppEmailAddress"); + this.lblRegisterAppEmailAddress.Name = "lblRegisterAppEmailAddress"; + // + // lblRegisterAppUsername + // + resources.ApplyResources(this.lblRegisterAppUsername, "lblRegisterAppUsername"); + this.lblRegisterAppUsername.Name = "lblRegisterAppUsername"; + // + // btnRegisterApp + // + resources.ApplyResources(this.btnRegisterApp, "btnRegisterApp"); + this.btnRegisterApp.Name = "btnRegisterApp"; + this.btnRegisterApp.UseVisualStyleBackColor = true; + // + // txtRegisterAppPassword + // + resources.ApplyResources(this.txtRegisterAppPassword, "txtRegisterAppPassword"); + this.txtRegisterAppPassword.Name = "txtRegisterAppPassword"; + // + // txtRegisterAppEmailAddress + // + resources.ApplyResources(this.txtRegisterAppEmailAddress, "txtRegisterAppEmailAddress"); + this.txtRegisterAppEmailAddress.Name = "txtRegisterAppEmailAddress"; + // + // txtRegisterAppUsername + // + resources.ApplyResources(this.txtRegisterAppUsername, "txtRegisterAppUsername"); + this.txtRegisterAppUsername.Name = "txtRegisterAppUsername"; + // + // bgwBuildROMs + // + this.bgwBuildROMs.WorkerReportsProgress = true; + this.bgwBuildROMs.WorkerSupportsCancellation = true; + this.bgwBuildROMs.DoWork += new System.ComponentModel.DoWorkEventHandler(this.BuildROMs_DoWork); + this.bgwBuildROMs.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.BuildROMs_ProgressChanged); + this.bgwBuildROMs.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.BuildROMs_RunWorkerCompleted); + // + // bgwBuildPatches + // + this.bgwBuildPatches.WorkerReportsProgress = true; + this.bgwBuildPatches.WorkerSupportsCancellation = true; + this.bgwBuildPatches.DoWork += new System.ComponentModel.DoWorkEventHandler(this.BuildPatches_DoWork); + this.bgwBuildPatches.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.BuildPatches_ProgressChanged); + this.bgwBuildPatches.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.BuildPatches_RunWorkerCompleted); + // + // bgwBuildDatafile + // + this.bgwBuildDatafile.WorkerReportsProgress = true; + this.bgwBuildDatafile.WorkerSupportsCancellation = true; + this.bgwBuildDatafile.DoWork += new System.ComponentModel.DoWorkEventHandler(this.BuildDatafile_DoWork); + this.bgwBuildDatafile.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.BuildDatafile_ProgressChanged); + this.bgwBuildDatafile.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.BuildDatafile_RunWorkerCompleted); + // + // bgwStartupTasks + // + this.bgwStartupTasks.DoWork += new System.ComponentModel.DoWorkEventHandler(this.StartupTasks_DoWork); + this.bgwStartupTasks.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.StartupTasks_RunWorkerCompleted); + // + // FrmPatchEmAll + // + resources.ApplyResources(this, "$this"); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.tcMain); + this.Controls.Add(this.ssMain); + this.Controls.Add(this.tsMain); + this.Controls.Add(this.msMain); + this.MainMenuStrip = this.msMain; + this.Name = "FrmPatchEmAll"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_FormClosing); + this.Shown += new System.EventHandler(this.Form_Shown); + this.splitContainer4.Panel1.ResumeLayout(false); + this.splitContainer4.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit(); + this.splitContainer4.ResumeLayout(false); + this.splitContainer5.Panel1.ResumeLayout(false); + this.splitContainer5.Panel1.PerformLayout(); + this.splitContainer5.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit(); + this.splitContainer5.ResumeLayout(false); + this.msMain.ResumeLayout(false); + this.msMain.PerformLayout(); + this.tsMain.ResumeLayout(false); + this.tsMain.PerformLayout(); + this.ssMain.ResumeLayout(false); + this.ssMain.PerformLayout(); + this.tcMain.ResumeLayout(false); + this.tabLog.ResumeLayout(false); + this.tabOptions.ResumeLayout(false); + this.gbOptionsInfo.ResumeLayout(false); + this.gbOptionsInfo.PerformLayout(); + this.gbOptions.ResumeLayout(false); + this.gbOptions.PerformLayout(); + this.tabPPDBuilder.ResumeLayout(false); + this.tabHelp.ResumeLayout(false); + this.tabLicense.ResumeLayout(false); + this.tabDonations.ResumeLayout(false); + this.tabRegistration.ResumeLayout(false); + this.gbRegistrationInfo.ResumeLayout(false); + this.gbRegistrationInfo.PerformLayout(); + this.tlpRegistration.ResumeLayout(false); + this.gbRegistration.ResumeLayout(false); + this.gbRegistration.PerformLayout(); + this.gbRegisterApp.ResumeLayout(false); + this.gbRegisterApp.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip msMain; + private System.Windows.Forms.ToolStrip tsMain; + private System.Windows.Forms.StatusStrip ssMain; + private System.Windows.Forms.ToolStripMenuItem tsmiCommands; + private System.Windows.Forms.ToolStripMenuItem tsmiBuildROMs; + private System.Windows.Forms.ToolStripMenuItem tsmiBuildPatches; + private System.Windows.Forms.ToolStripMenuItem tsmiBuildPatchesDatafile; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem tsmiLoadOptions; + private System.Windows.Forms.ToolStripMenuItem tsmiSaveOptions; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem tsmiSaveLog; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem tsmiExit; + private System.Windows.Forms.ToolStripMenuItem tsmiView; + private System.Windows.Forms.ToolStripMenuItem tsmiLog; + private System.Windows.Forms.ToolStripMenuItem tsmiOptions; + private System.Windows.Forms.ToolStripMenuItem tsmiPPDBuilder; + private System.Windows.Forms.ToolStripMenuItem tsmiHelp; + private System.Windows.Forms.ToolStripMenuItem tsmiLicense; + private System.Windows.Forms.TabControl tcMain; + private System.Windows.Forms.TabPage tabLog; + private System.Windows.Forms.TabPage tabOptions; + private System.Windows.Forms.TabPage tabPPDBuilder; + private System.Windows.Forms.TabPage tabHelp; + private System.Windows.Forms.TabPage tabLicense; + private System.Windows.Forms.ToolStripStatusLabel tsslSnap; + private System.Windows.Forms.ToolStripStatusLabel tsslStarusMessage; + private System.Windows.Forms.ToolStripButton tsbBuildROMs; + private System.Windows.Forms.ToolStripButton tsbBuildPatches; + private System.Windows.Forms.ToolStripButton tsbBuildPatchesDatafile; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripButton tsbLoadOptions; + private System.Windows.Forms.ToolStripButton tsbSaveOptions; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripButton tsbSaveLog; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripButton tsbViewLog; + private System.Windows.Forms.ToolStripButton tsbViewOptions; + private System.Windows.Forms.ToolStripButton tsbViewPPDBuilder; + private System.Windows.Forms.ToolStripButton tsbViewHelp; + private System.Windows.Forms.ToolStripButton tsbViewLicense; + private System.Windows.Forms.ToolStripButton tsbViewToolbar; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.ComponentModel.BackgroundWorker bgwBuildROMs; + private System.ComponentModel.BackgroundWorker bgwBuildPatches; + private System.ComponentModel.BackgroundWorker bgwBuildDatafile; + private System.Windows.Forms.RichTextBox rtbHelp; + private System.Windows.Forms.RichTextBox rtbLicense; + private System.Windows.Forms.GroupBox gbOptions; + private System.Windows.Forms.TextBox txtComment; + private System.Windows.Forms.TextBox txtMachineName; + private System.Windows.Forms.TextBox txtDelimiter; + private System.Windows.Forms.TextBox txtXdeltaBuildCommand; + private System.Windows.Forms.TextBox txtPathXdeltaFile; + private System.Windows.Forms.TextBox txtPathDatPPDXMLFile; + private System.Windows.Forms.TextBox txtPathDatsDir; + private System.Windows.Forms.TextBox txtPathPatchesDir; + private System.Windows.Forms.TextBox txtPathROMsDir; + private System.Windows.Forms.Label lblSounds; + private System.Windows.Forms.Label lblComment; + private System.Windows.Forms.Label lblMachineName; + private System.Windows.Forms.Label lblDelimiter; + private System.Windows.Forms.Label lblXdeltaBuildCommand; + private System.Windows.Forms.Label lblPathXdeltaFile; + private System.Windows.Forms.Label lblPathDatPPDXMLFile; + private System.Windows.Forms.Label lblPathDatsDir; + private System.Windows.Forms.Label lblPathPatchesDir; + private System.Windows.Forms.Label lblPathROMsDir; + private System.ComponentModel.BackgroundWorker bgwStartupTasks; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem tsmiToolbar; + private System.Windows.Forms.ToolStripProgressBar tspbBuildProgress; + private System.Windows.Forms.ToolStripSplitButton tssbCancel; + private System.Windows.Forms.Button btnLoadDat; + private System.Windows.Forms.Button btnRemoveAllPrepatches; + private System.Windows.Forms.Button btnRemovePrepatch; + private System.Windows.Forms.Button btnAddPrepatch; + private System.Windows.Forms.Label lblCountPrepatches; + private System.Windows.Forms.Button btnCheckPrepatches; + private System.Windows.Forms.Button btnSavePPD; + private System.Windows.Forms.Button btnLoadPPD; + private System.Windows.Forms.ListBox lbFromDat; + private System.Windows.Forms.ListBox lbToDat; + private System.Windows.Forms.ListBox lbPrepatches; + private System.Windows.Forms.SplitContainer splitContainer4; + private System.Windows.Forms.SplitContainer splitContainer5; + private Serilog.Sinks.LogEmAll.RichTextBoxLog rtbLog; + private System.Windows.Forms.TextBox txtLoadedDatafile; + private System.Windows.Forms.Label lblLogLevel; + private System.Windows.Forms.Label lblLanguage; + private System.Windows.Forms.ComboBox cbLogLevel; + private System.Windows.Forms.ComboBox cbLanguage; + private System.Windows.Forms.ComboBox cbSounds; + private System.Windows.Forms.GroupBox gbOptionsInfo; + private System.Windows.Forms.Label lblOptionsInfo2; + private System.Windows.Forms.Label lblOptionsInfo1; + private System.Windows.Forms.TabPage tabDonations; + private System.Windows.Forms.TabPage tabRegistration; + private System.Windows.Forms.RichTextBox rtbDonations; + private System.Windows.Forms.TableLayoutPanel tlpRegistration; + private System.Windows.Forms.GroupBox gbRegistrationInfo; + private System.Windows.Forms.GroupBox gbRegisterApp; + private System.Windows.Forms.GroupBox gbRegistration; + private System.Windows.Forms.ToolStripMenuItem tsmiDonations; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripMenuItem tsmiRegistration; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripButton tsbDonations; + private System.Windows.Forms.ToolStripButton tsbRegistration; + private System.Windows.Forms.Label lblRegistrationInfo1; + private System.Windows.Forms.Label lblRegistrationKey; + private System.Windows.Forms.Label lblRegistrationKeyLabel; + private System.Windows.Forms.Label lblRegistrationStatus; + private System.Windows.Forms.Label lblRegistrationStatusLabel; + private System.Windows.Forms.Label lblRegisterAppPassword; + private System.Windows.Forms.Label lblRegisterAppEmailAddress; + private System.Windows.Forms.Label lblRegisterAppUsername; + private System.Windows.Forms.Button btnRegisterApp; + private System.Windows.Forms.TextBox txtRegisterAppPassword; + private System.Windows.Forms.TextBox txtRegisterAppEmailAddress; + private System.Windows.Forms.TextBox txtRegisterAppUsername; + } +} + diff --git a/PatchEmAll-GUI/FrmPatchEmAll.cs b/PatchEmAll-GUI/FrmPatchEmAll.cs new file mode 100644 index 0000000..9ef4fe8 --- /dev/null +++ b/PatchEmAll-GUI/FrmPatchEmAll.cs @@ -0,0 +1,2101 @@ +using Serilog; +using System; +using System.ComponentModel; +using System.Diagnostics; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Media; +using System.Security.Cryptography; +using System.Xml.Linq; +using System.Windows.Forms; + +namespace PatchEmAll_GUI +{ + /// + /// The PatchEmAll GUI Form Class which interacts with the Main Program Class. + /// + public partial class FrmPatchEmAll : Form + { + #region Constructors + + PatchEmAll.PatchEmAll pea = new PatchEmAll.PatchEmAll(); + + /// + /// Constructor + /// + public FrmPatchEmAll() + { + // Initialize the form. + InitializeComponent(); + + // Print the version. + pea.PrintVersion(); + + // Load the default options passed from the default options file. + pea.LoadOptionsFromFile(); + + // Load the default options passed from the command line arguments. + pea.LoadOptionsFromCLI(Environment.GetCommandLineArgs()); + + // Add data bindings. + txtPathROMsDir.DataBindings.Add("Text", pea, "PathROMsDir"); + txtPathPatchesDir.DataBindings.Add("Text", pea, "PathPatchesDir"); + txtPathDatsDir.DataBindings.Add("Text", pea, "PathDatsDir"); + txtPathDatPPDXMLFile.DataBindings.Add("Text", pea, "PathDatPPDXMLFile"); + txtPathXdeltaFile.DataBindings.Add("Text", pea, "PathXdeltaFile"); + txtXdeltaBuildCommand.DataBindings.Add("Text", pea, "XdeltaBuildCommand"); + txtDelimiter.DataBindings.Add("Text", pea, "Delimiter"); + txtMachineName.DataBindings.Add("Text", pea, "MachineName"); + txtComment.DataBindings.Add("Text", pea, "Comment"); + cbSounds.DataBindings.Add("SelectedItem", pea, "Sounds"); + cbLanguage.DataBindings.Add("SelectedItem", pea, "Language"); + cbLogLevel.DataBindings.Add("SelectedItem", pea, "LogLevel"); + lblRegistrationStatus.DataBindings.Add("Text", pea, "RegistrationStatus"); + lblRegistrationKey.DataBindings.Add("Text", pea, "RegistrationKey"); + txtRegisterAppUsername.DataBindings.Add("Text", pea, "RegisterAppUsername"); + txtRegisterAppEmailAddress.DataBindings.Add("Text", pea, "RegisterAppEmailAddress"); + txtRegisterAppPassword.DataBindings.Add("Text", pea, "RegisterAppPassword"); + + // Hide some tabs. + tcMain.TabPages.Remove(tabHelp); + tcMain.TabPages.Remove(tabLicense); + tcMain.TabPages.Remove(tabDonations); + tcMain.TabPages.Remove(tabRegistration); + + // Set the title. + UpdateTitle(); + + // Load the GUI RichTextBoxes from resources. + rtbHelp.Text = PatchEmAll.Properties.Resources.PatchEmAll_HELP; + rtbLicense.Text = PatchEmAll.Properties.Resources.PatchEmAll_LICENSE; + rtbDonations.Text = PatchEmAll.Properties.Resources.PatchEmAll_DONATIONS; + } + + #endregion + + #region Getters/Setters Public Accessors + + /// LogLines + public string[] LogLines + { + get { return rtbLog.Lines; } + set { rtbLog.Lines = value; } + } + + #endregion + + #region Log + + /// + /// Saves the log to a text file. + /// + /// + /// + public bool SaveLogToFile(string strPath = null) + { + try + { + if (strPath != null) + { + pea.PathLogFile = strPath; + } + + // Determine if the user selected a log filename. + if (pea.PathLogFile.Length == 0) + { + // Return a bool value. + return false; + } + else + { + // Print to screen + Log.Information("Saving log file ..."); + + // Create log file directory if it doesn't exist. + if (Directory.Exists(Path.GetDirectoryName(pea.PathLogFile)) == false) Directory.CreateDirectory(Path.GetDirectoryName(pea.PathLogFile)); + + // Save the contents of the log to a text file. + File.WriteAllLines(pea.PathLogFile, LogLines); + + // Print to screen + Log.Information("Log file saved (" + pea.PathLogFile + ")"); + + // Return a bool value. + return true; + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Saving log file failed"); + Log.Error(ex.Message); + + // Return a bool value. + return false; + } + } + + #endregion + + #region Startup Tasks + + /// + /// StartupTasks DoWork + /// + /// + /// + private void StartupTasks_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e) + { + // + } + + /// + /// StartupTasks RunWorkerCompleted + /// + /// + /// + private void StartupTasks_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e) + { + if (e.Cancelled) + { + // Print to screen. + Log.Information("Startup tasks canceled"); + Log.Information("Ready"); + } + else if (e.Error != null) + { + // Print to screen. + Log.Error("Startup tasks failed"); + Log.Error("" + e.Error.Message); + Log.Information("Ready"); + } + else + { + // Print to screen. + Log.Information("Startup tasks completed"); + Log.Information("Ready"); + } + + // Update the status message label. + UpdateStatusMessageLabel("Ready"); + + // Enable all buttons. + EnableAllButtons(); + } + + #endregion + + #region GUI Methods + + /// + /// Updates the build progress status progress bar. + /// + /// + private void UpdateStatusBuildProgress(int intPercentage) + { + // Update the build progress status progress bar. + tspbBuildProgress.Value = intPercentage; + } + + /// + /// Updates the progress status message label. + /// + /// + private void UpdateStatusMessageLabel(string strMsg) + { + // Update the progress status message label. + tsslStarusMessage.Text = strMsg; + } + + /// + /// Updates/Sets the application title. + /// + /// + /// + private bool UpdateTitle(string strTitle = "") + { + try + { + if (this.InvokeRequired && !this.IsDisposed) + { + Invoke(new MethodInvoker(delegate () + { + // Update the application title. + this.Text = pea.AppName + " v" + pea.AppVersion + strTitle; + })); + } + else if (!this.IsDisposed) + { + // Update the application title. + this.Text = pea.AppName + " v" + pea.AppVersion + strTitle; + } + return true; + } + catch (Exception) + { + return false; + } + } + + /// + /// Cancels the current build operation. + /// + /// + /// + private void CancelBuild_Click(object sender, EventArgs e) + { + // Print to screen + Log.Information("Cancellation pending after current operation"); + + // Disable the cancel button. + tssbCancel.Enabled = false; + + if (bgwBuildROMs.WorkerSupportsCancellation == true) + { + // Cancel the asynchronous operation. + bgwBuildROMs.CancelAsync(); + } + if (bgwBuildPatches.WorkerSupportsCancellation == true) + { + // Cancel the asynchronous operation. + bgwBuildPatches.CancelAsync(); + } + if (bgwBuildDatafile.WorkerSupportsCancellation == true) + { + // Cancel the asynchronous operation. + bgwBuildDatafile.CancelAsync(); + } + } + + /// + /// Loads an options file. + /// + private void LoadOptions_Click(object sender, EventArgs e) + { + try + { + // Disable all buttons. + DisableAllButtons(); + + // Create and initialize an OpenFileDialog for the options file. + OpenFileDialog ofdOptions = new OpenFileDialog + { + DefaultExt = "*.xml", + Filter = "XML Files|*.xml", + Title = "Please enter a path to the options file: ", + InitialDirectory = Path.Combine(Application.StartupPath, "Options") + }; + + // Determine if the user selected a file name from the OpenFileDialog. + if (ofdOptions.ShowDialog() == DialogResult.OK && ofdOptions.FileName.Length > 0) + { + // Set the options file path. + pea.PathOptionsFile = ofdOptions.FileName; + + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Load the options. + pea.LoadOptionsFromFile(); + + // Print to screen + Log.Information("Ready"); + } + + // Dispose of the OpenFileDialog. + ofdOptions.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Loading options failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + } + } + + /// + /// Saves an options file. + /// + private void SaveOptions_Click(object sender, EventArgs e) + { + try + { + // Disable all buttons. + DisableAllButtons(); + + // Create and initialize a SaveFileDialog for the options file. + SaveFileDialog sfdOptions = new SaveFileDialog + { + DefaultExt = "*.xml", + Filter = "XML Files|*.xml", + FileName = "PatchEmAll-Options.xml", + Title = "Please enter a path to the options file: ", + InitialDirectory = Path.Combine(Application.StartupPath, "Options") + }; + + // Determine if the user selected a file name from the SaveFileDialog. + if (sfdOptions.ShowDialog() == DialogResult.OK && sfdOptions.FileName.Length > 0) + { + // Set the options file path. + pea.PathOptionsFile = sfdOptions.FileName; + + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Save the options. + pea.SaveOptionsToFile(); + + // Print to screen + Log.Information("Ready"); + } + + // Dispose of the SaveFileDialog. + sfdOptions.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Saving options failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + } + + } + + /// + /// Saves a log file. + /// + private void SaveLog_Click(object sender, EventArgs e) + { + try + { + // Disable all buttons. + DisableAllButtons(); + + // Create and initialize a SaveFileDialog for the log file. + SaveFileDialog sfdLog = new SaveFileDialog + { + DefaultExt = "*.txt", + Filter = "TXT Files|*.txt", + FileName = "PatchEmAll-Log-" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".txt", + Title = "Please enter a path to the log file: ", + InitialDirectory = Path.Combine(Application.StartupPath, "Logs") + }; + + // Determine if the user selected a log filename. + if (sfdLog.ShowDialog() == DialogResult.OK && sfdLog.FileName.Length > 0) + { + // Set the log file path. + pea.PathLogFile = sfdLog.FileName; + + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Save the log. + SaveLogToFile(pea.PathLogFile); + + // Print to screen + Log.Information("Ready"); + } + + // Dispose of the SaveFileDialog. + sfdLog.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Saving log file failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + } + } + + /// + /// Enables all of the buttons. + /// + private void EnableAllButtons() + { + // Enable all Menu Item buttons. + tsmiCommands.Enabled = true; + tsmiExit.Enabled = true; + tsmiBuildROMs.Enabled = true; + tsmiBuildPatches.Enabled = true; + tsmiBuildPatchesDatafile.Enabled = true; + tsmiLoadOptions.Enabled = true; + tsmiSaveOptions.Enabled = true; + tsmiSaveLog.Enabled = true; + + // Enable all Toolbar buttons. + tsbBuildROMs.Enabled = true; + tsbBuildPatches.Enabled = true; + tsbBuildPatchesDatafile.Enabled = true; + tsbLoadOptions.Enabled = true; + tsbSaveOptions.Enabled = true; + tsbSaveLog.Enabled = true; + + // Enable all Options buttons. + txtPathROMsDir.Enabled = true; + txtPathPatchesDir.Enabled = true; + txtPathDatsDir.Enabled = true; + txtPathDatPPDXMLFile.Enabled = true; + txtPathXdeltaFile.Enabled = true; + txtXdeltaBuildCommand.Enabled = true; + txtDelimiter.Enabled = true; + txtMachineName.Enabled = true; + txtComment.Enabled = true; + cbSounds.Enabled = true; + cbLanguage.Enabled = true; + cbLogLevel.Enabled = true; + } + + /// + /// Disables all of the buttons. + /// + private void DisableAllButtons() + { + // Disable all Menu Item buttons. + tsmiCommands.Enabled = false; + tsmiExit.Enabled = false; + tsmiBuildROMs.Enabled = false; + tsmiBuildPatches.Enabled = false; + tsmiBuildPatchesDatafile.Enabled = false; + tsmiLoadOptions.Enabled = false; + tsmiSaveOptions.Enabled = false; + tsmiSaveLog.Enabled = false; + + // Disable all Toolbar buttons. + tsbBuildROMs.Enabled = false; + tsbBuildPatches.Enabled = false; + tsbBuildPatchesDatafile.Enabled = false; + tsbLoadOptions.Enabled = false; + tsbSaveOptions.Enabled = false; + tsbSaveLog.Enabled = false; + + // Disable all Options buttons. + txtPathROMsDir.Enabled = false; + txtPathPatchesDir.Enabled = false; + txtPathDatsDir.Enabled = false; + txtPathDatPPDXMLFile.Enabled = false; + txtPathXdeltaFile.Enabled = false; + txtXdeltaBuildCommand.Enabled = false; + txtDelimiter.Enabled = false; + txtMachineName.Enabled = false; + txtComment.Enabled = false; + cbSounds.Enabled = false; + cbLanguage.Enabled = false; + cbLogLevel.Enabled = false; + } + + /// + /// Exits the WinForm app. + /// + /// + /// + private void ExitApp_Click(object sender, EventArgs e) + { + Application.Exit(); + } + + #endregion + + #region Change Options Click Events + + /// + /// Changes the path to the ROMs directory. + /// + /// + /// + private void ChangePathRomsDir_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + if (txtPathROMsDir.Text == "") { txtPathROMsDir.Text = Path.Combine(Application.StartupPath, "ROMs"); } + + // Play a sound. + PlaySound("Confirm"); + + // Create and initialize a FolderBrowserDialog for the ROMs directory. + FolderBrowserDialog fbdPathRomsDir = new FolderBrowserDialog + { + ShowNewFolderButton = true, + Description = "Please enter a path to the ROMs directory: ", + SelectedPath = Path.Combine(Application.StartupPath, "ROMs") + }; + + // Determine if the user selected a folder name from the FolderBrowserDialog. + if (fbdPathRomsDir.ShowDialog() == DialogResult.OK) + { + // Set both variables for compatibility for Windows .Net and Mono. + pea.PathROMsDir = fbdPathRomsDir.SelectedPath; + txtPathROMsDir.Text = fbdPathRomsDir.SelectedPath; + } + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Changes the path to the patches directory. + /// + /// + /// + private void ChangePathPatchesDir_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + if (txtPathPatchesDir.Text == "") { txtPathPatchesDir.Text = Path.Combine(Application.StartupPath, "Patches"); } + + // Play a sound. + PlaySound("Confirm"); + + // Create and initialize a FolderBrowserDialog for the patches directory. + FolderBrowserDialog fbdPathPatchesDir = new FolderBrowserDialog + { + ShowNewFolderButton = true, + Description = "Please enter a path to the patches directory: ", + SelectedPath = Path.Combine(Application.StartupPath, "Patches") + }; + + // Determine if the user selected OK from the FolderBrowserDialog. + if (fbdPathPatchesDir.ShowDialog() == DialogResult.OK) + { + // Set both variables for compatibility for Windows .Net and Mono. + pea.PathPatchesDir = fbdPathPatchesDir.SelectedPath; + txtPathPatchesDir.Text = fbdPathPatchesDir.SelectedPath; + } + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Changes the path to the dats directory. + /// + /// + /// + private void ChangePathDatsDir_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + if (txtPathDatsDir.Text == "") { txtPathDatsDir.Text = Path.Combine(Application.StartupPath, "Dats"); } + + // Play a sound. + PlaySound("Confirm"); + + // Create and initialize a FolderBrowserDialog for the dats directory. + FolderBrowserDialog fbdPathDatsDir = new FolderBrowserDialog + { + ShowNewFolderButton = true, + Description = "Please enter a path to the dats directory: ", + SelectedPath = Path.Combine(Application.StartupPath, "Dats") + }; + + // Determine if the user selected a folder name from the FolderBrowserDialog. + if (fbdPathDatsDir.ShowDialog() == DialogResult.OK) + { + // Set both variables for compatibility for Windows .Net and Mono. + pea.PathDatsDir = fbdPathDatsDir.SelectedPath; + txtPathDatsDir.Text = fbdPathDatsDir.SelectedPath; + } + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Changes the path to the Dat/PPD/XML file. + /// + /// + /// + private void ChangePathDatPPDXMLFile_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Play a sound. + PlaySound("Confirm"); + + // Create and initialize an OpenFileDialog for the Dat/PPD/XML file. + OpenFileDialog ofdPathDatFile = new OpenFileDialog + { + DefaultExt = "*.dat", + Filter = "All Datafiles|*.dat;*.ppd;*.xml|DAT Files|*.dat|PPD Files|*.ppd|XML Files|*.xml", + Title = "Please enter a path to the Dat/PPD/XML file: ", + InitialDirectory = Path.Combine(Application.StartupPath, "Dats") + }; + + // Determine if the user selected a file name from the OpenFileDialog. + if (ofdPathDatFile.ShowDialog() == DialogResult.OK && ofdPathDatFile.FileName.Length > 0) + { + // Set both variables for compatibility for Windows .Net and Mono. + pea.PathDatPPDXMLFile = ofdPathDatFile.FileName; + txtPathDatPPDXMLFile.Text = ofdPathDatFile.FileName; + } + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Changes the path to the Xdelta file. + /// + /// + /// + private void ChangePathXdeltaFile_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Play a sound. + PlaySound("Confirm"); + + // Create and initialize an OpenFileDialog for the Xdelta file. + OpenFileDialog ofdPathXdeltaFile = new OpenFileDialog + { + DefaultExt = "*.exe", + Filter = "EXE Files|*.exe|BIN Files|*.bin", + Title = "Please enter a path to the Xdelta file: ", + InitialDirectory = Path.Combine(Application.StartupPath, "Xdelta") + }; + + // Determine if the user selected a file name from the OpenFileDialog. + if (ofdPathXdeltaFile.ShowDialog() == DialogResult.OK && ofdPathXdeltaFile.FileName.Length > 0) + { + // Set both variables for compatibility for Windows .Net and Mono. + pea.PathXdeltaFile = ofdPathXdeltaFile.FileName; + txtPathXdeltaFile.Text = ofdPathXdeltaFile.FileName; + } + + // Enable all buttons. + EnableAllButtons(); + } + + // Command must end with '-s' and should not contain '-v' + + #endregion + + #region View Click Events + + /// + /// Toggles the visibility of the log. + /// + private void ViewLog_Click(object sender, EventArgs e) + { + if (tsmiLog.Checked) + { + tsmiLog.Checked = false; + tsmiLog.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabLog); + } + else + { + tsmiLog.Checked = true; + tsmiLog.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabLog); + tcMain.SelectTab(tabLog); + } + } + + /// + /// Toggles the visibility of the options. + /// + private void ViewOptions_Click(object sender, EventArgs e) + { + if (tsmiOptions.Checked) + { + tsmiOptions.Checked = false; + tsmiOptions.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabOptions); + } + else + { + tsmiOptions.Checked = true; + tsmiOptions.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabOptions); + tcMain.SelectTab(tabOptions); + } + } + + /// + /// Toggles the visibility of the PPD Builder. + /// + private void ViewPPDBuilder_Click(object sender, EventArgs e) + { + if (tsmiPPDBuilder.Checked) + { + tsmiPPDBuilder.Checked = false; + tsmiPPDBuilder.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabPPDBuilder); + } + else + { + tsmiPPDBuilder.Checked = true; + tsmiPPDBuilder.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabPPDBuilder); + tcMain.SelectTab(tabPPDBuilder); + } + } + + /// + /// Toggles the visibility of the help. + /// + private void ViewHelp_Click(object sender, EventArgs e) + { + if (tsmiHelp.Checked) + { + tsmiHelp.Checked = false; + tsmiHelp.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabHelp); + } + else + { + tsmiHelp.Checked = true; + tsmiHelp.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabHelp); + tcMain.SelectTab(tabHelp); + } + } + + /// + /// Toggles the visibility of the license. + /// + private void ViewLicense_Click(object sender, EventArgs e) + { + if (tsmiLicense.Checked) + { + tsmiLicense.Checked = false; + tsmiLicense.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabLicense); + } + else + { + tsmiLicense.Checked = true; + tsmiLicense.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabLicense); + tcMain.SelectTab(tabLicense); + } + } + + /// + /// Toggles the visibility of the registration. + /// + private void ViewRegistration_Click(object sender, EventArgs e) + { + if (tsmiRegistration.Checked) + { + tsmiRegistration.Checked = false; + tsmiRegistration.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabRegistration); + } + else + { + tsmiRegistration.Checked = true; + tsmiRegistration.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabRegistration); + tcMain.SelectTab(tabRegistration); + } + } + + /// + /// Toggles the visibility of the Donations. + /// + private void ViewDonations_Click(object sender, EventArgs e) + { + if (tsmiDonations.Checked) + { + tsmiDonations.Checked = false; + tsmiDonations.CheckState = CheckState.Unchecked; + tcMain.TabPages.Remove(tabDonations); + } + else + { + tsmiDonations.Checked = true; + tsmiDonations.CheckState = CheckState.Checked; + tcMain.TabPages.Add(tabDonations); + tcMain.SelectTab(tabDonations); + } + } + + /// + /// Toggles the visibility of the toolbar. + /// + private void ViewToolbar_Click(object sender, EventArgs e) + { + if (tsMain.Visible) + { + tsMain.Visible = false; + tsmiToolbar.Checked = false; + } + else + { + tsMain.Visible = true; + tsmiToolbar.Checked = true; + } + } + + #endregion + + #region Form Events + + /// + /// Form Shown + /// + /// + /// + private void Form_Shown(object sender, EventArgs e) + { + // Perform the startup tasks. + bgwStartupTasks.RunWorkerAsync(); + } + + /// + /// Check some things to make sure it is safe to exit the WinForms application. + /// + /// + /// + private void Form_FormClosing(object sender, FormClosingEventArgs e) + { + if (bgwBuildROMs.IsBusy == true || bgwBuildPatches.IsBusy == true || bgwBuildDatafile.IsBusy == true) + { + if (MessageBox.Show("The builder is currently running. Exiting now may cause corrupt or incomplete files! Are you sure you want to exit now?", "Confirm Exit", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK) + { + e.Cancel = true; + } + } + } + + #endregion + + #region Sounds + + /// + /// Plays a Resource sound file. + /// + /// + private void PlaySound(string strSoundName) + { + // Check to see if the sounds are turned on. + if (pea.Sounds == "On") + { + // Create a new SoundPlayer object. + SoundPlayer soundPlayer = new SoundPlayer(); + + // Set the stream resource. + if (strSoundName == "Confirm") + { + soundPlayer.Stream = Properties.Resources.Confirm; + } + if (strSoundName == "Fail") + { + soundPlayer.Stream = Properties.Resources.Fail; + } + if (strSoundName == "AddRemove") + { + soundPlayer.Stream = Properties.Resources.AddRemove; + } + if (strSoundName == "Complete") + { + soundPlayer.Stream = Properties.Resources.Complete; + } + + // Play the sound. + soundPlayer.Play(); + } + } + + #endregion + + #region Build ROMs + + /// + /// Builds all possible ROMs from all supplied patches. + /// + /// + /// + private void BuildROMs_Click(object sender, EventArgs e) + { + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Disable all buttons. + DisableAllButtons(); + + // Enable the cancel button. + tssbCancel.Enabled = true; + + // Change the log background color. + rtbLog.BackColor = Color.LightGreen; + + // Update the status message label. + UpdateStatusMessageLabel("Building ROMs ..."); + + // Build ROMs. + bgwBuildROMs.RunWorkerAsync(); + } + + /// + /// Does the work for the Build ROMs bgw process. + /// + /// + /// + private void BuildROMs_DoWork(object sender, DoWorkEventArgs e) + { + try + { + if (e != null && e.Cancel == true) + { + // Do nothing. + } + else + { + // Print to screen + Log.Information("Building all possible ROMs ..."); + + // Declarations + BackgroundWorker worker = sender as BackgroundWorker; // Background worker + int intProgress = 0; // Background worker progress + bool boolExitFlag = false; // Exit flag + int intCounterTotalBuilt = 0; // Total built counter + int intCountArrDirFiles = 0; // Total loop count + string strPathRomsDir = pea.PathROMsDir; // Path to the ROMs directory + string strPathPatchesDir = pea.PathPatchesDir; // Path to the Patches directory + string strPathXdeltaFile = pea.PathXdeltaFile; // Path to the Xdelta file + string strDelimiter = pea.Delimiter; // Delimiter + + // Checkers + bool boolPathROMsDirCheck = pea.PathROMsDirCheck(); + bool boolPathPatchesDirCheck = pea.PathPatchesDirCheck(); + bool boolPathXdeltaFileCheck = pea.PathXdeltaFileCheck(); + + // Check the paths and directories. + if (boolPathROMsDirCheck == false && boolPathPatchesDirCheck == false && boolPathXdeltaFileCheck == false) + { + // Print to screen + Log.Information("Options: ROMs Directory (" + strPathRomsDir + ")"); + Log.Information("Options: Patches Directory (" + strPathPatchesDir + ")"); + Log.Information("Options: Xdelta File (" + strPathXdeltaFile + ")"); + Log.Information("Options: Delimiter (" + strDelimiter + ")"); + + // Get the directory files array and count. + string[] arrDirFiles = Directory.GetFiles(strPathPatchesDir, "*.xd3"); + intCountArrDirFiles = arrDirFiles.Count(); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Main loop - Build all possible ROMs from all supplied patches. + while (intCountArrDirFiles > 0 && boolExitFlag == false) + { + // Set the exit flag to true. + boolExitFlag = true; + + // Loop through the patches directory files array. + foreach (string strPatchName in arrDirFiles) + { + // Explode the patch filename. + string strPatchNameNew = Path.GetFileName(strPatchName); + string[] arrDelimiters = { strDelimiter }; + string[] arrPatchNames = strPatchNameNew.Split(arrDelimiters, StringSplitOptions.RemoveEmptyEntries); + + // Check for source and destination parts. + if (arrPatchNames.Count() > 1) + { + // Rename the source and destination file. + string strPatchNameSrc = arrPatchNames[0]; + string strPatchNameDest = arrPatchNames[1].Replace(".xd3", ""); + + // If the source file exists and the destination file doesn't exist, build the destination file. + if (File.Exists(Path.Combine(strPathRomsDir, strPatchNameSrc)) == true && File.Exists(Path.Combine(strPathRomsDir, strPatchNameDest)) == false) + { + // Print to screen + Log.Information("Building: " + strPatchNameDest); + Log.Information("From: " + strPatchNameSrc); + UpdateStatusMessageLabel("Building " + (intCounterTotalBuilt + 1) + " of " + intCountArrDirFiles + " ROMs from patches dir ..."); + + // Build the ROM. + Process pProcess = new Process(); + pProcess.StartInfo.UseShellExecute = false; + pProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; + pProcess.StartInfo.CreateNoWindow = true; + pProcess.StartInfo.RedirectStandardInput = true; + pProcess.StartInfo.RedirectStandardOutput = true; + pProcess.StartInfo.RedirectStandardError = true; + pProcess.StartInfo.FileName = strPathXdeltaFile; + pProcess.StartInfo.Arguments = "-d -s \"" + Path.Combine(strPathRomsDir, strPatchNameSrc) + "\" \"" + Path.Combine(strPathPatchesDir, strPatchNameNew) + "\" \"" + Path.Combine(strPathRomsDir, strPatchNameDest) + "\""; + pProcess.Start(); + string strError = pProcess.StandardError.ReadToEnd(); + pProcess.WaitForExit(); + + // This isn't the preferred way to check for errors. + if (strError == "") + { + // Increment the counter and progress bar. + intCounterTotalBuilt++; + intProgress = (int)((double)intCounterTotalBuilt / (double)intCountArrDirFiles * 100); + worker.ReportProgress(intProgress); + boolExitFlag = false; + } + else + { + // Print the output of Xdelta to the screen. + Log.Error("Bad patch (" + strPatchNameNew + ")"); + Log.Error(strError); + } + } + } + else + { + // Print to screen + Log.Error("Bad patch name (" + arrPatchNames[0] + ")"); + } + + // Check if the background worker is pending cancellation. + if (worker.CancellationPending == true) + { + boolExitFlag = true; + e.Cancel = true; + break; + } + } + } + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information("" + intCounterTotalBuilt + " ROMs built successfully in " + stopWatch.Elapsed); + } + + // Print to screen + Log.Information("Building all possible ROMs completed"); + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Building all possible ROMs failed"); + Log.Error("" + ex.Message); + } + } + + /// + /// Changes the progress of the Build ROMs bgw process. + /// + /// + /// + private void BuildROMs_ProgressChanged(object sender, ProgressChangedEventArgs e) + { + // Display the changed progress status. + UpdateStatusBuildProgress(e.ProgressPercentage); + } + + /// + /// Completes the Build ROMs bgw process. + /// + /// + /// + private void BuildROMs_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + if (e.Cancelled) + { + // Print to screen. + Log.Information("Building all possible ROMs canceled"); + Log.Information("Ready"); + } + else if (e.Error != null) + { + // Print to screen. + Log.Error("Building all possible ROMs failed"); + Log.Error("" + e.Error.Message); + Log.Information("Ready"); + } + else + { + // Print to screen. + Log.Information("Ready"); + } + + // Reset the log background color. + rtbLog.BackColor = SystemColors.Control; + + // Enable all buttons. + EnableAllButtons(); + + // Reset the progress status. + UpdateStatusBuildProgress(0); + + // Update the status message label. + UpdateStatusMessageLabel("Ready"); + + // Disable the cancel button. + tssbCancel.Enabled = false; + + // Play a sound. + PlaySound("Complete"); + } + + #endregion + + #region Build Patches + + /// + /// Builds all possible patches from all supplied ROMs and a datafile. + /// + /// + /// + private void BuildPatches_Click(object sender, EventArgs e) + { + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Disable all buttons. + DisableAllButtons(); + + // Enable the cancel button. + tssbCancel.Enabled = true; + + // Change the log background color. + rtbLog.BackColor = Color.LightGreen; + + // Update the status message label. + UpdateStatusMessageLabel("Building Patches ..."); + + // Build patches. + bgwBuildPatches.RunWorkerAsync(); + } + + /// + /// Does the work for the Build Patches bgw process. + /// + /// + /// + private void BuildPatches_DoWork(object sender, DoWorkEventArgs e) + { + try + { + if (e != null && e.Cancel == true) + { + // Do nothing. + } + else + { + // Print to screen + Log.Information("Info: Building all possible patches ..."); + + // Declarations + BackgroundWorker worker = sender as BackgroundWorker; // Background worker + int intProgress = 0; // Background worker progress + int intCounterTotalBuilt = 0; // Total built counter + int intCountXdocPatches = 0; // Total loop counter + string strPathXdeltaFile = pea.PathXdeltaFile; // Path to the Xdelta file + string strXdeltaBuildCommand = pea.XdeltaBuildCommand; // Xdelta build command + string strPathDatPPDXMLFile = pea.PathDatPPDXMLFile; // Path to the Dat/PPD/XML file + string strPathRomsDir = pea.PathROMsDir; // Path to the ROMs directory + string strPathPatchesDir = pea.PathPatchesDir; // Path to the Patches directory + string strDelimiter = pea.Delimiter; // Delimiter + + // Checkers + bool boolPathROMsDirCheck = pea.PathROMsDirCheck(); + bool boolPathPatchesDirCheck = pea.PathPatchesDirCheck(); + bool boolPathXdeltaFileCheck = pea.PathXdeltaFileCheck(); + bool boolPathDatPPDXMLFileCheck = pea.PathDatPPDXMLFileCheck(); + + // Check the paths and directories. + if (boolPathROMsDirCheck == false && boolPathPatchesDirCheck == false && boolPathXdeltaFileCheck == false && boolPathDatPPDXMLFileCheck == false) + { + // Print to screen + Log.Information("Options: ROMs Directory (" + strPathRomsDir + ")"); + Log.Information("Options: Patches Directory (" + strPathPatchesDir + ")"); + Log.Information("Options: Dat/PPD/XML File (" + strPathDatPPDXMLFile + ")"); + Log.Information("Options: Xdelta File (" + strPathXdeltaFile + ")"); + Log.Information("Options: Xdelta Build Command (" + strXdeltaBuildCommand + ")"); + + // Get the patches XDocument from the dat file and count. + XDocument xdocPatches = new XDocument(); + xdocPatches = XDocument.Load(strPathDatPPDXMLFile); + intCountXdocPatches = xdocPatches.Descendants("rom").Count(); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Main Loop - Build the patches from the datafile and all supplied ROMs. + if (intCountXdocPatches > 0) + { + // Loop through the rom elements. + foreach (XElement xmlRom in xdocPatches.Descendants("rom")) + { + // Get the XML decoded patch name. + string strPatchName = xmlRom.Attribute("name").Value; + + // Explode the patch filename. + string[] arrDelimiters = { strDelimiter }; + string[] arrPatchNames = strPatchName.Split(arrDelimiters, StringSplitOptions.RemoveEmptyEntries); + + // Check for source and destination parts. + if (arrPatchNames.Count() > 1) + { + // Rename the source and destination file. + string strPatchNameSrc = arrPatchNames[0]; + string strPatchNameDest = arrPatchNames[1].Replace(".xd3", ""); + + // If the source file exists, the destination file exists and the patch doesn't exist, build the patch. + if (File.Exists(Path.Combine(strPathRomsDir, strPatchNameSrc)) == true && File.Exists(Path.Combine(strPathRomsDir, strPatchNameDest)) == true && File.Exists(Path.Combine(strPathPatchesDir, strPatchName)) == false) + { + // Print to screen + Log.Information("Building: " + strPatchName); + UpdateStatusMessageLabel("Building " + (intCounterTotalBuilt + 1) + " of " + intCountXdocPatches + " patches from datafile ..."); + + // Build the patch. + Process pProcess = new Process(); + pProcess.StartInfo.UseShellExecute = false; + pProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; + pProcess.StartInfo.CreateNoWindow = true; + pProcess.StartInfo.RedirectStandardInput = true; + pProcess.StartInfo.RedirectStandardOutput = true; + pProcess.StartInfo.RedirectStandardError = true; + pProcess.StartInfo.FileName = strPathXdeltaFile; + pProcess.StartInfo.Arguments = strXdeltaBuildCommand + " \"" + Path.Combine(strPathRomsDir, strPatchNameSrc) + "\" \"" + Path.Combine(strPathRomsDir, strPatchNameDest) + "\" \"" + Path.Combine(strPathPatchesDir, strPatchName) + "\""; + pProcess.Start(); + string strError = pProcess.StandardError.ReadToEnd(); + pProcess.WaitForExit(); + + // This isn't the preferred way to check for errors. + if (strError == "") + { + // Increment the counter and progress bar. + intCounterTotalBuilt++; + intProgress = (int)((double)intCounterTotalBuilt / (double)intCountXdocPatches * 100); + worker.ReportProgress(intProgress); + } + else + { + // Print the output of Xdelta to the screen. + Log.Information("Bad patch (" + strPatchName + ")"); + Log.Information(strError); + } + } + } + else + { + // Print to screen + Log.Information("Bad patch name (" + arrPatchNames[0] + ")"); + } + + // Check if the background worker is pending cancellation. + if (worker.CancellationPending == true) + { + e.Cancel = true; + break; + } + } + } + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information(intCounterTotalBuilt + " Patches built successfully in " + stopWatch.Elapsed); + } + + // Print to screen + Log.Information("Building all possible patches completed"); + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Building all possible patches failed"); + Log.Error(ex.Message); + } + } + + /// + /// Changes the progress of the Build ROMs bgw process. + /// + /// + /// + private void BuildPatches_ProgressChanged(object sender, ProgressChangedEventArgs e) + { + // Display the changed progress status. + UpdateStatusBuildProgress(e.ProgressPercentage); + } + + /// + /// Completes the Build ROMs bgw process. + /// + /// + /// + private void BuildPatches_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + if (e.Cancelled) + { + // Print to screen. + Log.Information("Building all possible patches canceled"); + Log.Information("Ready"); + } + else if (e.Error != null) + { + // Print to screen. + Log.Error("Building all possible patches failed"); + Log.Error("" + e.Error.Message); + Log.Information("Ready"); + } + else + { + // Print to screen. + Log.Information("Ready"); + } + + // Reset the log background color. + rtbLog.BackColor = SystemColors.Control; + + // Enable all buttons. + EnableAllButtons(); + + // Reset the progress status. + UpdateStatusBuildProgress(0); + + // Update the status message label. + UpdateStatusMessageLabel("Ready"); + + // Disable the cancel button. + tssbCancel.Enabled = false; + + // Play a sound. + PlaySound("Complete"); + } + + #endregion + + #region Build Patches Datafile + + /// + /// Builds a datafile from the patches directory. + /// + /// + /// + private void BuildPatchesDatafile_Click(object sender, EventArgs e) + { + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Disable all buttons. + DisableAllButtons(); + + // Enable the cancel button. + tssbCancel.Enabled = true; + + // Change the log background color. + rtbLog.BackColor = Color.LightGreen; + + // Update the status message label. + UpdateStatusMessageLabel("Building Patches Datafile ..."); + + // Build patches datafile. + bgwBuildDatafile.RunWorkerAsync(); + } + + /// + /// Does the work for the Build Patches Datafile bgw process. + /// + /// + /// + private void BuildDatafile_DoWork(object sender, DoWorkEventArgs e) + { + try + { + if (e != null && e.Cancel == true) + { + // Do nothing. + } + else + { + // Print to screen + Log.Information("Building patches datafile ..."); + + // Declarations + BackgroundWorker worker = sender as BackgroundWorker; // Background worker + int intProgress = 0; // Background worker progress + int intCounterTotalBuilt = 0; // Total built counter + int intCountArrDirFiles = 0; // Total loop count + string strPathPatchesDir = pea.PathPatchesDir; // Path to the Patches directory + string strPathDatsDir = pea.PathDatsDir; // Path to the Dats directory + string strName = pea.MachineName; // Datafile name + string strVersion = DateTime.Now.ToString("yyyyMMdd HHmmss"); // Datafile version + string strDate = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss"); // Datafile date + string strDescription = pea.MachineName + " - Patches (0) (" + strVersion + ")"; // Datafile description + string strCategory = "Patches"; // Datafile category + string strAuthor = pea.AppName + " v" + pea.AppVersion; // Datafile author + string strComment = pea.Comment; // Datafile comment + string strPathSaveFilename = ""; // Path to the new datafile + string strXdeltaFile = Path.GetFileName(pea.PathXdeltaFile); // Datafile Xdelta file + string strXdeltaBuildCommand = pea.XdeltaBuildCommand; // Datafile Xdelta build command + string strMachineName = pea.MachineName + " - Patches"; // Datafile machine name + + // Checkers + bool boolPathDatsDirCheck = pea.PathDatsDirCheck(); + bool boolPathPatchesDirCheck = pea.PathPatchesDirCheck(); + + // Check the paths and directories. + if (boolPathDatsDirCheck == false && boolPathPatchesDirCheck == false) + { + // Print to screen + Log.Information("Options: Patches Directory (" + strPathPatchesDir + ")"); + Log.Information("Options: Dats Directory (" + strPathDatsDir + ")"); + Log.Information("Options: Dat Name (" + strName + ")"); + Log.Information("Options: Dat Category (" + strCategory + ")"); + Log.Information("Options: Dat Date (" + strDate + ")"); + Log.Information("Options: Dat Comment (" + strComment + ")"); + Log.Information("Options: Xdelta File (" + strXdeltaFile + ")"); + Log.Information("Options: Xdelta Build Command (" + strXdeltaBuildCommand + ")"); + + // Get the directory files array and count. + string[] arrDirFiles = Directory.GetFiles(strPathPatchesDir, "*.xd3"); + intCountArrDirFiles = arrDirFiles.Count(); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Main loop - Build a datafile from the patches directory files. + if (intCountArrDirFiles > 0) + { + // Create a new datafile XDocument. + XDocument xdocDatafile = new XDocument( + new XDeclaration("1.0", "utf-8", "yes"), + new XElement("datafile", + new XElement("header", + new XElement("name", strName), + new XElement("description", strDescription), + new XElement("category", strCategory), + new XElement("version", strVersion), + new XElement("date", strDate), + new XElement("author", strAuthor), + new XElement("comment", strComment), + new XElement("buildemall", + new XAttribute("xdeltafile", strXdeltaFile), + new XAttribute("xdeltabuildcommand", strXdeltaBuildCommand) + ) + ) + ) + ); + + // Loop through the directory files array. + foreach (string strPathFile in arrDirFiles) + { + // Get the patch filesize and filename. + string strRomFilename = Path.GetFileName(strPathFile); + string strRomFileSize = new FileInfo(strPathFile).Length.ToString(); + + // Print to screen + Log.Information("Adding: " + strRomFilename); + UpdateStatusMessageLabel("Adding " + (intCounterTotalBuilt + 1) + " of " + intCountArrDirFiles + " patches to datafile ..."); + + // Get the game name, category and description. + string strGameName = Path.GetFileNameWithoutExtension(strPathFile); + string strGameCategory = "Patches"; + string strGameDescription = Path.GetFileNameWithoutExtension(strPathFile); + + // Get the patch hashes. + byte[] arrRomFileHashSHA1 = new SHA1CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + byte[] arrRomFileHashMD5 = new MD5CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + byte[] arrRomFileHashCRC = new PatchEmAll.CRC32CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashSHA1 = BitConverter.ToString(arrRomFileHashSHA1).Replace("-", "").ToLower(); + string strRomFileHashMD5 = BitConverter.ToString(arrRomFileHashMD5).Replace("-", "").ToLower(); + string strRomFileHashCRC = BitConverter.ToString(arrRomFileHashCRC).Replace("-", "").ToLower(); + + // Add the patch file to the datafile XDocument. + xdocDatafile.Element("datafile").Add( + new XElement("game", + new XAttribute("name", strGameName), + new XElement("category", strGameCategory), + new XElement("description", strGameDescription), + new XElement("rom", + new XAttribute("name", strRomFilename), + new XAttribute("size", strRomFileSize), + new XAttribute("crc", strRomFileHashCRC), + new XAttribute("md5", strRomFileHashMD5), + new XAttribute("sha1", strRomFileHashSHA1) + ) + ) + ); + + // Increment the counter. + intCounterTotalBuilt++; + intProgress = (int)((double)intCounterTotalBuilt / (double)intCountArrDirFiles * 100); + worker.ReportProgress(intProgress); + + // Check if the background worker is pending cancellation. + if (worker.CancellationPending == true) + { + e.Cancel = true; + break; + } + } + + // Modify the datafile header elements and filename. + xdocDatafile.Element("datafile").Element("header").Element("description").Value = strMachineName + " (" + intCounterTotalBuilt + ") (" + strVersion + ")"; + strPathSaveFilename = Path.Combine(strPathDatsDir, strMachineName + " (" + intCounterTotalBuilt + ") (" + strVersion + ").dat"); + + // Save the contents of the datafile XDocument to the file. + xdocDatafile.Save(strPathSaveFilename); + } + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information("" + intCounterTotalBuilt + " patches added to datafile successfully in " + stopWatch.Elapsed); + } + + // Print to screen + Log.Information("Building patches datafile completed"); + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Building patches datafile failed"); + Log.Error(ex.Message); + } + } + + /// + /// Changes the progress of the Build Patches Datafile bgw process. + /// + /// + /// + private void BuildDatafile_ProgressChanged(object sender, ProgressChangedEventArgs e) + { + // Display the changed progress status. + UpdateStatusBuildProgress(e.ProgressPercentage); + } + + /// + /// Completes the Build Patches Datafile bgw process. + /// + /// + /// + private void BuildDatafile_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + if (e.Cancelled) + { + // Print to screen. + Log.Information("Building patches datafile canceled"); + Log.Information("Ready"); + } + else if (e.Error != null) + { + // Print to screen. + Log.Error("Building patches datafile failed"); + Log.Error("" + e.Error.Message); + Log.Information("Ready"); + } + else + { + // Print to screen. + Log.Information("Ready"); + } + + // Reset the log background color. + rtbLog.BackColor = SystemColors.Control; + + // Enable all buttons. + EnableAllButtons(); + + // Reset the progress status. + UpdateStatusBuildProgress(0); + + // Update the status message label. + UpdateStatusMessageLabel("Ready"); + + // Disable the cancel button. + tssbCancel.Enabled = false; + + // Play a sound. + PlaySound("Complete"); + } + + #endregion + + #region PPD Builder + + /// + /// Updates the prepatch counter label. + /// + private void UpdateLblCountPrepatches() + { + // Update the prepatch counter label. + lblCountPrepatches.Text = lbPrepatches.Items.Count + " Prepatches"; + } + + /// + /// Adds the selected prepatch to the prepatches ListBox. + /// + /// + /// + private void AddPrepatch_Click(object sender, EventArgs e) + { + if (lbFromDat.SelectedItem != null && lbToDat.SelectedItem != null) + { + // Declarations + string strPrepatchName = lbFromDat.SelectedItem.ToString() + pea.Delimiter + lbToDat.SelectedItem.ToString() + ".xd3"; + + // Add the selected prepatch to the prepatches ListBox if it doesn't already exist. + if (lbPrepatches.Items.Contains(strPrepatchName) == false) + { + // Play a sound. + PlaySound("AddRemove"); + + // Add the prepatch to the Prepatches Listbox. + lbPrepatches.Items.Add(strPrepatchName); + + // Update the prepatches counter label. + UpdateLblCountPrepatches(); + + // Select the added item. + lbPrepatches.SelectedItem = strPrepatchName; + } + else + { + // Play a sound. + PlaySound("Fail"); + } + } + else + { + // Play a sound. + PlaySound("Fail"); + } + } + + /// + /// Removes the selected prepatch from the prepatches ListBox. + /// + /// + /// + private void RemovePrepatch_Click(object sender, EventArgs e) + { + if (lbPrepatches.SelectedItem != null) + { + // Play a sound. + PlaySound("AddRemove"); + + // Remove the selected prepatch from the prepatches ListBox. + lbPrepatches.Items.Remove(lbPrepatches.SelectedItem); + + // Update the prepatches counter label. + UpdateLblCountPrepatches(); + } + else + { + // Play a sound. + PlaySound("Fail"); + } + } + + /// + /// Removes all of the items from the prepatches ListBox. + /// + /// + /// + private void RemoveAllPrepatches_Click(object sender, EventArgs e) + { + // Clear all of the prepatches if any exist. + if (lbPrepatches.Items.Count > 0) + { + // Play a sound. + PlaySound("Confirm"); + + // Display a dialog box with a question icon and a default button. + DialogResult drClearPatches = MessageBox.Show("Are you sure you want to remove all prepatches?", + "Removal Warning", + MessageBoxButtons.YesNo, + MessageBoxIcon.Question, + MessageBoxDefaultButton.Button1); + + // Clear all of the items from the prepatches ListBox. + if (drClearPatches == DialogResult.Yes) + { + lbPrepatches.Items.Clear(); + } + + // Update the prepatches counter label. + UpdateLblCountPrepatches(); + } + else + { + // Play a sound. + PlaySound("Fail"); + } + } + + /// + /// Saves the PPD file. + /// + /// + /// + private void SavePPD_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Play a sound. + PlaySound("Confirm"); + + // Declarations + int intCountPrepatches = lbPrepatches.Items.Count; + string strName = pea.MachineName; + string strVersion = DateTime.Now.ToString("yyyyMMdd HHmmss"); + string strDescription = pea.MachineName + " - Prepatches (" + intCountPrepatches + ") (" + strVersion + ")"; + string strCategory = "Prepatches"; + string strDate = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss"); + string strAuthor = pea.AppName + " v" + pea.AppVersion; + string strComment = pea.Comment; + string strXdeltaFile = Path.GetFileName(pea.PathXdeltaFile); + string strXdeltaBuildCommand = pea.XdeltaBuildCommand; + string strPathDatsDir = pea.PathDatsDir; + string strPathSaveFilename = Path.Combine(strPathDatsDir, strDescription + ".ppd"); + + // Create and initialize a SaveFileDialog for the PPD. + SaveFileDialog sfdPPD = new SaveFileDialog + { + DefaultExt = "*.ppd", + Filter = "PPD Files|*.ppd", + FileName = strPathSaveFilename, + Title = "Please enter a path to the PPD file", + InitialDirectory = strPathDatsDir + }; + + // Determine if the user selected a file name from the SaveFileDialog. + if (sfdPPD.ShowDialog() == DialogResult.OK && sfdPPD.FileName.Length > 0) + { + try + { + // Create a new datafile XDocument. + XDocument xdocDatafile = new XDocument( + new XDeclaration("1.0", "utf-8", "yes"), + new XElement("datafile", + new XElement("header", + new XElement("name", strName), + new XElement("description", strDescription), + new XElement("category", strCategory), + new XElement("version", strVersion), + new XElement("date", strDate), + new XElement("author", strAuthor), + new XElement("comment", strComment), + new XElement("clrmamepro"), + new XElement("buildemall", + new XAttribute("xdeltafile", strXdeltaFile), + new XAttribute("xdeltabuildcommand", strXdeltaBuildCommand) + ) + ) + ) + ); + + // Loop through the prepatches. + foreach (string strPrepatchName in lbPrepatches.Items) + { + // Get the patch filesize and filename. + string strRomFilename = Path.GetFileName(strPrepatchName); + string strRomFileSize = "0"; + + // Get the game name, category and description. + string strGameName = Path.GetFileNameWithoutExtension(strPrepatchName); + string strGameCategory = "Patches"; + string strGameDescription = Path.GetFileNameWithoutExtension(strPrepatchName); + + // Get the patch hashes. + string strRomFileHashSHA1 = "0"; + string strRomFileHashMD5 = "0"; + string strRomFileHashCRC = "0"; + + // Add the patch file to the datafile XDocument. + xdocDatafile.Element("datafile").Add( + new XElement("game", + new XAttribute("name", strGameName), + new XElement("category", strGameCategory), + new XElement("description", strGameDescription), + new XElement("rom", + new XAttribute("name", strRomFilename), + new XAttribute("size", strRomFileSize), + new XAttribute("crc", strRomFileHashCRC), + new XAttribute("md5", strRomFileHashMD5), + new XAttribute("sha1", strRomFileHashSHA1) + ) + ) + ); + } + + // Save the contents of the PPD XDocument to the file. + xdocDatafile.Save(sfdPPD.FileName); + + // Print to screen + Log.Information("PPD Builder: Saved PPD file (" + sfdPPD.FileName + ")"); + Log.Information("Ready"); + } + catch (Exception ex) + { + // Print to screen + Log.Error("PPD Builder: Save PPD failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + } + } + + // Dispose of the SaveFileDialog. + sfdPPD.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Adds all of the patches from the ppd file into the lbPrepatches ListBox after clearing the ListBox. + /// + /// + /// + private void LoadPPD_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Play a sound. + PlaySound("Confirm"); + + // Declarations + string strPathDatsDir = pea.PathDatsDir; // Datafile dats directory path + + // Create and initialize an OpenFileDialog for the ppd file. + OpenFileDialog ofdPathDatFile = new OpenFileDialog + { + DefaultExt = "*.ppd", + Filter = "PPD Files|*.ppd", + Title = "Please enter a path to the PPD file", + InitialDirectory = strPathDatsDir + }; + + // Determine if the user selected a file name from the OpenFileDialog. + if (ofdPathDatFile.ShowDialog() == DialogResult.OK && ofdPathDatFile.FileName.Length > 0) + { + try + { + // Clear the ListBox. + lbPrepatches.Items.Clear(); + + // Load the prepatch names from the XML datafile. + XDocument xdocDatafile = XDocument.Load(ofdPathDatFile.FileName); + + // Add all of the the prepatch names to the lbPrepatches ListBox. + foreach (XElement xelemRom in xdocDatafile.Descendants("rom")) + { + // Add the selected prepatch to the prepatches ListBox if it doesn't already exist. + if (lbPrepatches.Items.Contains(xelemRom.Attribute("name").Value) == false) + { + lbPrepatches.Items.Add(xelemRom.Attribute("name").Value); + } + else + { + // Print to screen + Log.Information("PPD Builder: Removed duplicate prepatch: " + xelemRom.Attribute("name").Value); + } + } + + // Update the prepatches counter label. + UpdateLblCountPrepatches(); + + // Print to screen + Log.Information("PPD Builder: Loaded PPD file (" + ofdPathDatFile.FileName + ")"); + Log.Information("Ready"); + } + catch (Exception ex) + { + // Print to screen + Log.Error("PPD Builder: Load PPD failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + } + } + + // Dispose of the OpenFileDialog. + ofdPathDatFile.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Adds all of the ROM names from the dat file into the FromDat ListBox and the ToDat ListBox after clearing the FromDat and ToDat ListBoxes. + /// + /// + /// + private void LoadDat_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Play a sound. + PlaySound("Confirm"); + + // Declarations + string strPathDatsDir = pea.PathDatsDir; // Datafile dats directory path + + // Create and initialize an OpenFileDialog for the dat file. + OpenFileDialog ofdPathDatFile = new OpenFileDialog + { + DefaultExt = "*.dat", + Filter = "DAT Files|*.dat|XML Files|*.xml", + Title = "Please enter a path to the dat file", + InitialDirectory = strPathDatsDir + }; + + // Determine if the user selected a file name from the OpenFileDialog. + if (ofdPathDatFile.ShowDialog() == DialogResult.OK && ofdPathDatFile.FileName.Length > 0) + { + try + { + // Load the ROM names from the XML datafile. + XDocument xdocDatafile = XDocument.Load(ofdPathDatFile.FileName); + + // Clear the ListBoxes. + lbFromDat.Items.Clear(); + lbToDat.Items.Clear(); + + // Add all of the the ROM names to the FromDat ListBox. + foreach (XElement xelemRom in xdocDatafile.Descendants("rom")) + { + // Add the ROM name. + lbFromDat.Items.Add(xelemRom.Attribute("name").Value); + } + + // Add all of the the ROM names to the ToDat ListBox. + foreach (XElement xelemRom in xdocDatafile.Descendants("rom")) + { + // Add the ROM name. + lbToDat.Items.Add(xelemRom.Attribute("name").Value); + } + + // Update the loaded datafile textbox. + txtLoadedDatafile.Text = ofdPathDatFile.FileName; + + // Print to screen + Log.Information("PPD Builder: Loaded dat file (" + ofdPathDatFile.FileName + ")"); + Log.Information("Ready"); + } + catch (Exception ex) + { + // Print to screen + Log.Error("PPD Builder: Load Dat failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + } + } + + // Dispose of the OpenFileDialog. + ofdPathDatFile.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Checks the prepatches. + /// + /// + /// + private void CheckPrepatches_Click(object sender, EventArgs e) + { + // Select the Log tab + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Disable all buttons. + DisableAllButtons(); + + // Change the log background color. + rtbLog.BackColor = Color.LightGreen; + + // Print to screen + Log.Information("PPD Builder: Checking prepatches ..."); + + // Check prepatches. + foreach (string strPrepatchName in lbPrepatches.Items) + { + // Explode the prepatch name. + string[] arrDelimiters = { pea.Delimiter }; + string[] arrPrepatchNames = strPrepatchName.Split(arrDelimiters, StringSplitOptions.RemoveEmptyEntries); + + // Check for source and destination parts. + if (arrPrepatchNames.Count() > 1) + { + // Set the source and destination ROM names. + string strPrepatchNameSrc = arrPrepatchNames[0]; + string strPrepatchNameDest = arrPrepatchNames[1].Replace(".xd3", ""); + + // Set the opposite prepatch name. + string strPrepatchNameOpposite = strPrepatchNameDest + pea.Delimiter + strPrepatchNameSrc + ".xd3"; + + // Check if the opposite prepatch exists. + if (lbPrepatches.Items.Contains(strPrepatchNameOpposite) == false) + { + // Print to screen + Log.Warning("PPD Builder: Missing opposite prepatch: " + strPrepatchNameOpposite); + } + + // Check if a dat has been loaded. + if (lbFromDat.Items.Count > 0 && lbToDat.Items.Count > 0) + { + // Check for bad prepatch ROM names. + if (lbFromDat.Items.Contains(strPrepatchNameSrc) == false || lbToDat.Items.Contains(strPrepatchNameDest) == false) + { + // Print to screen + Log.Error("PPD Builder: Bad prepatch ROM name in: " + strPrepatchName); + } + } + + // Check for self prepatches. + if (strPrepatchNameSrc == strPrepatchNameDest) + { + // Print to screen + Log.Error("PPD Builder: Bad self prepatch: " + strPrepatchName); + } + } + else + { + // Print to screen + Log.Error("PPD Builder: Bad prepatch name: " + strPrepatchName); + } + } + + // Print to screen + Log.Information("PPD Builder: Checking prepatches completed"); + Log.Information("Ready"); + + // Reset the log background color. + rtbLog.BackColor = SystemColors.Control; + + // Enable all buttons. + EnableAllButtons(); + + // Play a sound. + PlaySound("Complete"); + } + + #endregion + } +} diff --git a/PatchEmAll-GUI/FrmPatchEmAll.resx b/PatchEmAll-GUI/FrmPatchEmAll.resx new file mode 100644 index 0000000..093d3c3 --- /dev/null +++ b/PatchEmAll-GUI/FrmPatchEmAll.resx @@ -0,0 +1,3544 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + Top, Bottom, Left, Right + + + + 6, 6 + + + Horizontal + + + Fill + + + 0, 0 + + + Top, Left, Right + + + 93, 7 + + + 289, 20 + + + + 2 + + + txtLoadedDatafile + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel1 + + + 0 + + + Top, Bottom, Left, Right + + + 3, 35 + + + 379, 186 + + + 1 + + + lbFromDat + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel1 + + + 1 + + + NoControl + + + 3, 3 + + + 84, 26 + + + 0 + + + Load Dat + + + ImageBeforeText + + + btnLoadDat + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel1 + + + 2 + + + splitContainer5.Panel1 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5 + + + 0 + + + Top, Bottom, Left, Right + + + 3, 35 + + + 379, 186 + + + 3 + + + lbToDat + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel2 + + + 0 + + + Top, Right + + + NoControl + + + 232, 3 + + + 150, 26 + + + 2 + + + Remove All Prepatches + + + ImageBeforeText + + + btnRemoveAllPrepatches + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel2 + + + 1 + + + Top, Right + + + NoControl + + + 3, 3 + + + 98, 26 + + + 0 + + + Add Prepatch + + + ImageBeforeText + + + btnAddPrepatch + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel2 + + + 2 + + + Top, Right + + + NoControl + + + 107, 3 + + + 119, 26 + + + 1 + + + Remove Prepatch + + + ImageBeforeText + + + btnRemovePrepatch + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5.Panel2 + + + 3 + + + splitContainer5.Panel2 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer5 + + + 1 + + + 774, 224 + + + 385 + + + 0 + + + splitContainer5 + + + System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4.Panel1 + + + 0 + + + splitContainer4.Panel1 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4 + + + 0 + + + Top, Bottom, Left, Right + + + 3, 35 + + + 768, 134 + + + 4 + + + lbPrepatches + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4.Panel2 + + + 0 + + + NoControl + + + 3, 3 + + + 84, 26 + + + 0 + + + Load PPD + + + ImageBeforeText + + + btnLoadPPD + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4.Panel2 + + + 1 + + + Top, Right + + + NoControl + + + 429, 5 + + + 214, 23 + + + 3 + + + 0 Prepatches + + + MiddleRight + + + lblCountPrepatches + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4.Panel2 + + + 2 + + + NoControl + + + 93, 3 + + + 84, 26 + + + 1 + + + Save PPD + + + ImageBeforeText + + + btnSavePPD + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4.Panel2 + + + 3 + + + Top, Right + + + NoControl + + + 649, 3 + + + 122, 26 + + + 2 + + + Check Prepatches + + + ImageBeforeText + + + btnCheckPrepatches + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4.Panel2 + + + 4 + + + splitContainer4.Panel2 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + splitContainer4 + + + 1 + + + 774, 403 + + + 224 + + + 1 + + + splitContainer4 + + + System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabPPDBuilder + + + 0 + + + 17, 17 + + + 0, 0 + + + 794, 24 + + + 0 + + + msMain + + + msMain + + + System.Windows.Forms.MenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + + + 80, 20 + + + PatchEmAll + + + False + + + 188, 22 + + + Build ROMs + + + False + + + 188, 22 + + + Build Patches + + + False + + + 188, 22 + + + Build Patches Datafile + + + 185, 6 + + + False + + + 188, 22 + + + Load Options + + + False + + + 188, 22 + + + Save Options + + + 185, 6 + + + False + + + 188, 22 + + + Save Log + + + 185, 6 + + + 188, 22 + + + Exit + + + 44, 20 + + + View + + + 137, 22 + + + Log + + + 134, 6 + + + 137, 22 + + + Options + + + 134, 6 + + + 137, 22 + + + PPD Builder + + + 134, 6 + + + 137, 22 + + + Help + + + 134, 6 + + + 137, 22 + + + License + + + 134, 6 + + + 137, 22 + + + Donations + + + 134, 6 + + + 137, 22 + + + Registration + + + 134, 6 + + + 137, 22 + + + Toolbar + + + 112, 17 + + + 0, 24 + + + 794, 39 + + + 1 + + + tsMain + + + tsMain + + + System.Windows.Forms.ToolStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + + + False + + + Magenta + + + 36, 36 + + + Build ROMs + + + False + + + Magenta + + + 36, 36 + + + Build Patches + + + False + + + Magenta + + + 36, 36 + + + Build Patches Datafile + + + 6, 39 + + + False + + + Magenta + + + 36, 36 + + + Load Options + + + False + + + Magenta + + + 36, 36 + + + Save Options + + + 6, 39 + + + False + + + Magenta + + + 36, 36 + + + Save Log + + + 6, 39 + + + Magenta + + + 36, 36 + + + Log + + + Magenta + + + 36, 36 + + + Options + + + Magenta + + + 36, 36 + + + PPD Builder + + + Magenta + + + 36, 36 + + + Help + + + Magenta + + + 36, 36 + + + License + + + Magenta + + + 36, 36 + + + Donations + + + Magenta + + + 36, 36 + + + Registration + + + Magenta + + + 36, 36 + + + Toolbar + + + 200, 17 + + + 0, 504 + + + 794, 22 + + + 2 + + + ssMain + + + ssMain + + + System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 1 + + + 406, 17 + + + 150, 17 + + + Performing Startup Tasks ... + + + 200, 16 + + + False + + + Magenta + + + 21, 20 + + + Cancel + + + rtbLog + + + Serilog.Sinks.LogEmAll.RichTextBoxLog, Serilog.Sinks.LogEmAll, Version=0.0.5.0, Culture=neutral, PublicKeyToken=null + + + tabLog + + + 0 + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 0 + + + Log + + + tabLog + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 0 + + + gbOptionsInfo + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabOptions + + + 0 + + + gbOptions + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabOptions + + + 1 + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 1 + + + Options + + + tabOptions + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 1 + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 2 + + + PPD Builder + + + tabPPDBuilder + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 2 + + + rtbHelp + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabHelp + + + 0 + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 3 + + + Help + + + tabHelp + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 3 + + + rtbLicense + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabLicense + + + 0 + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 4 + + + License + + + tabLicense + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 4 + + + rtbDonations + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabDonations + + + 0 + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 5 + + + Donations + + + tabDonations + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 5 + + + True + + + NoControl + + + 6, 16 + + + 356, 13 + + + 0 + + + Enter your username, email address and password and click Register App. + + + lblRegistrationInfo1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistrationInfo + + + 0 + + + 6, 144 + + + 774, 38 + + + 2 + + + Registration Info + + + gbRegistrationInfo + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabRegistration + + + 0 + + + Top, Left, Right + + + 2 + + + gbRegistration + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tlpRegistration + + + 0 + + + gbRegisterApp + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tlpRegistration + + + 1 + + + 6, 6 + + + 1 + + + 774, 132 + + + 0 + + + tlpRegistration + + + System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabRegistration + + + 1 + + + <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="gbRegistration" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="gbRegisterApp" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Percent,50,Percent,50" /><Rows Styles="Percent,50" /></TableLayoutSettings> + + + 4, 22 + + + 3, 3, 3, 3 + + + 786, 415 + + + 6 + + + Registration + + + tabRegistration + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcMain + + + 6 + + + Fill + + + 0, 63 + + + 794, 441 + + + 3 + + + tcMain + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + + + Top, Bottom, Left, Right + + + 6, 6 + + + 774, 403 + + + 0 + + + + + + rtbLog + + + Serilog.Sinks.LogEmAll.RichTextBoxLog, Serilog.Sinks.LogEmAll, Version=0.0.5.0, Culture=neutral, PublicKeyToken=null + + + tabLog + + + 0 + + + Top, Left, Right + + + lblOptionsInfo2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptionsInfo + + + 0 + + + lblOptionsInfo1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptionsInfo + + + 1 + + + 6, 346 + + + 774, 45 + + + 1 + + + Options Info + + + gbOptionsInfo + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabOptions + + + 0 + + + True + + + NoControl + + + 6, 29 + + + 357, 13 + + + 1 + + + To change the language or log level, save the options and restart the app. + + + lblOptionsInfo2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptionsInfo + + + 0 + + + True + + + NoControl + + + 6, 16 + + + 297, 13 + + + 0 + + + Xdelta Command must end with '-s' and should not contain '-v' + + + lblOptionsInfo1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptionsInfo + + + 1 + + + Top, Left, Right + + + cbLogLevel + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 0 + + + cbLanguage + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 1 + + + cbSounds + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 2 + + + lblLogLevel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 3 + + + lblLanguage + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 4 + + + txtComment + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 5 + + + txtMachineName + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 6 + + + txtDelimiter + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 7 + + + txtXdeltaBuildCommand + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 8 + + + txtPathXdeltaFile + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 9 + + + txtPathDatPPDXMLFile + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 10 + + + txtPathDatsDir + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 11 + + + txtPathPatchesDir + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 12 + + + txtPathROMsDir + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 13 + + + lblSounds + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 14 + + + lblComment + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 15 + + + lblMachineName + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 16 + + + lblDelimiter + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 17 + + + lblXdeltaBuildCommand + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 18 + + + lblPathXdeltaFile + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 19 + + + lblPathDatPPDXMLFile + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 20 + + + lblPathDatsDir + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 21 + + + lblPathPatchesDir + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 22 + + + lblPathROMsDir + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 23 + + + 6, 6 + + + 774, 334 + + + 0 + + + Options + + + gbOptions + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabOptions + + + 1 + + + Top, Left, Right + + + False + + + Information + + + 131, 307 + + + 637, 21 + + + 38 + + + cbLogLevel + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 0 + + + Top, Left, Right + + + False + + + en + + + 131, 280 + + + 637, 21 + + + 37 + + + cbLanguage + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 1 + + + Top, Left, Right + + + False + + + Off + + + On + + + 131, 253 + + + 637, 21 + + + 36 + + + cbSounds + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 2 + + + True + + + NoControl + + + 6, 310 + + + 60, 13 + + + 34 + + + Log Level: + + + lblLogLevel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 3 + + + True + + + NoControl + + + 6, 283 + + + 61, 13 + + + 31 + + + Language: + + + lblLanguage + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 4 + + + Top, Left, Right + + + False + + + 131, 227 + + + 637, 20 + + + 28 + + + txtComment + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 5 + + + Top, Left, Right + + + False + + + 131, 201 + + + 637, 20 + + + 27 + + + txtMachineName + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 6 + + + Top, Left, Right + + + False + + + 131, 175 + + + 637, 20 + + + 26 + + + -- + + + txtDelimiter + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 7 + + + Top, Left, Right + + + False + + + 131, 149 + + + 637, 20 + + + 25 + + + -e -9 -s + + + txtXdeltaBuildCommand + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 8 + + + Top, Left, Right + + + False + + + 131, 123 + + + 637, 20 + + + 24 + + + txtPathXdeltaFile + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 9 + + + Top, Left, Right + + + False + + + 131, 97 + + + 637, 20 + + + 23 + + + txtPathDatPPDXMLFile + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 10 + + + Top, Left, Right + + + False + + + 131, 71 + + + 637, 20 + + + 22 + + + txtPathDatsDir + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 11 + + + Top, Left, Right + + + False + + + 131, 45 + + + 637, 20 + + + 21 + + + txtPathPatchesDir + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 12 + + + Top, Left, Right + + + False + + + 131, 19 + + + 637, 20 + + + 20 + + + txtPathROMsDir + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 13 + + + True + + + NoControl + + + 6, 256 + + + 49, 13 + + + 19 + + + Sounds: + + + lblSounds + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 14 + + + True + + + NoControl + + + 6, 230 + + + 49, 13 + + + 18 + + + Coment: + + + lblComment + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 15 + + + True + + + NoControl + + + 6, 204 + + + 85, 13 + + + 17 + + + Machine Name: + + + lblMachineName + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 16 + + + True + + + NoControl + + + 6, 178 + + + 53, 13 + + + 16 + + + Delimiter: + + + lblDelimiter + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 17 + + + True + + + NoControl + + + 6, 152 + + + 119, 13 + + + 15 + + + Xdelta Build Command: + + + lblXdeltaBuildCommand + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 18 + + + True + + + NoControl + + + 6, 126 + + + 62, 13 + + + 14 + + + Xdelta File: + + + lblPathXdeltaFile + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 19 + + + True + + + NoControl + + + 6, 100 + + + 103, 13 + + + 13 + + + Dat/PPD/XML File: + + + lblPathDatPPDXMLFile + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 20 + + + True + + + NoControl + + + 6, 74 + + + 51, 13 + + + 12 + + + Dats Dir: + + + lblPathDatsDir + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 21 + + + True + + + NoControl + + + 6, 48 + + + 68, 13 + + + 11 + + + Patches Dir: + + + lblPathPatchesDir + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 22 + + + True + + + NoControl + + + 6, 22 + + + 59, 13 + + + 10 + + + ROMs Dir: + + + lblPathROMsDir + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbOptions + + + 23 + + + Top, Bottom, Left, Right + + + 6, 6 + + + 774, 403 + + + 0 + + + + + + rtbHelp + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabHelp + + + 0 + + + Top, Bottom, Left, Right + + + 6, 6 + + + 774, 403 + + + 0 + + + + + + rtbLicense + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabLicense + + + 0 + + + Top, Bottom, Left, Right + + + 6, 6 + + + 774, 403 + + + 0 + + + + + + rtbDonations + + + System.Windows.Forms.RichTextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabDonations + + + 0 + + + Top, Bottom, Left, Right + + + lblRegistrationKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 0 + + + lblRegistrationKeyLabel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 1 + + + lblRegistrationStatus + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 2 + + + lblRegistrationStatusLabel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 3 + + + 390, 3 + + + 381, 126 + + + 1 + + + Registration + + + gbRegistration + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tlpRegistration + + + 0 + + + Top, Left, Right + + + NoControl + + + 55, 48 + + + 320, 13 + + + 3 + + + lblRegistrationKey + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 0 + + + True + + + NoControl + + + 18, 48 + + + 31, 13 + + + 2 + + + Key: + + + lblRegistrationKeyLabel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 1 + + + Top, Left, Right + + + NoControl + + + 55, 22 + + + 320, 13 + + + 1 + + + unregistered + + + lblRegistrationStatus + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 2 + + + True + + + NoControl + + + 6, 22 + + + 43, 13 + + + 0 + + + Status: + + + lblRegistrationStatusLabel + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegistration + + + 3 + + + Top, Bottom, Left, Right + + + lblRegisterAppPassword + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 0 + + + lblRegisterAppEmailAddress + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 1 + + + lblRegisterAppUsername + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 2 + + + btnRegisterApp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 3 + + + txtRegisterAppPassword + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 4 + + + txtRegisterAppEmailAddress + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 5 + + + txtRegisterAppUsername + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 6 + + + 3, 3 + + + 381, 126 + + + 0 + + + Register App + + + gbRegisterApp + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tlpRegistration + + + 1 + + + True + + + NoControl + + + 6, 71 + + + 59, 13 + + + 6 + + + Password: + + + lblRegisterAppPassword + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 0 + + + True + + + NoControl + + + 6, 48 + + + 79, 13 + + + 5 + + + Email Address: + + + lblRegisterAppEmailAddress + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 1 + + + True + + + NoControl + + + 6, 22 + + + 61, 13 + + + 4 + + + Username: + + + lblRegisterAppUsername + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 2 + + + False + + + NoControl + + + 91, 97 + + + 100, 23 + + + 3 + + + Register App + + + btnRegisterApp + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 3 + + + Top, Left, Right + + + False + + + 91, 71 + + + 284, 20 + + + 2 + + + txtRegisterAppPassword + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 4 + + + Top, Left, Right + + + False + + + 91, 45 + + + 284, 20 + + + 1 + + + txtRegisterAppEmailAddress + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 5 + + + Top, Left, Right + + + False + + + 91, 19 + + + 284, 20 + + + 0 + + + txtRegisterAppUsername + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbRegisterApp + + + 6 + + + 289, 17 + + + 424, 17 + + + 568, 17 + + + 712, 17 + + + True + + + 51 + + + 6, 13 + + + 794, 526 + + + + AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA + AAC3agAGt2kAXbdpAM+3aQD1t2kA97dpAPe3aQD3t2kA97dpAPe3aQD3t2kA97dpAPe3aQD3t2kA97dp + APe3aQD3t2kA97dpAPe3aQD3t2kA97dpAPe3aQD3t2kA97dpAPe3aQD3t2kA97dpAPe3aQD3t2kA9bdp + ANG3aQBft2oAB7VoAFq2aADmtmgA/7ZoAP+2aAD/tmgA/7ZoAP+2aAD/tmgA/7ZoAP+2aAD/tmgA/7Zo + AP+2aAD/tmgA/7ZoAP+2aAD/tmgA/7ZoAP+2aAD/tmgA/7ZoAP+2aAD/tmgA/7ZoAP+2aAD/tmgA/7Zo + AP+2aAD/tmgA/7ZoAOi1aABftGYAy7RnAP+0ZwD/tGcA/7RnAP+0ZwD/tWcA/7RnAP+0ZwD/tGcA/7Rn + AP+0ZwD/tGcA/7VnAP+1ZwD/tWcA/7VnAP+1ZwD/tWcA/7RnAP+0ZwD/tGcA/7RnAP+0ZwD/tGcA/7Vn + AP+0ZwD/tGcA/7RnAP+0ZwD/tGcA/7RmAM+zZAD0s2QA/7NkAP+zZAD/s2UA/7NkAP+wYQD/sWIA/7Nk + AP+zZQD/s2UA/7NkAP+yYgD/sGAA/69gAP+uXwD/rl8A/69gAP+wYAD/smIA/7NkAP+zZQD/s2UA/7Nk + AP+xYgD/sGEA/7NkAP+zZQD/s2QA/7NkAP+zZAD/s2QA9bJjAPexYwD/sWMA/7FjAP+xYgD/sWQH/7+N + V/+3f0P/sWQH/7BgAP+sXgL/rGQS/7F0Mf+5hlH/wpZo/8ehd//HoXj/wpdp/7qGUv+xdDH/rGUT/6xe + A/+wYAD/sWQG/7d/Qf+/jlj/sWQI/7FiAP+xYwD/sWMA/7FjAP+yYwD3sGEA97BhAP+wYQD/sGEA/69g + AP+3dSn/8eje/+rayP+xbST/tHk8/8yohf/j08P/9O7p//r5+P/+/v/////////////+/v//+/n4//Tv + 6v/k1MX/zKqH/7R7Pv+wbCL/6djF//Lq4f+4diz/r18A/7BhAP+wYQD/sGEA/7BhAPevYAD3r2AA/69g + AP+vYAD/rVwA/8qebf/+/f3/59jJ/9nBq//18e3///7+//v38//y5tj/59C2/+DBn//du5T/3buU/+DB + nv/nz7X/8uXX//v38v///v7/9vHu/9rCrP/n18f//v79/8ygcf+sXAD/r2AA/69gAP+vYAD/r2AA961d + APetXQD/rV0A/61dAP+uYxD/5NC6///////9/fz//Pn2/+3byP/VrH//wIRD/7VuHf+vYg3/rV4F/6xc + Av+sXAL/rV4F/69iDP+1bRz/wINC/9Srfv/t2sb//Pn2//79/P//////5tK+/69kEv+tXQD/rV4A/61d + AP+tXQD3rFwB96xcAf+sXAH/qlkA/72DRv/49PD///////Tt5v/FmG3/rWMW/6pZAf+qWQD/q1oA/6tb + AP+rWwD/rFsB/6xbAf+rWwD/q1sA/6taAP+qWQD/qlgB/61iFP/Elmr/8+vk///////59fL/voVK/6pZ + AP+sXAH/rFwB/6xcAfeqWgP3qloD/6paA/+pWAH/xpFb//Pp3v/+/fz/+vj1/9/Muv/Clmz/rWMV/6pZ + Av+qWgP/qloD/6paA/+qWgP/qloD/6paA/+qWgP/qloD/6pZAv+tYxT/wZVq/9/LuP/69/X//v38//Tq + 3//HlF//qVgB/6paA/+qWgP/qloD96lYBPepWAT/qVgE/6lYBP+qWwr/tXAr/8ydb//o0rz/+/j0//Hl + 2f+0bSf/qFcC/6lYBP+pWAT/qVgE/6lYBP+pWAT/qVgE/6lYBP+pWAT/qFcC/7NsJP/w49b//Pj0/+jT + vf/NnnH/tXEs/6pbCv+pWAT/qVgE/6lYBP+pWAT3qFcE96hXBP+oVwT/qFcE/6dWBP+nVAH/plIA/6lb + Dv+6fUT/wYpV/6ZVB/+nVQH/qFYE/6hXBP+oVwT/qFcE/6hXBP+oVwT/qFcE/6hWBP+nVQH/plUG/8CK + VP+7fkX/qVsP/6ZSAP+nVAH/p1YD/6hXBP+oVwT/qFcE/6hXBPemVAT3plQE/6ZUBP+mVQT/plQC/6NS + A/+nYiD/toFQ/8CVbP/Cl27/uIVW/6lmJf+jUgX/plMC/6ZVBP+mVAT/plQE/6ZVBP+mUwL/o1IF/6hl + JP+4hVX/wZdu/8CWbf+2glH/qGMh/6NSBP+mUwL/plUE/6ZUBP+mVAT/plQE96VTAvelUwL/pVMD/6RR + Af+lWRL/w5p0/+nd0v/69/X//v7+//7+/v/7+ff/7eLZ/8ijgP+mXhr/pFEB/6VTAv+lUwP/pFEB/6Zd + Gf/HoX7/7OHX//r49v/+/v7//v7+//r39f/q3tP/xJx2/6VaFP+kUQH/pVMD/6VTAv+lUwL3pFEC96RR + Av+jUAD/plsX/9W5n//7+vn//////////////////////////////////fz8/9zFsf+oYSL/o08A/6NP + AP+oYB//28Ou//38+//////////////////////////////////8+vn/1rui/6ZcGf+jUAD/pFEC/6RR + AvejTwH3o08B/6JQBv/OqYn//f38/////////////////////////////////////////////v///9a4 + nv+jUgv/o1IK/9S2mv/+/v7////////////////////////////////////////////9/f3/z6yM/6JQ + B/+jTwD/o08B96NQA/eiTgD/s3M7//Tt5v/////////////////38u7/7OHW/+vg1f/18Or///7+//// + ////////+fXx/7h+S/+3e0f/+PTw//////////////7+//bw6//r4NX/7ODW//fy7f////////////// + ///17+n/tHU+/6JNAP+jUAP3plQH96VSBP/Pp4H/////////////////9e7o/+TUxP/l0r//5NC9/+PS + wv/y6uP/////////////////17aX/9a0lP/////////////////y6+T/49LC/+TQvf/l0b//49PE//Tt + 5//////////////////Rqob/pVIF/6ZUB/eqWQr3q1wP/+HGrP////////////79/P/r3M7/4siv/7dy + MP+0bCb/3sCi/+rayv/9+/n////////////r2cj/6tjG/////////////fv5/+ray//fwqX/tG0o/7Zx + Lv/hx63/69zN//79/P///////////+LJsP+rXRD/qlkK965fCPewZBL/59C3/////////////Pr4/+3e + z//UsIr/qloE/6pYAP/OpHf/7d3O//v38/////////////Ll1//x5NX////////////7+PT/7N3N/8+m + e/+qWAD/qlkD/9Ouhv/t3s///Pr3////////////6NO7/7FlE/+uXwj3s2YH97NoC//jx6T///////// + /////v7/6t3Q/+DMuf+6h1H/t4FI/97Is//o2sv//fz7////////////69i//+vWvP////////////79 + /P/o2sz/3sm0/7eCSv+5hU//38u4/+rc0P/+/v7////////////kyaj/tGgM/7NmB/e4bQr3uG0L/9iv + ff/+/v3////////////59fH/5dbH/+PTxP/j08T/5NXG//bx7P/////////////////duYn/3LeF//// + //////////////fy7f/k1cb/49PE/+PTxP/l1cf/+PTw//////////////7+/9mxgf+4bQz/uG0K9712 + Ffe9dxr/y5NV//bs4f/////////////////8+vj/8+3n//Ps5f/7+Pb/////////////////+PHn/8qR + RP/Jj0H/+PDl//////////////////v59//z7OX/8+3m//z6+P/////////////////27eP/zJRX/712 + G/+9dhX3wn4k98OAKv/IiEH/37mQ//369v////////////////////////////////////////////38 + +f/gvI7/wn4k/8J9I//fuov//fv4/////////////////////////////////////////////fr3/9+7 + k//IiEL/w4Aq/8J+JPfHhS/3yYc1/82QS//PlFH/5MSf//v28f////////////////////////////// + ///8+fX/5cae/8qLOv/IhTD/yIUw/8qLOf/lxZz//Pj0//////////////////////////////////v3 + 8v/lxaH/z5RS/82RS//JiDX/x4Uv982ON/fOkD3/05lU/9OZVv/Umlj/37WE//Ddxf/68+v//fn1//35 + 9v/79O3/8uDL/+G6i//TmVX/0pZQ/9KXUf/Sl1H/0pZQ/9OZVf/huYr/8t/K//r07f/9+fb//fn1//rz + 6//x3cb/4LaF/9SaWP/TmVb/05lU/86QPf/Njjf305c+99SZRP/ZoV3/2aJg/9miX//YoF3/2qRi/9+v + dv/iuYb/4rmG/9+xeP/apWT/2KBd/9miX//ZomD/2aJg/9miYP/ZomD/2aJf/9igXf/apWT/37B4/+K5 + hv/iuYb/37B2/9qkY//YoF3/2aJf/9miYP/ZoV3/1JlF/9OXPvfZoUr32qJN/92pY//eq2j/3qpn/96r + aP/eqmf/3qlm/92pZP/dqWT/3all/96qZ//eq2j/3qpo/96qZ//eqmf/3qpn/96qZ//eqmj/3qto/96q + Z//dqWX/3alk/92pZP/eqWb/3qpn/96raP/eqmf/3qto/92pZP/aok7/2aFK99+qWPPgq1j/4a9k/+Oz + cP/js3D/47Nw/+OzcP/js3D/47Nw/+OzcP/js3D/47Nw/+OzcP/js3D/47Nw/+OzcP/js3D/47Nw/+Oz + cP/js3D/47Nw/+OzcP/js3D/47Nw/+OzcP/js3D/47Nw/+OzcP/js3D/4a9k/+CrWP/fqlj05bRixea0 + Yv/mtWP/57ht/+i7df/ou3b/6Lt2/+i7dv/ou3b/6Lt2/+i7dv/ou3b/6Lt2/+i7dv/ou3b/6Lt2/+i7 + dv/ou3b/6Lt2/+i7dv/ou3b/6Lt2/+i7dv/ou3b/6Lt2/+i7dv/ou3b/6Lt1/+e4bf/mtWT/5rRi/+W0 + YsnqvGtR675t4Oy/bv/sv27/7L9v/+y/cP/sv3D/7L9w/+y/cP/sv3D/7L9w/+y/cP/sv3D/7L9w/+y/ + cP/sv3D/7L9w/+y/cP/sv3D/7L9w/+y/cP/sv3D/7L9w/+y/cP/sv3D/7L9w/+y/cP/sv2//7L9u/+y/ + bv/rvm3h6rxrVe7DdAPvxXVP8Md3wvHIePDxyHj28ch49vHIePbxyHj28ch49vHIePbxyHj28ch49vHI + ePbxyHj28ch49vHIePbxyHj28ch49vHIePbxyHj28ch49vHIePbxyHj28ch49vHIePbxyHj28ch49vHI + ePbxyHjx8Md3xO/FdVLvxHUEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + + + + PatchEmAll + + + tsmiCommands + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiBuildROMs + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiBuildPatches + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiBuildPatchesDatafile + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator1 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiLoadOptions + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiSaveOptions + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator2 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiSaveLog + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator3 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiExit + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiView + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiLog + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator7 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiOptions + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator8 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiPPDBuilder + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator9 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiHelp + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator10 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiLicense + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator11 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiDonations + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator12 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiRegistration + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator13 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsmiToolbar + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbBuildROMs + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbBuildPatches + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbBuildPatchesDatafile + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator4 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbLoadOptions + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbSaveOptions + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator5 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbSaveLog + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + toolStripSeparator6 + + + System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbViewLog + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbViewOptions + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbViewPPDBuilder + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbViewHelp + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbViewLicense + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbDonations + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbRegistration + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsbViewToolbar + + + System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsslSnap + + + System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tsslStarusMessage + + + System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tspbBuildProgress + + + System.Windows.Forms.ToolStripProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tssbCancel + + + System.Windows.Forms.ToolStripSplitButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bgwBuildROMs + + + System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bgwBuildPatches + + + System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bgwBuildDatafile + + + System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + bgwStartupTasks + + + System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + FrmPatchEmAll + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/PatchEmAll-GUI/PatchEmAll-GUI.csproj b/PatchEmAll-GUI/PatchEmAll-GUI.csproj new file mode 100644 index 0000000..e6ced98 --- /dev/null +++ b/PatchEmAll-GUI/PatchEmAll-GUI.csproj @@ -0,0 +1,128 @@ + + + + + Debug + AnyCPU + {114ADC53-8575-4DA6-9EC3-36187C0B55E9} + WinExe + PatchEmAll_GUI + PatchEmAll-GUI + v4.8 + 512 + true + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\PatchEmAll-GUI.xml + + + AnyCPU + none + true + bin\Release\ + TRACE + prompt + 4 + + + true + + + App.ico + + + + ..\packages\Serilog.2.12.0\lib\net47\Serilog.dll + + + ..\packages\Serilog.Sinks.LogEmAll.0.0.7\lib\net461\Serilog.Sinks.LogEmAll.dll + + + + + + + + + + + + + Form + + + FrmPatchEmAll.cs + + + + + FrmPatchEmAll.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + + + + {956e3b6c-eee3-44a9-be64-7b3ae0238924} + PatchEmAll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PatchEmAll-GUI/Program.cs b/PatchEmAll-GUI/Program.cs new file mode 100644 index 0000000..cd1d5c6 --- /dev/null +++ b/PatchEmAll-GUI/Program.cs @@ -0,0 +1,34 @@ +using Serilog; +using Serilog.Formatting.Display; +using Serilog.Sinks.LogEmAll; +using System; +using System.Windows.Forms; + +namespace PatchEmAll_GUI +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + ConfigureSerilog(); + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new FrmPatchEmAll()); + } + + /// + /// Configure the logger. + /// + public static void ConfigureSerilog() + { + Log.Logger = new LoggerConfiguration() + .MinimumLevel.Information() + .WriteToRichTextBox(new MessageTemplateTextFormatter("{Level:u4}: {Message:lj}{NewLine}{Exception}")) + .CreateLogger(); + } + } +} diff --git a/PatchEmAll-GUI/Properties/AssemblyInfo.cs b/PatchEmAll-GUI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ad43133 --- /dev/null +++ b/PatchEmAll-GUI/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("PatchEmAll-GUI")] +[assembly: AssemblyDescription("The Original Automated ROM Patcher")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("PatchEmAll")] +[assembly: AssemblyProduct("PatchEmAll-GUI")] +[assembly: AssemblyCopyright("Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved")] +[assembly: AssemblyTrademark("PatchEmAll - The Original Automated ROM Patcher")] +[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("114adc53-8575-4da6-9ec3-36187c0b55e9")] + +// 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.5.7")] +[assembly: AssemblyFileVersion("1.5.7")] diff --git a/PatchEmAll-GUI/Properties/Resources.Designer.cs b/PatchEmAll-GUI/Properties/Resources.Designer.cs new file mode 100644 index 0000000..941e372 --- /dev/null +++ b/PatchEmAll-GUI/Properties/Resources.Designer.cs @@ -0,0 +1,339 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace PatchEmAll_GUI.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", "17.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("PatchEmAll_GUI.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; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap AddPrepatch_16x16 { + get { + object obj = ResourceManager.GetObject("AddPrepatch_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream AddRemove { + get { + return ResourceManager.GetStream("AddRemove", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BuildDatafile_32x32 { + get { + object obj = ResourceManager.GetObject("BuildDatafile_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BuildPatches_32x32 { + get { + object obj = ResourceManager.GetObject("BuildPatches_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BuildROMs_32x32 { + get { + object obj = ResourceManager.GetObject("BuildROMs_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Cancel_16x16 { + get { + object obj = ResourceManager.GetObject("Cancel_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ChangeOption_16x16 { + get { + object obj = ResourceManager.GetObject("ChangeOption_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap CheckPrepatches_16x16 { + get { + object obj = ResourceManager.GetObject("CheckPrepatches_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream Complete { + get { + return ResourceManager.GetStream("Complete", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream Confirm { + get { + return ResourceManager.GetStream("Confirm", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Donate_32x32 { + get { + object obj = ResourceManager.GetObject("Donate_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Exit_32x32 { + get { + object obj = ResourceManager.GetObject("Exit_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream Fail { + get { + return ResourceManager.GetStream("Fail", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Help_32x32 { + get { + object obj = ResourceManager.GetObject("Help_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Key_32x32 { + get { + object obj = ResourceManager.GetObject("Key_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap License_32x32 { + get { + object obj = ResourceManager.GetObject("License_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap LoadDat_16x16 { + get { + object obj = ResourceManager.GetObject("LoadDat_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap LoadOptions_32x32 { + get { + object obj = ResourceManager.GetObject("LoadOptions_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap LoadPPD_16x16 { + get { + object obj = ResourceManager.GetObject("LoadPPD_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Log_32x32 { + get { + object obj = ResourceManager.GetObject("Log_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Options_32x32 { + get { + object obj = ResourceManager.GetObject("Options_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap PPDBuilder_32x32 { + get { + object obj = ResourceManager.GetObject("PPDBuilder_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap RemoveAllPrepatches_16x16 { + get { + object obj = ResourceManager.GetObject("RemoveAllPrepatches_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap RemovePrepatch_16x16 { + get { + object obj = ResourceManager.GetObject("RemovePrepatch_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap SaveLog_32x32 { + get { + object obj = ResourceManager.GetObject("SaveLog_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap SaveOptions_32x32 { + get { + object obj = ResourceManager.GetObject("SaveOptions_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap SavePPD_16x16 { + get { + object obj = ResourceManager.GetObject("SavePPD_16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Toolbar_32x32 { + get { + object obj = ResourceManager.GetObject("Toolbar_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/PatchEmAll-GUI/Properties/Resources.resx b/PatchEmAll-GUI/Properties/Resources.resx new file mode 100644 index 0000000..d412174 --- /dev/null +++ b/PatchEmAll-GUI/Properties/Resources.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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\Images\AddPrepatch_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Audio\AddRemove.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\Images\BuildDatafile_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\BuildPatches_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\BuildROMs_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\Cancel_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\ChangeOption_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\CheckPrepatches_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Audio\Complete.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\Audio\Confirm.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\Images\Donate_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\Exit_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Audio\Fail.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\Images\Help_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\Key_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\License_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\LoadDat_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\LoadOptions_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\LoadPPD_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\Log_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\Options_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\PPDBuilder_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\RemoveAllPrepatches_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\RemovePrepatch_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\SaveLog_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\SaveOptions_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\SavePPD_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\Toolbar_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/PatchEmAll-GUI/Resources/Audio/AddRemove.wav b/PatchEmAll-GUI/Resources/Audio/AddRemove.wav new file mode 100644 index 0000000..e0186d3 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Audio/AddRemove.wav differ diff --git a/PatchEmAll-GUI/Resources/Audio/Complete.wav b/PatchEmAll-GUI/Resources/Audio/Complete.wav new file mode 100644 index 0000000..06e389e Binary files /dev/null and b/PatchEmAll-GUI/Resources/Audio/Complete.wav differ diff --git a/PatchEmAll-GUI/Resources/Audio/Confirm.wav b/PatchEmAll-GUI/Resources/Audio/Confirm.wav new file mode 100644 index 0000000..d5553cb Binary files /dev/null and b/PatchEmAll-GUI/Resources/Audio/Confirm.wav differ diff --git a/PatchEmAll-GUI/Resources/Audio/Fail.wav b/PatchEmAll-GUI/Resources/Audio/Fail.wav new file mode 100644 index 0000000..ddccae3 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Audio/Fail.wav differ diff --git a/PatchEmAll-GUI/Resources/Images/AddPrepatch_16x16.png b/PatchEmAll-GUI/Resources/Images/AddPrepatch_16x16.png new file mode 100644 index 0000000..43141e4 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/AddPrepatch_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/BuildDatafile_32x32.png b/PatchEmAll-GUI/Resources/Images/BuildDatafile_32x32.png new file mode 100644 index 0000000..01207a5 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/BuildDatafile_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/BuildPatches_32x32.png b/PatchEmAll-GUI/Resources/Images/BuildPatches_32x32.png new file mode 100644 index 0000000..65fa0a7 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/BuildPatches_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/BuildROMs_32x32.png b/PatchEmAll-GUI/Resources/Images/BuildROMs_32x32.png new file mode 100644 index 0000000..13db89c Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/BuildROMs_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Cancel_16x16.png b/PatchEmAll-GUI/Resources/Images/Cancel_16x16.png new file mode 100644 index 0000000..40c4bdb Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Cancel_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/ChangeOption_16x16.png b/PatchEmAll-GUI/Resources/Images/ChangeOption_16x16.png new file mode 100644 index 0000000..ed61a0a Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/ChangeOption_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/CheckPrepatches_16x16.png b/PatchEmAll-GUI/Resources/Images/CheckPrepatches_16x16.png new file mode 100644 index 0000000..63b4051 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/CheckPrepatches_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Donate_32x32.png b/PatchEmAll-GUI/Resources/Images/Donate_32x32.png new file mode 100644 index 0000000..8f020ec Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Donate_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Exit_32x32.png b/PatchEmAll-GUI/Resources/Images/Exit_32x32.png new file mode 100644 index 0000000..ccc6e14 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Exit_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Help_32x32.png b/PatchEmAll-GUI/Resources/Images/Help_32x32.png new file mode 100644 index 0000000..3b3bae3 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Help_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Key_32x32.png b/PatchEmAll-GUI/Resources/Images/Key_32x32.png new file mode 100644 index 0000000..b6d21cd Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Key_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/License_32x32.png b/PatchEmAll-GUI/Resources/Images/License_32x32.png new file mode 100644 index 0000000..854ed97 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/License_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/LoadDat_16x16.png b/PatchEmAll-GUI/Resources/Images/LoadDat_16x16.png new file mode 100644 index 0000000..3cb4e5a Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/LoadDat_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/LoadOptions_32x32.png b/PatchEmAll-GUI/Resources/Images/LoadOptions_32x32.png new file mode 100644 index 0000000..c7aea4c Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/LoadOptions_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/LoadPPD_16x16.png b/PatchEmAll-GUI/Resources/Images/LoadPPD_16x16.png new file mode 100644 index 0000000..fd747d1 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/LoadPPD_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Log_32x32.png b/PatchEmAll-GUI/Resources/Images/Log_32x32.png new file mode 100644 index 0000000..c202c5a Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Log_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Options_32x32.png b/PatchEmAll-GUI/Resources/Images/Options_32x32.png new file mode 100644 index 0000000..1500302 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Options_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/PPDBuilder_32x32.png b/PatchEmAll-GUI/Resources/Images/PPDBuilder_32x32.png new file mode 100644 index 0000000..b09a2f0 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/PPDBuilder_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/RemoveAllPrepatches_16x16.png b/PatchEmAll-GUI/Resources/Images/RemoveAllPrepatches_16x16.png new file mode 100644 index 0000000..5577826 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/RemoveAllPrepatches_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/RemovePrepatch_16x16.png b/PatchEmAll-GUI/Resources/Images/RemovePrepatch_16x16.png new file mode 100644 index 0000000..73b4b16 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/RemovePrepatch_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/SaveLog_32x32.png b/PatchEmAll-GUI/Resources/Images/SaveLog_32x32.png new file mode 100644 index 0000000..9a7c79b Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/SaveLog_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/SaveOptions_32x32.png b/PatchEmAll-GUI/Resources/Images/SaveOptions_32x32.png new file mode 100644 index 0000000..cc94694 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/SaveOptions_32x32.png differ diff --git a/PatchEmAll-GUI/Resources/Images/SavePPD_16x16.png b/PatchEmAll-GUI/Resources/Images/SavePPD_16x16.png new file mode 100644 index 0000000..0df8eb9 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/SavePPD_16x16.png differ diff --git a/PatchEmAll-GUI/Resources/Images/Toolbar_32x32.png b/PatchEmAll-GUI/Resources/Images/Toolbar_32x32.png new file mode 100644 index 0000000..114c907 Binary files /dev/null and b/PatchEmAll-GUI/Resources/Images/Toolbar_32x32.png differ diff --git a/PatchEmAll-GUI/packages.config b/PatchEmAll-GUI/packages.config new file mode 100644 index 0000000..9978c02 --- /dev/null +++ b/PatchEmAll-GUI/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/PatchEmAll-Installer/PatchEmAll-Installer.vdproj b/PatchEmAll-Installer/PatchEmAll-Installer.vdproj new file mode 100644 index 0000000..51c69c9 --- /dev/null +++ b/PatchEmAll-Installer/PatchEmAll-Installer.vdproj @@ -0,0 +1,2075 @@ +"DeployProject" +{ +"VSVersion" = "3:800" +"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" +"IsWebType" = "8:FALSE" +"ProjectName" = "8:PatchEmAll-Installer" +"LanguageId" = "3:1033" +"CodePage" = "3:1252" +"UILanguageId" = "3:1033" +"SccProjectName" = "8:" +"SccLocalPath" = "8:" +"SccAuxPath" = "8:" +"SccProvider" = "8:" + "Hierarchy" + { + "Entry" + { + "MsmKey" = "8:_0C7AB05845A54A7CB56FAE20E23B70BF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1238A302B48A4747A9EC35BF56ACE498" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_237AD22737B84115823F0922EF706E13" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2632341F85074C25A9C9EE70B9469B2E" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2707210B6B404D188D331462E589DEA3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_34BA3C7060F545EC838E42C1D82482DF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_43CA9BB90CB54FF5ABD77DBDD47F5974" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4478536FC74C43A5997BE7E70E836B68" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4668ED80A4E24EB1A4C8CFADF0DEE3B3" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + "OwnerKey" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + "OwnerKey" = "8:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_54AF83ED79D14F9E9C7975BBF0D0E054" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5589F0FF22574C38A113C425EA50D1EA" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5F40C9E995D0415CA195AA380914F0E0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_66191ECF36E4496DB06DAFBFE5B34540" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_69CFAB0A4F334B9980F94A9AE4FEE92F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_79B6E1C4D4A540E2A89D389C3796E88A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_909AB891358C4C678135A3668F899C4B" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_90A294B866D74A9DAF040B059184F185" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9A271A34E738C91E8FBEEAC7360D2414" + "OwnerKey" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9E2EE2F32BD34CE2AE69B3844A9F9224" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A38602EE4197447197AB51F40BF978F5" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A431E1E02EEF4AEF8FDFD9D2DDE93DA1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B73D6796D10548F78BCE031B591BC194" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C06CD75E14004FD48EB8BE8C14E14038" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C1B5A45ECA12423AA4A4C067191C3059" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C1BB9591FECB48F9A3EF13935AF8CF6D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C2F397A0651D41988A0BE5B00B16B3A9" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C46C53B802494B32BECC3B57D786E7E2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DB34A797B5EE43D6A863DCE4C4C42105" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DC7D096CB2AF1A4F59D1E92FCA037B04" + "OwnerKey" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DC7D096CB2AF1A4F59D1E92FCA037B04" + "OwnerKey" = "8:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_DC7D096CB2AF1A4F59D1E92FCA037B04" + "OwnerKey" = "8:_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E872733E2D0754533283823B580397E7" + "OwnerKey" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E872733E2D0754533283823B580397E7" + "OwnerKey" = "8:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E872733E2D0754533283823B580397E7" + "OwnerKey" = "8:_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E872733E2D0754533283823B580397E7" + "OwnerKey" = "8:_DC7D096CB2AF1A4F59D1E92FCA037B04" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E872733E2D0754533283823B580397E7" + "OwnerKey" = "8:_9A271A34E738C91E8FBEEAC7360D2414" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_EB9FBC4EC89C4ACEA5450F20934294DF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F80259DE12B14922AA4352C4C56BA422" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_DC7D096CB2AF1A4F59D1E92FCA037B04" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_9A271A34E738C91E8FBEEAC7360D2414" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_E872733E2D0754533283823B580397E7" + "MsmSig" = "8:_UNDEFINED" + } + } + "Configurations" + { + "Debug" + { + "DisplayName" = "8:Debug" + "IsDebugOnly" = "11:TRUE" + "IsReleaseOnly" = "11:FALSE" + "OutputFilename" = "8:bin\\Debug\\PatchEmAll-Installer.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" + { + "Enabled" = "11:TRUE" + "PromptEnabled" = "11:TRUE" + "PrerequisitesLocation" = "2:1" + "Url" = "8:" + "ComponentsUrl" = "8:" + "Items" + { + "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.8" + { + "Name" = "8:Microsoft .NET Framework 4.8 (x86 and x64)" + "ProductCode" = "8:.NETFramework,Version=v4.8" + } + } + } + } + "Release" + { + "DisplayName" = "8:Release" + "IsDebugOnly" = "11:FALSE" + "IsReleaseOnly" = "11:TRUE" + "OutputFilename" = "8:bin\\Release\\PatchEmAll-Installer.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" + { + "Enabled" = "11:TRUE" + "PromptEnabled" = "11:TRUE" + "PrerequisitesLocation" = "2:1" + "Url" = "8:" + "ComponentsUrl" = "8:" + "Items" + { + "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.8" + { + "Name" = "8:Microsoft .NET Framework 4.8 (x86 and x64)" + "ProductCode" = "8:.NETFramework,Version=v4.8" + } + } + } + } + } + "Deployable" + { + "CustomAction" + { + } + "DefaultFeature" + { + "Name" = "8:DefaultFeature" + "Title" = "8:" + "Description" = "8:" + } + "ExternalPersistence" + { + "LaunchCondition" + { + "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_FBBD270E7B3E45F4A9CBA7351EB58AB3" + { + "Name" = "8:.NET Framework" + "Message" = "8:[VSDNETMSG]" + "FrameworkVersion" = "8:.NETFramework,Version=v4.8" + "AllowLaterVersions" = "11:FALSE" + "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=863262" + } + } + } + "File" + { + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0C7AB05845A54A7CB56FAE20E23B70BF" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Print-License.sh" + "TargetName" = "8:PatchEmAll-Print-License.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1238A302B48A4747A9EC35BF56ACE498" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Print-Donation-Info.sh" + "TargetName" = "8:PatchEmAll-Print-Donation-Info.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_237AD22737B84115823F0922EF706E13" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Print-Help.bat" + "TargetName" = "8:PatchEmAll-Print-Help.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2632341F85074C25A9C9EE70B9469B2E" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Docs\\PatchEmAll-LICENSE.txt" + "TargetName" = "8:PatchEmAll-LICENSE.txt" + "Tag" = "8:" + "Folder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2707210B6B404D188D331462E589DEA3" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Docs\\PatchEmAll-LICENSE.rtf" + "TargetName" = "8:PatchEmAll-LICENSE.rtf" + "Tag" = "8:" + "Folder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_34BA3C7060F545EC838E42C1D82482DF" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Build-ROMs.bat" + "TargetName" = "8:PatchEmAll-Build-ROMs.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_43CA9BB90CB54FF5ABD77DBDD47F5974" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\put your bash files in this directory.txt" + "TargetName" = "8:put your bash files in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4478536FC74C43A5997BE7E70E836B68" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Docs\\PatchEmAll-HELP-CMD.txt" + "TargetName" = "8:PatchEmAll-HELP-CMD.txt" + "Tag" = "8:" + "Folder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4668ED80A4E24EB1A4C8CFADF0DEE3B3" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Save-Options.bat" + "TargetName" = "8:PatchEmAll-Save-Options.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:PatchEmAll, Version=1.5.6.0, Culture=neutral, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_4C0F2A0B4C9B0B74687ADB49ADF7A58C" + { + "Name" = "8:PatchEmAll.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:PatchEmAll.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_54AF83ED79D14F9E9C7975BBF0D0E054" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Build-Patches-Dat.bat" + "TargetName" = "8:PatchEmAll-Build-Patches-Dat.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5589F0FF22574C38A113C425EA50D1EA" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Build-Patches-Dat.sh" + "TargetName" = "8:PatchEmAll-Build-Patches-Dat.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5F40C9E995D0415CA195AA380914F0E0" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Docs\\PatchEmAll-HELP.txt" + "TargetName" = "8:PatchEmAll-HELP.txt" + "Tag" = "8:" + "Folder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_66191ECF36E4496DB06DAFBFE5B34540" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Print-Version.bat" + "TargetName" = "8:PatchEmAll-Print-Version.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_69CFAB0A4F334B9980F94A9AE4FEE92F" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Print-Donation-Info.bat" + "TargetName" = "8:PatchEmAll-Print-Donation-Info.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_79B6E1C4D4A540E2A89D389C3796E88A" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Output\\Dats\\put your dats in this directory.txt" + "TargetName" = "8:put your dats in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_17EB6B19F9924AE1A7EF2EDF462F697E" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_909AB891358C4C678135A3668F899C4B" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Print-Version.sh" + "TargetName" = "8:PatchEmAll-Print-Version.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_90A294B866D74A9DAF040B059184F185" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Output\\Logs\\put your logs in this directory.txt" + "TargetName" = "8:put your logs in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_9F7299131CFF403197C2C05F4B00CBC5" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_9A271A34E738C91E8FBEEAC7360D2414" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Serilog.Sinks.Console, Version=4.1.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_9A271A34E738C91E8FBEEAC7360D2414" + { + "Name" = "8:Serilog.Sinks.Console.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Serilog.Sinks.Console.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9E2EE2F32BD34CE2AE69B3844A9F9224" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Build-ROMs.sh" + "TargetName" = "8:PatchEmAll-Build-ROMs.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A38602EE4197447197AB51F40BF978F5" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Print-License.bat" + "TargetName" = "8:PatchEmAll-Print-License.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A431E1E02EEF4AEF8FDFD9D2DDE93DA1" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\put your batch files in this directory.txt" + "TargetName" = "8:put your batch files in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B73D6796D10548F78BCE031B591BC194" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Output\\Xdelta\\put your xdelta files in this directory.txt" + "TargetName" = "8:put your xdelta files in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_0C0590302E5149B1AF70EE13BE19753F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C06CD75E14004FD48EB8BE8C14E14038" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Build-Patches.sh" + "TargetName" = "8:PatchEmAll-Build-Patches.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C1B5A45ECA12423AA4A4C067191C3059" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Output\\ROMs\\put your roms in this directory.txt" + "TargetName" = "8:put your roms in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_45AA59F4FB5D42D5B6F2FA53CD026035" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C1BB9591FECB48F9A3EF13935AF8CF6D" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Icons\\PatchEmAll.ico" + "TargetName" = "8:PatchEmAll.ico" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C2F397A0651D41988A0BE5B00B16B3A9" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\Batches\\PatchEmAll-Build-Patches.bat" + "TargetName" = "8:PatchEmAll-Build-Patches.bat" + "Tag" = "8:" + "Folder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C46C53B802494B32BECC3B57D786E7E2" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Print-Help.sh" + "TargetName" = "8:PatchEmAll-Print-Help.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DB34A797B5EE43D6A863DCE4C4C42105" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Output\\Patches\\put your patches in this directory.txt" + "TargetName" = "8:put your patches in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_DC2D2CC079E44828B5E76AF6C255C7F5" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_DC7D096CB2AF1A4F59D1E92FCA037B04" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Serilog.Sinks.LogEmAll, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_DC7D096CB2AF1A4F59D1E92FCA037B04" + { + "Name" = "8:Serilog.Sinks.LogEmAll.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Serilog.Sinks.LogEmAll.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E872733E2D0754533283823B580397E7" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_E872733E2D0754533283823B580397E7" + { + "Name" = "8:Serilog.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Serilog.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EB9FBC4EC89C4ACEA5450F20934294DF" + { + "SourcePath" = "8:..\\PatchEmAll\\Resources\\Output\\Options\\put your options files in this directory.txt" + "TargetName" = "8:put your options files in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_986D64EDA5B24CA99C28BAC3CD24F601" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F80259DE12B14922AA4352C4C56BA422" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\Resources\\BASHes\\PatchEmAll-Save-Options.sh" + "TargetName" = "8:PatchEmAll-Save-Options.sh" + "Tag" = "8:" + "Folder" = "8:_709E7A005A2442DF81FC7B342DAB0A42" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + } + "FileType" + { + } + "Folder" + { + "{1525181F-901A-416C-8A58-119130FE478E}:_3601C51ED5A64BEAB886368313E0346F" + { + "Name" = "8:#1919" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:ProgramMenuFolder" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_B407707995D54D3FAB55644413B76BA2" + { + "Name" = "8:PatchEmAll" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_B7567540CAD84F29A3E5663B6D0FB789" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_123722D6F1B04585BFBA6B0E32D080AD" + { + "Name" = "8:Docs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_FAFC252ADCDD43469CDF45B7E8E13F15" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_74885FA929E04F5B80D1841073C6DB7F" + { + "Name" = "8:Batches" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_CB749E65A0604E66B5A6E04F1A2A65C6" + "Folders" + { + } + } + } + } + } + } + "{3C67513D-01DD-4637-8A68-80971EB9504F}:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + { + "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" + "Name" = "8:#1925" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:TARGETDIR" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_0C0590302E5149B1AF70EE13BE19753F" + { + "Name" = "8:Xdelta" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_3B34637D5E8C421A9558FBDD6DCCA280" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_17EB6B19F9924AE1A7EF2EDF462F697E" + { + "Name" = "8:Dats" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_9A689CE6584C4FC1B859C315D3964B36" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_1E9C5B74D23D414287FAF5C9C81D04FD" + { + "Name" = "8:Docs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_CEDC338F6E9447C494A341C12CE3B031" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_45AA59F4FB5D42D5B6F2FA53CD026035" + { + "Name" = "8:ROMs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_94D7F3F2CD884CE0B714A269896C979B" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_4E7A381D281F45B4B99E6B600695A444" + { + "Name" = "8:Batches" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_782E1355CCF1455A900A3BF728C8FAF0" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_709E7A005A2442DF81FC7B342DAB0A42" + { + "Name" = "8:BASHes" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_9CD55166AD1143208551E87036019E01" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_986D64EDA5B24CA99C28BAC3CD24F601" + { + "Name" = "8:Options" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_B8DCCB29904041889E789573F236D04D" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_9F7299131CFF403197C2C05F4B00CBC5" + { + "Name" = "8:Logs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_42092F6C72E24B288BA28CCABC2CDBF2" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_DC2D2CC079E44828B5E76AF6C255C7F5" + { + "Name" = "8:Patches" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_B0D03B6D532A48AE86B9F01AC4603611" + "Folders" + { + } + } + } + } + "{1525181F-901A-416C-8A58-119130FE478E}:_B18D72031C8145309D20098A07287B34" + { + "Name" = "8:#1916" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:DesktopFolder" + "Folders" + { + } + } + } + "LaunchCondition" + { + } + "Locator" + { + } + "MsiBootstrapper" + { + "LangId" = "3:1033" + "RequiresElevation" = "11:FALSE" + } + "Product" + { + "Name" = "8:Microsoft Visual Studio" + "ProductName" = "8:PatchEmAll" + "ProductCode" = "8:{2F487C4C-1C6B-4945-B9C5-E2F876A7A555}" + "PackageCode" = "8:{FF7179C4-C373-47C6-B58D-DCC216D69073}" + "UpgradeCode" = "8:{7036F923-824D-4931-AE8A-8971E40A9645}" + "AspNetVersion" = "8:4.0.30319.0" + "RestartWWWService" = "11:FALSE" + "RemovePreviousVersions" = "11:TRUE" + "DetectNewerInstalledVersion" = "11:TRUE" + "InstallAllUsers" = "11:FALSE" + "ProductVersion" = "8:1.5.7" + "Manufacturer" = "8:PatchEmAll" + "ARPHELPTELEPHONE" = "8:" + "ARPHELPLINK" = "8:" + "Title" = "8:PatchEmAll Installer" + "Subject" = "8:" + "ARPCONTACT" = "8:PatchEmAll" + "Keywords" = "8:PatchEmAll" + "ARPCOMMENTS" = "8:The Original Automated ROM Patcher" + "ARPURLINFOABOUT" = "8:https://www.devemall.int.eu.org" + "ARPPRODUCTICON" = "8:_C1BB9591FECB48F9A3EF13935AF8CF6D" + "ARPIconIndex" = "3:0" + "SearchPath" = "8:" + "UseSystemSearchPath" = "11:TRUE" + "TargetPlatform" = "3:0" + "PreBuildEvent" = "8:" + "PostBuildEvent" = "8:" + "RunPostBuildEvent" = "3:0" + } + "Registry" + { + "HKLM" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_85E088C7E0F14CF2925C1FA86328C3F3" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_5E5B9F59A1F647F08A637316136AD73A" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCU" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_387CA44EC40647A295EAAD3201E823A3" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_DA2E21547E9B45FE953E235A802B9AA1" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCR" + { + "Keys" + { + } + } + "HKU" + { + "Keys" + { + } + } + "HKPU" + { + "Keys" + { + } + } + } + "Sequences" + { + } + "Shortcut" + { + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_15EADC973A064F60973537FC7475972E" + { + "Name" = "8:PatchEmAll-GUI" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + "Folder" = "8:_B407707995D54D3FAB55644413B76BA2" + "WorkingFolder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Icon" = "8:_C1BB9591FECB48F9A3EF13935AF8CF6D" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_16EBDD6B0D104C5CAAEE851CEAE5857E" + { + "Name" = "8:PatchEmAll-Build-Patches-Dat" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_54AF83ED79D14F9E9C7975BBF0D0E054" + "Folder" = "8:_74885FA929E04F5B80D1841073C6DB7F" + "WorkingFolder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_50783DB5834242F68A8792DE0CEDDBD4" + { + "Name" = "8:PatchEmAll-LICENSE" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_2632341F85074C25A9C9EE70B9469B2E" + "Folder" = "8:_123722D6F1B04585BFBA6B0E32D080AD" + "WorkingFolder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_70A46A9AB1894DB4B8F3A093BC94A1BF" + { + "Name" = "8:PatchEmAll-CLI" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_15A0FD2F6BA049F3915CBBD17C523141" + "Folder" = "8:_B407707995D54D3FAB55644413B76BA2" + "WorkingFolder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Icon" = "8:_C1BB9591FECB48F9A3EF13935AF8CF6D" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_984B0FBE16C24AF3B6D3DBFE439F70DB" + { + "Name" = "8:PatchEmAll-HELP" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_5F40C9E995D0415CA195AA380914F0E0" + "Folder" = "8:_123722D6F1B04585BFBA6B0E32D080AD" + "WorkingFolder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_B709680C6651437B8CB131FF2509B6D9" + { + "Name" = "8:PatchEmAll-HELP-CMD" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_4478536FC74C43A5997BE7E70E836B68" + "Folder" = "8:_123722D6F1B04585BFBA6B0E32D080AD" + "WorkingFolder" = "8:_1E9C5B74D23D414287FAF5C9C81D04FD" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_CF8ACC89D5404CF9A3F049C14DE93E49" + { + "Name" = "8:PatchEmAll-Build-ROMs" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_34BA3C7060F545EC838E42C1D82482DF" + "Folder" = "8:_74885FA929E04F5B80D1841073C6DB7F" + "WorkingFolder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_F718ECFD14824AECAA50915867F132C0" + { + "Name" = "8:PatchEmAll-Build-Patches" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_C2F397A0651D41988A0BE5B00B16B3A9" + "Folder" = "8:_74885FA929E04F5B80D1841073C6DB7F" + "WorkingFolder" = "8:_4E7A381D281F45B4B99E6B600695A444" + "Icon" = "8:" + "Feature" = "8:" + } + } + "UserInterface" + { + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_0FDDA2FBAF7146F8AF6EB7EA1D1D0134" + { + "Name" = "8:#1900" + "Sequence" = "3:2" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3FF4F46FD24847C68C8D92989C89C068" + { + "Sequence" = "3:200" + "DisplayName" = "8:Installation Folder" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4E76213C377E4387A4A44E9255EC75BA" + { + "Sequence" = "3:400" + "DisplayName" = "8:License Agreement" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminLicenseDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "EulaText" + { + "Name" = "8:EulaText" + "DisplayName" = "8:#1008" + "Description" = "8:#1108" + "Type" = "3:6" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:_2707210B6B404D188D331462E589DEA3" + "UsePlugInResources" = "11:TRUE" + } + "Sunken" + { + "Name" = "8:Sunken" + "DisplayName" = "8:#1007" + "Description" = "8:#1107" + "Type" = "3:5" + "ContextData" = "8:4;True=4;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:4" + "DefaultValue" = "3:4" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_A9A8760D5C1144729D6002FE5FC8F7A0" + { + "Sequence" = "3:410" + "DisplayName" = "8:Confirm Installation" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E4277B9EBBC94A6D82C05C2B3A5F8120" + { + "Sequence" = "3:100" + "DisplayName" = "8:Welcome" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_48697F32EE084220B60953BBB436A8F8" + { + "Name" = "8:#1902" + "Sequence" = "3:2" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_8DEC3226F0B947D1AB2B0703904DC6AC" + { + "Sequence" = "3:100" + "DisplayName" = "8:Finished" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_5A7D6B5A71D245058BE87D31A72BA754" + { + "Name" = "8:#1900" + "Sequence" = "3:1" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0534ED710446405E813EADE71EFB44DF" + { + "Sequence" = "3:400" + "DisplayName" = "8:License Agreement" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdLicenseDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "EulaText" + { + "Name" = "8:EulaText" + "DisplayName" = "8:#1008" + "Description" = "8:#1108" + "Type" = "3:6" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:2" + "Value" = "8:_2707210B6B404D188D331462E589DEA3" + "UsePlugInResources" = "11:TRUE" + } + "Sunken" + { + "Name" = "8:Sunken" + "DisplayName" = "8:#1007" + "Description" = "8:#1107" + "Type" = "3:5" + "ContextData" = "8:4;True=4;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:4" + "DefaultValue" = "3:4" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_06362FE06567403786D1E3B2535028FA" + { + "Sequence" = "3:100" + "DisplayName" = "8:Welcome" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_094B05D6CCC94C348FC56FC77FA1C690" + { + "Sequence" = "3:410" + "DisplayName" = "8:Confirm Installation" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_2E55A20E15C449E59AB64E169CF1B326" + { + "Sequence" = "3:200" + "DisplayName" = "8:Installation Folder" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "InstallAllUsersVisible" + { + "Name" = "8:InstallAllUsersVisible" + "DisplayName" = "8:#1059" + "Description" = "8:#1159" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_723ABC4D64E14CCA951E27DEEF71AD2F" + { + "Name" = "8:#1901" + "Sequence" = "3:1" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_01AA808F34E84E208A0668D3D9D2D6A9" + { + "Sequence" = "3:100" + "DisplayName" = "8:Progress" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_8D98A70C6997445EAE9A0F1F79D204DF" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdUserInterface.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_918561D5F2D64DE189766EA847D2600F" + { + "Name" = "8:#1901" + "Sequence" = "3:2" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3425FEE70F0C4280A8B01A254E83015A" + { + "Sequence" = "3:100" + "DisplayName" = "8:Progress" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_C1D37477FBAC4E06BB6015487B3B3B4B" + { + "Name" = "8:#1902" + "Sequence" = "3:1" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DF67E2F364BC4D5A9EDEA07EB5E96B19" + { + "Sequence" = "3:100" + "DisplayName" = "8:Finished" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "UpdateText" + { + "Name" = "8:UpdateText" + "DisplayName" = "8:#1058" + "Description" = "8:#1158" + "Type" = "3:15" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1258" + "DefaultValue" = "8:#1258" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_F13F262CFD724A5A8451498A7C18B1EB" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdBasicDialogs.wim" + } + } + "MergeModule" + { + } + "ProjectOutput" + { + "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_15A0FD2F6BA049F3915CBBD17C523141" + { + "SourcePath" = "8:..\\PatchEmAll-CLI\\obj\\Debug\\PatchEmAll-CLI.exe" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + "ProjectOutputGroupRegister" = "3:1" + "OutputConfiguration" = "8:" + "OutputGroupCanonicalName" = "8:Built" + "OutputProjectGuid" = "8:{2D9F35C9-4274-429F-851E-96DAE240B59E}" + "ShowKeyOutput" = "11:TRUE" + "ExcludeFilters" + { + } + } + "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_65A646FA3C0C48A8ABEFEB2EBEE1A6A2" + { + "SourcePath" = "8:..\\PatchEmAll-GUI\\obj\\Debug\\PatchEmAll-GUI.exe" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_6FBC65191EB34C8EA10C20A6AC7DC2B9" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + "ProjectOutputGroupRegister" = "3:1" + "OutputConfiguration" = "8:" + "OutputGroupCanonicalName" = "8:Built" + "OutputProjectGuid" = "8:{114ADC53-8575-4DA6-9EC3-36187C0B55E9}" + "ShowKeyOutput" = "11:TRUE" + "ExcludeFilters" + { + } + } + } + } +} diff --git a/PatchEmAll-Release/PatchEmAll-Release.csproj b/PatchEmAll-Release/PatchEmAll-Release.csproj new file mode 100644 index 0000000..47e884b --- /dev/null +++ b/PatchEmAll-Release/PatchEmAll-Release.csproj @@ -0,0 +1,130 @@ + + + + + + Debug + AnyCPU + {D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB} + + + + + AnyCPU + bin\Debug\ + + + AnyCPU + bin\Release\ + + + + + + + PatchEmAll + 1.5.7 + PatchEmAll-Portable + PatchEmAll-Installer + PatchEmAll-Package + PatchEmAll-Source + PatchEmAll + PatchEmAll-CLI + PatchEmAll-GUI + $(OutputPath)Portable\ + $(OutputPath)ILMerge\ + $(OutputPath)Package\ + $(OutputPath)Installer\ + $(OutputPath)Source\ + $(OutputPath)Releases\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + \ No newline at end of file diff --git a/PatchEmAll-Release/packages.config b/PatchEmAll-Release/packages.config new file mode 100644 index 0000000..8f32205 --- /dev/null +++ b/PatchEmAll-Release/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/PatchEmAll.sln b/PatchEmAll.sln new file mode 100644 index 0000000..a6fbaaa --- /dev/null +++ b/PatchEmAll.sln @@ -0,0 +1,65 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.33516.290 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll-CLI", "PatchEmAll-CLI\PatchEmAll-CLI.csproj", "{2D9F35C9-4274-429F-851E-96DAE240B59E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll-GUI", "PatchEmAll-GUI\PatchEmAll-GUI.csproj", "{114ADC53-8575-4DA6-9EC3-36187C0B55E9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll", "PatchEmAll\PatchEmAll.csproj", "{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}" +EndProject +Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "PatchEmAll-Installer", "PatchEmAll-Installer\PatchEmAll-Installer.vdproj", "{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll-Release", "PatchEmAll-Release\PatchEmAll-Release.csproj", "{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}" + ProjectSection(ProjectDependencies) = postProject + {114ADC53-8575-4DA6-9EC3-36187C0B55E9} = {114ADC53-8575-4DA6-9EC3-36187C0B55E9} + {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC} = {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC} + {2D9F35C9-4274-429F-851E-96DAE240B59E} = {2D9F35C9-4274-429F-851E-96DAE240B59E} + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EF51289A-9DF0-4262-9867-D4E6F9C321EE}" + ProjectSection(SolutionItems) = preProject + CHANGELOG.md = CHANGELOG.md + CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md + CONTRIBUTING.md = CONTRIBUTING.md + LICENSE = LICENSE + README.md = README.md + TODO.md = TODO.md + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + Description = The Original Automated ROM Patcher + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2D9F35C9-4274-429F-851E-96DAE240B59E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2D9F35C9-4274-429F-851E-96DAE240B59E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2D9F35C9-4274-429F-851E-96DAE240B59E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2D9F35C9-4274-429F-851E-96DAE240B59E}.Release|Any CPU.Build.0 = Release|Any CPU + {114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Release|Any CPU.Build.0 = Release|Any CPU + {956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Debug|Any CPU.Build.0 = Debug|Any CPU + {956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Release|Any CPU.ActiveCfg = Release|Any CPU + {956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Release|Any CPU.Build.0 = Release|Any CPU + {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Debug|Any CPU.ActiveCfg = Debug + {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Debug|Any CPU.Build.0 = Debug + {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Release|Any CPU.ActiveCfg = Release + {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Release|Any CPU.Build.0 = Release + {D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CDB3CD11-F8EC-41D7-8562-9BC4D0C84D98} + EndGlobalSection +EndGlobal diff --git a/PatchEmAll/App.ico b/PatchEmAll/App.ico new file mode 100644 index 0000000..63922ff Binary files /dev/null and b/PatchEmAll/App.ico differ diff --git a/PatchEmAll/CRC32CryptoServiceProvider.cs b/PatchEmAll/CRC32CryptoServiceProvider.cs new file mode 100644 index 0000000..c73ad17 --- /dev/null +++ b/PatchEmAll/CRC32CryptoServiceProvider.cs @@ -0,0 +1,180 @@ +using System; +using System.Collections.Generic; +using System.Security.Cryptography; + +namespace PatchEmAll +{ + /// + /// Implements a 32-bit CRC hash algorithm compatible with Zip etc. + /// + /// + /// If you need to call multiple times for the same data either use the HashAlgorithm + /// interface or remember that the result of one Compute call needs to be ~ (XOR) before + /// being passed in as the seed for the next Compute call. + /// + public sealed class CRC32CryptoServiceProvider : HashAlgorithm + { + /// DefaultPolynomial + public const UInt32 DefaultPolynomial = 0xedb88320u; + /// DefaultSeed + public const UInt32 DefaultSeed = 0xffffffffu; + /// defaultTable + static UInt32[] defaultTable; + /// seed + readonly UInt32 seed; + /// table + readonly UInt32[] table; + /// hash + UInt32 hash; + + /// + /// CRC32CryptoServiceProvider Constructor + /// + public CRC32CryptoServiceProvider() : this(DefaultPolynomial, DefaultSeed) + { + + } + + /// + /// CRC32CryptoServiceProvider Constructor Overloaded + /// + /// + /// + public CRC32CryptoServiceProvider(UInt32 polynomial, UInt32 seed) + { + table = InitializeTable(polynomial); + this.seed = hash = seed; + } + + /// + /// Initialize + /// + public override void Initialize() + { + hash = seed; + } + + /// + /// HashCore + /// + /// + /// + /// + protected override void HashCore(byte[] array, int ibStart, int cbSize) + { + hash = CalculateHash(table, hash, array, ibStart, cbSize); + } + + /// + /// HashFinal + /// + /// + protected override byte[] HashFinal() + { + var hashBuffer = UInt32ToBigEndianBytes(~hash); + HashValue = hashBuffer; + return hashBuffer; + } + + /// + /// HashSize + /// + public override int HashSize + { + get { return 32; } + } + + /// + /// Compute + /// + /// + /// + public static UInt32 Compute(byte[] buffer) + { + return Compute(DefaultSeed, buffer); + } + + /// + /// Compute + /// + /// + /// + /// + public static UInt32 Compute(UInt32 seed, byte[] buffer) + { + return Compute(DefaultPolynomial, seed, buffer); + } + + /// + /// Compute + /// + /// + /// + /// + /// + public static UInt32 Compute(UInt32 polynomial, UInt32 seed, byte[] buffer) + { + return ~CalculateHash(InitializeTable(polynomial), seed, buffer, 0, buffer.Length); + } + + /// + /// InitializeTable + /// + /// + /// + static UInt32[] InitializeTable(UInt32 polynomial) + { + if (polynomial == DefaultPolynomial && defaultTable != null) + return defaultTable; + + var createTable = new UInt32[256]; + for (var i = 0; i < 256; i++) + { + var entry = (UInt32)i; + for (var j = 0; j < 8; j++) + if ((entry & 1) == 1) + entry = (entry >> 1) ^ polynomial; + else + entry = entry >> 1; + createTable[i] = entry; + } + + if (polynomial == DefaultPolynomial) + defaultTable = createTable; + + return createTable; + } + + /// + /// CalculateHash + /// + /// + /// + /// + /// + /// + /// + static UInt32 CalculateHash(UInt32[] table, UInt32 seed, IList buffer, int start, int size) + { + var hash = seed; + for (var i = start; i < start + size; i++) + hash = (hash >> 8) ^ table[buffer[i] ^ hash & 0xff]; + return hash; + } + + /// + /// UInt32ToBigEndianBytes + /// + /// + /// + static byte[] UInt32ToBigEndianBytes(UInt32 uint32) + { + var result = BitConverter.GetBytes(uint32); + + if (BitConverter.IsLittleEndian) + Array.Reverse(result); + + return result; + } + } +} diff --git a/PatchEmAll/PatchEmAll.cs b/PatchEmAll/PatchEmAll.cs new file mode 100644 index 0000000..41cefbd --- /dev/null +++ b/PatchEmAll/PatchEmAll.cs @@ -0,0 +1,1274 @@ +using Serilog; +using Serilog.Sinks.LogEmAll; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Runtime.InteropServices; +using System.Security.Cryptography; +using System.Text.RegularExpressions; +using System.Xml.Linq; + +namespace PatchEmAll +{ + /// + /// The PatchEmAll Class which interacts with the Main Program Class. + /// + public class PatchEmAll : INotifyPropertyChanged + { + #region Constructors + + /// + /// PatchEmAll Constructor + /// + public PatchEmAll() + { + // Construct a PatchEmAll object. + } + + #endregion + + #region INotifyPropertyChanged + + /// PropertyChanged Event + public event PropertyChangedEventHandler PropertyChanged; + + /// + /// NotifyPropertyChanged + /// + /// + private void NotifyPropertyChanged(String pName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(pName)); + } + + #endregion + + #region Private Members + + // Not Options + private readonly string _strAppName = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).ProductName; + private readonly string _strAppVersion = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).ProductVersion; + private readonly string _strAppCopyright = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright; + private string _strCommandSwitch = "-help"; + private string _strXdeltaBuildCommand = "-e -9 -s"; + private string _strDelimiter = " -- "; + private string _strMachineName = ""; + private string _strComment = ""; + private ListStringLog _logLines = new ListStringLog(); + // Devs Options + private string _strSounds = "Off"; + private string _strLanguage = "en"; + private string _strLogLevel = "Information"; + // Paths Options + private string _strPathLogFile = ""; + private string _strPathOptionsFile = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Options", "PatchEmAll-Options.xml"); + private string _strPathROMsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "ROMs"); + private string _strPathPatchesDir = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Patches"); + private string _strPathDatsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Dats"); + private string _strPathDatPPDXMLFile = ""; + private string _strPathXdeltaFile = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Xdelta", "xdelta3-3.1.0-i686.exe"); + // Registration Options + private string _registrationStatus = "unregistered"; + private string _registrationKey = ""; + private string _registerAppUsername = ""; + private string _registerAppEmailAddress = ""; + private string _registerAppPassword = ""; + + #endregion + + #region Getters/Setters Public Accessors + + /// AppName + public string AppName + { + get { return _strAppName; } + set { } + } + /// AppVersion + public string AppVersion + { + get { return _strAppVersion; } + set { } + } + /// AppCopyright + public string AppCopyright + { + get { return _strAppCopyright; } + set { } + } + /// PathOptionsFile + public string PathOptionsFile + { + get { return _strPathOptionsFile; } + set { _strPathOptionsFile = value; } + } + /// PathROMsDir + public string PathROMsDir + { + get { return _strPathROMsDir; } + set { _strPathROMsDir = value; NotifyPropertyChanged("PathROMsDir"); } + } + /// PathPatchesDir + public string PathPatchesDir + { + get { return _strPathPatchesDir; } + set { _strPathPatchesDir = value; NotifyPropertyChanged("PathPatchesDir"); } + } + /// PathDatsDir + public string PathDatsDir + { + get { return _strPathDatsDir; } + set { _strPathDatsDir = value; NotifyPropertyChanged("PathDatsDir"); } + } + /// PathDatPPDXMLFile + public string PathDatPPDXMLFile + { + get { return _strPathDatPPDXMLFile; } + set { _strPathDatPPDXMLFile = value; NotifyPropertyChanged("PathDatPPDXMLFile"); } + } + /// PathXdeltaFile + public string PathXdeltaFile + { + get { return _strPathXdeltaFile; } + set { _strPathXdeltaFile = value; NotifyPropertyChanged("PathXdeltaFile"); } + } + /// XdeltaBuildCommand + public string XdeltaBuildCommand + { + get { return _strXdeltaBuildCommand; } + set { _strXdeltaBuildCommand = value; NotifyPropertyChanged("XdeltaBuildCommand"); } + } + /// Delimiter + public string Delimiter + { + get { return _strDelimiter; } + set { _strDelimiter = value; NotifyPropertyChanged("Delimiter"); } + } + /// MachineName + public string MachineName + { + get { return _strMachineName; } + set { _strMachineName = value; NotifyPropertyChanged("MachineName"); } + } + /// Comment + public string Comment + { + get { return _strComment; } + set { _strComment = value; NotifyPropertyChanged("Comment"); } + } + /// PathLogFile + public string PathLogFile + { + get { return _strPathLogFile; } + set { _strPathLogFile = value; } + } + /// CommandSwitch + public string CommandSwitch + { + get { return _strCommandSwitch; } + set { _strCommandSwitch = value; } + } + /// Sounds + public string Sounds + { + get { return _strSounds; } + set { _strSounds = value; NotifyPropertyChanged("Sounds"); } + } + /// LogLines + public ListStringLog LogLines + { + get { return _logLines; } + set { _logLines = value; } + } + /// Language + public string Language + { + get { return _strLanguage; } + set { _strLanguage = value; NotifyPropertyChanged("Language"); } + } + /// LogLevel + public string LogLevel + { + get { return _strLogLevel; } + set { _strLogLevel = value; NotifyPropertyChanged("LogLevel"); } + } + /// RegistrationStatus + public string RegistrationStatus + { + get { return _registrationStatus; } + set { _registrationStatus = value; NotifyPropertyChanged("RegistrationStatus"); } + } + /// RegistrationKey + public string RegistrationKey + { + get { return _registrationKey; } + set { _registrationKey = value; NotifyPropertyChanged("RegistrationKey"); } + } + /// RegisterAppUsername + public string RegisterAppUsername + { + get { return _registerAppUsername; } + set { _registerAppUsername = value; NotifyPropertyChanged("RegisterAppUsername"); } + } + /// RegisterAppEmailAddress + public string RegisterAppEmailAddress + { + get { return _registerAppEmailAddress; } + set { _registerAppEmailAddress = value; NotifyPropertyChanged("RegisterAppEmailAddress"); } + } + /// RegisterAppPassword + public string RegisterAppPassword + { + get { return _registerAppPassword; } + set { _registerAppPassword = value; NotifyPropertyChanged("RegisterAppPassword"); } + } + + #endregion + + #region Startup Tasks + + /// + /// Performs the startup tasks. + /// + private void StartupTasks() + { + // + } + + #endregion + + #region Registration + + /// + /// Register the app. + /// + /// + /// + /// + /// + public bool RegisterApp(string strUsername = null, string strEmailAddress = null, string strPassword = null) + { + try + { + // Return a bool value + return true; + } + catch (Exception ex) + { + // Print to screen + Log.Error("Registering app failed"); + Log.Error(ex.Message); + + // Return a value + return false; + } + } + + #endregion + + #region Options + + /// + /// Loads and sets the options variables from the options file. + /// + /// + /// + public bool LoadOptionsFromFile(string strPath = null) + { + try + { + if (strPath != null) + { + PathOptionsFile = strPath; + } + + if (File.Exists(PathOptionsFile) == true) + { + // Load the options from the XML file. + XDocument xdocOptions = XDocument.Load(PathOptionsFile); + + // Set the variables. + PathROMsDir = xdocOptions.Element("Options").Element("PathROMsDir").Value; + PathPatchesDir = xdocOptions.Element("Options").Element("PathPatchesDir").Value; + PathDatsDir = xdocOptions.Element("Options").Element("PathDatsDir").Value; + PathDatPPDXMLFile = xdocOptions.Element("Options").Element("PathDatPPDXMLFile").Value; + PathXdeltaFile = xdocOptions.Element("Options").Element("PathXdeltaFile").Value; + XdeltaBuildCommand = xdocOptions.Element("Options").Element("XdeltaBuildCommand").Value; + MachineName = xdocOptions.Element("Options").Element("MachineName").Value; + Delimiter = xdocOptions.Element("Options").Element("Delimiter").Value; + Comment = xdocOptions.Element("Options").Element("Comment").Value; + Sounds = xdocOptions.Element("Options").Element("Sounds").Value; + Language = xdocOptions.Element("Options").Element("Language").Value; + LogLevel = xdocOptions.Element("Options").Element("LogLevel").Value; + + // Print to screen + Log.Information("Options file loaded (" + PathOptionsFile + ")"); + + // Return a bool value. + return true; + } + else + { + // Print to screen + Log.Information("Options file was not found"); + + // Return a bool value. + return false; + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Loading options from file failed"); + Log.Error("" + ex.Message); + + // Return a bool value. + return false; + } + } + + /// + /// Saves a new options file. + /// + /// + /// + public bool SaveOptionsToFile(string strPath = null) + { + try + { + if (strPath != null) + { + PathOptionsFile = strPath; + } + + // Print to screen + Log.Information("Saving options file ..."); + + // Create a new options XDocument. + XDocument xdocOptions = new XDocument( + new XDeclaration("1.0", "utf-8", "yes"), + new XComment("This is a PatchEmAll options file"), + new XComment("WARNING: Using invalid values might cause this app to crash!"), + new XElement("Options", + new XAttribute("Version", AppVersion), + new XElement("PathROMsDir", PathROMsDir), + new XElement("PathPatchesDir", PathPatchesDir), + new XElement("PathDatsDir", PathDatsDir), + new XElement("PathDatPPDXMLFile", PathDatPPDXMLFile), + new XElement("PathXdeltaFile", PathXdeltaFile), + new XElement("XdeltaBuildCommand", XdeltaBuildCommand), + new XElement("MachineName", MachineName), + new XElement("Delimiter", Delimiter), + new XElement("Comment", Comment), + new XElement("Sounds", Sounds), + new XElement("Language", Language), + new XElement("LogLevel", LogLevel) + ) + ); + + // Create options file directory if it doesn't exist. + if (Directory.Exists(Path.GetDirectoryName(PathOptionsFile)) == false) Directory.CreateDirectory(Path.GetDirectoryName(PathOptionsFile)); + + // Save the contents of the options XDocument to the file. + xdocOptions.Save(PathOptionsFile); + + // Print to screen + Log.Information("Options file saved (" + PathOptionsFile + ")"); + + // Return a bool value. + return true; + } + catch (Exception ex) + { + // Print to screen + Log.Error("Saving options failed"); + Log.Error("" + ex.Message); + Log.Information("Ready"); + + // Return a bool value. + return false; + } + } + + /// + /// Sets the variables passed from the CLI. + /// + /// + public void LoadOptionsFromCLI(string[] strArgs) + { + try + { + foreach (string strArg in strArgs) + { + if (Regex.IsMatch(strArg, "^-", RegexOptions.IgnoreCase) == true) + { + // Set the command switch. + CommandSwitch = strArg; + } + if (Regex.IsMatch(strArg, "^RD:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the ROMs directory. + PathROMsDir = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^PD:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the patches directory. + PathPatchesDir = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^DD:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the datafiles directory. + PathDatsDir = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^DF:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the Dat/PPD/XML file. + PathDatPPDXMLFile = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^XF:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the Xdelta file. + PathXdeltaFile = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^XC:", RegexOptions.IgnoreCase) == true) + { + // Set the Xdelta command to use for building patches. + XdeltaBuildCommand = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^DL:", RegexOptions.IgnoreCase) == true) + { + // Set the delimiter to use between game names. + Delimiter = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^MN:", RegexOptions.IgnoreCase) == true) + { + // Set the machine name to use for building an official datafile. + MachineName = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^CO:", RegexOptions.IgnoreCase) == true) + { + // Set the comment to use in patches and prepatches datafiles. + Comment = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OF:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the options file. + PathOptionsFile = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^LF:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the log file. + PathLogFile = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^SO:", RegexOptions.IgnoreCase) == true) + { + // Turn the sounds on or off. + Sounds = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^LA:", RegexOptions.IgnoreCase) == true) + { + // Set the language. + Language = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^LL:", RegexOptions.IgnoreCase) == true) + { + // Set the log level. + LogLevel = strArg.Substring(3); + } + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Loading options from CLI failed"); + Log.Error("" + ex.Message); + } + } + + #endregion + + #region CLI Methods + + /// + /// Updates/Sets the application title. + /// + /// + /// + public bool UpdateTitle(string strTitle = "") + { + try + { + Console.Title = AppName + " v" + AppVersion + strTitle; + return true; + } + catch (Exception) + { + return false; + } + } + + /// + /// Saves the log to a text file. + /// + /// + /// + public bool SaveLogToFile(string strPath = null) + { + try + { + if (strPath != null) + { + PathLogFile = strPath; + } + + // Determine if the user selected a log filename. + if (PathLogFile.Length == 0) + { + // Return a bool value. + return false; + } + else + { + // Print to screen + Log.Information("Saving log file ..."); + + // Create log file directory if it doesn't exist. + if (Directory.Exists(Path.GetDirectoryName(PathLogFile)) == false) Directory.CreateDirectory(Path.GetDirectoryName(PathLogFile)); + + // Save the contents of the log to a text file. + File.WriteAllLines(PathLogFile, LogLines); + + // Print to screen + Log.Information("Log file saved (" + PathLogFile + ")"); + + // Return a bool value. + return true; + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Saving log file failed"); + Log.Error(ex.Message); + + // Return a bool value. + return false; + } + } + + /// + /// Processes the command switch. + /// + public void ProcessCommandSwitch() + { + switch (CommandSwitch) + { + case "-buildroms": + StartupTasks(); // Checks and sets the activation and options variables from the WWW. + BuildROMs(); // Builds all possible ROMs. + break; + case "-buildpatches": + StartupTasks(); // Checks and sets the activation and options variables from the WWW. + BuildPatches(); // Builds all possible patches. + break; + case "-buildpatchesdat": + StartupTasks(); // Checks and sets the activation and options variables from the WWW. + BuildPatchesDatafile(); // Builds a datafile from the patches directory. + break; + case "-donations": + PrintDonationInfo(); // Prints the donation information. + break; + case "-registerapp": + RegisterApp(); // Registers the app. + break; + case "-diagnostics": + StartupTasks(); // Performs the application startup tasks. + PrintDiagnosticsInfo(); // Prints the diagnostics information. + break; + case "-license": + PrintLicense(); // Prints the license text. + break; + case "-version": + // Do nothing. // Does nothing. + break; + default: + PrintHelp(); // Prints the help text. + break; + } + } + + #endregion + + #region Build ROMs + + /// + /// Builds all possible ROMs from all supplied patches. + /// + public void BuildROMs() + { + try + { + // Print to screen + Log.Information("Building all possible ROMs ..."); + + // Declarations + bool boolExitFlag = false; // Exit flag + int intCounterTotalBuilt = 0; // Total built counter + int intCountArrDirFiles = 0; // Total loop count + string strPathRomsDir = PathROMsDir; // Path to the ROMs directory + string strPathPatchesDir = PathPatchesDir; // Path to the Patches directory + string strPathXdeltaFile = PathXdeltaFile; // Path to the Xdelta file + string strDelimiter = Delimiter; // Delimiter + + // Checkers + bool boolPathROMsDirCheck = PathROMsDirCheck(); + bool boolPathPatchesDirCheck = PathPatchesDirCheck(); + bool boolPathXdeltaFileCheck = PathXdeltaFileCheck(); + + // Check the paths and directories. + if (boolPathROMsDirCheck == false && boolPathPatchesDirCheck == false && boolPathXdeltaFileCheck == false) + { + // Print to screen + Log.Information("Options: ROMs Directory (" + strPathRomsDir + ")"); + Log.Information("Options: Patches Directory (" + strPathPatchesDir + ")"); + Log.Information("Options: Xdelta File (" + strPathXdeltaFile + ")"); + Log.Information("Options: Delimiter (" + strDelimiter + ")"); + + // Get the directory files array and count. + string[] arrDirFiles = Directory.GetFiles(strPathPatchesDir, "*.xd3"); + intCountArrDirFiles = arrDirFiles.Count(); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Main loop - Build all possible ROMs from all supplied patches. + while (intCountArrDirFiles > 0 && boolExitFlag == false) + { + // Set the exit flag to true. + boolExitFlag = true; + + // Loop through the patches directory files array. + foreach (string strPatchName in arrDirFiles) + { + // Explode the patch filename. + string strPatchNameNew = Path.GetFileName(strPatchName); + string[] arrDelimiters = { strDelimiter }; + string[] arrPatchNames = strPatchNameNew.Split(arrDelimiters, StringSplitOptions.RemoveEmptyEntries); + + // Check for source and destination parts. + if (arrPatchNames.Count() > 1) + { + // Rename the source and destination file. + string strPatchNameSrc = arrPatchNames[0]; + string strPatchNameDest = arrPatchNames[1].Replace(".xd3", ""); + + // If the source file exists and the destination file doesn't exist, build the destination file. + if (File.Exists(Path.Combine(strPathRomsDir, strPatchNameSrc)) == true && File.Exists(Path.Combine(strPathRomsDir, strPatchNameDest)) == false) + { + // Print to screen + Log.Information("Building: " + strPatchNameDest); + Log.Information("From: " + strPatchNameSrc); + + // Build the ROM. + Process pProcess = new Process(); + pProcess.StartInfo.UseShellExecute = false; + pProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; + pProcess.StartInfo.CreateNoWindow = true; + pProcess.StartInfo.RedirectStandardInput = true; + pProcess.StartInfo.RedirectStandardOutput = true; + pProcess.StartInfo.RedirectStandardError = true; + pProcess.StartInfo.FileName = strPathXdeltaFile; + pProcess.StartInfo.Arguments = "-d -s \"" + Path.Combine(strPathRomsDir, strPatchNameSrc) + "\" \"" + Path.Combine(strPathPatchesDir, strPatchNameNew) + "\" \"" + Path.Combine(strPathRomsDir, strPatchNameDest) + "\""; + pProcess.Start(); + string strError = pProcess.StandardError.ReadToEnd(); + pProcess.WaitForExit(); + + // This isn't the preferred way to check for errors. + if (strError == "") + { + // Increment the counter. + intCounterTotalBuilt++; + + // Set exit flag. + boolExitFlag = false; + } + else + { + // Print the output of Xdelta to the screen. + Log.Error("Bad patch (" + strPatchNameNew + ")"); + Log.Error(strError); + } + } + } + else + { + // Print to screen + Log.Error("Bad patch name (" + arrPatchNames[0] + ")"); + } + } + } + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information("" + intCounterTotalBuilt + " ROMs built successfully in " + stopWatch.Elapsed); + } + + // Print to screen + Log.Information("Building all possible ROMs completed"); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Building all possible ROMs failed"); + Log.Error("" + ex.Message); + } + } + + #endregion + + #region Build Patches + + /// + /// Builds all possible patches from all supplied ROMs. + /// + public void BuildPatches() + { + try + { + // Print to screen + Log.Information("Building all possible patches ..."); + + // Declarations + int intCounterTotalBuilt = 0; // Total built counter + int intCountXdocPatches = 0; // Total loop counter + string strPathXdeltaFile = PathXdeltaFile; // Path to the Xdelta file + string strXdeltaBuildCommand = XdeltaBuildCommand; // Xdelta build command + string strPathDatPPDXMLFile = PathDatPPDXMLFile; // Path to the Dat/PPD/XML file + string strPathRomsDir = PathROMsDir; // Path to the ROMs directory + string strPathPatchesDir = PathPatchesDir; // Path to the Patches directory + string strDelimiter = Delimiter; // Delimiter + + // Checkers + bool boolPathROMsDirCheck = PathROMsDirCheck(); + bool boolPathPatchesDirCheck = PathPatchesDirCheck(); + bool boolPathXdeltaFileCheck = PathXdeltaFileCheck(); + bool boolPathDatPPDXMLFileCheck = PathDatPPDXMLFileCheck(); + + // Check the paths and directories. + if (boolPathROMsDirCheck == false && boolPathPatchesDirCheck == false && boolPathXdeltaFileCheck == false && boolPathDatPPDXMLFileCheck == false) + { + // Print to screen + Log.Information("Options: ROMs Directory (" + strPathRomsDir + ")"); + Log.Information("Options: Patches Directory (" + strPathPatchesDir + ")"); + Log.Information("Options: Dat/PPD/XML File (" + strPathDatPPDXMLFile + ")"); + Log.Information("Options: Xdelta File (" + strPathXdeltaFile + ")"); + Log.Information("Options: Xdelta Build Command (" + strXdeltaBuildCommand + ")"); + + // Get the patches XDocument from the dat file and count. + XDocument xdocPatches = new XDocument(); + xdocPatches = XDocument.Load(strPathDatPPDXMLFile); + intCountXdocPatches = xdocPatches.Descendants("rom").Count(); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Main Loop - Build the patches from the datafile and all supplied ROMs. + if (intCountXdocPatches > 0) + { + // Loop through the rom elements. + foreach (XElement xmlRom in xdocPatches.Descendants("rom")) + { + // Get the XML decoded patch name. + string strPatchName = xmlRom.Attribute("name").Value; + + // Explode the patch filename. + string[] arrDelimiters = { strDelimiter }; + string[] arrPatchNames = strPatchName.Split(arrDelimiters, StringSplitOptions.RemoveEmptyEntries); + + // Check for source and destination parts. + if (arrPatchNames.Count() > 1) + { + // Rename the source and destination file. + string strPatchNameSrc = arrPatchNames[0]; + string strPatchNameDest = arrPatchNames[1].Replace(".xd3", ""); + + // If the source file exists, the destination file exists and the patch doesn't exist, build the patch. + if (File.Exists(Path.Combine(strPathRomsDir, strPatchNameSrc)) == true && File.Exists(Path.Combine(strPathRomsDir, strPatchNameDest)) == true && File.Exists(Path.Combine(strPathPatchesDir, strPatchName)) == false) + { + // Print to screen + Log.Information("Building: " + strPatchName); + + // Build the patch. + Process pProcess = new Process(); + pProcess.StartInfo.UseShellExecute = false; + pProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; + pProcess.StartInfo.CreateNoWindow = true; + pProcess.StartInfo.RedirectStandardInput = true; + pProcess.StartInfo.RedirectStandardOutput = true; + pProcess.StartInfo.RedirectStandardError = true; + pProcess.StartInfo.FileName = strPathXdeltaFile; + pProcess.StartInfo.Arguments = strXdeltaBuildCommand + " \"" + Path.Combine(strPathRomsDir, strPatchNameSrc) + "\" \"" + Path.Combine(strPathRomsDir, strPatchNameDest) + "\" \"" + Path.Combine(strPathPatchesDir, strPatchName) + "\""; + pProcess.Start(); + string strError = pProcess.StandardError.ReadToEnd(); + pProcess.WaitForExit(); + + // This isn't the preferred way to check for errors. + if (strError == "") + { + // Increment the counter. + intCounterTotalBuilt++; + } + else + { + // Print the output of Xdelta to the screen. + Log.Error("Bad patch (" + strPatchName + ")"); + Log.Error(strError); + } + } + } + else + { + // Print to screen + Log.Error("Bad patch name (" + arrPatchNames[0] + ")"); + } + } + } + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information("" + intCounterTotalBuilt + " Patches built successfully in " + stopWatch.Elapsed); + } + + // Print to screen + Log.Information("Building all possible patches completed"); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Building all possible patches failed"); + Log.Error(ex.Message); + } + } + + #endregion + + #region Build Patches Datafile + + /// + /// Builds a datafile from the patches directory. + /// + public void BuildPatchesDatafile() + { + try + { + // Print to screen + Log.Information("Building patches datafile ..."); + + // Declarations + int intCounterTotalBuilt = 0; // Total built counter + int intCountArrDirFiles = 0; // Total loop count + string strPathPatchesDir = PathPatchesDir; // Path to the Patches directory + string strPathDatsDir = PathDatsDir; // Path to the Dats directory + string strName = MachineName; // Datafile name + string strVersion = DateTime.Now.ToString("yyyyMMdd HHmmss"); // Datafile version + string strDate = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss"); // Datafile date + string strDescription = MachineName + " - Patches (0) (" + strVersion + ")"; // Datafile description + string strCategory = "Patches"; // Datafile category + string strAuthor = AppName + " v" + AppVersion; // Datafile author + string strComment = Comment; // Datafile comment + string strPathSaveFilename = ""; // Path to the new datafile + string strXdeltaFile = Path.GetFileName(PathXdeltaFile); // Datafile Xdelta file + string strXdeltaBuildCommand = XdeltaBuildCommand; // Datafile Xdelta build command + string strMachineName = MachineName + " - Patches"; // Datafile machine name + + // Checkers + bool boolPathDatsDirCheck = PathDatsDirCheck(); + bool boolPathPatchesDirCheck = PathPatchesDirCheck(); + + // Check the paths and directories. + if (boolPathDatsDirCheck == false && boolPathPatchesDirCheck == false) + { + // Print to screen + Log.Information("Options: Patches Directory (" + strPathPatchesDir + ")"); + Log.Information("Options: Dats Directory (" + strPathDatsDir + ")"); + Log.Information("Options: Dat Name (" + strName + ")"); + Log.Information("Options: Dat Category (" + strCategory + ")"); + Log.Information("Options: Dat Date (" + strDate + ")"); + Log.Information("Options: Dat Comment (" + strComment + ")"); + Log.Information("Options: Xdelta File (" + strXdeltaFile + ")"); + Log.Information("Options: Xdelta Build Command (" + strXdeltaBuildCommand + ")"); + + // Get the directory files array and count. + string[] arrDirFiles = Directory.GetFiles(strPathPatchesDir, "*.xd3"); + intCountArrDirFiles = arrDirFiles.Count(); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Main loop - Build a datafile from the patches directory files. + if (intCountArrDirFiles > 0) + { + // Create a new datafile XDocument. + XDocument xdocDatafile = new XDocument( + new XDeclaration("1.0", "utf-8", "yes"), + new XElement("datafile", + new XElement("header", + new XElement("name", strName), + new XElement("description", strDescription), + new XElement("category", strCategory), + new XElement("version", strVersion), + new XElement("date", strDate), + new XElement("author", strAuthor), + new XElement("comment", strComment), + new XElement("buildemall", + new XAttribute("xdeltafile", strXdeltaFile), + new XAttribute("xdeltabuildcommand", strXdeltaBuildCommand) + ) + ) + ) + ); + + // Loop through the directory files array. + foreach (string strPathFile in arrDirFiles) + { + // Get the patch filesize and filename. + string strRomFilename = Path.GetFileName(strPathFile); + string strRomFileSize = new FileInfo(strPathFile).Length.ToString(); + + // Print to screen + Log.Information("Adding: " + strRomFilename); + + // Get the game name, category and description. + string strGameName = Path.GetFileNameWithoutExtension(strPathFile); + string strGameCategory = "Patches"; + string strGameDescription = Path.GetFileNameWithoutExtension(strPathFile); + + // Get the patch hashes. + byte[] arrRomFileHashSHA1 = new SHA1CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + byte[] arrRomFileHashMD5 = new MD5CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + byte[] arrRomFileHashCRC = new CRC32CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashSHA1 = BitConverter.ToString(arrRomFileHashSHA1).Replace("-", "").ToLower(); + string strRomFileHashMD5 = BitConverter.ToString(arrRomFileHashMD5).Replace("-", "").ToLower(); + string strRomFileHashCRC = BitConverter.ToString(arrRomFileHashCRC).Replace("-", "").ToLower(); + + // Add the patch file to the datafile XDocument. + xdocDatafile.Element("datafile").Add( + new XElement("game", + new XAttribute("name", strGameName), + new XElement("category", strGameCategory), + new XElement("description", strGameDescription), + new XElement("rom", + new XAttribute("name", strRomFilename), + new XAttribute("size", strRomFileSize), + new XAttribute("crc", strRomFileHashCRC), + new XAttribute("md5", strRomFileHashMD5), + new XAttribute("sha1", strRomFileHashSHA1) + ) + ) + ); + + // Increment the counter. + intCounterTotalBuilt++; + } + + // Modify the datafile header elements and filename. + xdocDatafile.Element("datafile").Element("header").Element("description").Value = strMachineName + " (" + intCounterTotalBuilt + ") (" + strVersion + ")"; + strPathSaveFilename = Path.Combine(strPathDatsDir, strMachineName + " (" + intCounterTotalBuilt + ") (" + strVersion + ").dat"); + + // Save the contents of the datafile XDocument to the file. + xdocDatafile.Save(strPathSaveFilename); + } + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information("" + intCounterTotalBuilt + " patches added to datafile successfully in " + stopWatch.Elapsed); + } + + // Print to screen + Log.Information("Building patches datafile completed"); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Building patches datafile failed"); + Log.Error(ex.Message); + } + } + + #endregion + + #region Checkers + + /// + /// Checks the Dat/PPD/XML file path. + /// + /// + public bool PathDatPPDXMLFileCheck() + { + // Check if the file exists. + if (File.Exists(PathDatPPDXMLFile) == true) + { + // Return the exit value. + return false; + } + else + { + // Print to screen and set the exit flag value. + Log.Error("The Dat/PPD/XML file path does not exist (" + PathDatPPDXMLFile + ")"); + return true; + } + } + + /// + /// Checks the ROMs directory path. + /// + /// + public bool PathROMsDirCheck() + { + // Check if the directory exists. + if (Directory.Exists(PathROMsDir) == true) + { + // Return the exit value. + return false; + } + else + { + // Print to screen and set the exit flag value. + Log.Error("The ROMs directory path does not exist (" + PathROMsDir + ")"); + return true; + } + } + + /// + /// Checks the Xdelta file path. + /// + /// + public bool PathXdeltaFileCheck() + { + // Check if the file exists. + if (File.Exists(PathXdeltaFile) == true) + { + // Return the exit value. + return false; + } + else + { + // Print to screen and set the exit flag value. + Log.Error("The Xdelta file path does not exist (" + PathXdeltaFile + ")"); + return true; + } + } + + /// + /// Checks the Patches directory path. + /// + /// + public bool PathPatchesDirCheck() + { + // Check if the directory exists. + if (Directory.Exists(PathPatchesDir) == true) + { + // Return the exit value. + return false; + } + else + { + // Print to screen and set the exit flag value. + Log.Error("The Patches directory path does not exist (" + PathPatchesDir + ")"); + return true; + } + } + + /// + /// Checks the Dats directory path. + /// + /// + public bool PathDatsDirCheck() + { + // Check if the directory exists. + if (Directory.Exists(PathDatsDir) == true) + { + // Return the exit value. + return false; + } + else + { + // Print to screen and set the exit flag value. + Log.Error("The Dats directory path does not exist (" + PathDatsDir + ")"); + return true; + } + } + + #endregion + + #region Printers + + /// + /// EnumerateLines + /// + /// + /// + public IEnumerable EnumerateLines(TextReader reader) + { + string line; + + while ((line = reader.ReadLine()) != null) + { + yield return line; + } + } + + /// + /// ReadAllResourceLines + /// + /// + /// + public string[] ReadAllResourceLines(string resourceText) + { + using (StringReader reader = new StringReader(resourceText)) + { + return EnumerateLines(reader).ToArray(); + } + } + + /// + /// Prints the help text. + /// + public void PrintHelp() + { + // Read all of the lines of the file into an array. + string[] arrLines = ReadAllResourceLines(Properties.Resources.PatchEmAll_HELP_CMD); + + // Loop through each line of the array. + foreach (string strLine in arrLines) + { + // Print to screen. + Log.Information(strLine); + } + } + + /// + /// Prints the license text. + /// + public void PrintLicense() + { + // Read all of the lines of the file into an array. + string[] arrLines = ReadAllResourceLines(Properties.Resources.PatchEmAll_LICENSE); + + // Loop through each line of the array. + foreach (string strLine in arrLines) + { + // Print to screen. + Log.Information(strLine); + } + } + + /// + /// Prints the version and copyright notice texts. + /// + public void PrintVersion() + { + // Print to screen + Log.Information("-------------------------------------------------------------------------"); + Log.Information(AppName + " v" + AppVersion); + Log.Information(AppCopyright); + Log.Information("-------------------------------------------------------------------------"); + } + + /// + /// Prints the donation information. + /// + public void PrintDonationInfo() + { + // Read all of the lines of the file into an array. + string[] arrLines = ReadAllResourceLines(Properties.Resources.PatchEmAll_DONATIONS); + + // Loop through each line of the array. + foreach (string strLine in arrLines) + { + // Print to screen. + Log.Information(strLine); + } + } + + /// + /// Prints the diagnostics information + /// + public void PrintDiagnosticsInfo() + { + try + { + // Print to screen + Log.Information("-Diagnostics Info"); + + // Print to screen + Log.Information("-Environment.OSVersion Detaiils"); + Log.Information("OS Version: " + Environment.OSVersion.Version.ToString()); + Log.Information("OS Platoform: " + Environment.OSVersion.Platform.ToString()); + Log.Information("OS SP: " + Environment.OSVersion.ServicePack.ToString()); + Log.Information("OS Version String: " + Environment.OSVersion.VersionString.ToString()); + + // Print to screen + Log.Information("-Environment.OSVersion.Version Detaiils"); + Log.Information("Major version: " + Environment.OSVersion.Version.Major.ToString()); + Log.Information("Major Revision: " + Environment.OSVersion.Version.MajorRevision.ToString()); + Log.Information("Minor version: " + Environment.OSVersion.Version.Minor.ToString()); + Log.Information("Minor Revision: " + Environment.OSVersion.Version.MinorRevision.ToString()); + Log.Information("Build: " + Environment.OSVersion.Version.Build.ToString()); + + // Print to screen + Log.Information("-Runtime.InteropServices.RuntimeInformation Detaiils"); + Log.Information("Framework Description: " + RuntimeInformation.FrameworkDescription.ToString()); + Log.Information("OS Architecture: " + RuntimeInformation.OSArchitecture.ToString()); + Log.Information("OS Description: " + RuntimeInformation.OSDescription.ToString()); + Log.Information("Process Architecture: " + RuntimeInformation.ProcessArchitecture.ToString()); + + // Print to screen + Log.Information("-Assembly.GetEntryAssembly Detaiils"); + Log.Information("Product Name: " + FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).ProductName); + Log.Information("Product Version: " + FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).ProductVersion); + Log.Information("Legal Copyright: " + FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright); + + // Print to screen + Log.Information("-Assembly.GetExecutingAssembly Detaiils"); + Log.Information("Product Name: " + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductName); + Log.Information("Product Version: " + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion); + Log.Information("Legal Copyright: " + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).LegalCopyright); + + // Print to screen + Log.Information("-Environment Detaiils"); + Log.Information("Processor Count: " + Environment.ProcessorCount.ToString()); + Log.Information("Is 64 Bit OS: " + Environment.Is64BitOperatingSystem.ToString()); + // Log.Information("Machine Name: " + Environment.MachineName.ToString()); + // Log.Information("User Name: " + Environment.UserName.ToString()); + + // Print to screen + // Log.Information("-App Details"); + // Log.Information(""); + } + catch (Exception ex) + { + // Print to screen + Log.Error("Test failed"); + Log.Error(ex.Message); + Log.Error(ex.StackTrace); + Log.Error(ex.ToString()); + } + } + + #endregion + } +} diff --git a/PatchEmAll/PatchEmAll.csproj b/PatchEmAll/PatchEmAll.csproj new file mode 100644 index 0000000..07f2f36 --- /dev/null +++ b/PatchEmAll/PatchEmAll.csproj @@ -0,0 +1,102 @@ + + + + + Debug + AnyCPU + {956E3B6C-EEE3-44A9-BE64-7B3AE0238924} + Library + Properties + PatchEmAll + PatchEmAll + v4.8 + 512 + true + + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\PatchEmAll.xml + + + none + true + bin\Release\ + TRACE + prompt + 4 + + + false + + + PatchEmAll.snk + + + App.ico + + + + ..\packages\Serilog.2.12.0\lib\net47\Serilog.dll + + + ..\packages\Serilog.Sinks.Console.4.1.0\lib\net45\Serilog.Sinks.Console.dll + + + ..\packages\Serilog.Sinks.LogEmAll.0.0.7\lib\net461\Serilog.Sinks.LogEmAll.dll + + + + + + + + + + + + + True + True + Resources.resx + + + + + PublicResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PatchEmAll/PatchEmAll.nuspec b/PatchEmAll/PatchEmAll.nuspec new file mode 100644 index 0000000..2b8d835 --- /dev/null +++ b/PatchEmAll/PatchEmAll.nuspec @@ -0,0 +1,44 @@ + + + + PatchEmAll + PatchEmAll + 0.0.0 + + Use the PatchEmAll Library (.dll) to patch ROMs from anywhere in your application. + + First, install or add the PatchEmAll Nuget Package to your application by downloading the [nuget.nupkg](https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll/packages) to your project folder and opening a Nuget Package Manager Console in Visual Studio and type: + + ``` + Install-Package nuget.nupkg + ``` + + Then, create and use a new PatchEmAll Object from anywhere in your application like the following: + + ``` + PatchEmAll.PatchEmAll pea = new PatchEmAll.PatchEmAll(); + ``` + + PatchEmAll + LICENSE.txt + false + icon.png + https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll/PatchEmAll/Resources/Images/PatchEmAll.png + https://www.devemall.int.eu.org + See https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll/releases for release notes. + Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved + PatchEmAll Automated ROM Patcher Patch ROMs + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PatchEmAll/PatchEmAll.snk b/PatchEmAll/PatchEmAll.snk new file mode 100644 index 0000000..0cada28 Binary files /dev/null and b/PatchEmAll/PatchEmAll.snk differ diff --git a/PatchEmAll/Properties/AssemblyInfo.cs b/PatchEmAll/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4b17a1a --- /dev/null +++ b/PatchEmAll/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("PatchEmAll")] +[assembly: AssemblyDescription("The Original Automated ROM Patcher")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("PatchEmAll")] +[assembly: AssemblyProduct("PatchEmAll")] +[assembly: AssemblyCopyright("Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved")] +[assembly: AssemblyTrademark("PatchEmAll - The Original Automated ROM Patcher")] +[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("956e3b6c-eee3-44a9-be64-7b3ae0238924")] + +// 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.5.7")] +[assembly: AssemblyFileVersion("1.5.7")] diff --git a/PatchEmAll/Properties/Resources.Designer.cs b/PatchEmAll/Properties/Resources.Designer.cs new file mode 100644 index 0000000..28d390d --- /dev/null +++ b/PatchEmAll/Properties/Resources.Designer.cs @@ -0,0 +1,149 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace PatchEmAll.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", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public 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)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PatchEmAll.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)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to ------------------------------------------------------------------ + ///PatchEmAll - Donations version 20240901 + ///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved + ///------------------------------------------------------------------ + /// + ///As you may know, a lot of time, effort and hard work goes into the + ///development and maintenance of a world class automated ROM + ///patcher. If you like or use this software regularly, maybe you + ///would like to make a donation. + /// + ///Please use the following donation link to make a [rest of string was truncated]";. + /// + public static string PatchEmAll_DONATIONS { + get { + return ResourceManager.GetString("PatchEmAll_DONATIONS", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ------------------------------------------------------------------------------- + ///PatchEmAll - Help version 20240901 + ///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved + ///------------------------------------------------------------------------------- + /// + ///[I] About + ///[II] Notes + ///[III] Installation + ///[IV] How To Build ROMs, Patches and Datafiles + ///[V] How To Build PPDs + ///[VI] FAQ + ///[VII] Contributing + ///[VIII] Contact + ///[IX] Disclaimers + /// + ///[I] About + ///---------------------------------------------------------------- [rest of string was truncated]";. + /// + public static string PatchEmAll_HELP { + get { + return ResourceManager.GetString("PatchEmAll_HELP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ------------------------------------------------------------------------------- + ///PatchEmAll - Help - CMD version 20240901 + ///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved + ///------------------------------------------------------------------------------- + /// + ///Usage: + /// PatchEmAll-CLI.exe [-command] [option:] + /// Options that contain spaces must be enclosed in quotations + /// Options may be specified in any order + /// Only one command may be be used + /// + ///------------------------------------------------------------- [rest of string was truncated]";. + /// + public static string PatchEmAll_HELP_CMD { + get { + return ResourceManager.GetString("PatchEmAll_HELP_CMD", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to *************************************************************** + ///PatchEmAll - License version 20240901 + ///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved + ///*************************************************************** + /// + ///TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + /// + ///1. Redistributions in any form are not permitted whatsoever, + ///under any conditions. + /// + ///2. This software may not be reverse engineered, decompiled, + ///or disassembled. + /// + ///3. PatchEmAll may publish revised and/or new versio [rest of string was truncated]";. + /// + public static string PatchEmAll_LICENSE { + get { + return ResourceManager.GetString("PatchEmAll_LICENSE", resourceCulture); + } + } + } +} diff --git a/PatchEmAll/Properties/Resources.resx b/PatchEmAll/Properties/Resources.resx new file mode 100644 index 0000000..853560c --- /dev/null +++ b/PatchEmAll/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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\Docs\PatchEmAll-DONATIONS.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Docs\PatchEmAll-HELP.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Docs\PatchEmAll-HELP-CMD.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Docs\PatchEmAll-LICENSE.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + \ No newline at end of file diff --git a/PatchEmAll/Resources/Docs/PatchEmAll-DONATIONS.txt b/PatchEmAll/Resources/Docs/PatchEmAll-DONATIONS.txt new file mode 100644 index 0000000..1098658 --- /dev/null +++ b/PatchEmAll/Resources/Docs/PatchEmAll-DONATIONS.txt @@ -0,0 +1,15 @@ +------------------------------------------------------------------ +PatchEmAll - Donations version 20250721 +Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved +------------------------------------------------------------------ + +As you may know, a lot of time, effort and hard work goes into the +development and maintenance of a world class automated ROM +patcher. If you like or use this software regularly, maybe you +would like to make a donation. + +Please use the following donation link to make a donation: + +https://www.devemall.int.eu.org/index.php?action=donations + +Home Page: https://www.devemall.int.eu.org/ diff --git a/PatchEmAll/Resources/Docs/PatchEmAll-HELP-CMD.txt b/PatchEmAll/Resources/Docs/PatchEmAll-HELP-CMD.txt new file mode 100644 index 0000000..fff595d --- /dev/null +++ b/PatchEmAll/Resources/Docs/PatchEmAll-HELP-CMD.txt @@ -0,0 +1,75 @@ +------------------------------------------------------------------------------- +PatchEmAll - Help - CMD version 20250721 +Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved +------------------------------------------------------------------------------- + +Usage: + PatchEmAll-CLI.exe [-command] [option:] + Options that contain spaces must be enclosed in quotations + Options may be specified in any order + Only one command may be be used + +------------------------------------------------------------------------------- + +Build ROMs Example: + PatchEmAll-CLI.exe -buildroms "RD:C:\PEA\ROMs" "PD:C:\PEA\Patches" "XF:C:\PEA\Xdelta\xdelta3-3.1.0-x86_64.exe" "DL: -- " + +------------------------------------------------------------------------------- + +Build Patches Example: + PatchEmAll-CLI.exe -buildpatches "RD:C:\PEA\ROMs" "PD:C:\PEA\Patches" "XF:C:\PEA\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "DL: -- " "DF:C:\PEA\Dats\YourDatPPDXMLFile.dat" + +------------------------------------------------------------------------------- + +Build Patches Datafile Example: + PatchEmAll-CLI.exe -buildpatchesdat "PD:C:\PEA\Patches" "XF:C:\PEA\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "MN:YourMachineName" "DD:C:\PEA\Dats" "CO:YourComment" + +------------------------------------------------------------------------------- + +Standard Commands: + -buildroms Build all possible ROMs + -buildpatches Build all possible patches + -buildpatchesdat Build a datafile from the patches directory + -saveoptions Save the options + -help Print the help + -donations Print the donations information + -license Print the license + -version Print the version + -registerapp Register the app + +------------------------------------------------------------------------------- + +Build Options: + XC: Command to use for building Xdelta patches + DL: Delimiter used between game names + MN: Machine name to use for building a datafile + CO: Comment to use for building a datafile + +------------------------------------------------------------------ + +Path Options: + RD: Path to the ROMs directory + PD: Path to the patches directory + DD: Path to the datafiles directory + DF: Path to the Dat/PPD/XML file + XF: Path to the Xdelta file + OF: Path to the options file - Overwrites all options + LF: Path to the log file + +------------------------------------------------------------------ + +Developer Options: + SO: Turn the sounds on or off + on + off - DEFAULT + LA: Language + en - DEFAULT + LL: Log Level + Information - DEFAULT + +------------------------------------------------------------------ + +Registration Options: + RA: Register app username + RB: Register app email address + RC: Register app password diff --git a/PatchEmAll/Resources/Docs/PatchEmAll-HELP.txt b/PatchEmAll/Resources/Docs/PatchEmAll-HELP.txt new file mode 100644 index 0000000..ed8ded4 --- /dev/null +++ b/PatchEmAll/Resources/Docs/PatchEmAll-HELP.txt @@ -0,0 +1,163 @@ +------------------------------------------------------------------------------- +PatchEmAll - Help version 20250721 +Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved +------------------------------------------------------------------------------- + +[I] About +[II] Notes +[III] Installation +[IV] How To Build ROMs, Patches and Datafiles +[V] How To Build PPDs +[VI] FAQ +[VII] Contributing +[VIII] Contact +[IX] Disclaimers + +[I] About +------------------------------------------------------------------------------- +PatchEmAll or PEA is the original software application for automating the process of building ROMs from patches and building patches from ROMs. + +Are you a ROM collector who wants to save vast amounts of time and bandwidth? Are you a patcher who is tired of working like an octopussy? If so, PatchEmAll is for you. It's easy and fun to use. + +PatchEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, building ROMs and patches is easy. Just run PatchEmAll to build all of the ROMs or patches. + +PatchEmAll uses Xdelta to create a patch containing the diff data between two ROMs. The resulting patch is usually very small and can be used to recreate an exact image of a second ROM. + +Although PatchEmAll has more than one purpose, it's main purpose is to automate the process of building ROMs and patches. This automated process not only saves you vast amounts of time and bandwidth, but also creates a uniform set of patches. + +PatchEmAll makes life simpler and easier. Just run PatchEmAll and go eat dinner, go to work or go to sleep. When you return, PatchEmAll has built every possible ROM or patch that it can... Or at least it's still working on it. + +Using PatchEmAll, the sky is the limit as to how many patches and datafiles you create. + +[II] Notes +------------------------------------------------------------------------------- +1) The ROMs, patches and datafiles directories should be as close to the drive's root directory as possible. The nature of things dictates that there will be very long filenames, on occasion. Keep in mind that some things may not work correctly if you choose too long of a path to put your files. +2) This software does not work on Zip, 7zip, TZip or any kind of archived ROMs. You must unzip or unarchive them into the appropriate directories. +3) Patch names and ROM names that do not exactly match the names in all official datafiles may break this software and may cause havoc, serious injury or death. +4) This software is not recursive. That means it won't find patches or ROMs inside of sub directories. +5) This software is not a ROM manager. Use a ROM manager for renaming, checking and managing your ROMs and patches. +6) This software is not a datafile tool. It doesn't have the ability to recognize every kind of datafile in existence. It should only be used with officially supported PatchEmAll datafiles. + +[III] Installation +------------------------------------------------------------------------------- +This software is designed to run on various operating systems, using .NET or Mono. Windows already comes with .NET Framework, but you can still install and use Mono if you'd like. + +First, if you are installing Mono, you should switch to the root user or System Administrator to install and use Mono and then switch to your downloademall user to install and use DownloadEmAll. + +Next, download and unzip the software to any new location that you wish to use. However, this software should be installed as close to the drive's root directory as possible. + +I like to put my installation in a directory called PEA on my Windows C:\ drive or in my Linux ~/ (home) directory. My installation layout looks like this: + +C:\PEA\BASHes\ +C:\PEA\Batches\ +C:\PEA\Dats\ +C:\PEA\Docs\ +C:\PEA\Logs\ +C:\PEA\Options\ +C:\PEA\Patches\ +C:\PEA\ROMs\ +C:\PEA\Xdelta\ +C:\PEA\PatchEmAll-CLI.exe +C:\PEA\PatchEmAll-GUI.exe + +or + +~/PEA/BASHes/ +~/PEA/Batches/ +~/PEA/Dats/ +~/PEA/Docs/ +~/PEA/Logs/ +~/PEA/Options/ +~/PEA/Patches/ +~/PEA/ROMs/ +~/PEA/Xdelta/ +~/PEA/PatchEmAll-CLI.exe +~/PEA/PatchEmAll-GUI.exe + +After this software is installed, you can create a new options file using the GUI or CLI version. + +PatchEmAll will try to automatically load the saved default options file. If it is not found, it will load some default options. + +PatchEmAll allows you to save many sets of options for numerous sets of patches and prepatches and quickly switch between them. + +[IV] How To Build ROMs, Patches and Datafiles +------------------------------------------------------------------------------- +Step 1) +Download the official PatchEmAll patches (.dat) and prepatches (.ppd) datafiles and unzip them into the Dats folder. + +Step 2) +Set the options according to the following requirements: +A) Building ROMs requires a ROMs directory, a patches directory, an Xdelta file and a delimiter. +B) Building patches requires a ROMs directory, a patches directory, an Xdelta file, an Xdelta build command, a delimiter and a Dat/PPD/XML file. +C) Building an official datafile requires a patches directory, an Xdelta file, an Xdelta build command, a machine name, a dats directory, and optionally a comment. + +Step 3) +Place all of the unzipped, unarchived ROMs into the ROMs directory. + +Step 4) +Place all of the unzipped, unarchived patches into the patches directory. + +Step 5) +Click the button with the action that you want to perform. + +[V] How To Build PPDs +------------------------------------------------------------------------------- +* The GUI version must be used to build PPDs. * + +Step 1) +Click the Load Dat button to load a datafile into the ROMs boxes. + +Step 2) +Select a ROM on the left to patch from. Select a ROM on the right to patch to. Click the Add Prepatch button. Add as many prepatches as you want. + +Step 3) +Set the machine name and a comment in the options. + +Step 4) +Save your PPD file. + +[VI] FAQ +------------------------------------------------------------------------------- +Q1: What is PatchEmAll? +A1: PatchEmAll is a software tool that automates the processes of building ROMs from patches and building patches from ROMs. + +Q2: Why do I need PatchEmAll? +A2: To automate the process of building ROMs and patches. Working like an octopussy is needless and senseless, when you can just run BuildEmall to build everything possible and all at once. A better question is, why would anyone want to build one ROM or one patch at a time, unless he only needs one ROM or patch? + +Q3: What makes PatchEmAll different? +A3: PatchEmAll is a software project, not a patching project. PatchEmAll is used by groups or individuals who operate and maintain patching projects. + +Q4: How do I get my datafiles included in the official PatchEmAll datafiles? +A4: Simply submit them to be included in the official datafiles. The official PatchEmAll datafiles should only contain 100% working patches. Each set has it's own datafile and there is no mess. + +Q5: I only want to build a few ROMs or patches. Do I have to build the entire set? +A5: Certainly not! Just put the few ROMs and patches into the ROMs and Patches directories and run PatchEmAll. It will only build the ROMs and patches that are possible out of the ROMs and patches that you supplied it with. + +[VII] Contributing +------------------------------------------------------------------------------- +Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a: +* Collector +* Database Administrator +* Datter +* Developer +* Dumper +* Graphic Artist +* Translator +* Player +* Tester + +Feel free to: +* Fork the repository +* Create an issue +* Branch your repository with the issue number and a meaningful name related to the changes you are making +* Create a pull request + +[VIII] Contact +------------------------------------------------------------------------------- +GitEmAll: https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll + +[IX] Disclaimers +------------------------------------------------------------------------------- +We do not upload, share, distribute or provide links to anything illegal, including ROMs or patches. + +This software includes Xdelta software, freely available from http://www.xdelta.org/ diff --git a/PatchEmAll/Resources/Docs/PatchEmAll-LICENSE.rtf b/PatchEmAll/Resources/Docs/PatchEmAll-LICENSE.rtf new file mode 100644 index 0000000..22e77a8 Binary files /dev/null and b/PatchEmAll/Resources/Docs/PatchEmAll-LICENSE.rtf differ diff --git a/PatchEmAll/Resources/Docs/PatchEmAll-LICENSE.txt b/PatchEmAll/Resources/Docs/PatchEmAll-LICENSE.txt new file mode 100644 index 0000000..326c80f --- /dev/null +++ b/PatchEmAll/Resources/Docs/PatchEmAll-LICENSE.txt @@ -0,0 +1,42 @@ +*************************************************************** +PatchEmAll - License version 20250721 +Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved +*************************************************************** + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Redistributions in any form are not permitted whatsoever, +under any conditions. + +2. This software may not be reverse engineered, decompiled, +or disassembled. + +3. PatchEmAll may publish revised and/or new versions of the +license from time to time. Each version will be given a +distinguishing version number. No one other than +PatchEmAll has the right to modify the terms applicable +to covered code created under this License. + +4. It is your responsibility to use this software in accordance +with all applicable laws. + +*************************************************************** + +THIS SOFTWARE IS PROVIDED BY THE PATCHEMALL DEVELOPMENT TEAM +'AS IS' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE PATCHEMALL DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +*************************************************************** + +This product includes Xdelta software, freely available from + diff --git a/PatchEmAll/Resources/Icons/PatchEmAll.ico b/PatchEmAll/Resources/Icons/PatchEmAll.ico new file mode 100644 index 0000000..63922ff Binary files /dev/null and b/PatchEmAll/Resources/Icons/PatchEmAll.ico differ diff --git a/PatchEmAll/Resources/Images/PatchEmAll.png b/PatchEmAll/Resources/Images/PatchEmAll.png new file mode 100644 index 0000000..aecca7e Binary files /dev/null and b/PatchEmAll/Resources/Images/PatchEmAll.png differ diff --git a/PatchEmAll/Resources/Libs/xdelta3-3.1.0-i686.exe b/PatchEmAll/Resources/Libs/xdelta3-3.1.0-i686.exe new file mode 100644 index 0000000..8c7679b Binary files /dev/null and b/PatchEmAll/Resources/Libs/xdelta3-3.1.0-i686.exe differ diff --git a/PatchEmAll/Resources/Libs/xdelta3-3.1.0-x86_64.exe b/PatchEmAll/Resources/Libs/xdelta3-3.1.0-x86_64.exe new file mode 100644 index 0000000..1cce3c5 Binary files /dev/null and b/PatchEmAll/Resources/Libs/xdelta3-3.1.0-x86_64.exe differ diff --git a/PatchEmAll/Resources/Output/Dats/put your dats in this directory.txt b/PatchEmAll/Resources/Output/Dats/put your dats in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll/Resources/Output/Dats/put your dats in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll/Resources/Output/Options/put your options files in this directory.txt b/PatchEmAll/Resources/Output/Options/put your options files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll/Resources/Output/Options/put your options files in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll/Resources/Output/Patches/put your patches in this directory.txt b/PatchEmAll/Resources/Output/Patches/put your patches in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll/Resources/Output/Patches/put your patches in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll/Resources/Output/ROMs/put your roms in this directory.txt b/PatchEmAll/Resources/Output/ROMs/put your roms in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll/Resources/Output/ROMs/put your roms in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll/Resources/Output/Xdelta/put your xdelta files in this directory.txt b/PatchEmAll/Resources/Output/Xdelta/put your xdelta files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/PatchEmAll/Resources/Output/Xdelta/put your xdelta files in this directory.txt @@ -0,0 +1 @@ +This file can be deleted. \ No newline at end of file diff --git a/PatchEmAll/packages.config b/PatchEmAll/packages.config new file mode 100644 index 0000000..b927374 --- /dev/null +++ b/PatchEmAll/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ef23a3 --- /dev/null +++ b/README.md @@ -0,0 +1,56 @@ +# @PatchEmAll +### The Original Automated ROM Patcher +## About +PatchEmAll or PEA is the original software application for automating the process of building ROMs from patches and building patches from ROMs. + +Are you a ROM collector who wants to save vast amounts of time and bandwidth? Are you a patcher who is tired of working like an octopussy? If so, PatchEmAll is for you. It's easy and fun to use. + +PatchEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, building ROMs and patches is easy. Just run PatchEmAll to build all of the ROMs or patches. + +PatchEmAll uses Xdelta to create a patch containing the diff data between two ROMs. The resulting patch is usually very small and can be used to recreate an exact image of a second ROM. + +Although PatchEmAll has more than one purpose, it's main purpose is to automate the process of building ROMs and patches. This automated process not only saves you vast amounts of time and bandwidth, but also creates a uniform set of patches. + +PatchEmAll makes life simpler and easier. Just run PatchEmAll and go eat dinner, go to work or go to sleep. When you return, PatchEmAll has built every possible ROM or patch that it can... Or at least it's still working on it. + +Using PatchEmAll, the sky is the limit as to how many patches and datafiles you create. +## Dependencies +.NET Framework 4.8 + +The following NuGet Packages are required to build a Debug and/or Release version of this app: +* ILMerge +* Serilog +* Serilog.Sinks.Console +* Serilog.Sinks.LogEmAll + +The following tools and extensions are required to be installed in your Visual Sudio IDE: +* Microsoft Visual Studio Installer Projects +## Projects +* PatchEmAll - Class Library +* PatchEmAll-CLI - Console App +* PatchEmAll-GUI - Windows Forms App +* PatchEmAll-Release - Release Project +* PatchEmAll-Installer - Installer Project +## Contributing +Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a: +* Collector +* Database Administrator +* Datter +* Developer +* Dumper +* Graphic Artist +* Translator +* Player +* Tester + +Feel free to: +* Fork the repository +* Create an issue +* Branch your repository with the issue number and a meaningful name related to the changes you are making +* Create a pull request + +## Contact +GitEmAll: [https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll](https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll "GitEmAll") + +--- +###### Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved v2025-07-21-00 diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..a38578c --- /dev/null +++ b/TODO.md @@ -0,0 +1,5 @@ +### To Do +* Nothing to do + +### Completed Tasks +* Develop initial release