commit 89a78050159f77407b275ef983bb007f2814c25b Author: TommySalami Date: Tue Jul 29 10:18:44 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..0bfcfd9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +Version 0.0.3 - 2025-07-029 + +* Update repository info and related URLs +* Minor changes + +Version 0.0.2 - 2024-09-04 + +* Update some NuGet packages +* Minor changes + +Version 0.0.1 - 2023-04-25 + +* Initial release 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..124ab13 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,25 @@ +# @DatEmAll +### The Original Automated Datter +## 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/DatEmAll](https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll "GitEmAll") + +--- +###### Copyright (c) 2016-2025 DatEmAll - All Rights Reserved v2025-07-29-00 diff --git a/DatEmAll-CLI/App.config b/DatEmAll-CLI/App.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/DatEmAll-CLI/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/DatEmAll-CLI/App.ico b/DatEmAll-CLI/App.ico new file mode 100644 index 0000000..4c3ce96 Binary files /dev/null and b/DatEmAll-CLI/App.ico differ diff --git a/DatEmAll-CLI/DatEmAll-CLI.csproj b/DatEmAll-CLI/DatEmAll-CLI.csproj new file mode 100644 index 0000000..ed34839 --- /dev/null +++ b/DatEmAll-CLI/DatEmAll-CLI.csproj @@ -0,0 +1,103 @@ + + + + + Debug + AnyCPU + {A4E91B23-5009-49C6-9B6F-419197B22504} + Exe + DatEmAll_CLI + DatEmAll-CLI + v4.8 + 512 + true + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\DatEmAll-CLI.xml + + + AnyCPU + none + true + bin\Release\ + TRACE + prompt + 4 + + + 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 + + + + + + + + + + + + + + + + + + + + + {4f7103f0-8421-42f1-8afe-251b752fa1e2} + DatEmAll + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + + + \ No newline at end of file diff --git a/DatEmAll-CLI/Program.cs b/DatEmAll-CLI/Program.cs new file mode 100644 index 0000000..a050534 --- /dev/null +++ b/DatEmAll-CLI/Program.cs @@ -0,0 +1,57 @@ +using System; +using System.Threading; +using Serilog; +using Serilog.Formatting.Display; +using Serilog.Sinks.LogEmAll; + +namespace DatEmAll_CLI +{ + /// + /// The Main Program Class. + /// + class Program + { + /// + /// The main entry point for the application. + /// + /// + static void Main(string[] args) + { + // Configure the Logger. + ConfigureSerilog(); + + // Create a new program object. + DatEmAll.DatEmAll dea = new DatEmAll.DatEmAll(); + + // Set the title. + dea.UpdateTitle(); + + // Print the version. + dea.PrintVersion(); + + // Load the default options passed from the default options file. + dea.LoadOptionsFromFile(); + + // Load the default options passed from the command line arguments. + dea.LoadOptionsFromCLI(args); + + // Process the command switch. + dea.ProcessCommandSwitch(); + + // Output the log to a text file. + dea.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/DatEmAll-CLI/Properties/AssemblyInfo.cs b/DatEmAll-CLI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..27d3886 --- /dev/null +++ b/DatEmAll-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("DatEmAll-CLI")] +[assembly: AssemblyDescription("The Original Automated Datter")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("DatEmAll")] +[assembly: AssemblyProduct("DatEmAll-CLI")] +[assembly: AssemblyCopyright("Copyright (c) 2020-2025 DatEmAll")] +[assembly: AssemblyTrademark("DatEmAll - The Original Automated Datter")] +[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("a4e91b23-5009-49c6-9b6f-419197b22504")] + +// 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("0.0.3")] +[assembly: AssemblyFileVersion("0.0.3")] diff --git a/DatEmAll-CLI/Properties/Resources.Designer.cs b/DatEmAll-CLI/Properties/Resources.Designer.cs new file mode 100644 index 0000000..466ead1 --- /dev/null +++ b/DatEmAll-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 DatEmAll_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("DatEmAll_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/DatEmAll-CLI/Properties/Resources.resx b/DatEmAll-CLI/Properties/Resources.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DatEmAll-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/DatEmAll-CLI/Resources/BASHes/DatEmAll-Build-Dat.sh b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Build-Dat.sh new file mode 100644 index 0000000..e8007e3 --- /dev/null +++ b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Build-Dat.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../DatEmAll-CLI.exe" -builddat diff --git a/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Donation-Info.sh b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Donation-Info.sh new file mode 100644 index 0000000..2cd12c3 --- /dev/null +++ b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Donation-Info.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../DatEmAll-CLI.exe" -donations diff --git a/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Help-CMD.sh b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Help-CMD.sh new file mode 100644 index 0000000..3cfa7ee --- /dev/null +++ b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Help-CMD.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../DatEmAll-CLI.exe" -help "LF:../Logs/DatEmAll-Log-00000000_000000.txt" diff --git a/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-License.sh b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-License.sh new file mode 100644 index 0000000..6a38b01 --- /dev/null +++ b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-License.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../DatEmAll-CLI.exe" -license diff --git a/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Version.sh b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Version.sh new file mode 100644 index 0000000..fc383a5 --- /dev/null +++ b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Version.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../DatEmAll-CLI.exe" -version diff --git a/DatEmAll-CLI/Resources/BASHes/DatEmAll-Save-Options.sh b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Save-Options.sh new file mode 100644 index 0000000..196a0fc --- /dev/null +++ b/DatEmAll-CLI/Resources/BASHes/DatEmAll-Save-Options.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Main +mono "../DatEmAll-CLI.exe" -saveoptions diff --git a/DatEmAll-CLI/Resources/BASHes/put your bash files in this directory.txt b/DatEmAll-CLI/Resources/BASHes/put your bash files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/DatEmAll-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/DatEmAll-CLI/Resources/Batches/DatEmAll-Build-Dat.bat b/DatEmAll-CLI/Resources/Batches/DatEmAll-Build-Dat.bat new file mode 100644 index 0000000..5cb31be --- /dev/null +++ b/DatEmAll-CLI/Resources/Batches/DatEmAll-Build-Dat.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\DatEmAll-CLI.exe" -builddat + +rem */ Pause /* +@pause diff --git a/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Donation-Info.bat b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Donation-Info.bat new file mode 100644 index 0000000..4ecdb92 --- /dev/null +++ b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Donation-Info.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\DatEmAll-CLI.exe" -donations + +rem */ Pause /* +@pause diff --git a/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Help-CMD.bat b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Help-CMD.bat new file mode 100644 index 0000000..d25df87 --- /dev/null +++ b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Help-CMD.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\DatEmAll-CLI.exe" -help "LF:..\Logs\DatEmAll-Log-00000000_000000.txt" + +rem */ Pause /* +@pause diff --git a/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-License.bat b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-License.bat new file mode 100644 index 0000000..67a6618 --- /dev/null +++ b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-License.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\DatEmAll-CLI.exe" -license + +rem */ Pause /* +@pause diff --git a/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Version.bat b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Version.bat new file mode 100644 index 0000000..17571a8 --- /dev/null +++ b/DatEmAll-CLI/Resources/Batches/DatEmAll-Print-Version.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\DatEmAll-CLI.exe" -version + +rem */ Pause /* +@pause diff --git a/DatEmAll-CLI/Resources/Batches/DatEmAll-Save-Options.bat b/DatEmAll-CLI/Resources/Batches/DatEmAll-Save-Options.bat new file mode 100644 index 0000000..3fa5d74 --- /dev/null +++ b/DatEmAll-CLI/Resources/Batches/DatEmAll-Save-Options.bat @@ -0,0 +1,7 @@ +@echo off + +rem */ Main /* +"..\DatEmAll-CLI.exe" -saveoptions + +rem */ Pause /* +@pause diff --git a/DatEmAll-CLI/Resources/Batches/put your batch files in this directory.txt b/DatEmAll-CLI/Resources/Batches/put your batch files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/DatEmAll-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/DatEmAll-CLI/packages.config b/DatEmAll-CLI/packages.config new file mode 100644 index 0000000..b927374 --- /dev/null +++ b/DatEmAll-CLI/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/DatEmAll-GUI/App.config b/DatEmAll-GUI/App.config new file mode 100644 index 0000000..4bfa005 --- /dev/null +++ b/DatEmAll-GUI/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/DatEmAll-GUI/App.ico b/DatEmAll-GUI/App.ico new file mode 100644 index 0000000..4c3ce96 Binary files /dev/null and b/DatEmAll-GUI/App.ico differ diff --git a/DatEmAll-GUI/DatEmAll-GUI.csproj b/DatEmAll-GUI/DatEmAll-GUI.csproj new file mode 100644 index 0000000..88bf5b4 --- /dev/null +++ b/DatEmAll-GUI/DatEmAll-GUI.csproj @@ -0,0 +1,149 @@ + + + + + Debug + AnyCPU + {472C0464-F101-4A66-8D26-E065497AA86D} + WinExe + DatEmAll_GUI + DatEmAll-GUI + v4.8 + 512 + true + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\DatEmAll-GUI.xml + + + AnyCPU + none + true + bin\Release\ + TRACE + prompt + 4 + + + + + 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 + + + FrmDatEmAll.cs + + + + + FrmDatEmAll.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + {4f7103f0-8421-42f1-8afe-251b752fa1e2} + DatEmAll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DatEmAll-GUI/FrmDatEmAll.Designer.cs b/DatEmAll-GUI/FrmDatEmAll.Designer.cs new file mode 100644 index 0000000..828a601 --- /dev/null +++ b/DatEmAll-GUI/FrmDatEmAll.Designer.cs @@ -0,0 +1,2125 @@ +namespace DatEmAll_GUI +{ + partial class FrmDatEmAll + { + /// + /// 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(FrmDatEmAll)); + this.msMain = new System.Windows.Forms.MenuStrip(); + this.tsmiCommands = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiBuildDat = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiSaveOptions = new System.Windows.Forms.ToolStripMenuItem(); + this.tsmiLoadOptions = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiSaveLog = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = 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.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiOptions = 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.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiRegistration = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator19 = new System.Windows.Forms.ToolStripSeparator(); + this.tsmiToolbar = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.tsMain = new System.Windows.Forms.ToolStrip(); + this.tsbBuildDat = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbLoadOptions = new System.Windows.Forms.ToolStripButton(); + this.tsbSaveOptions = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbSaveLog = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewLog = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewOptions = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewHelp = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewLicense = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewDonations = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewRegistration = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbViewToolbar = new System.Windows.Forms.ToolStripButton(); + this.ssMain = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.tsslSpring = new System.Windows.Forms.ToolStripStatusLabel(); + this.tsslStatusMessage = new System.Windows.Forms.ToolStripStatusLabel(); + this.tssbCancel = new System.Windows.Forms.ToolStripSplitButton(); + this.bgwBuildDat = new System.ComponentModel.BackgroundWorker(); + this.tcMain = new System.Windows.Forms.TabControl(); + this.tabLog = new System.Windows.Forms.TabPage(); + this.rtblLog = new Serilog.Sinks.LogEmAll.RichTextBoxLog(); + this.tabOptions = new System.Windows.Forms.TabPage(); + this.tcOptions = new System.Windows.Forms.TabControl(); + this.tabOutput = new System.Windows.Forms.TabPage(); + this.gbHeaderDefaults = new System.Windows.Forms.GroupBox(); + this.chkIncludeDefaultHeaderEmail = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderCMPForceUnzip = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderCategory = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderComment = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderURL = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderHomepage = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderAuthor = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderDate = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderVersion = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderDescription = new System.Windows.Forms.CheckBox(); + this.chkIncludeDefaultHeaderName = new System.Windows.Forms.CheckBox(); + this.gbOutput2 = new System.Windows.Forms.GroupBox(); + this.txtDatFilename = new System.Windows.Forms.TextBox(); + this.chkIncludeROMDirRootFiles = new System.Windows.Forms.CheckBox(); + this.label1 = new System.Windows.Forms.Label(); + this.cbXMLDOCTYPE = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.lblDatExtension = new System.Windows.Forms.Label(); + this.chkAppendVersionToDescription = new System.Windows.Forms.CheckBox(); + this.cbXMLEncoding = new System.Windows.Forms.ComboBox(); + this.chkAppendVersionToFilename = new System.Windows.Forms.CheckBox(); + this.chkAppendGameCountToDescription = new System.Windows.Forms.CheckBox(); + this.chkAppendGameCountToFilename = new System.Windows.Forms.CheckBox(); + this.gbHeaderOverrides = new System.Windows.Forms.GroupBox(); + this.lblHeaderEmail = new System.Windows.Forms.Label(); + this.txtOverrideHeaderEmail = new System.Windows.Forms.TextBox(); + this.lblHeaderCategory = new System.Windows.Forms.Label(); + this.txtOverrideHeaderCategory = new System.Windows.Forms.TextBox(); + this.lblHeaderHomepage = new System.Windows.Forms.Label(); + this.lblHeaderAuthor = new System.Windows.Forms.Label(); + this.txtOverrideHeaderComment = new System.Windows.Forms.TextBox(); + this.txtOverrideHeaderURL = new System.Windows.Forms.TextBox(); + this.lblHeaderComment = new System.Windows.Forms.Label(); + this.lblHeaderUrl = new System.Windows.Forms.Label(); + this.lblHeaderDate = new System.Windows.Forms.Label(); + this.lblHeaderVersion = new System.Windows.Forms.Label(); + this.lblHeaderDescription = new System.Windows.Forms.Label(); + this.lblHeaderName = new System.Windows.Forms.Label(); + this.txtOverrideHeaderHomepage = new System.Windows.Forms.TextBox(); + this.txtOverrideHeaderAuthor = new System.Windows.Forms.TextBox(); + this.txtOverrideHeaderDate = new System.Windows.Forms.TextBox(); + this.txtOverrideHeaderVersion = new System.Windows.Forms.TextBox(); + this.txtOverrideHeaderDescription = new System.Windows.Forms.TextBox(); + this.txtOverrideHeaderName = new System.Windows.Forms.TextBox(); + this.gbOutputInfo = new System.Windows.Forms.GroupBox(); + this.lblOutputInfo2 = new System.Windows.Forms.Label(); + this.lblOutputInfo = new System.Windows.Forms.Label(); + this.gbOutput = new System.Windows.Forms.GroupBox(); + this.chkIncludeFileSize = new System.Windows.Forms.CheckBox(); + this.chkIncludeSHA1Hash = new System.Windows.Forms.CheckBox(); + this.chkIncludeMD5Hash = new System.Windows.Forms.CheckBox(); + this.chkIncludeCRC32Hash = new System.Windows.Forms.CheckBox(); + this.tabPaths = new System.Windows.Forms.TabPage(); + this.gbPathsInfo = new System.Windows.Forms.GroupBox(); + this.lblPathsInfo = new System.Windows.Forms.Label(); + this.tlpPaths = new System.Windows.Forms.TableLayoutPanel(); + this.gbPathROMsDir = new System.Windows.Forms.GroupBox(); + this.txtPathROMsDir = new System.Windows.Forms.TextBox(); + this.gbPathDatsDir = new System.Windows.Forms.GroupBox(); + this.txtPathDatsDir = new System.Windows.Forms.TextBox(); + this.tabCredentials = new System.Windows.Forms.TabPage(); + this.gbDownloadEmAllCredentials = new System.Windows.Forms.GroupBox(); + this.txtDownloadEmAllPassword = new System.Windows.Forms.TextBox(); + this.txtDownloadEmAllUsername = new System.Windows.Forms.TextBox(); + this.lblDownloadEmAllPassword = new System.Windows.Forms.Label(); + this.lblDownloadEmAllUsername = new System.Windows.Forms.Label(); + this.gbCredentialsInfo = new System.Windows.Forms.GroupBox(); + this.lblCredentialsInfo = new System.Windows.Forms.Label(); + this.tabDevs = new System.Windows.Forms.TabPage(); + this.gbDevelopersInfo = new System.Windows.Forms.GroupBox(); + this.lblDevelopersInfo3 = new System.Windows.Forms.Label(); + this.lblDevelopersInfo1 = new System.Windows.Forms.Label(); + this.lblDevelopersInfo2 = new System.Windows.Forms.Label(); + this.gbDevelopers = new System.Windows.Forms.GroupBox(); + this.chkCheckForLatestVersion = new System.Windows.Forms.CheckBox(); + this.cbLogLevel = new System.Windows.Forms.ComboBox(); + this.lblLogLevel = new System.Windows.Forms.Label(); + this.cbLanguageLocality = new System.Windows.Forms.ComboBox(); + this.lblLanguage = new System.Windows.Forms.Label(); + this.chkCheckSSLCertificates = new System.Windows.Forms.CheckBox(); + this.chkSendErrorReports = new System.Windows.Forms.CheckBox(); + 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.gbRegistration = new System.Windows.Forms.GroupBox(); + this.btnRegisterApp = new System.Windows.Forms.Button(); + this.lblRegisterAppPassword = new System.Windows.Forms.Label(); + this.lblRegisterAppEmail = new System.Windows.Forms.Label(); + this.lblRegisterAppUsername = new System.Windows.Forms.Label(); + this.txtRegisterAppPassword = new System.Windows.Forms.TextBox(); + this.txtRegisterAppEmailAddress = new System.Windows.Forms.TextBox(); + this.txtRegisterAppUsername = new System.Windows.Forms.TextBox(); + this.gbRegistrationInfo = new System.Windows.Forms.GroupBox(); + this.lblRegistrationInfo = new System.Windows.Forms.Label(); + this.bgwStartupTasks = new System.ComponentModel.BackgroundWorker(); + this.msMain.SuspendLayout(); + this.tsMain.SuspendLayout(); + this.ssMain.SuspendLayout(); + this.tcMain.SuspendLayout(); + this.tabLog.SuspendLayout(); + this.tabOptions.SuspendLayout(); + this.tcOptions.SuspendLayout(); + this.tabOutput.SuspendLayout(); + this.gbHeaderDefaults.SuspendLayout(); + this.gbOutput2.SuspendLayout(); + this.gbHeaderOverrides.SuspendLayout(); + this.gbOutputInfo.SuspendLayout(); + this.gbOutput.SuspendLayout(); + this.tabPaths.SuspendLayout(); + this.gbPathsInfo.SuspendLayout(); + this.tlpPaths.SuspendLayout(); + this.gbPathROMsDir.SuspendLayout(); + this.gbPathDatsDir.SuspendLayout(); + this.tabCredentials.SuspendLayout(); + this.gbDownloadEmAllCredentials.SuspendLayout(); + this.gbCredentialsInfo.SuspendLayout(); + this.tabDevs.SuspendLayout(); + this.gbDevelopersInfo.SuspendLayout(); + this.gbDevelopers.SuspendLayout(); + this.tabHelp.SuspendLayout(); + this.tabLicense.SuspendLayout(); + this.tabDonations.SuspendLayout(); + this.tabRegistration.SuspendLayout(); + this.gbRegistration.SuspendLayout(); + this.gbRegistrationInfo.SuspendLayout(); + this.SuspendLayout(); + // + // msMain + // + this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiCommands, + this.tsmiView}); + this.msMain.Location = new System.Drawing.Point(0, 0); + this.msMain.Name = "msMain"; + this.msMain.Size = new System.Drawing.Size(800, 24); + this.msMain.TabIndex = 0; + this.msMain.Text = "msMain"; + // + // tsmiCommands + // + this.tsmiCommands.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiBuildDat, + this.toolStripSeparator5, + this.tsmiSaveOptions, + this.tsmiLoadOptions, + this.toolStripSeparator6, + this.tsmiSaveLog, + this.toolStripSeparator7, + this.tsmiExit}); + this.tsmiCommands.Name = "tsmiCommands"; + this.tsmiCommands.Size = new System.Drawing.Size(68, 20); + this.tsmiCommands.Text = "DatEmAll"; + // + // tsmiBuildDat + // + this.tsmiBuildDat.Enabled = false; + this.tsmiBuildDat.Image = global::DatEmAll_GUI.Properties.Resources.BuildDat_32x32; + this.tsmiBuildDat.Name = "tsmiBuildDat"; + this.tsmiBuildDat.Size = new System.Drawing.Size(145, 22); + this.tsmiBuildDat.Text = "Build Dat"; + this.tsmiBuildDat.Click += new System.EventHandler(this.BuildDat_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(142, 6); + // + // tsmiSaveOptions + // + this.tsmiSaveOptions.Enabled = false; + this.tsmiSaveOptions.Image = global::DatEmAll_GUI.Properties.Resources.SaveOptions_32x32; + this.tsmiSaveOptions.Name = "tsmiSaveOptions"; + this.tsmiSaveOptions.Size = new System.Drawing.Size(145, 22); + this.tsmiSaveOptions.Text = "Save Options"; + this.tsmiSaveOptions.Click += new System.EventHandler(this.SaveOptions_Click); + // + // tsmiLoadOptions + // + this.tsmiLoadOptions.Enabled = false; + this.tsmiLoadOptions.Image = global::DatEmAll_GUI.Properties.Resources.LoadOptions_32x32; + this.tsmiLoadOptions.Name = "tsmiLoadOptions"; + this.tsmiLoadOptions.Size = new System.Drawing.Size(145, 22); + this.tsmiLoadOptions.Text = "Load Options"; + this.tsmiLoadOptions.Click += new System.EventHandler(this.LoadOptions_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(142, 6); + // + // tsmiSaveLog + // + this.tsmiSaveLog.Enabled = false; + this.tsmiSaveLog.Image = global::DatEmAll_GUI.Properties.Resources.SaveLog_32x32; + this.tsmiSaveLog.Name = "tsmiSaveLog"; + this.tsmiSaveLog.Size = new System.Drawing.Size(145, 22); + this.tsmiSaveLog.Text = "Save Log"; + this.tsmiSaveLog.Click += new System.EventHandler(this.SaveLog_Click); + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(142, 6); + // + // tsmiExit + // + this.tsmiExit.Image = global::DatEmAll_GUI.Properties.Resources.Exit_32x32; + this.tsmiExit.Name = "tsmiExit"; + this.tsmiExit.Size = new System.Drawing.Size(145, 22); + this.tsmiExit.Text = "Exit"; + this.tsmiExit.Click += new System.EventHandler(this.ExitApp_Click); + // + // tsmiView + // + this.tsmiView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiLog, + this.toolStripSeparator8, + this.tsmiOptions, + this.toolStripSeparator9, + this.tsmiHelp, + this.toolStripSeparator10, + this.tsmiLicense, + this.toolStripSeparator11, + this.tsmiDonations, + this.toolStripSeparator18, + this.tsmiRegistration, + this.toolStripSeparator19, + this.tsmiToolbar, + this.toolStripSeparator17}); + this.tsmiView.Name = "tsmiView"; + this.tsmiView.Size = new System.Drawing.Size(44, 20); + this.tsmiView.Text = "View"; + // + // tsmiLog + // + this.tsmiLog.Checked = true; + this.tsmiLog.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiLog.Name = "tsmiLog"; + this.tsmiLog.Size = new System.Drawing.Size(137, 22); + this.tsmiLog.Text = "Log"; + this.tsmiLog.Click += new System.EventHandler(this.ViewLog_Click); + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(134, 6); + // + // tsmiOptions + // + this.tsmiOptions.Checked = true; + this.tsmiOptions.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiOptions.Name = "tsmiOptions"; + this.tsmiOptions.Size = new System.Drawing.Size(137, 22); + this.tsmiOptions.Text = "Options"; + this.tsmiOptions.Click += new System.EventHandler(this.ViewOptions_Click); + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(134, 6); + // + // tsmiHelp + // + this.tsmiHelp.Name = "tsmiHelp"; + this.tsmiHelp.Size = new System.Drawing.Size(137, 22); + this.tsmiHelp.Text = "Help"; + this.tsmiHelp.Click += new System.EventHandler(this.ViewHelp_Click); + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(134, 6); + // + // tsmiLicense + // + this.tsmiLicense.Name = "tsmiLicense"; + this.tsmiLicense.Size = new System.Drawing.Size(137, 22); + this.tsmiLicense.Text = "License"; + this.tsmiLicense.Click += new System.EventHandler(this.ViewLicense_Click); + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(134, 6); + // + // tsmiDonations + // + this.tsmiDonations.Name = "tsmiDonations"; + this.tsmiDonations.Size = new System.Drawing.Size(137, 22); + this.tsmiDonations.Text = "Donations"; + this.tsmiDonations.Click += new System.EventHandler(this.ViewDonations_Click); + // + // toolStripSeparator18 + // + this.toolStripSeparator18.Name = "toolStripSeparator18"; + this.toolStripSeparator18.Size = new System.Drawing.Size(134, 6); + // + // tsmiRegistration + // + this.tsmiRegistration.Name = "tsmiRegistration"; + this.tsmiRegistration.Size = new System.Drawing.Size(137, 22); + this.tsmiRegistration.Text = "Registration"; + this.tsmiRegistration.Click += new System.EventHandler(this.ViewRegistration_Click); + // + // toolStripSeparator19 + // + this.toolStripSeparator19.Name = "toolStripSeparator19"; + this.toolStripSeparator19.Size = new System.Drawing.Size(134, 6); + // + // tsmiToolbar + // + this.tsmiToolbar.Checked = true; + this.tsmiToolbar.CheckState = System.Windows.Forms.CheckState.Checked; + this.tsmiToolbar.Name = "tsmiToolbar"; + this.tsmiToolbar.Size = new System.Drawing.Size(137, 22); + this.tsmiToolbar.Text = "Toolbar"; + this.tsmiToolbar.Click += new System.EventHandler(this.ViewToolbar_Click); + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(134, 6); + // + // tsMain + // + this.tsMain.ImageScalingSize = new System.Drawing.Size(32, 32); + this.tsMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsbBuildDat, + this.toolStripSeparator1, + this.tsbLoadOptions, + this.tsbSaveOptions, + this.toolStripSeparator2, + this.tsbSaveLog, + this.toolStripSeparator3, + this.tsbViewLog, + this.toolStripSeparator4, + this.tsbViewOptions, + this.toolStripSeparator12, + this.tsbViewHelp, + this.toolStripSeparator13, + this.tsbViewLicense, + this.toolStripSeparator14, + this.tsbViewDonations, + this.toolStripSeparator15, + this.tsbViewRegistration, + this.toolStripSeparator16, + this.tsbViewToolbar}); + this.tsMain.Location = new System.Drawing.Point(0, 24); + this.tsMain.Name = "tsMain"; + this.tsMain.Size = new System.Drawing.Size(800, 39); + this.tsMain.TabIndex = 1; + this.tsMain.Text = "tsMain"; + // + // tsbBuildDat + // + this.tsbBuildDat.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbBuildDat.Enabled = false; + this.tsbBuildDat.Image = global::DatEmAll_GUI.Properties.Resources.BuildDat_32x32; + this.tsbBuildDat.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbBuildDat.Name = "tsbBuildDat"; + this.tsbBuildDat.Size = new System.Drawing.Size(36, 36); + this.tsbBuildDat.Text = "Build Dat"; + this.tsbBuildDat.Click += new System.EventHandler(this.BuildDat_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39); + // + // tsbLoadOptions + // + this.tsbLoadOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbLoadOptions.Enabled = false; + this.tsbLoadOptions.Image = global::DatEmAll_GUI.Properties.Resources.LoadOptions_32x32; + this.tsbLoadOptions.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbLoadOptions.Name = "tsbLoadOptions"; + this.tsbLoadOptions.Size = new System.Drawing.Size(36, 36); + this.tsbLoadOptions.Text = "Load Options"; + this.tsbLoadOptions.Click += new System.EventHandler(this.LoadOptions_Click); + // + // tsbSaveOptions + // + this.tsbSaveOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbSaveOptions.Enabled = false; + this.tsbSaveOptions.Image = global::DatEmAll_GUI.Properties.Resources.SaveOptions_32x32; + this.tsbSaveOptions.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbSaveOptions.Name = "tsbSaveOptions"; + this.tsbSaveOptions.Size = new System.Drawing.Size(36, 36); + this.tsbSaveOptions.Text = "Save Options"; + this.tsbSaveOptions.Click += new System.EventHandler(this.SaveOptions_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 39); + // + // tsbSaveLog + // + this.tsbSaveLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbSaveLog.Enabled = false; + this.tsbSaveLog.Image = global::DatEmAll_GUI.Properties.Resources.SaveLog_32x32; + this.tsbSaveLog.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbSaveLog.Name = "tsbSaveLog"; + this.tsbSaveLog.Size = new System.Drawing.Size(36, 36); + this.tsbSaveLog.Text = "Save Log"; + this.tsbSaveLog.Click += new System.EventHandler(this.SaveLog_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 39); + // + // tsbViewLog + // + this.tsbViewLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewLog.Image = global::DatEmAll_GUI.Properties.Resources.Log_32x32; + this.tsbViewLog.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewLog.Name = "tsbViewLog"; + this.tsbViewLog.Size = new System.Drawing.Size(36, 36); + this.tsbViewLog.Text = "View Log"; + this.tsbViewLog.Click += new System.EventHandler(this.ViewLog_Click); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 39); + // + // tsbViewOptions + // + this.tsbViewOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewOptions.Image = global::DatEmAll_GUI.Properties.Resources.Options_32x32; + this.tsbViewOptions.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewOptions.Name = "tsbViewOptions"; + this.tsbViewOptions.Size = new System.Drawing.Size(36, 36); + this.tsbViewOptions.Text = "View Options"; + this.tsbViewOptions.Click += new System.EventHandler(this.ViewOptions_Click); + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(6, 39); + // + // tsbViewHelp + // + this.tsbViewHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewHelp.Image = global::DatEmAll_GUI.Properties.Resources.Help_32x32; + this.tsbViewHelp.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewHelp.Name = "tsbViewHelp"; + this.tsbViewHelp.Size = new System.Drawing.Size(36, 36); + this.tsbViewHelp.Text = "View Help"; + this.tsbViewHelp.Click += new System.EventHandler(this.ViewHelp_Click); + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(6, 39); + // + // tsbViewLicense + // + this.tsbViewLicense.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewLicense.Image = global::DatEmAll_GUI.Properties.Resources.License_32x32; + this.tsbViewLicense.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewLicense.Name = "tsbViewLicense"; + this.tsbViewLicense.Size = new System.Drawing.Size(36, 36); + this.tsbViewLicense.Text = "View License"; + this.tsbViewLicense.Click += new System.EventHandler(this.ViewLicense_Click); + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(6, 39); + // + // tsbViewDonations + // + this.tsbViewDonations.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewDonations.Image = global::DatEmAll_GUI.Properties.Resources.Donate_32x32; + this.tsbViewDonations.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewDonations.Name = "tsbViewDonations"; + this.tsbViewDonations.Size = new System.Drawing.Size(36, 36); + this.tsbViewDonations.Text = "View Donations"; + this.tsbViewDonations.Click += new System.EventHandler(this.ViewDonations_Click); + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(6, 39); + // + // tsbViewRegistration + // + this.tsbViewRegistration.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewRegistration.Image = global::DatEmAll_GUI.Properties.Resources.Key_32x32; + this.tsbViewRegistration.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewRegistration.Name = "tsbViewRegistration"; + this.tsbViewRegistration.Size = new System.Drawing.Size(36, 36); + this.tsbViewRegistration.Text = "View Registration"; + this.tsbViewRegistration.Click += new System.EventHandler(this.ViewRegistration_Click); + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(6, 39); + // + // tsbViewToolbar + // + this.tsbViewToolbar.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tsbViewToolbar.Image = global::DatEmAll_GUI.Properties.Resources.Toolbar_32x32; + this.tsbViewToolbar.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tsbViewToolbar.Name = "tsbViewToolbar"; + this.tsbViewToolbar.Size = new System.Drawing.Size(36, 36); + this.tsbViewToolbar.Text = "View Toolbar"; + this.tsbViewToolbar.Click += new System.EventHandler(this.ViewToolbar_Click); + // + // ssMain + // + this.ssMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabel1, + this.tsslSpring, + this.tsslStatusMessage, + this.tssbCancel}); + this.ssMain.Location = new System.Drawing.Point(0, 443); + this.ssMain.Name = "ssMain"; + this.ssMain.Size = new System.Drawing.Size(800, 22); + this.ssMain.TabIndex = 2; + this.ssMain.Text = "ssMain"; + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17); + // + // tsslSpring + // + this.tsslSpring.Name = "tsslSpring"; + this.tsslSpring.Size = new System.Drawing.Size(614, 17); + this.tsslSpring.Spring = true; + // + // tsslStatusMessage + // + this.tsslStatusMessage.Name = "tsslStatusMessage"; + this.tsslStatusMessage.Size = new System.Drawing.Size(150, 17); + this.tsslStatusMessage.Text = "Performing Startup Tasks ..."; + // + // tssbCancel + // + this.tssbCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.tssbCancel.DropDownButtonWidth = 0; + this.tssbCancel.Enabled = false; + this.tssbCancel.Image = global::DatEmAll_GUI.Properties.Resources.Cancel_16x16; + this.tssbCancel.ImageTransparentColor = System.Drawing.Color.Magenta; + this.tssbCancel.Name = "tssbCancel"; + this.tssbCancel.Size = new System.Drawing.Size(21, 20); + this.tssbCancel.Text = "Cancel"; + this.tssbCancel.Click += new System.EventHandler(this.Cancel_Click); + // + // bgwBuildDat + // + this.bgwBuildDat.WorkerReportsProgress = true; + this.bgwBuildDat.WorkerSupportsCancellation = true; + this.bgwBuildDat.DoWork += new System.ComponentModel.DoWorkEventHandler(this.BuildDat_DoWork); + this.bgwBuildDat.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.BuildDat_ProgressChanged); + this.bgwBuildDat.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.BuildDat_RunWorkerCompleted); + // + // tcMain + // + this.tcMain.Controls.Add(this.tabLog); + this.tcMain.Controls.Add(this.tabOptions); + this.tcMain.Controls.Add(this.tabHelp); + this.tcMain.Controls.Add(this.tabLicense); + this.tcMain.Controls.Add(this.tabDonations); + this.tcMain.Controls.Add(this.tabRegistration); + this.tcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcMain.Location = new System.Drawing.Point(0, 63); + this.tcMain.Name = "tcMain"; + this.tcMain.SelectedIndex = 0; + this.tcMain.Size = new System.Drawing.Size(800, 380); + this.tcMain.TabIndex = 3; + // + // tabLog + // + this.tabLog.Controls.Add(this.rtblLog); + this.tabLog.Location = new System.Drawing.Point(4, 22); + this.tabLog.Name = "tabLog"; + this.tabLog.Padding = new System.Windows.Forms.Padding(3); + this.tabLog.Size = new System.Drawing.Size(792, 354); + this.tabLog.TabIndex = 0; + this.tabLog.Text = " Log "; + this.tabLog.UseVisualStyleBackColor = true; + // + // rtblLog + // + this.rtblLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.rtblLog.Location = new System.Drawing.Point(6, 6); + this.rtblLog.Name = "rtblLog"; + this.rtblLog.ReadOnly = true; + this.rtblLog.Size = new System.Drawing.Size(780, 342); + this.rtblLog.TabIndex = 0; + this.rtblLog.Text = ""; + // + // tabOptions + // + this.tabOptions.Controls.Add(this.tcOptions); + this.tabOptions.Location = new System.Drawing.Point(4, 22); + this.tabOptions.Name = "tabOptions"; + this.tabOptions.Padding = new System.Windows.Forms.Padding(3); + this.tabOptions.Size = new System.Drawing.Size(792, 354); + this.tabOptions.TabIndex = 1; + this.tabOptions.Text = " Options "; + this.tabOptions.UseVisualStyleBackColor = true; + // + // tcOptions + // + this.tcOptions.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tcOptions.Controls.Add(this.tabOutput); + this.tcOptions.Controls.Add(this.tabPaths); + this.tcOptions.Controls.Add(this.tabCredentials); + this.tcOptions.Controls.Add(this.tabDevs); + this.tcOptions.Location = new System.Drawing.Point(6, 6); + this.tcOptions.Name = "tcOptions"; + this.tcOptions.SelectedIndex = 0; + this.tcOptions.Size = new System.Drawing.Size(780, 342); + this.tcOptions.TabIndex = 3; + // + // tabOutput + // + this.tabOutput.Controls.Add(this.gbHeaderDefaults); + this.tabOutput.Controls.Add(this.gbOutput2); + this.tabOutput.Controls.Add(this.gbHeaderOverrides); + this.tabOutput.Controls.Add(this.gbOutputInfo); + this.tabOutput.Controls.Add(this.gbOutput); + this.tabOutput.Location = new System.Drawing.Point(4, 22); + this.tabOutput.Name = "tabOutput"; + this.tabOutput.Padding = new System.Windows.Forms.Padding(3); + this.tabOutput.Size = new System.Drawing.Size(772, 316); + this.tabOutput.TabIndex = 0; + this.tabOutput.Text = " Output "; + this.tabOutput.UseVisualStyleBackColor = true; + // + // gbHeaderDefaults + // + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderEmail); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderCMPForceUnzip); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderCategory); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderComment); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderURL); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderHomepage); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderAuthor); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderDate); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderVersion); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderDescription); + this.gbHeaderDefaults.Controls.Add(this.chkIncludeDefaultHeaderName); + this.gbHeaderDefaults.Location = new System.Drawing.Point(361, 6); + this.gbHeaderDefaults.Name = "gbHeaderDefaults"; + this.gbHeaderDefaults.Size = new System.Drawing.Size(159, 244); + this.gbHeaderDefaults.TabIndex = 2; + this.gbHeaderDefaults.TabStop = false; + this.gbHeaderDefaults.Text = "Header Defaults"; + // + // chkIncludeDefaultHeaderEmail + // + this.chkIncludeDefaultHeaderEmail.AutoSize = true; + this.chkIncludeDefaultHeaderEmail.Checked = true; + this.chkIncludeDefaultHeaderEmail.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderEmail.Enabled = false; + this.chkIncludeDefaultHeaderEmail.Location = new System.Drawing.Point(6, 121); + this.chkIncludeDefaultHeaderEmail.Name = "chkIncludeDefaultHeaderEmail"; + this.chkIncludeDefaultHeaderEmail.Size = new System.Drawing.Size(89, 17); + this.chkIncludeDefaultHeaderEmail.TabIndex = 10; + this.chkIncludeDefaultHeaderEmail.Text = "Include Email"; + this.chkIncludeDefaultHeaderEmail.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderCMPForceUnzip + // + this.chkIncludeDefaultHeaderCMPForceUnzip.AutoSize = true; + this.chkIncludeDefaultHeaderCMPForceUnzip.Enabled = false; + this.chkIncludeDefaultHeaderCMPForceUnzip.Location = new System.Drawing.Point(6, 221); + this.chkIncludeDefaultHeaderCMPForceUnzip.Name = "chkIncludeDefaultHeaderCMPForceUnzip"; + this.chkIncludeDefaultHeaderCMPForceUnzip.Size = new System.Drawing.Size(147, 17); + this.chkIncludeDefaultHeaderCMPForceUnzip.TabIndex = 9; + this.chkIncludeDefaultHeaderCMPForceUnzip.Text = "Include CMP Force Unzip"; + this.chkIncludeDefaultHeaderCMPForceUnzip.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderCategory + // + this.chkIncludeDefaultHeaderCategory.AutoSize = true; + this.chkIncludeDefaultHeaderCategory.Enabled = false; + this.chkIncludeDefaultHeaderCategory.Location = new System.Drawing.Point(6, 201); + this.chkIncludeDefaultHeaderCategory.Name = "chkIncludeDefaultHeaderCategory"; + this.chkIncludeDefaultHeaderCategory.Size = new System.Drawing.Size(106, 17); + this.chkIncludeDefaultHeaderCategory.TabIndex = 8; + this.chkIncludeDefaultHeaderCategory.Text = "Include Category"; + this.chkIncludeDefaultHeaderCategory.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderComment + // + this.chkIncludeDefaultHeaderComment.AutoSize = true; + this.chkIncludeDefaultHeaderComment.Checked = true; + this.chkIncludeDefaultHeaderComment.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderComment.Enabled = false; + this.chkIncludeDefaultHeaderComment.Location = new System.Drawing.Point(6, 181); + this.chkIncludeDefaultHeaderComment.Name = "chkIncludeDefaultHeaderComment"; + this.chkIncludeDefaultHeaderComment.Size = new System.Drawing.Size(108, 17); + this.chkIncludeDefaultHeaderComment.TabIndex = 7; + this.chkIncludeDefaultHeaderComment.Text = "Include Comment"; + this.chkIncludeDefaultHeaderComment.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderURL + // + this.chkIncludeDefaultHeaderURL.AutoSize = true; + this.chkIncludeDefaultHeaderURL.Checked = true; + this.chkIncludeDefaultHeaderURL.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderURL.Enabled = false; + this.chkIncludeDefaultHeaderURL.Location = new System.Drawing.Point(6, 161); + this.chkIncludeDefaultHeaderURL.Name = "chkIncludeDefaultHeaderURL"; + this.chkIncludeDefaultHeaderURL.Size = new System.Drawing.Size(86, 17); + this.chkIncludeDefaultHeaderURL.TabIndex = 6; + this.chkIncludeDefaultHeaderURL.Text = "Include URL"; + this.chkIncludeDefaultHeaderURL.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderHomepage + // + this.chkIncludeDefaultHeaderHomepage.AutoSize = true; + this.chkIncludeDefaultHeaderHomepage.Checked = true; + this.chkIncludeDefaultHeaderHomepage.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderHomepage.Enabled = false; + this.chkIncludeDefaultHeaderHomepage.Location = new System.Drawing.Point(6, 141); + this.chkIncludeDefaultHeaderHomepage.Name = "chkIncludeDefaultHeaderHomepage"; + this.chkIncludeDefaultHeaderHomepage.Size = new System.Drawing.Size(116, 17); + this.chkIncludeDefaultHeaderHomepage.TabIndex = 5; + this.chkIncludeDefaultHeaderHomepage.Text = "Include Homepage"; + this.chkIncludeDefaultHeaderHomepage.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderAuthor + // + this.chkIncludeDefaultHeaderAuthor.AutoSize = true; + this.chkIncludeDefaultHeaderAuthor.Checked = true; + this.chkIncludeDefaultHeaderAuthor.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderAuthor.Enabled = false; + this.chkIncludeDefaultHeaderAuthor.Location = new System.Drawing.Point(6, 101); + this.chkIncludeDefaultHeaderAuthor.Name = "chkIncludeDefaultHeaderAuthor"; + this.chkIncludeDefaultHeaderAuthor.Size = new System.Drawing.Size(95, 17); + this.chkIncludeDefaultHeaderAuthor.TabIndex = 4; + this.chkIncludeDefaultHeaderAuthor.Text = "Include Author"; + this.chkIncludeDefaultHeaderAuthor.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderDate + // + this.chkIncludeDefaultHeaderDate.AutoSize = true; + this.chkIncludeDefaultHeaderDate.Checked = true; + this.chkIncludeDefaultHeaderDate.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderDate.Enabled = false; + this.chkIncludeDefaultHeaderDate.Location = new System.Drawing.Point(6, 81); + this.chkIncludeDefaultHeaderDate.Name = "chkIncludeDefaultHeaderDate"; + this.chkIncludeDefaultHeaderDate.Size = new System.Drawing.Size(87, 17); + this.chkIncludeDefaultHeaderDate.TabIndex = 3; + this.chkIncludeDefaultHeaderDate.Text = "Include Date"; + this.chkIncludeDefaultHeaderDate.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderVersion + // + this.chkIncludeDefaultHeaderVersion.AutoSize = true; + this.chkIncludeDefaultHeaderVersion.Checked = true; + this.chkIncludeDefaultHeaderVersion.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderVersion.Enabled = false; + this.chkIncludeDefaultHeaderVersion.Location = new System.Drawing.Point(6, 61); + this.chkIncludeDefaultHeaderVersion.Name = "chkIncludeDefaultHeaderVersion"; + this.chkIncludeDefaultHeaderVersion.Size = new System.Drawing.Size(99, 17); + this.chkIncludeDefaultHeaderVersion.TabIndex = 2; + this.chkIncludeDefaultHeaderVersion.Text = "Include Version"; + this.chkIncludeDefaultHeaderVersion.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderDescription + // + this.chkIncludeDefaultHeaderDescription.AutoSize = true; + this.chkIncludeDefaultHeaderDescription.Checked = true; + this.chkIncludeDefaultHeaderDescription.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderDescription.Enabled = false; + this.chkIncludeDefaultHeaderDescription.Location = new System.Drawing.Point(6, 41); + this.chkIncludeDefaultHeaderDescription.Name = "chkIncludeDefaultHeaderDescription"; + this.chkIncludeDefaultHeaderDescription.Size = new System.Drawing.Size(117, 17); + this.chkIncludeDefaultHeaderDescription.TabIndex = 1; + this.chkIncludeDefaultHeaderDescription.Text = "Include Description"; + this.chkIncludeDefaultHeaderDescription.UseVisualStyleBackColor = true; + // + // chkIncludeDefaultHeaderName + // + this.chkIncludeDefaultHeaderName.AutoSize = true; + this.chkIncludeDefaultHeaderName.Checked = true; + this.chkIncludeDefaultHeaderName.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeDefaultHeaderName.Enabled = false; + this.chkIncludeDefaultHeaderName.Location = new System.Drawing.Point(6, 21); + this.chkIncludeDefaultHeaderName.Name = "chkIncludeDefaultHeaderName"; + this.chkIncludeDefaultHeaderName.Size = new System.Drawing.Size(92, 17); + this.chkIncludeDefaultHeaderName.TabIndex = 0; + this.chkIncludeDefaultHeaderName.Text = "Include Name"; + this.chkIncludeDefaultHeaderName.UseVisualStyleBackColor = true; + // + // gbOutput2 + // + this.gbOutput2.Controls.Add(this.txtDatFilename); + this.gbOutput2.Controls.Add(this.chkIncludeROMDirRootFiles); + this.gbOutput2.Controls.Add(this.label1); + this.gbOutput2.Controls.Add(this.cbXMLDOCTYPE); + this.gbOutput2.Controls.Add(this.label2); + this.gbOutput2.Controls.Add(this.lblDatExtension); + this.gbOutput2.Controls.Add(this.chkAppendVersionToDescription); + this.gbOutput2.Controls.Add(this.cbXMLEncoding); + this.gbOutput2.Controls.Add(this.chkAppendVersionToFilename); + this.gbOutput2.Controls.Add(this.chkAppendGameCountToDescription); + this.gbOutput2.Controls.Add(this.chkAppendGameCountToFilename); + this.gbOutput2.Location = new System.Drawing.Point(150, 6); + this.gbOutput2.Name = "gbOutput2"; + this.gbOutput2.Size = new System.Drawing.Size(205, 244); + this.gbOutput2.TabIndex = 1; + this.gbOutput2.TabStop = false; + this.gbOutput2.Text = "Output"; + // + // txtDatFilename + // + this.txtDatFilename.Enabled = false; + this.txtDatFilename.Location = new System.Drawing.Point(101, 134); + this.txtDatFilename.Name = "txtDatFilename"; + this.txtDatFilename.Size = new System.Drawing.Size(98, 20); + this.txtDatFilename.TabIndex = 5; + // + // chkIncludeROMDirRootFiles + // + this.chkIncludeROMDirRootFiles.AutoSize = true; + this.chkIncludeROMDirRootFiles.Checked = true; + this.chkIncludeROMDirRootFiles.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeROMDirRootFiles.Enabled = false; + this.chkIncludeROMDirRootFiles.Location = new System.Drawing.Point(6, 19); + this.chkIncludeROMDirRootFiles.Name = "chkIncludeROMDirRootFiles"; + this.chkIncludeROMDirRootFiles.Size = new System.Drawing.Size(155, 17); + this.chkIncludeROMDirRootFiles.TabIndex = 0; + this.chkIncludeROMDirRootFiles.Text = "Include ROM Dir Root Files"; + this.chkIncludeROMDirRootFiles.UseVisualStyleBackColor = true; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 162); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(83, 13); + this.label1.TabIndex = 9; + this.label1.Text = "XML Encoding: "; + // + // cbXMLDOCTYPE + // + this.cbXMLDOCTYPE.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.cbXMLDOCTYPE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbXMLDOCTYPE.Enabled = false; + this.cbXMLDOCTYPE.FormattingEnabled = true; + this.cbXMLDOCTYPE.Items.AddRange(new object[] { + "Logiqx", + "None"}); + this.cbXMLDOCTYPE.Location = new System.Drawing.Point(101, 187); + this.cbXMLDOCTYPE.Name = "cbXMLDOCTYPE"; + this.cbXMLDOCTYPE.Size = new System.Drawing.Size(98, 21); + this.cbXMLDOCTYPE.TabIndex = 7; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 190); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(89, 13); + this.label2.TabIndex = 10; + this.label2.Text = "XML DOCTYPE: "; + // + // lblDatExtension + // + this.lblDatExtension.AutoSize = true; + this.lblDatExtension.Location = new System.Drawing.Point(6, 137); + this.lblDatExtension.Name = "lblDatExtension"; + this.lblDatExtension.Size = new System.Drawing.Size(75, 13); + this.lblDatExtension.TabIndex = 8; + this.lblDatExtension.Text = "Dat Filename: "; + // + // chkAppendVersionToDescription + // + this.chkAppendVersionToDescription.AutoSize = true; + this.chkAppendVersionToDescription.Checked = true; + this.chkAppendVersionToDescription.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkAppendVersionToDescription.Enabled = false; + this.chkAppendVersionToDescription.Location = new System.Drawing.Point(6, 111); + this.chkAppendVersionToDescription.Name = "chkAppendVersionToDescription"; + this.chkAppendVersionToDescription.Size = new System.Drawing.Size(169, 17); + this.chkAppendVersionToDescription.TabIndex = 4; + this.chkAppendVersionToDescription.Text = "Append Version to Description"; + this.chkAppendVersionToDescription.UseVisualStyleBackColor = true; + // + // cbXMLEncoding + // + this.cbXMLEncoding.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.cbXMLEncoding.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbXMLEncoding.Enabled = false; + this.cbXMLEncoding.FormattingEnabled = true; + this.cbXMLEncoding.Items.AddRange(new object[] { + "utf-8"}); + this.cbXMLEncoding.Location = new System.Drawing.Point(101, 160); + this.cbXMLEncoding.Name = "cbXMLEncoding"; + this.cbXMLEncoding.Size = new System.Drawing.Size(98, 21); + this.cbXMLEncoding.TabIndex = 6; + // + // chkAppendVersionToFilename + // + this.chkAppendVersionToFilename.AutoSize = true; + this.chkAppendVersionToFilename.Checked = true; + this.chkAppendVersionToFilename.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkAppendVersionToFilename.Enabled = false; + this.chkAppendVersionToFilename.Location = new System.Drawing.Point(6, 88); + this.chkAppendVersionToFilename.Name = "chkAppendVersionToFilename"; + this.chkAppendVersionToFilename.Size = new System.Drawing.Size(158, 17); + this.chkAppendVersionToFilename.TabIndex = 3; + this.chkAppendVersionToFilename.Text = "Append Version to Filename"; + this.chkAppendVersionToFilename.UseVisualStyleBackColor = true; + // + // chkAppendGameCountToDescription + // + this.chkAppendGameCountToDescription.AutoSize = true; + this.chkAppendGameCountToDescription.Checked = true; + this.chkAppendGameCountToDescription.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkAppendGameCountToDescription.Enabled = false; + this.chkAppendGameCountToDescription.Location = new System.Drawing.Point(6, 65); + this.chkAppendGameCountToDescription.Name = "chkAppendGameCountToDescription"; + this.chkAppendGameCountToDescription.Size = new System.Drawing.Size(193, 17); + this.chkAppendGameCountToDescription.TabIndex = 2; + this.chkAppendGameCountToDescription.Text = "Append Game Count to Description"; + this.chkAppendGameCountToDescription.UseVisualStyleBackColor = true; + // + // chkAppendGameCountToFilename + // + this.chkAppendGameCountToFilename.AutoSize = true; + this.chkAppendGameCountToFilename.Checked = true; + this.chkAppendGameCountToFilename.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkAppendGameCountToFilename.Enabled = false; + this.chkAppendGameCountToFilename.Location = new System.Drawing.Point(6, 42); + this.chkAppendGameCountToFilename.Name = "chkAppendGameCountToFilename"; + this.chkAppendGameCountToFilename.Size = new System.Drawing.Size(182, 17); + this.chkAppendGameCountToFilename.TabIndex = 1; + this.chkAppendGameCountToFilename.Text = "Append Game Count to Filename"; + this.chkAppendGameCountToFilename.UseVisualStyleBackColor = true; + // + // gbHeaderOverrides + // + this.gbHeaderOverrides.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderEmail); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderEmail); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderCategory); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderCategory); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderHomepage); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderAuthor); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderComment); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderURL); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderComment); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderUrl); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderDate); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderVersion); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderDescription); + this.gbHeaderOverrides.Controls.Add(this.lblHeaderName); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderHomepage); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderAuthor); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderDate); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderVersion); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderDescription); + this.gbHeaderOverrides.Controls.Add(this.txtOverrideHeaderName); + this.gbHeaderOverrides.Location = new System.Drawing.Point(526, 6); + this.gbHeaderOverrides.Name = "gbHeaderOverrides"; + this.gbHeaderOverrides.Size = new System.Drawing.Size(240, 244); + this.gbHeaderOverrides.TabIndex = 3; + this.gbHeaderOverrides.TabStop = false; + this.gbHeaderOverrides.Text = "Header Overrides"; + // + // lblHeaderEmail + // + this.lblHeaderEmail.AutoSize = true; + this.lblHeaderEmail.Location = new System.Drawing.Point(6, 122); + this.lblHeaderEmail.Name = "lblHeaderEmail"; + this.lblHeaderEmail.Size = new System.Drawing.Size(38, 13); + this.lblHeaderEmail.TabIndex = 15; + this.lblHeaderEmail.Text = "Email: "; + // + // txtOverrideHeaderEmail + // + this.txtOverrideHeaderEmail.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderEmail.Location = new System.Drawing.Point(77, 119); + this.txtOverrideHeaderEmail.Name = "txtOverrideHeaderEmail"; + this.txtOverrideHeaderEmail.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderEmail.TabIndex = 5; + // + // lblHeaderCategory + // + this.lblHeaderCategory.AutoSize = true; + this.lblHeaderCategory.Location = new System.Drawing.Point(6, 202); + this.lblHeaderCategory.Name = "lblHeaderCategory"; + this.lblHeaderCategory.Size = new System.Drawing.Size(55, 13); + this.lblHeaderCategory.TabIndex = 19; + this.lblHeaderCategory.Text = "Category: "; + // + // txtOverrideHeaderCategory + // + this.txtOverrideHeaderCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderCategory.Enabled = false; + this.txtOverrideHeaderCategory.Location = new System.Drawing.Point(77, 199); + this.txtOverrideHeaderCategory.Name = "txtOverrideHeaderCategory"; + this.txtOverrideHeaderCategory.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderCategory.TabIndex = 9; + // + // lblHeaderHomepage + // + this.lblHeaderHomepage.AutoSize = true; + this.lblHeaderHomepage.Location = new System.Drawing.Point(6, 142); + this.lblHeaderHomepage.Name = "lblHeaderHomepage"; + this.lblHeaderHomepage.Size = new System.Drawing.Size(65, 13); + this.lblHeaderHomepage.TabIndex = 16; + this.lblHeaderHomepage.Text = "Homepage: "; + // + // lblHeaderAuthor + // + this.lblHeaderAuthor.AutoSize = true; + this.lblHeaderAuthor.Location = new System.Drawing.Point(6, 102); + this.lblHeaderAuthor.Name = "lblHeaderAuthor"; + this.lblHeaderAuthor.Size = new System.Drawing.Size(44, 13); + this.lblHeaderAuthor.TabIndex = 14; + this.lblHeaderAuthor.Text = "Author: "; + // + // txtOverrideHeaderComment + // + this.txtOverrideHeaderComment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderComment.Enabled = false; + this.txtOverrideHeaderComment.Location = new System.Drawing.Point(77, 179); + this.txtOverrideHeaderComment.Name = "txtOverrideHeaderComment"; + this.txtOverrideHeaderComment.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderComment.TabIndex = 8; + // + // txtOverrideHeaderURL + // + this.txtOverrideHeaderURL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderURL.Enabled = false; + this.txtOverrideHeaderURL.Location = new System.Drawing.Point(77, 159); + this.txtOverrideHeaderURL.Name = "txtOverrideHeaderURL"; + this.txtOverrideHeaderURL.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderURL.TabIndex = 7; + // + // lblHeaderComment + // + this.lblHeaderComment.AutoSize = true; + this.lblHeaderComment.Location = new System.Drawing.Point(6, 182); + this.lblHeaderComment.Name = "lblHeaderComment"; + this.lblHeaderComment.Size = new System.Drawing.Size(57, 13); + this.lblHeaderComment.TabIndex = 18; + this.lblHeaderComment.Text = "Comment: "; + // + // lblHeaderUrl + // + this.lblHeaderUrl.AutoSize = true; + this.lblHeaderUrl.Location = new System.Drawing.Point(6, 162); + this.lblHeaderUrl.Name = "lblHeaderUrl"; + this.lblHeaderUrl.Size = new System.Drawing.Size(35, 13); + this.lblHeaderUrl.TabIndex = 17; + this.lblHeaderUrl.Text = "URL: "; + // + // lblHeaderDate + // + this.lblHeaderDate.AutoSize = true; + this.lblHeaderDate.Location = new System.Drawing.Point(6, 82); + this.lblHeaderDate.Name = "lblHeaderDate"; + this.lblHeaderDate.Size = new System.Drawing.Size(36, 13); + this.lblHeaderDate.TabIndex = 13; + this.lblHeaderDate.Text = "Date: "; + // + // lblHeaderVersion + // + this.lblHeaderVersion.AutoSize = true; + this.lblHeaderVersion.Location = new System.Drawing.Point(6, 62); + this.lblHeaderVersion.Name = "lblHeaderVersion"; + this.lblHeaderVersion.Size = new System.Drawing.Size(48, 13); + this.lblHeaderVersion.TabIndex = 12; + this.lblHeaderVersion.Text = "Version: "; + // + // lblHeaderDescription + // + this.lblHeaderDescription.AutoSize = true; + this.lblHeaderDescription.Location = new System.Drawing.Point(6, 42); + this.lblHeaderDescription.Name = "lblHeaderDescription"; + this.lblHeaderDescription.Size = new System.Drawing.Size(66, 13); + this.lblHeaderDescription.TabIndex = 11; + this.lblHeaderDescription.Text = "Description: "; + // + // lblHeaderName + // + this.lblHeaderName.AutoSize = true; + this.lblHeaderName.Location = new System.Drawing.Point(6, 22); + this.lblHeaderName.Name = "lblHeaderName"; + this.lblHeaderName.Size = new System.Drawing.Size(41, 13); + this.lblHeaderName.TabIndex = 10; + this.lblHeaderName.Text = "Name: "; + // + // txtOverrideHeaderHomepage + // + this.txtOverrideHeaderHomepage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderHomepage.Enabled = false; + this.txtOverrideHeaderHomepage.Location = new System.Drawing.Point(77, 139); + this.txtOverrideHeaderHomepage.Name = "txtOverrideHeaderHomepage"; + this.txtOverrideHeaderHomepage.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderHomepage.TabIndex = 6; + // + // txtOverrideHeaderAuthor + // + this.txtOverrideHeaderAuthor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderAuthor.Enabled = false; + this.txtOverrideHeaderAuthor.Location = new System.Drawing.Point(77, 99); + this.txtOverrideHeaderAuthor.Name = "txtOverrideHeaderAuthor"; + this.txtOverrideHeaderAuthor.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderAuthor.TabIndex = 4; + // + // txtOverrideHeaderDate + // + this.txtOverrideHeaderDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderDate.Enabled = false; + this.txtOverrideHeaderDate.Location = new System.Drawing.Point(77, 79); + this.txtOverrideHeaderDate.Name = "txtOverrideHeaderDate"; + this.txtOverrideHeaderDate.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderDate.TabIndex = 3; + // + // txtOverrideHeaderVersion + // + this.txtOverrideHeaderVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderVersion.Enabled = false; + this.txtOverrideHeaderVersion.Location = new System.Drawing.Point(77, 59); + this.txtOverrideHeaderVersion.Name = "txtOverrideHeaderVersion"; + this.txtOverrideHeaderVersion.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderVersion.TabIndex = 2; + // + // txtOverrideHeaderDescription + // + this.txtOverrideHeaderDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderDescription.Enabled = false; + this.txtOverrideHeaderDescription.Location = new System.Drawing.Point(77, 39); + this.txtOverrideHeaderDescription.Name = "txtOverrideHeaderDescription"; + this.txtOverrideHeaderDescription.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderDescription.TabIndex = 1; + // + // txtOverrideHeaderName + // + this.txtOverrideHeaderName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtOverrideHeaderName.Enabled = false; + this.txtOverrideHeaderName.Location = new System.Drawing.Point(77, 19); + this.txtOverrideHeaderName.Name = "txtOverrideHeaderName"; + this.txtOverrideHeaderName.Size = new System.Drawing.Size(157, 20); + this.txtOverrideHeaderName.TabIndex = 0; + // + // gbOutputInfo + // + this.gbOutputInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbOutputInfo.Controls.Add(this.lblOutputInfo2); + this.gbOutputInfo.Controls.Add(this.lblOutputInfo); + this.gbOutputInfo.Location = new System.Drawing.Point(6, 256); + this.gbOutputInfo.Name = "gbOutputInfo"; + this.gbOutputInfo.Size = new System.Drawing.Size(760, 54); + this.gbOutputInfo.TabIndex = 4; + this.gbOutputInfo.TabStop = false; + this.gbOutputInfo.Text = "Output Info"; + // + // lblOutputInfo2 + // + this.lblOutputInfo2.AutoSize = true; + this.lblOutputInfo2.Location = new System.Drawing.Point(6, 32); + this.lblOutputInfo2.Name = "lblOutputInfo2"; + this.lblOutputInfo2.Size = new System.Drawing.Size(425, 13); + this.lblOutputInfo2.TabIndex = 1; + this.lblOutputInfo2.Text = "Any input included in the Header Overrides fileds will automatically be included " + + "in the dat."; + // + // lblOutputInfo + // + this.lblOutputInfo.AutoSize = true; + this.lblOutputInfo.Location = new System.Drawing.Point(6, 19); + this.lblOutputInfo.Name = "lblOutputInfo"; + this.lblOutputInfo.Size = new System.Drawing.Size(247, 13); + this.lblOutputInfo.TabIndex = 0; + this.lblOutputInfo.Text = "Use these options to create various output formats."; + // + // gbOutput + // + this.gbOutput.Controls.Add(this.chkIncludeFileSize); + this.gbOutput.Controls.Add(this.chkIncludeSHA1Hash); + this.gbOutput.Controls.Add(this.chkIncludeMD5Hash); + this.gbOutput.Controls.Add(this.chkIncludeCRC32Hash); + this.gbOutput.Location = new System.Drawing.Point(6, 6); + this.gbOutput.Name = "gbOutput"; + this.gbOutput.Size = new System.Drawing.Size(138, 244); + this.gbOutput.TabIndex = 0; + this.gbOutput.TabStop = false; + this.gbOutput.Text = "Output"; + // + // chkIncludeFileSize + // + this.chkIncludeFileSize.AutoSize = true; + this.chkIncludeFileSize.Checked = true; + this.chkIncludeFileSize.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeFileSize.Enabled = false; + this.chkIncludeFileSize.Location = new System.Drawing.Point(6, 88); + this.chkIncludeFileSize.Name = "chkIncludeFileSize"; + this.chkIncludeFileSize.Size = new System.Drawing.Size(103, 17); + this.chkIncludeFileSize.TabIndex = 3; + this.chkIncludeFileSize.Text = "Include File Size"; + this.chkIncludeFileSize.UseVisualStyleBackColor = true; + // + // chkIncludeSHA1Hash + // + this.chkIncludeSHA1Hash.AutoSize = true; + this.chkIncludeSHA1Hash.Checked = true; + this.chkIncludeSHA1Hash.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeSHA1Hash.Enabled = false; + this.chkIncludeSHA1Hash.Location = new System.Drawing.Point(6, 65); + this.chkIncludeSHA1Hash.Name = "chkIncludeSHA1Hash"; + this.chkIncludeSHA1Hash.Size = new System.Drawing.Size(120, 17); + this.chkIncludeSHA1Hash.TabIndex = 2; + this.chkIncludeSHA1Hash.Text = "Include SHA1 Hash"; + this.chkIncludeSHA1Hash.UseVisualStyleBackColor = true; + // + // chkIncludeMD5Hash + // + this.chkIncludeMD5Hash.AutoSize = true; + this.chkIncludeMD5Hash.Checked = true; + this.chkIncludeMD5Hash.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeMD5Hash.Enabled = false; + this.chkIncludeMD5Hash.Location = new System.Drawing.Point(6, 42); + this.chkIncludeMD5Hash.Name = "chkIncludeMD5Hash"; + this.chkIncludeMD5Hash.Size = new System.Drawing.Size(115, 17); + this.chkIncludeMD5Hash.TabIndex = 1; + this.chkIncludeMD5Hash.Text = "Include MD5 Hash"; + this.chkIncludeMD5Hash.UseVisualStyleBackColor = true; + // + // chkIncludeCRC32Hash + // + this.chkIncludeCRC32Hash.AutoSize = true; + this.chkIncludeCRC32Hash.Checked = true; + this.chkIncludeCRC32Hash.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkIncludeCRC32Hash.Enabled = false; + this.chkIncludeCRC32Hash.Location = new System.Drawing.Point(6, 19); + this.chkIncludeCRC32Hash.Name = "chkIncludeCRC32Hash"; + this.chkIncludeCRC32Hash.Size = new System.Drawing.Size(126, 17); + this.chkIncludeCRC32Hash.TabIndex = 0; + this.chkIncludeCRC32Hash.Text = "Include CRC32 Hash"; + this.chkIncludeCRC32Hash.UseVisualStyleBackColor = true; + // + // tabPaths + // + this.tabPaths.Controls.Add(this.gbPathsInfo); + this.tabPaths.Controls.Add(this.tlpPaths); + this.tabPaths.Location = new System.Drawing.Point(4, 22); + this.tabPaths.Name = "tabPaths"; + this.tabPaths.Padding = new System.Windows.Forms.Padding(3); + this.tabPaths.Size = new System.Drawing.Size(772, 316); + this.tabPaths.TabIndex = 2; + this.tabPaths.Text = " Paths "; + this.tabPaths.UseVisualStyleBackColor = true; + // + // gbPathsInfo + // + this.gbPathsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbPathsInfo.Controls.Add(this.lblPathsInfo); + this.gbPathsInfo.Location = new System.Drawing.Point(6, 63); + this.gbPathsInfo.Name = "gbPathsInfo"; + this.gbPathsInfo.Size = new System.Drawing.Size(760, 38); + this.gbPathsInfo.TabIndex = 3; + this.gbPathsInfo.TabStop = false; + this.gbPathsInfo.Text = "Paths Info"; + // + // lblPathsInfo + // + this.lblPathsInfo.AutoSize = true; + this.lblPathsInfo.Location = new System.Drawing.Point(6, 16); + this.lblPathsInfo.Name = "lblPathsInfo"; + this.lblPathsInfo.Size = new System.Drawing.Size(204, 13); + this.lblPathsInfo.TabIndex = 0; + this.lblPathsInfo.Text = "Psths should be kept as short as possible."; + // + // tlpPaths + // + this.tlpPaths.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tlpPaths.ColumnCount = 2; + this.tlpPaths.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tlpPaths.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tlpPaths.Controls.Add(this.gbPathROMsDir, 0, 0); + this.tlpPaths.Controls.Add(this.gbPathDatsDir, 1, 0); + this.tlpPaths.Location = new System.Drawing.Point(6, 6); + this.tlpPaths.Name = "tlpPaths"; + this.tlpPaths.RowCount = 1; + this.tlpPaths.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tlpPaths.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 51F)); + this.tlpPaths.Size = new System.Drawing.Size(760, 51); + this.tlpPaths.TabIndex = 2; + // + // gbPathROMsDir + // + this.gbPathROMsDir.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbPathROMsDir.Controls.Add(this.txtPathROMsDir); + this.gbPathROMsDir.Location = new System.Drawing.Point(3, 3); + this.gbPathROMsDir.Name = "gbPathROMsDir"; + this.gbPathROMsDir.Size = new System.Drawing.Size(374, 45); + this.gbPathROMsDir.TabIndex = 0; + this.gbPathROMsDir.TabStop = false; + this.gbPathROMsDir.Text = "Path ROMs Dir"; + // + // txtPathROMsDir + // + this.txtPathROMsDir.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtPathROMsDir.Enabled = false; + this.txtPathROMsDir.Location = new System.Drawing.Point(6, 19); + this.txtPathROMsDir.Name = "txtPathROMsDir"; + this.txtPathROMsDir.ReadOnly = true; + this.txtPathROMsDir.Size = new System.Drawing.Size(362, 20); + this.txtPathROMsDir.TabIndex = 0; + this.txtPathROMsDir.Click += new System.EventHandler(this.PathROMsDir_Click); + // + // gbPathDatsDir + // + this.gbPathDatsDir.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbPathDatsDir.Controls.Add(this.txtPathDatsDir); + this.gbPathDatsDir.Location = new System.Drawing.Point(383, 3); + this.gbPathDatsDir.Name = "gbPathDatsDir"; + this.gbPathDatsDir.Size = new System.Drawing.Size(374, 45); + this.gbPathDatsDir.TabIndex = 1; + this.gbPathDatsDir.TabStop = false; + this.gbPathDatsDir.Text = "Path Dats Dir"; + // + // txtPathDatsDir + // + this.txtPathDatsDir.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtPathDatsDir.Enabled = false; + this.txtPathDatsDir.Location = new System.Drawing.Point(6, 19); + this.txtPathDatsDir.Name = "txtPathDatsDir"; + this.txtPathDatsDir.ReadOnly = true; + this.txtPathDatsDir.Size = new System.Drawing.Size(362, 20); + this.txtPathDatsDir.TabIndex = 0; + this.txtPathDatsDir.Click += new System.EventHandler(this.PathDatsDir_Click); + // + // tabCredentials + // + this.tabCredentials.Controls.Add(this.gbDownloadEmAllCredentials); + this.tabCredentials.Controls.Add(this.gbCredentialsInfo); + this.tabCredentials.Location = new System.Drawing.Point(4, 22); + this.tabCredentials.Name = "tabCredentials"; + this.tabCredentials.Padding = new System.Windows.Forms.Padding(3); + this.tabCredentials.Size = new System.Drawing.Size(772, 316); + this.tabCredentials.TabIndex = 3; + this.tabCredentials.Text = " Credentials "; + this.tabCredentials.UseVisualStyleBackColor = true; + // + // gbDownloadEmAllCredentials + // + this.gbDownloadEmAllCredentials.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbDownloadEmAllCredentials.Controls.Add(this.txtDownloadEmAllPassword); + this.gbDownloadEmAllCredentials.Controls.Add(this.txtDownloadEmAllUsername); + this.gbDownloadEmAllCredentials.Controls.Add(this.lblDownloadEmAllPassword); + this.gbDownloadEmAllCredentials.Controls.Add(this.lblDownloadEmAllUsername); + this.gbDownloadEmAllCredentials.Location = new System.Drawing.Point(6, 6); + this.gbDownloadEmAllCredentials.Name = "gbDownloadEmAllCredentials"; + this.gbDownloadEmAllCredentials.Size = new System.Drawing.Size(760, 71); + this.gbDownloadEmAllCredentials.TabIndex = 2; + this.gbDownloadEmAllCredentials.TabStop = false; + this.gbDownloadEmAllCredentials.Text = "DownloadEmAll Credentials"; + // + // txtDownloadEmAllPassword + // + this.txtDownloadEmAllPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtDownloadEmAllPassword.Enabled = false; + this.txtDownloadEmAllPassword.Location = new System.Drawing.Point(48, 45); + this.txtDownloadEmAllPassword.Name = "txtDownloadEmAllPassword"; + this.txtDownloadEmAllPassword.Size = new System.Drawing.Size(706, 20); + this.txtDownloadEmAllPassword.TabIndex = 1; + // + // txtDownloadEmAllUsername + // + this.txtDownloadEmAllUsername.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtDownloadEmAllUsername.Enabled = false; + this.txtDownloadEmAllUsername.Location = new System.Drawing.Point(48, 19); + this.txtDownloadEmAllUsername.Name = "txtDownloadEmAllUsername"; + this.txtDownloadEmAllUsername.Size = new System.Drawing.Size(706, 20); + this.txtDownloadEmAllUsername.TabIndex = 0; + // + // lblDownloadEmAllPassword + // + this.lblDownloadEmAllPassword.AutoSize = true; + this.lblDownloadEmAllPassword.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblDownloadEmAllPassword.Location = new System.Drawing.Point(6, 48); + this.lblDownloadEmAllPassword.Name = "lblDownloadEmAllPassword"; + this.lblDownloadEmAllPassword.Size = new System.Drawing.Size(36, 13); + this.lblDownloadEmAllPassword.TabIndex = 1; + this.lblDownloadEmAllPassword.Text = "Pass: "; + // + // lblDownloadEmAllUsername + // + this.lblDownloadEmAllUsername.AutoSize = true; + this.lblDownloadEmAllUsername.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblDownloadEmAllUsername.Location = new System.Drawing.Point(6, 22); + this.lblDownloadEmAllUsername.Name = "lblDownloadEmAllUsername"; + this.lblDownloadEmAllUsername.Size = new System.Drawing.Size(35, 13); + this.lblDownloadEmAllUsername.TabIndex = 0; + this.lblDownloadEmAllUsername.Text = "User: "; + // + // gbCredentialsInfo + // + this.gbCredentialsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbCredentialsInfo.Controls.Add(this.lblCredentialsInfo); + this.gbCredentialsInfo.Location = new System.Drawing.Point(6, 83); + this.gbCredentialsInfo.Name = "gbCredentialsInfo"; + this.gbCredentialsInfo.Size = new System.Drawing.Size(760, 38); + this.gbCredentialsInfo.TabIndex = 0; + this.gbCredentialsInfo.TabStop = false; + this.gbCredentialsInfo.Text = "Credentials Info"; + // + // lblCredentialsInfo + // + this.lblCredentialsInfo.AutoSize = true; + this.lblCredentialsInfo.Location = new System.Drawing.Point(6, 16); + this.lblCredentialsInfo.Name = "lblCredentialsInfo"; + this.lblCredentialsInfo.Size = new System.Drawing.Size(173, 13); + this.lblCredentialsInfo.TabIndex = 0; + this.lblCredentialsInfo.Text = "Passwords are stored unencrypted."; + // + // tabDevs + // + this.tabDevs.Controls.Add(this.gbDevelopersInfo); + this.tabDevs.Controls.Add(this.gbDevelopers); + this.tabDevs.Location = new System.Drawing.Point(4, 22); + this.tabDevs.Name = "tabDevs"; + this.tabDevs.Padding = new System.Windows.Forms.Padding(3); + this.tabDevs.Size = new System.Drawing.Size(772, 316); + this.tabDevs.TabIndex = 1; + this.tabDevs.Text = " Devs "; + this.tabDevs.UseVisualStyleBackColor = true; + // + // gbDevelopersInfo + // + this.gbDevelopersInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbDevelopersInfo.Controls.Add(this.lblDevelopersInfo3); + this.gbDevelopersInfo.Controls.Add(this.lblDevelopersInfo1); + this.gbDevelopersInfo.Controls.Add(this.lblDevelopersInfo2); + this.gbDevelopersInfo.Location = new System.Drawing.Point(6, 154); + this.gbDevelopersInfo.Name = "gbDevelopersInfo"; + this.gbDevelopersInfo.Size = new System.Drawing.Size(760, 67); + this.gbDevelopersInfo.TabIndex = 1; + this.gbDevelopersInfo.TabStop = false; + this.gbDevelopersInfo.Text = "Developers Info"; + // + // lblDevelopersInfo3 + // + this.lblDevelopersInfo3.AutoSize = true; + this.lblDevelopersInfo3.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblDevelopersInfo3.Location = new System.Drawing.Point(6, 45); + this.lblDevelopersInfo3.Name = "lblDevelopersInfo3"; + this.lblDevelopersInfo3.Size = new System.Drawing.Size(460, 13); + this.lblDevelopersInfo3.TabIndex = 2; + this.lblDevelopersInfo3.Text = "To view a different language, click Save Options to save the default options and " + + "restart the app."; + // + // lblDevelopersInfo1 + // + this.lblDevelopersInfo1.AutoSize = true; + this.lblDevelopersInfo1.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblDevelopersInfo1.Location = new System.Drawing.Point(6, 19); + this.lblDevelopersInfo1.Name = "lblDevelopersInfo1"; + this.lblDevelopersInfo1.Size = new System.Drawing.Size(172, 13); + this.lblDevelopersInfo1.TabIndex = 0; + this.lblDevelopersInfo1.Text = "Use these options at your own risk!"; + // + // lblDevelopersInfo2 + // + this.lblDevelopersInfo2.AutoSize = true; + this.lblDevelopersInfo2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblDevelopersInfo2.Location = new System.Drawing.Point(6, 32); + this.lblDevelopersInfo2.Name = "lblDevelopersInfo2"; + this.lblDevelopersInfo2.Size = new System.Drawing.Size(421, 13); + this.lblDevelopersInfo2.TabIndex = 1; + this.lblDevelopersInfo2.Text = "Changing these options may cause instability, unexpected behavior, and security i" + + "ssues."; + // + // gbDevelopers + // + this.gbDevelopers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbDevelopers.Controls.Add(this.chkCheckForLatestVersion); + this.gbDevelopers.Controls.Add(this.cbLogLevel); + this.gbDevelopers.Controls.Add(this.lblLogLevel); + this.gbDevelopers.Controls.Add(this.cbLanguageLocality); + this.gbDevelopers.Controls.Add(this.lblLanguage); + this.gbDevelopers.Controls.Add(this.chkCheckSSLCertificates); + this.gbDevelopers.Controls.Add(this.chkSendErrorReports); + this.gbDevelopers.Location = new System.Drawing.Point(6, 6); + this.gbDevelopers.Name = "gbDevelopers"; + this.gbDevelopers.Size = new System.Drawing.Size(760, 142); + this.gbDevelopers.TabIndex = 0; + this.gbDevelopers.TabStop = false; + this.gbDevelopers.Text = "Developers"; + // + // chkCheckForLatestVersion + // + this.chkCheckForLatestVersion.AutoSize = true; + this.chkCheckForLatestVersion.Location = new System.Drawing.Point(6, 19); + this.chkCheckForLatestVersion.Name = "chkCheckForLatestVersion"; + this.chkCheckForLatestVersion.Size = new System.Drawing.Size(145, 17); + this.chkCheckForLatestVersion.TabIndex = 0; + this.chkCheckForLatestVersion.Text = "Check For Latest Version"; + this.chkCheckForLatestVersion.UseVisualStyleBackColor = true; + // + // cbLogLevel + // + this.cbLogLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbLogLevel.Enabled = false; + this.cbLogLevel.FormattingEnabled = true; + this.cbLogLevel.Items.AddRange(new object[] { + "Information"}); + this.cbLogLevel.Location = new System.Drawing.Point(112, 115); + this.cbLogLevel.Name = "cbLogLevel"; + this.cbLogLevel.Size = new System.Drawing.Size(132, 21); + this.cbLogLevel.TabIndex = 4; + // + // lblLogLevel + // + this.lblLogLevel.AutoSize = true; + this.lblLogLevel.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblLogLevel.Location = new System.Drawing.Point(6, 118); + this.lblLogLevel.Name = "lblLogLevel"; + this.lblLogLevel.Size = new System.Drawing.Size(60, 13); + this.lblLogLevel.TabIndex = 6; + this.lblLogLevel.Text = "Log Level: "; + // + // cbLanguageLocality + // + this.cbLanguageLocality.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbLanguageLocality.Enabled = false; + this.cbLanguageLocality.FormattingEnabled = true; + this.cbLanguageLocality.Items.AddRange(new object[] { + "en"}); + this.cbLanguageLocality.Location = new System.Drawing.Point(112, 88); + this.cbLanguageLocality.Name = "cbLanguageLocality"; + this.cbLanguageLocality.Size = new System.Drawing.Size(132, 21); + this.cbLanguageLocality.TabIndex = 3; + // + // lblLanguage + // + this.lblLanguage.AutoSize = true; + this.lblLanguage.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblLanguage.Location = new System.Drawing.Point(6, 91); + this.lblLanguage.Name = "lblLanguage"; + this.lblLanguage.Size = new System.Drawing.Size(100, 13); + this.lblLanguage.TabIndex = 5; + this.lblLanguage.Text = "Language-Locality: "; + // + // chkCheckSSLCertificates + // + this.chkCheckSSLCertificates.AutoSize = true; + this.chkCheckSSLCertificates.Checked = true; + this.chkCheckSSLCertificates.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkCheckSSLCertificates.Enabled = false; + this.chkCheckSSLCertificates.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.chkCheckSSLCertificates.Location = new System.Drawing.Point(6, 42); + this.chkCheckSSLCertificates.Name = "chkCheckSSLCertificates"; + this.chkCheckSSLCertificates.Size = new System.Drawing.Size(135, 17); + this.chkCheckSSLCertificates.TabIndex = 1; + this.chkCheckSSLCertificates.Text = "Check SSL Certificates"; + this.chkCheckSSLCertificates.UseVisualStyleBackColor = true; + // + // chkSendErrorReports + // + this.chkSendErrorReports.AutoSize = true; + this.chkSendErrorReports.Enabled = false; + this.chkSendErrorReports.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.chkSendErrorReports.Location = new System.Drawing.Point(6, 65); + this.chkSendErrorReports.Name = "chkSendErrorReports"; + this.chkSendErrorReports.Size = new System.Drawing.Size(116, 17); + this.chkSendErrorReports.TabIndex = 2; + this.chkSendErrorReports.Text = "Send Error Reports"; + this.chkSendErrorReports.UseVisualStyleBackColor = true; + // + // tabHelp + // + this.tabHelp.Controls.Add(this.rtbHelp); + this.tabHelp.Location = new System.Drawing.Point(4, 22); + this.tabHelp.Name = "tabHelp"; + this.tabHelp.Padding = new System.Windows.Forms.Padding(3); + this.tabHelp.Size = new System.Drawing.Size(792, 354); + this.tabHelp.TabIndex = 2; + this.tabHelp.Text = " Help "; + this.tabHelp.UseVisualStyleBackColor = true; + // + // rtbHelp + // + this.rtbHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.rtbHelp.Location = new System.Drawing.Point(6, 6); + this.rtbHelp.Name = "rtbHelp"; + this.rtbHelp.ReadOnly = true; + this.rtbHelp.Size = new System.Drawing.Size(780, 342); + this.rtbHelp.TabIndex = 0; + this.rtbHelp.Text = ""; + // + // tabLicense + // + this.tabLicense.Controls.Add(this.rtbLicense); + this.tabLicense.Location = new System.Drawing.Point(4, 22); + this.tabLicense.Name = "tabLicense"; + this.tabLicense.Padding = new System.Windows.Forms.Padding(3); + this.tabLicense.Size = new System.Drawing.Size(792, 354); + this.tabLicense.TabIndex = 3; + this.tabLicense.Text = " License "; + this.tabLicense.UseVisualStyleBackColor = true; + // + // rtbLicense + // + this.rtbLicense.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.rtbLicense.Location = new System.Drawing.Point(6, 6); + this.rtbLicense.Name = "rtbLicense"; + this.rtbLicense.ReadOnly = true; + this.rtbLicense.Size = new System.Drawing.Size(780, 342); + this.rtbLicense.TabIndex = 0; + this.rtbLicense.Text = ""; + // + // tabDonations + // + this.tabDonations.Controls.Add(this.rtbDonations); + this.tabDonations.Location = new System.Drawing.Point(4, 22); + this.tabDonations.Name = "tabDonations"; + this.tabDonations.Padding = new System.Windows.Forms.Padding(3); + this.tabDonations.Size = new System.Drawing.Size(792, 354); + this.tabDonations.TabIndex = 4; + this.tabDonations.Text = " Donations "; + this.tabDonations.UseVisualStyleBackColor = true; + // + // rtbDonations + // + this.rtbDonations.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.rtbDonations.Location = new System.Drawing.Point(6, 6); + this.rtbDonations.Name = "rtbDonations"; + this.rtbDonations.ReadOnly = true; + this.rtbDonations.Size = new System.Drawing.Size(780, 342); + this.rtbDonations.TabIndex = 0; + this.rtbDonations.Text = ""; + // + // tabRegistration + // + this.tabRegistration.Controls.Add(this.gbRegistration); + this.tabRegistration.Controls.Add(this.gbRegistrationInfo); + this.tabRegistration.Location = new System.Drawing.Point(4, 22); + this.tabRegistration.Name = "tabRegistration"; + this.tabRegistration.Padding = new System.Windows.Forms.Padding(3); + this.tabRegistration.Size = new System.Drawing.Size(792, 354); + this.tabRegistration.TabIndex = 5; + this.tabRegistration.Text = " Registration "; + this.tabRegistration.UseVisualStyleBackColor = true; + // + // gbRegistration + // + this.gbRegistration.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbRegistration.Controls.Add(this.btnRegisterApp); + this.gbRegistration.Controls.Add(this.lblRegisterAppPassword); + this.gbRegistration.Controls.Add(this.lblRegisterAppEmail); + this.gbRegistration.Controls.Add(this.lblRegisterAppUsername); + this.gbRegistration.Controls.Add(this.txtRegisterAppPassword); + this.gbRegistration.Controls.Add(this.txtRegisterAppEmailAddress); + this.gbRegistration.Controls.Add(this.txtRegisterAppUsername); + this.gbRegistration.Location = new System.Drawing.Point(6, 6); + this.gbRegistration.Name = "gbRegistration"; + this.gbRegistration.Size = new System.Drawing.Size(780, 126); + this.gbRegistration.TabIndex = 5; + this.gbRegistration.TabStop = false; + this.gbRegistration.Text = "Registration"; + // + // btnRegisterApp + // + this.btnRegisterApp.Enabled = false; + this.btnRegisterApp.Location = new System.Drawing.Point(6, 97); + this.btnRegisterApp.Name = "btnRegisterApp"; + this.btnRegisterApp.Size = new System.Drawing.Size(80, 23); + this.btnRegisterApp.TabIndex = 6; + this.btnRegisterApp.Text = "Register App"; + this.btnRegisterApp.UseVisualStyleBackColor = true; + // + // lblRegisterAppPassword + // + this.lblRegisterAppPassword.AutoSize = true; + this.lblRegisterAppPassword.Location = new System.Drawing.Point(6, 74); + this.lblRegisterAppPassword.Name = "lblRegisterAppPassword"; + this.lblRegisterAppPassword.Size = new System.Drawing.Size(59, 13); + this.lblRegisterAppPassword.TabIndex = 5; + this.lblRegisterAppPassword.Text = "Password: "; + // + // lblRegisterAppEmail + // + this.lblRegisterAppEmail.AutoSize = true; + this.lblRegisterAppEmail.Location = new System.Drawing.Point(6, 48); + this.lblRegisterAppEmail.Name = "lblRegisterAppEmail"; + this.lblRegisterAppEmail.Size = new System.Drawing.Size(38, 13); + this.lblRegisterAppEmail.TabIndex = 4; + this.lblRegisterAppEmail.Text = "Email: "; + // + // lblRegisterAppUsername + // + this.lblRegisterAppUsername.AutoSize = true; + this.lblRegisterAppUsername.Location = new System.Drawing.Point(6, 22); + this.lblRegisterAppUsername.Name = "lblRegisterAppUsername"; + this.lblRegisterAppUsername.Size = new System.Drawing.Size(61, 13); + this.lblRegisterAppUsername.TabIndex = 3; + this.lblRegisterAppUsername.Text = "Username: "; + // + // txtRegisterAppPassword + // + this.txtRegisterAppPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtRegisterAppPassword.Enabled = false; + this.txtRegisterAppPassword.Location = new System.Drawing.Point(73, 71); + this.txtRegisterAppPassword.Name = "txtRegisterAppPassword"; + this.txtRegisterAppPassword.Size = new System.Drawing.Size(701, 20); + this.txtRegisterAppPassword.TabIndex = 2; + // + // txtRegisterAppEmailAddress + // + this.txtRegisterAppEmailAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtRegisterAppEmailAddress.Enabled = false; + this.txtRegisterAppEmailAddress.Location = new System.Drawing.Point(73, 45); + this.txtRegisterAppEmailAddress.Name = "txtRegisterAppEmailAddress"; + this.txtRegisterAppEmailAddress.Size = new System.Drawing.Size(701, 20); + this.txtRegisterAppEmailAddress.TabIndex = 1; + // + // txtRegisterAppUsername + // + this.txtRegisterAppUsername.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtRegisterAppUsername.Enabled = false; + this.txtRegisterAppUsername.Location = new System.Drawing.Point(73, 19); + this.txtRegisterAppUsername.Name = "txtRegisterAppUsername"; + this.txtRegisterAppUsername.Size = new System.Drawing.Size(701, 20); + this.txtRegisterAppUsername.TabIndex = 0; + // + // gbRegistrationInfo + // + this.gbRegistrationInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gbRegistrationInfo.Controls.Add(this.lblRegistrationInfo); + this.gbRegistrationInfo.Location = new System.Drawing.Point(6, 138); + this.gbRegistrationInfo.Name = "gbRegistrationInfo"; + this.gbRegistrationInfo.Size = new System.Drawing.Size(780, 38); + this.gbRegistrationInfo.TabIndex = 4; + this.gbRegistrationInfo.TabStop = false; + this.gbRegistrationInfo.Text = "Registration Info"; + // + // lblRegistrationInfo + // + this.lblRegistrationInfo.AutoSize = true; + this.lblRegistrationInfo.Location = new System.Drawing.Point(6, 16); + this.lblRegistrationInfo.Name = "lblRegistrationInfo"; + this.lblRegistrationInfo.Size = new System.Drawing.Size(356, 13); + this.lblRegistrationInfo.TabIndex = 0; + this.lblRegistrationInfo.Text = "Enter your username, email address and password and click Register App."; + // + // bgwStartupTasks + // + this.bgwStartupTasks.DoWork += new System.ComponentModel.DoWorkEventHandler(this.StartupTasks_DoWork); + this.bgwStartupTasks.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.StartupTasks_RunWorkerCompleted); + // + // FrmDatEmAll + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 465); + this.Controls.Add(this.tcMain); + this.Controls.Add(this.ssMain); + this.Controls.Add(this.tsMain); + this.Controls.Add(this.msMain); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MainMenuStrip = this.msMain; + this.Name = "FrmDatEmAll"; + this.Text = "DatEmAll"; + 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.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.tcOptions.ResumeLayout(false); + this.tabOutput.ResumeLayout(false); + this.gbHeaderDefaults.ResumeLayout(false); + this.gbHeaderDefaults.PerformLayout(); + this.gbOutput2.ResumeLayout(false); + this.gbOutput2.PerformLayout(); + this.gbHeaderOverrides.ResumeLayout(false); + this.gbHeaderOverrides.PerformLayout(); + this.gbOutputInfo.ResumeLayout(false); + this.gbOutputInfo.PerformLayout(); + this.gbOutput.ResumeLayout(false); + this.gbOutput.PerformLayout(); + this.tabPaths.ResumeLayout(false); + this.gbPathsInfo.ResumeLayout(false); + this.gbPathsInfo.PerformLayout(); + this.tlpPaths.ResumeLayout(false); + this.gbPathROMsDir.ResumeLayout(false); + this.gbPathROMsDir.PerformLayout(); + this.gbPathDatsDir.ResumeLayout(false); + this.gbPathDatsDir.PerformLayout(); + this.tabCredentials.ResumeLayout(false); + this.gbDownloadEmAllCredentials.ResumeLayout(false); + this.gbDownloadEmAllCredentials.PerformLayout(); + this.gbCredentialsInfo.ResumeLayout(false); + this.gbCredentialsInfo.PerformLayout(); + this.tabDevs.ResumeLayout(false); + this.gbDevelopersInfo.ResumeLayout(false); + this.gbDevelopersInfo.PerformLayout(); + this.gbDevelopers.ResumeLayout(false); + this.gbDevelopers.PerformLayout(); + this.tabHelp.ResumeLayout(false); + this.tabLicense.ResumeLayout(false); + this.tabDonations.ResumeLayout(false); + this.tabRegistration.ResumeLayout(false); + this.gbRegistration.ResumeLayout(false); + this.gbRegistration.PerformLayout(); + this.gbRegistrationInfo.ResumeLayout(false); + this.gbRegistrationInfo.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.ComponentModel.BackgroundWorker bgwBuildDat; + private System.Windows.Forms.TabControl tcMain; + private System.Windows.Forms.TabPage tabLog; + private System.Windows.Forms.TabPage tabOptions; + private System.Windows.Forms.ToolStripMenuItem tsmiCommands; + private System.Windows.Forms.ToolStripMenuItem tsmiView; + private System.Windows.Forms.ToolStripButton tsbBuildDat; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripButton tsbLoadOptions; + private System.Windows.Forms.ToolStripButton tsbSaveOptions; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripButton tsbSaveLog; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripButton tsbViewLog; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripButton tsbViewOptions; + private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; + private System.Windows.Forms.ToolStripStatusLabel tsslSpring; + private System.Windows.Forms.ToolStripStatusLabel tsslStatusMessage; + private System.Windows.Forms.ToolStripSplitButton tssbCancel; + private System.Windows.Forms.ToolStripMenuItem tsmiBuildDat; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem tsmiSaveOptions; + private System.Windows.Forms.ToolStripMenuItem tsmiLoadOptions; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem tsmiSaveLog; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem tsmiExit; + private System.Windows.Forms.ToolStripMenuItem tsmiLog; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.ToolStripMenuItem tsmiOptions; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; + private System.Windows.Forms.ToolStripMenuItem tsmiHelp; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; + private System.Windows.Forms.ToolStripMenuItem tsmiLicense; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; + private System.Windows.Forms.ToolStripMenuItem tsmiToolbar; + private System.Windows.Forms.TabPage tabHelp; + private System.Windows.Forms.TabPage tabLicense; + private System.Windows.Forms.TabPage tabDonations; + private System.Windows.Forms.TabPage tabRegistration; + private System.Windows.Forms.ToolStripMenuItem tsmiDonations; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator18; + private System.Windows.Forms.ToolStripMenuItem tsmiRegistration; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator19; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.ToolStripButton tsbViewHelp; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; + private System.Windows.Forms.ToolStripButton tsbViewLicense; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; + private System.Windows.Forms.ToolStripButton tsbViewDonations; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; + private System.Windows.Forms.ToolStripButton tsbViewRegistration; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; + private System.Windows.Forms.ToolStripButton tsbViewToolbar; + private System.Windows.Forms.RichTextBox rtbHelp; + private System.Windows.Forms.RichTextBox rtbLicense; + private System.Windows.Forms.RichTextBox rtbDonations; + private System.Windows.Forms.GroupBox gbPathROMsDir; + private System.Windows.Forms.TextBox txtPathROMsDir; + private System.Windows.Forms.GroupBox gbPathDatsDir; + private System.Windows.Forms.TextBox txtPathDatsDir; + private System.Windows.Forms.TableLayoutPanel tlpPaths; + private System.Windows.Forms.GroupBox gbOutput; + private System.Windows.Forms.CheckBox chkIncludeFileSize; + private System.Windows.Forms.CheckBox chkIncludeSHA1Hash; + private System.Windows.Forms.CheckBox chkIncludeMD5Hash; + private System.Windows.Forms.CheckBox chkIncludeCRC32Hash; + private System.ComponentModel.BackgroundWorker bgwStartupTasks; + private System.Windows.Forms.TabControl tcOptions; + private System.Windows.Forms.TabPage tabOutput; + private System.Windows.Forms.TabPage tabDevs; + private System.Windows.Forms.TabPage tabPaths; + private System.Windows.Forms.TabPage tabCredentials; + private System.Windows.Forms.GroupBox gbPathsInfo; + private System.Windows.Forms.Label lblPathsInfo; + private System.Windows.Forms.GroupBox gbOutputInfo; + private System.Windows.Forms.Label lblOutputInfo; + private System.Windows.Forms.GroupBox gbCredentialsInfo; + private System.Windows.Forms.Label lblCredentialsInfo; + private System.Windows.Forms.Label lblDatExtension; + private System.Windows.Forms.GroupBox gbDevelopers; + private System.Windows.Forms.ComboBox cbLogLevel; + private System.Windows.Forms.Label lblLogLevel; + private System.Windows.Forms.ComboBox cbLanguageLocality; + private System.Windows.Forms.Label lblLanguage; + private System.Windows.Forms.CheckBox chkCheckSSLCertificates; + private System.Windows.Forms.CheckBox chkSendErrorReports; + private System.Windows.Forms.GroupBox gbDownloadEmAllCredentials; + private System.Windows.Forms.TextBox txtDownloadEmAllPassword; + private System.Windows.Forms.TextBox txtDownloadEmAllUsername; + private System.Windows.Forms.Label lblDownloadEmAllPassword; + private System.Windows.Forms.Label lblDownloadEmAllUsername; + private System.Windows.Forms.GroupBox gbDevelopersInfo; + private System.Windows.Forms.Label lblDevelopersInfo3; + private System.Windows.Forms.Label lblDevelopersInfo1; + private System.Windows.Forms.Label lblDevelopersInfo2; + private System.Windows.Forms.GroupBox gbHeaderOverrides; + private System.Windows.Forms.Label lblHeaderComment; + private System.Windows.Forms.Label lblHeaderUrl; + private System.Windows.Forms.Label lblHeaderDate; + private System.Windows.Forms.Label lblHeaderVersion; + private System.Windows.Forms.Label lblHeaderDescription; + private System.Windows.Forms.Label lblHeaderName; + private System.Windows.Forms.TextBox txtOverrideHeaderHomepage; + private System.Windows.Forms.TextBox txtOverrideHeaderAuthor; + private System.Windows.Forms.TextBox txtOverrideHeaderDate; + private System.Windows.Forms.TextBox txtOverrideHeaderVersion; + private System.Windows.Forms.TextBox txtOverrideHeaderDescription; + private System.Windows.Forms.TextBox txtOverrideHeaderName; + private System.Windows.Forms.Label lblHeaderHomepage; + private System.Windows.Forms.Label lblHeaderAuthor; + private System.Windows.Forms.TextBox txtOverrideHeaderComment; + private System.Windows.Forms.TextBox txtOverrideHeaderURL; + private System.Windows.Forms.Label lblHeaderCategory; + private System.Windows.Forms.TextBox txtOverrideHeaderCategory; + private System.Windows.Forms.GroupBox gbOutput2; + private System.Windows.Forms.CheckBox chkAppendVersionToDescription; + private System.Windows.Forms.CheckBox chkAppendVersionToFilename; + private System.Windows.Forms.CheckBox chkAppendGameCountToDescription; + private System.Windows.Forms.CheckBox chkAppendGameCountToFilename; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.ComboBox cbXMLDOCTYPE; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox cbXMLEncoding; + private System.Windows.Forms.Label lblOutputInfo2; + private System.Windows.Forms.GroupBox gbHeaderDefaults; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderCategory; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderComment; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderURL; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderHomepage; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderAuthor; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderDate; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderVersion; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderDescription; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderName; + private System.Windows.Forms.CheckBox chkCheckForLatestVersion; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderCMPForceUnzip; + private Serilog.Sinks.LogEmAll.RichTextBoxLog rtblLog; + private System.Windows.Forms.CheckBox chkIncludeDefaultHeaderEmail; + private System.Windows.Forms.Label lblHeaderEmail; + private System.Windows.Forms.TextBox txtOverrideHeaderEmail; + private System.Windows.Forms.CheckBox chkIncludeROMDirRootFiles; + private System.Windows.Forms.TextBox txtDatFilename; + private System.Windows.Forms.GroupBox gbRegistrationInfo; + private System.Windows.Forms.Label lblRegistrationInfo; + private System.Windows.Forms.GroupBox gbRegistration; + private System.Windows.Forms.Label lblRegisterAppPassword; + private System.Windows.Forms.Label lblRegisterAppEmail; + private System.Windows.Forms.Label lblRegisterAppUsername; + private System.Windows.Forms.TextBox txtRegisterAppPassword; + private System.Windows.Forms.TextBox txtRegisterAppEmailAddress; + private System.Windows.Forms.TextBox txtRegisterAppUsername; + private System.Windows.Forms.Button btnRegisterApp; + } +} + diff --git a/DatEmAll-GUI/FrmDatEmAll.cs b/DatEmAll-GUI/FrmDatEmAll.cs new file mode 100644 index 0000000..4a03ae8 --- /dev/null +++ b/DatEmAll-GUI/FrmDatEmAll.cs @@ -0,0 +1,870 @@ +using System; +using System.ComponentModel; +using System.IO; +using System.Threading.Tasks; +using System.Windows.Forms; +using Serilog; + +namespace DatEmAll_GUI +{ + /// + /// The DatEmAll GUI Class which interacts with the Main Program Class. + /// + public partial class FrmDatEmAll : Form + { + #region Constructors + + DatEmAll.DatEmAll DEA = new DatEmAll.DatEmAll(); + + /// + /// Constructor + /// + public FrmDatEmAll() + { + // Initialize the form. + InitializeComponent(); + + // Print the version. + DEA.PrintVersion(); + + // Load the default options passed from the default options file. + DEA.LoadOptionsFromFile(); + + // Load the default options passed from the command line arguments. + DEA.LoadOptionsFromCLI(Environment.GetCommandLineArgs()); + + // Add data bindings. + chkIncludeCRC32Hash.DataBindings.Add("Checked", DEA, "IncludeCRC32Hash"); + chkIncludeMD5Hash.DataBindings.Add("Checked", DEA, "IncludeMD5Hash"); + chkIncludeSHA1Hash.DataBindings.Add("Checked", DEA, "IncludeSHA1Hash"); + chkIncludeFileSize.DataBindings.Add("Checked", DEA, "IncludeFileSize"); + chkAppendGameCountToFilename.DataBindings.Add("Checked", DEA, "AppendGameCountToFilename"); + chkAppendGameCountToDescription.DataBindings.Add("Checked", DEA, "AppendGameCountToDescription"); + chkAppendVersionToFilename.DataBindings.Add("Checked", DEA, "AppendVersionToFilename"); + chkAppendVersionToDescription.DataBindings.Add("Checked", DEA, "AppendVersionToDescription"); + chkIncludeROMDirRootFiles.DataBindings.Add("Checked", DEA, "IncludeROMDirRootFiles"); + txtDatFilename.DataBindings.Add("Text", DEA, "DatFilename"); + cbXMLEncoding.DataBindings.Add("SelectedItem", DEA, "XMLEncoding"); + cbXMLDOCTYPE.DataBindings.Add("SelectedItem", DEA, "XMLDOCTYPE"); + chkIncludeDefaultHeaderName.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderName"); + chkIncludeDefaultHeaderDescription.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderDescription"); + chkIncludeDefaultHeaderVersion.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderVersion"); + chkIncludeDefaultHeaderDate.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderDate"); + chkIncludeDefaultHeaderAuthor.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderAuthor"); + chkIncludeDefaultHeaderEmail.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderEmail"); + chkIncludeDefaultHeaderHomepage.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderHomepage"); + chkIncludeDefaultHeaderURL.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderURL"); + chkIncludeDefaultHeaderComment.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderComment"); + chkIncludeDefaultHeaderCategory.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderCategory"); + chkIncludeDefaultHeaderCMPForceUnzip.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderCMPForceUnzip"); + txtOverrideHeaderName.DataBindings.Add("Text", DEA, "OverrideHeaderName"); + txtOverrideHeaderDescription.DataBindings.Add("Text", DEA, "OverrideHeaderDescription"); + txtOverrideHeaderVersion.DataBindings.Add("Text", DEA, "OverrideHeaderVersion"); + txtOverrideHeaderDate.DataBindings.Add("Text", DEA, "OverrideHeaderDate"); + txtOverrideHeaderAuthor.DataBindings.Add("Text", DEA, "OverrideHeaderAuthor"); + txtOverrideHeaderEmail.DataBindings.Add("Text", DEA, "OverrideHeaderEmail"); + txtOverrideHeaderHomepage.DataBindings.Add("Text", DEA, "OverrideHeaderHomepage"); + txtOverrideHeaderURL.DataBindings.Add("Text", DEA, "OverrideHeaderURL"); + txtOverrideHeaderComment.DataBindings.Add("Text", DEA, "OverrideHeaderComment"); + txtOverrideHeaderCategory.DataBindings.Add("Text", DEA, "OverrideHeaderCategory"); + chkCheckForLatestVersion.DataBindings.Add("Checked", DEA, "CheckForLatestVersion"); + chkCheckSSLCertificates.DataBindings.Add("Checked", DEA, "CheckSSLCertificates"); + chkSendErrorReports.DataBindings.Add("Checked", DEA, "SendErrorReports"); + cbLanguageLocality.DataBindings.Add("SelectedItem", DEA, "LanguageLocality"); + cbLogLevel.DataBindings.Add("SelectedItem", DEA, "LogLevel"); + txtPathDatsDir.DataBindings.Add("Text", DEA, "PathDatsDir"); + txtPathROMsDir.DataBindings.Add("Text", DEA, "PathROMsDir"); + txtRegisterAppUsername.DataBindings.Add("Text", DEA, "RegisterAppUsername"); + txtRegisterAppEmailAddress.DataBindings.Add("Text", DEA, "RegisterAppEmailAddress"); + txtRegisterAppPassword.DataBindings.Add("Text", DEA, "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 = DatEmAll.Properties.Resources.DatEmAll_HELP; + rtbLicense.Text = DatEmAll.Properties.Resources.DatEmAll_LICENSE; + rtbDonations.Text = DatEmAll.Properties.Resources.DatEmAll_DONATIONS; + } + + #endregion + + #region Getters/Setters Public Accessors + + /// LogLines + public string[] LogLines + { + get { return rtblLog.Lines; } + set { rtblLog.Lines = value; } + } + + #endregion + + #region Log + + /// + /// Saves the log to a text file. + /// + /// + /// + public bool SaveLogToFile(string strPath = null) + { + try + { + if (strPath != null) + { + DEA.PathLogFile = strPath; + } + + // Determine if the user selected a log filename. + if (DEA.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(DEA.PathLogFile)) == false) Directory.CreateDirectory(Path.GetDirectoryName(DEA.PathLogFile)); + + // Save the contents of the log to a text file. + File.WriteAllLines(DEA.PathLogFile, LogLines); + + // Print to screen + Log.Information("Log file saved (" + DEA.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 + + /// + /// + /// + /// + /// + private void StartupTasks_DoWork(object sender, DoWorkEventArgs e) + { + // Run startup tasks. + DEA.StartupTasks(); + } + + /// + /// + /// + /// + /// + private void StartupTasks_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + if (e.Cancelled) + { + // Print to screen + Log.Information("Startup tasks canceled"); + } + else if (e.Error != null) + { + // Print to screen + Log.Error("Startup tasks failed"); + Log.Error(e.Error.Message); + } + else + { + // + } + + // Print to screen + Log.Information("Ready"); + + // Update the status message label. + UpdateStatusMessageLabel("Ready"); + + // Enable all of the buttons. + Invoke(new EnableAllButtonsDelegate(EnableAllButtons)); + } + + #endregion + + #region GUI Methods + + /// + /// Cancels the current backgroundworker. + /// + /// + /// + private void Cancel_Click(object sender, EventArgs e) + { + if (bgwBuildDat.WorkerSupportsCancellation == true) + { + // Print to screen + Log.Information("Cancellation pending after current operation ..."); + + // Disable the cancel button. + tssbCancel.Enabled = false; + + // Cancel the asynchronous operation. + bgwBuildDat.CancelAsync(); + + // Update the status message label. + UpdateStatusMessageLabel("Cancellation Pending ..."); + } + } + + /// + /// Updates/Sets the application title. + /// + /// + /// + public bool UpdateTitle(string strTitle = "") + { + try + { + if (this.InvokeRequired && !this.IsDisposed) + { + Invoke(new MethodInvoker(delegate () + { + // Update the application title. + this.Text = DEA.AppName + " v" + DEA.AppVersion + strTitle; + })); + } + else if (!this.IsDisposed) + { + // Update the application title. + this.Text = DEA.AppName + " v" + DEA.AppVersion + strTitle; + } + return true; + } + catch (Exception) + { + return false; + } + } + + /// + /// Updates the progress status message label. + /// + /// + private void UpdateStatusMessageLabel(string strMsg) + { + // Update the progress status message label. + tsslStatusMessage.Text = strMsg; + } + + /// + /// After the form is shown, run the startup tasks. + /// + /// + /// + private void Form_Shown(object sender, EventArgs e) + { + // Perform the application startup tasks. + bgwStartupTasks.RunWorkerAsync(); + } + + /// + /// Exits the WinForm app. + /// + /// + /// + private void ExitApp_Click(object sender, EventArgs e) + { + Application.Exit(); + } + + /// + /// Exits the Forms application. + /// + /// + /// + private void Form_FormClosing(object sender, FormClosingEventArgs e) + { + if (bgwBuildDat.IsBusy == true) + { + if (MessageBox.Show("The dat builder is currently running. Are you sure you want to exit now? Exiting now may cause corrupt or incomplete files!", "Confirm Exit", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK) + { + e.Cancel = true; + } + } + } + + /// + /// Changes the path to the Dats directory. + /// + /// + /// + private void PathDatsDir_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + if (txtPathDatsDir.Text == "") { txtPathDatsDir.Text = "Dats"; } + + // Create and initialize a FolderBrowserDialog for the Dats directory. + FolderBrowserDialog fbdSelectDir = new FolderBrowserDialog + { + ShowNewFolderButton = true, + Description = "Please enter a path to the Dats directory: ", + SelectedPath = Path.GetFullPath(Path.Combine(txtPathDatsDir.Text)) + }; + + // Determine if the user selected OK from the FolderBrowserDialog. + if (fbdSelectDir.ShowDialog() == DialogResult.OK) + { + // Set both variables for compatibility for Windows .Net and Mono. + this.DEA.PathDatsDir = fbdSelectDir.SelectedPath; + txtPathDatsDir.Text = fbdSelectDir.SelectedPath; + } + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Changes the path to the ROMs directory. + /// + /// + /// + private void PathROMsDir_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + if (txtPathROMsDir.Text == "") { txtPathROMsDir.Text = "ROMs"; } + + // Create and initialize a FolderBrowserDialog for the ROMs directory. + FolderBrowserDialog fbdSelectDir = new FolderBrowserDialog + { + ShowNewFolderButton = true, + Description = "Please enter a path to the ROMs directory: ", + SelectedPath = Path.GetFullPath(Path.Combine(txtPathROMsDir.Text)) + }; + + // Determine if the user selected OK from the FolderBrowserDialog. + if (fbdSelectDir.ShowDialog() == DialogResult.OK) + { + // Set both variables for compatibility for Windows .NET and Mono. + this.DEA.PathROMsDir = fbdSelectDir.SelectedPath; + txtPathROMsDir.Text = fbdSelectDir.SelectedPath; + } + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Builds a dat. + /// + /// + /// + private void BuildDat_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; + + // Update the status message label. + UpdateStatusMessageLabel("Building Dat ..."); + + // Update the DateTimeFormatted variable. + DEA.DateTimeFormatted = DateTime.Now.ToString("yyyyMMdd_HHmmss"); + + // Build a dat. + bgwBuildDat.RunWorkerAsync(); + } + + /// + /// Loads an options file. + /// + /// + /// + private void LoadOptions_Click(object sender, EventArgs e) + { + // 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. + DEA.PathOptionsFile = ofdOptions.FileName; + + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Load the options. + DEA.LoadOptionsFromFile(); + + // Print to screen + Log.Information("Ready"); + } + + // Dispose of the OpenFileDialog. + ofdOptions.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Saves an options file. + /// + /// + /// + private void SaveOptions_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Create and initialize a SaveFileDialog for the options file. + SaveFileDialog sfdOptions = new SaveFileDialog + { + DefaultExt = "*.xml", + Filter = "XML Files|*.xml", + FileName = "DatEmAll-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. + DEA.PathOptionsFile = sfdOptions.FileName; + + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Save the options. + DEA.SaveOptionsToFile(); + + // Print to screen + Log.Information("Ready"); + } + + // Dispose of the SaveFileDialog. + sfdOptions.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// Saves the log to a text file. + /// + /// + /// + private void SaveLog_Click(object sender, EventArgs e) + { + // Disable all buttons. + DisableAllButtons(); + + // Create and initialize a SaveFileDialog for the log file. + SaveFileDialog sfdLog = new SaveFileDialog + { + DefaultExt = "*.txt", + Filter = "TXT Files|*.txt", + FileName = "DatEmAll-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. + DEA.PathLogFile = sfdLog.FileName; + + // Select the Log tab. + if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); } + + // Save the log. + SaveLogToFile(DEA.PathLogFile); + + // Print to screen + Log.Information("Ready"); + } + + // Dispose of the SaveFileDialog. + sfdLog.Dispose(); + + // Enable all buttons. + EnableAllButtons(); + } + + /// + /// 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 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; + tsmiToolbar.CheckState = CheckState.Unchecked; + } + else + { + tsMain.Visible = true; + tsmiToolbar.Checked = true; + tsmiToolbar.CheckState = CheckState.Checked; + } + } + + private delegate void EnableAllButtonsDelegate(); + + /// + /// Enables all of the buttons. + /// + private void EnableAllButtons() + { + // Enable all Menu Item buttons. + tsmiCommands.Enabled = true; + tsmiBuildDat.Enabled = true; + tsmiLoadOptions.Enabled = true; + tsmiSaveOptions.Enabled = true; + tsmiSaveLog.Enabled = true; + tsmiExit.Enabled = true; + + // Enable all Toolbar buttons. + tsbBuildDat.Enabled = true; + tsbLoadOptions.Enabled = true; + tsbSaveOptions.Enabled = true; + tsbSaveLog.Enabled = true; + + // Enable all Options checkboxes and textboxes and comboboxes. + chkIncludeCRC32Hash.Enabled = true; + chkIncludeFileSize.Enabled = true; + chkIncludeMD5Hash.Enabled = true; + chkIncludeSHA1Hash.Enabled = true; + chkIncludeFileSize.Enabled = true; + chkAppendGameCountToFilename.Enabled = true; + chkAppendGameCountToDescription.Enabled = true; + chkAppendVersionToFilename.Enabled = true; + chkAppendVersionToDescription.Enabled = true; + chkIncludeROMDirRootFiles.Enabled = true; + txtDatFilename.Enabled = true; + cbXMLEncoding.Enabled = true; + cbXMLDOCTYPE.Enabled = true; + chkIncludeDefaultHeaderName.Enabled = true; + chkIncludeDefaultHeaderDescription.Enabled = true; + chkIncludeDefaultHeaderVersion.Enabled = true; + chkIncludeDefaultHeaderDate.Enabled = true; + chkIncludeDefaultHeaderAuthor.Enabled = true; + chkIncludeDefaultHeaderEmail.Enabled = true; + chkIncludeDefaultHeaderHomepage.Enabled = true; + chkIncludeDefaultHeaderURL.Enabled = true; + chkIncludeDefaultHeaderComment.Enabled = true; + chkIncludeDefaultHeaderCategory.Enabled = true; + chkIncludeDefaultHeaderCMPForceUnzip.Enabled = true; + txtOverrideHeaderName.Enabled = true; + txtOverrideHeaderDescription.Enabled = true; + txtOverrideHeaderVersion.Enabled = true; + txtOverrideHeaderDate.Enabled = true; + txtOverrideHeaderAuthor.Enabled = true; + txtOverrideHeaderEmail.Enabled = true; + txtOverrideHeaderHomepage.Enabled = true; + txtOverrideHeaderURL.Enabled = true; + txtOverrideHeaderComment.Enabled = true; + txtOverrideHeaderCategory.Enabled = true; + txtDownloadEmAllUsername.Enabled = true; + txtDownloadEmAllPassword.Enabled = true; + txtPathDatsDir.Enabled = true; + txtPathROMsDir.Enabled = true; + chkCheckForLatestVersion.Enabled = true; + chkCheckSSLCertificates.Enabled = true; + chkSendErrorReports.Enabled = true; + cbLanguageLocality.Enabled = true; + cbLogLevel.Enabled = true; + } + + private delegate void DisableAllButtonsDelegate(); + + /// + /// Disables all of the buttons. + /// + private void DisableAllButtons() + { + // Disable all Menu Item buttons. + tsmiCommands.Enabled = false; + tsmiBuildDat.Enabled = false; + tsmiLoadOptions.Enabled = false; + tsmiSaveOptions.Enabled = false; + tsmiSaveLog.Enabled = false; + tsmiExit.Enabled = false; + + // Disable all Toolbar buttons. + tsbBuildDat.Enabled = false; + tsbLoadOptions.Enabled = false; + tsbSaveOptions.Enabled = false; + tsbSaveLog.Enabled = false; + + // Disable all Options checkboxes and textboxes and comboboxes. + chkIncludeCRC32Hash.Enabled = false; + chkIncludeFileSize.Enabled = false; + chkIncludeMD5Hash.Enabled = false; + chkIncludeSHA1Hash.Enabled = false; + chkIncludeFileSize.Enabled = false; + chkAppendGameCountToFilename.Enabled = false; + chkAppendGameCountToDescription.Enabled = false; + chkAppendVersionToFilename.Enabled = false; + chkAppendVersionToDescription.Enabled = false; + chkIncludeROMDirRootFiles.Enabled = false; + txtDatFilename.Enabled = false; + cbXMLEncoding.Enabled = false; + cbXMLDOCTYPE.Enabled = false; + chkIncludeDefaultHeaderName.Enabled = false; + chkIncludeDefaultHeaderDescription.Enabled = false; + chkIncludeDefaultHeaderVersion.Enabled = false; + chkIncludeDefaultHeaderDate.Enabled = false; + chkIncludeDefaultHeaderAuthor.Enabled = false; + chkIncludeDefaultHeaderEmail.Enabled = false; + chkIncludeDefaultHeaderHomepage.Enabled = false; + chkIncludeDefaultHeaderURL.Enabled = false; + chkIncludeDefaultHeaderComment.Enabled = false; + chkIncludeDefaultHeaderCategory.Enabled = false; + chkIncludeDefaultHeaderCMPForceUnzip.Enabled = false; + txtOverrideHeaderName.Enabled = false; + txtOverrideHeaderDescription.Enabled = false; + txtOverrideHeaderVersion.Enabled = false; + txtOverrideHeaderDate.Enabled = false; + txtOverrideHeaderAuthor.Enabled = false; + txtOverrideHeaderEmail.Enabled = false; + txtOverrideHeaderHomepage.Enabled = false; + txtOverrideHeaderURL.Enabled = false; + txtOverrideHeaderComment.Enabled = false; + txtOverrideHeaderCategory.Enabled = false; + txtDownloadEmAllUsername.Enabled = false; + txtDownloadEmAllPassword.Enabled = false; + txtPathDatsDir.Enabled = false; + txtPathROMsDir.Enabled = false; + chkCheckForLatestVersion.Enabled = false; + chkCheckSSLCertificates.Enabled = false; + chkSendErrorReports.Enabled = false; + cbLanguageLocality.Enabled = false; + cbLogLevel.Enabled = false; + } + + #endregion + + #region Builders + + /// + /// + /// + /// + /// + private void BuildDat_DoWork(object sender, DoWorkEventArgs e) + { + // Run dat builder. + DEA.BuildADat(sender, e); + } + + /// + /// + /// + /// + /// + private void BuildDat_ProgressChanged(object sender, ProgressChangedEventArgs e) + { + // Display the changed progress status. + // UpdateStatusBuildProgress(e.ProgressPercentage); + } + + /// + /// + /// + /// + /// + private void BuildDat_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) + { + if (e.Cancelled) + { + // Print to screen + Log.Information("Dat builder canceled"); + } + else if (e.Error != null) + { + // Print to screen + Log.Error("Dat builder failed"); + Log.Error(e.Error.Message); + } + else + { + // + } + + // Reset the progress status. + // UpdateStatusBuildProgress(0); + + // Disable the cancel button. + tssbCancel.Enabled = false; + + // Print to screen + Log.Information("Ready"); + + // Update the status message label. + UpdateStatusMessageLabel("Ready"); + + // Enable all buttons. + Invoke(new EnableAllButtonsDelegate(EnableAllButtons)); + } + + #endregion + } +} diff --git a/DatEmAll-GUI/FrmDatEmAll.resx b/DatEmAll-GUI/FrmDatEmAll.resx new file mode 100644 index 0000000..a9d58d9 --- /dev/null +++ b/DatEmAll-GUI/FrmDatEmAll.resx @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 17, 17 + + + 112, 17 + + + 200, 17 + + + 433, 17 + + + 289, 17 + + + 43 + + + + + AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAvnkASb55AMy+eQD2vnkA+r55AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD/vnkA/755 + AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD6vnkA9r55 + AMy+eQBJAAAAAL13AE29dwD2vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713 + AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713 + AP+9dwD/vXcA/713APe9dwBJvHYA37x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2 + AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2 + AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2ANe7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0 + AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0 + AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7pzAP+6dAr/vXkj/79/Nv/BhUf/wohP/8KI + T//Ch03/wodM/8KGS//Ch0v/wodL/8KHS//Ch0v/wodL/8KHS//Ch0v/wodL/8KHS//Chkv/wodM/8GF + R/+/fzb/vXoj/7t1Dv+6cwD/unMA/7pzAP+6cwD/unMA/7pzAP+6cwD/uXEA/7x4JP/Gj1H/0aZ4/9q6 + mv/fw6n/38Op/97Bpv/dv6H/3b6h/92+of/dvqH/3b6h/92+of/dvqH/3b6h/92+of/dvqH/3b6h/92+ + of/dvqH/2riY/9GmeP/Hj0//vXoj/7lyAP+5cgD/uXIA/7lyAP+5cgD/uXIA/7lyAP+3bwD/ungn/8iT + WP/Wr4P/48iq/+zYwv/w4c7/8uTT//Hk1P/x5NT/8eTU//Hk1P/x5NT/8eTU//Hk1P/x5NT/8eTU//Hk + 1P/x5NT/8eTT//Hk1P/u3sz/5c20/9m2k//Km3D/v4VK/7p2Iv+3cAD/t3AA/7dwAP+3cAD/t3AA/7Zv + AP+3chT/vH00/8WPV//Sp3v/4MOl/+7fzf/37uP/+vXv//v38v/69vH/+vbx//r28f/69vH/+vbx//r2 + 8f/69vH/+vbx//r28f/69vH/+/bx//r07//27+n/8OTZ/+TOt//Urov/wYdO/7lyDv+2cAX/tm8A/7Zv + AP+2bwD/tW0A/7VtAP+1bQD/uHMc/8GFQf/PpHv/38Wu/+razP/y6OD/+PLs//z6+P///v7///////// + ///////////////////////////////////////////////////9+/j/9ezh/+jWxP/Zu6X/zKF//8GK + VP+6eC7/tW0L/7VtAP+0bAD/tGwA/7RsAP+1bQj/t3Me/7t9Pv/Bi17/y6B7/9q5nP/q2Mf/9+/o//z5 + 9v/+/f3//v79//79/f/+/f3//v39//79/f/+/f3//v39//79/f/+/v3//v79//38+//7+PX/+fTw//Ts + 5//n08P/062F/8GKT/+1bxr/tGsA/7NrAf+zawH/s2sB/7NrAf+zawH/s2sB/7NrAf+4dST/xI5Y/9Kt + kP/fx7b/59bJ/+3e0v/t39P/7d/U/+3f1P/t39T/7d/U/+3f1P/t39T/7d/U/+3g1P/u4NX/7uHV/+/h + 1v/v49j/7+HW/+bQuv/Ys4v/yJRd/7l2Kv+zbAX/smkD/7JqBv+zaxD/tG0X/7RuGv+0bhn/tG0Z/7Vv + If+2czD/uXtF/7+IW//KnHL/0al//9Osgv/UrYT/1K2E/9SthP/UrYT/1K2E/9SthP/UrYT/1K2E/9Su + hv/Vr4j/1rGK/9ezjf/Ys43/17GI/9Oqe//JlV//vHwz/7NsDv+xaAj/s2wZ/7p7OP/Ahkj/wYlO/8GI + TP/AhUX/v4NB/72BPv+9fjf/vYAz/8OJQf/Ikkz/yZNO/8mUUP/JlFD/yZRQ/8mUUP/JlFD/yZRQ/8mU + UP/HkU3/wohD/8CEQf/Bh0j/wolM/8KKUP/Ejlb/xI5Z/7+DSP+3dCj/smoO/7BmDP+zbiL/wIZI/8qZ + Yv/QpHT/06p+/9Osg//TrIX/0quD/9Kpgv/RqH//0Kd+/9CmfP/Qpnz/0KZ8/9CmfP/Qpnz/0KZ8/9Cm + fP/Qpnz/0aZ8/86hd//EkWj/vIJV/7h4Pf+1cSr/s20j/7JsIf+ybSH/smsb/7FpEf+wZw3/r2UQ/7Jr + IP+8fj7/yZho/9i1k//kzLX/69vN/+7g1f/t39T/7d7T/+zd0v/s3dL/693S/+vd0v/r3dH/693R/+vd + 0f/r3dH/693R/+vd0f/s3dL/6trO/+TRxP/Zvan/yJly/7l5Nv+wZg//r2UQ/69lEP+vZRD/r2UQ/69l + EP+uZBL/sGca/7VyK//CjmD/1rSY/+XSwf/w5+D/9/Ht//r39P/9+/n//v39//7+/f/+/f3//v39//79 + /f/+/f3//v39//79/f/+/f3//v39//7+/f/9/Pv/+/f0//Hm3f/fxa7/zaSC/76JYv+1dUL/sGki/65k + Ef+uZBL/rmQS/65kFP+vZRf/sWkd/7Z1Pv++iWL/yJ6A/9Sznf/izLz/8ebb//r28f////////////// + /////////////////////////////////////////////////////v3/+/j1//Ts5v/q2s7/28Cq/8md + fP+3dj7/sGYQ/65kFf+uZBT/sWcY/7FnGP+xZxj/sWcY/7FnGP+0bST/vH5E/8ugff/dwq3/6drN//Lq + 4v/38u3/+/bz//v49P/7+PT/+/j0//v49P/7+PT/+/j0//v49P/7+PT/+/j0//v39P/7+PT/+/j0//fv + 5//t3M3/3L+n/8qdev+8glH/tG8r/7FoGf+zax3/s2sd/7NrHf+zax3/s2sd/7NrHP+1byf/unxG/8GN + Zv/LoYH/2Lif/+bQv//v4dT/8eXY//Hl2f/x5dn/8eXZ//Hl2f/x5dn/8eXZ//Hl2f/x5tr/8+bb//Ln + 3f/z6N7/8ufd//Hj1//q2Mj/38St/82jf/+6ez//tGwf/7VvI/+0bSH/tG0g/7RsHf+yaRv/smcb/7Fm + HP+wZBz/sWUb/7VxJv+/hlX/zKSF/9a3oP/Yu6X/2Lum/9i7pv/Yu6b/2Lum/9i7pv/Yu6b/2Lul/9m8 + p//bvqr/3MGs/93Crv/exbL/38e1/93Dr//Wtp7/xph2/7h3Ov+2cCT/uHEn/7RrIv+0bCj/tW8w/7Vx + Of+0cT7/tHFA/7NxP/+ybz//s29A/7NzSP+4fVf/u4Vi/7yHZP+8h2X/vIdl/7yHZf+8h2X/vIdl/7yH + Zf+8hmT/vYdj/8GLY//EjGH/wope/8KKXv/BiV//v4Vb/7t+UP+0cTz/smol/7hyKP+7dyz/uHQx/7x/ + Sf/Ekmz/z6qT/9W4qP/XvLD/1ryv/9S4qv/Ttqj/07Wn/9O1pv/TtaX/07Wl/9O1pf/TtaX/07Wl/9O1 + pf/TtaX/07Wl/9O1pf/SsZ7/z6SE/8aQYf+5dC//tWkm/7pzK/+6cyz/t28n/7dvKP+4cSn/vXku/8B9 + M/+/fz7/x5Ff/9Kriv/kzb3/7+LZ//Ts5v/27+v/9u/p//Xu6P/17ef/9Ozm//Ts5f/07OX/9Ovl//Tr + 5f/06+X/9Ovl//Tr5f/06+X/9Ozl//Lm3f/n08D/17Wb/8GPbv+6e0n/wH89/8KAN//Dgzz/xodJ/8KB + Of/CgDX/xoY7/8aGQf/Lk1z/z591/9KulP/cwrH/6trN//Xt5v/9+/j///78//78+v/+/Pn//fv5//37 + +f/9+/n//fv5//37+f/9+/n//fv5//37+P/9+/n/+/j0//Xt5v/s3tP/38m7/9Kvl//Hk2L/x4pH/8yQ + Uv/MkVP/yIk//8eHO//LjkH/zI9E/9GXV//Nk1b/woRM/8aUbf/auJz/6dbG//Ps5//59fL//Pn3//79 + /P////////////////////////////////////////////////////7///7+//z6+P/48ev/6dnN/9a0 + m//Ronv/06Bt/9CYXv/JjET/yo1A/9CVSP/Rlkr/1Z5c/9SbW//NklH/zpdc/9amdv/Xro3/1rel/+LO + wP/x5tz/+vbz//////////////////////////////////////////////////////////////////79 + +//48/D/8Obf/+fTxP/du53/zJty/8KEQv/NkUT/1p1O/9eeUP/apWH/26Zj/9ulYv/bpWL/2qRi/9GZ + WP/IkFv/1a2L/+XMtv/s3tP/8Ofi//Ho4//x6OP/8ejj//Ho4//x6OP/8ejj//Ho4//x6OP/8ejj//Ho + 4//x6OP/8ejj//Ho5P/w5uH/59bK/9m5of/Dkm7/vHo9/9GXSP/bpVT/3KZV/9+sZv/grmn/4K1o/+Ct + aP/grWj/3Khj/9mkYv/drXP/37SE/9Wui//Op4//zaiQ/86pkf/OqZH/zqmR/86pkf/OqZH/zqmR/86p + kf/OqZH/zqmR/86pkf/OqZH/zqqT/86qkv/MpIb/x5dx/7yBUv++fjz/1p5P/+GuW//hrlr/47Fl/+W2 + cP/ltW//5bVu/+W1bv/ltW7/5bVu/+W1bv/jsmz/2qdh/9KdWv/SnVr/055b/9OeW//Tnlv/055b/9Oe + W//Tnlv/055b/9OeW//Tnlv/055b/9OeW//Tnlv/055b/9SgXv/UoWH/0JpV/9OcTv/fq1n/57di/ue3 + Yv/nt2L/6bpr/+q9cv/qvXP/6rxz/+q8c//qvHP/6r1z/+q8c//pu3L/6bxy/+m8cv/pu3L/6bty/+m7 + cv/pu3L/6bxy/+m8cv/pu3L/6bty/+m8cv/pu3L/6bty/+m7cv/pvHL/6bxx/+i6av/mtmH/5rZh/+e3 + Yv7swGmp7cFq/+7Bav/uwWn/7sJq/+7Ba//uwWv/7sFr/+7Ba//uwmv/7sFr/+7Ba//uwmv/7sJr/+7B + a//uwWv/7sFr/+7Ba//uwmv/7sJr/+7Ba//uwWv/7sJr/+7Ba//uwWv/7sFr/+7Ba//uwmr/7sFp/+7B + av/twWr/7MBprQAAAADxyW+w9Mtx/vTMcf/0zHH/9Mtx//TLcf/0y3H/9Mtx//TMcf/0zHH/9Mxx//TM + cf/0zHH/9Mtx//TLcf/0y3H/9Mtx//TMcf/0zHH/9Mxx//TMcf/0zHH/9Mtx//TLcf/0y3H/9Mtx//TM + cf/0zHH/9Mtx/vLJb7UAAAAAgAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAE= + + + \ No newline at end of file diff --git a/DatEmAll-GUI/Program.cs b/DatEmAll-GUI/Program.cs new file mode 100644 index 0000000..73fe613 --- /dev/null +++ b/DatEmAll-GUI/Program.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; +using Serilog; +using Serilog.Formatting.Display; +using Serilog.Sinks.LogEmAll; + +namespace DatEmAll_GUI +{ + /// + /// The Main Program Class. + /// + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + ConfigureSerilog(); + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new FrmDatEmAll()); + } + + /// + /// 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/DatEmAll-GUI/Properties/AssemblyInfo.cs b/DatEmAll-GUI/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..91f42ba --- /dev/null +++ b/DatEmAll-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("DatEmAll-GUI")] +[assembly: AssemblyDescription("The Original Automated Datter")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("DatEmAll")] +[assembly: AssemblyProduct("DatEmAll-GUI")] +[assembly: AssemblyCopyright("Copyright (c) 2020-2025 DatEmAll")] +[assembly: AssemblyTrademark("DatEmAll - The Original Automated Datter")] +[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("472c0464-f101-4a66-8d26-e065497aa86d")] + +// 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("0.0.3")] +[assembly: AssemblyFileVersion("0.0.3")] diff --git a/DatEmAll-GUI/Properties/Resources.Designer.cs b/DatEmAll-GUI/Properties/Resources.Designer.cs new file mode 100644 index 0000000..e8a6279 --- /dev/null +++ b/DatEmAll-GUI/Properties/Resources.Designer.cs @@ -0,0 +1,203 @@ +//------------------------------------------------------------------------------ +// +// 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 DatEmAll_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("DatEmAll_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 Blank_32x32 { + get { + object obj = ResourceManager.GetObject("Blank_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BuildDat_32x32 { + get { + object obj = ResourceManager.GetObject("BuildDat_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 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.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 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 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 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 Toolbar_32x32 { + get { + object obj = ResourceManager.GetObject("Toolbar_32x32", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/DatEmAll-GUI/Properties/Resources.resx b/DatEmAll-GUI/Properties/Resources.resx new file mode 100644 index 0000000..dae5882 --- /dev/null +++ b/DatEmAll-GUI/Properties/Resources.resx @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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\Blank_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Images\BuildDat_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\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\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\LoadOptions_32x32.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\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\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/DatEmAll-GUI/Properties/Settings.Designer.cs b/DatEmAll-GUI/Properties/Settings.Designer.cs new file mode 100644 index 0000000..64b6b65 --- /dev/null +++ b/DatEmAll-GUI/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 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 DatEmAll_GUI.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/DatEmAll-GUI/Properties/Settings.settings b/DatEmAll-GUI/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/DatEmAll-GUI/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/DatEmAll-GUI/Resources/Images/Blank_32x32.png b/DatEmAll-GUI/Resources/Images/Blank_32x32.png new file mode 100644 index 0000000..5ca6662 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Blank_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/BuildDat_32x32.png b/DatEmAll-GUI/Resources/Images/BuildDat_32x32.png new file mode 100644 index 0000000..01207a5 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/BuildDat_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Cancel_16x16.png b/DatEmAll-GUI/Resources/Images/Cancel_16x16.png new file mode 100644 index 0000000..40c4bdb Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Cancel_16x16.png differ diff --git a/DatEmAll-GUI/Resources/Images/Donate_32x32.png b/DatEmAll-GUI/Resources/Images/Donate_32x32.png new file mode 100644 index 0000000..8f020ec Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Donate_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Exit_32x32.png b/DatEmAll-GUI/Resources/Images/Exit_32x32.png new file mode 100644 index 0000000..ccc6e14 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Exit_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Help_32x32.png b/DatEmAll-GUI/Resources/Images/Help_32x32.png new file mode 100644 index 0000000..3b3bae3 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Help_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Key_32x32.png b/DatEmAll-GUI/Resources/Images/Key_32x32.png new file mode 100644 index 0000000..b6d21cd Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Key_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/License_32x32.png b/DatEmAll-GUI/Resources/Images/License_32x32.png new file mode 100644 index 0000000..854ed97 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/License_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/LoadOptions_32x32.png b/DatEmAll-GUI/Resources/Images/LoadOptions_32x32.png new file mode 100644 index 0000000..c7aea4c Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/LoadOptions_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Log_32x32.png b/DatEmAll-GUI/Resources/Images/Log_32x32.png new file mode 100644 index 0000000..c202c5a Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Log_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Options_32x32.png b/DatEmAll-GUI/Resources/Images/Options_32x32.png new file mode 100644 index 0000000..1500302 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Options_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/SaveLog_32x32.png b/DatEmAll-GUI/Resources/Images/SaveLog_32x32.png new file mode 100644 index 0000000..9a7c79b Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/SaveLog_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/SaveOptions_32x32.png b/DatEmAll-GUI/Resources/Images/SaveOptions_32x32.png new file mode 100644 index 0000000..cc94694 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/SaveOptions_32x32.png differ diff --git a/DatEmAll-GUI/Resources/Images/Toolbar_32x32.png b/DatEmAll-GUI/Resources/Images/Toolbar_32x32.png new file mode 100644 index 0000000..114c907 Binary files /dev/null and b/DatEmAll-GUI/Resources/Images/Toolbar_32x32.png differ diff --git a/DatEmAll-GUI/packages.config b/DatEmAll-GUI/packages.config new file mode 100644 index 0000000..9978c02 --- /dev/null +++ b/DatEmAll-GUI/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/DatEmAll-Installer/DatEmAll-Installer.vdproj b/DatEmAll-Installer/DatEmAll-Installer.vdproj new file mode 100644 index 0000000..80a97b1 --- /dev/null +++ b/DatEmAll-Installer/DatEmAll-Installer.vdproj @@ -0,0 +1,1854 @@ +"DeployProject" +{ +"VSVersion" = "3:800" +"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" +"IsWebType" = "8:FALSE" +"ProjectName" = "8:DatEmAll-Installer" +"LanguageId" = "3:1033" +"CodePage" = "3:1252" +"UILanguageId" = "3:1033" +"SccProjectName" = "8:" +"SccLocalPath" = "8:" +"SccAuxPath" = "8:" +"SccProvider" = "8:" + "Hierarchy" + { + "Entry" + { + "MsmKey" = "8:_157685D6244447A89CD225B6E8B7BC7F" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_163C992D9F5147CBB80E8AD2030586A8" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_1970C2CCBBFA49549683C8958E0DC726" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2B823C253F6A48748811CC69D80E35BF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_3613F3A50AD44F128E9B75CE46ED2A42" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_40FF874818FF4930A88597F492B9385D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_432F086C04D74338B85B54F88A603BBB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_497A16B2F8F0C3F5D7B01148A3EC43E1" + "OwnerKey" = "8:_862BC1A01A0DFE666CF0BDDB3FB6C316" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_497A16B2F8F0C3F5D7B01148A3EC43E1" + "OwnerKey" = "8:_5BD3529808DBB52A7AD6D7B87EE6420A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_497A16B2F8F0C3F5D7B01148A3EC43E1" + "OwnerKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_497A16B2F8F0C3F5D7B01148A3EC43E1" + "OwnerKey" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_497A16B2F8F0C3F5D7B01148A3EC43E1" + "OwnerKey" = "8:_F7E2C539F320C197877C5D7DCDFB0121" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4E9E3CFA0F6840B1B746F516418F3226" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4FA1E4440ABE4647B8FB55C0008ACED2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5ABD12A687A44DDFBB22B4A0DA9F28CB" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5BD3529808DBB52A7AD6D7B87EE6420A" + "OwnerKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5FAAC309A4D84A138692E69D02866681" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7F1AC97399B0422FB0162884A5A7A6D0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7FA4C92144DB45F08D4F2CE21EAC3E03" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_862BC1A01A0DFE666CF0BDDB3FB6C316" + "OwnerKey" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_862BC1A01A0DFE666CF0BDDB3FB6C316" + "OwnerKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B2A446B047B21F344D15B3CBFC65828" + "OwnerKey" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_8B2A446B047B21F344D15B3CBFC65828" + "OwnerKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_911D7416BFF04A9CA1A66A2C52FF7C06" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_960D1BD0E0F5407195A1A157809F0C37" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_96287F52BB484C17AD18084FD8640ACF" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_9F4F01791850490AB34628911B1941D1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B33D2F42FD904D59B302511AFDA855A2" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B4E64C0876484470A58BAA7DA64A6117" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BDAE278BDEDA4C7D83B480752E5F75A0" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C8C47B216AF149D1BEC2D6D5671FDDB4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_E4BB3510EA0F4DFCB5C8D12A752254F4" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F2DE7D6F9EE34A88B041902E8C839A9A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F7E2C539F320C197877C5D7DCDFB0121" + "OwnerKey" = "8:_862BC1A01A0DFE666CF0BDDB3FB6C316" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F7E2C539F320C197877C5D7DCDFB0121" + "OwnerKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F7E2C539F320C197877C5D7DCDFB0121" + "OwnerKey" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_5BD3529808DBB52A7AD6D7B87EE6420A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_862BC1A01A0DFE666CF0BDDB3FB6C316" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_F7E2C539F320C197877C5D7DCDFB0121" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_497A16B2F8F0C3F5D7B01148A3EC43E1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_8B2A446B047B21F344D15B3CBFC65828" + "MsmSig" = "8:_UNDEFINED" + } + } + "Configurations" + { + "Debug" + { + "DisplayName" = "8:Debug" + "IsDebugOnly" = "11:TRUE" + "IsReleaseOnly" = "11:FALSE" + "OutputFilename" = "8:bin\\Debug\\DatEmAll-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\\DatEmAll-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}:_4BEEE58831DA44C386E799740355E0A7" + { + "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}:_157685D6244447A89CD225B6E8B7BC7F" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Dats\\put your dats in this directory.txt" + "TargetName" = "8:put your dats in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_AC11F599DF7B441DA57DB8200F80EE2E" + "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}:_163C992D9F5147CBB80E8AD2030586A8" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Docs\\DatEmAll-HELP-CMD.txt" + "TargetName" = "8:DatEmAll-HELP-CMD.txt" + "Tag" = "8:" + "Folder" = "8:_505A6ED5A8F6424E94B99FE3CC342707" + "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}:_1970C2CCBBFA49549683C8958E0DC726" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Docs\\DatEmAll-HELP.txt" + "TargetName" = "8:DatEmAll-HELP.txt" + "Tag" = "8:" + "Folder" = "8:_505A6ED5A8F6424E94B99FE3CC342707" + "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}:_2B823C253F6A48748811CC69D80E35BF" + { + "SourcePath" = "8:..\\DatEmAll-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:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_3613F3A50AD44F128E9B75CE46ED2A42" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\BASHes\\DatEmAll-Print-License.sh" + "TargetName" = "8:DatEmAll-Print-License.sh" + "Tag" = "8:" + "Folder" = "8:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_40FF874818FF4930A88597F492B9385D" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\Batches\\DatEmAll-Build-Dat.bat" + "TargetName" = "8:DatEmAll-Build-Dat.bat" + "Tag" = "8:" + "Folder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_432F086C04D74338B85B54F88A603BBB" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\BASHes\\DatEmAll-Build-Dat.sh" + "TargetName" = "8:DatEmAll-Build-Dat.sh" + "Tag" = "8:" + "Folder" = "8:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_497A16B2F8F0C3F5D7B01148A3EC43E1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_497A16B2F8F0C3F5D7B01148A3EC43E1" + { + "Name" = "8:Serilog.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Serilog.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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}:_4E9E3CFA0F6840B1B746F516418F3226" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\BASHes\\DatEmAll-Print-Version.sh" + "TargetName" = "8:DatEmAll-Print-Version.sh" + "Tag" = "8:" + "Folder" = "8:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_4FA1E4440ABE4647B8FB55C0008ACED2" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\BASHes\\DatEmAll-Print-Help-CMD.sh" + "TargetName" = "8:DatEmAll-Print-Help-CMD.sh" + "Tag" = "8:" + "Folder" = "8:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_5ABD12A687A44DDFBB22B4A0DA9F28CB" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\Batches\\DatEmAll-Print-Donation-Info.bat" + "TargetName" = "8:DatEmAll-Print-Donation-Info.bat" + "Tag" = "8:" + "Folder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_5BD3529808DBB52A7AD6D7B87EE6420A" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Serilog.Sinks.Console, Version=4.1.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_5BD3529808DBB52A7AD6D7B87EE6420A" + { + "Name" = "8:Serilog.Sinks.Console.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Serilog.Sinks.Console.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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}:_5FAAC309A4D84A138692E69D02866681" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Logs\\put your logs in this directory.txt" + "TargetName" = "8:put your logs in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_650C37BB417247AB9B04560F9696C4EA" + "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}:_7F1AC97399B0422FB0162884A5A7A6D0" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Docs\\DatEmAll-DONATIONS.txt" + "TargetName" = "8:DatEmAll-DONATIONS.txt" + "Tag" = "8:" + "Folder" = "8:_505A6ED5A8F6424E94B99FE3CC342707" + "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}:_7FA4C92144DB45F08D4F2CE21EAC3E03" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\Batches\\DatEmAll-Save-Options.bat" + "TargetName" = "8:DatEmAll-Save-Options.bat" + "Tag" = "8:" + "Folder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_862BC1A01A0DFE666CF0BDDB3FB6C316" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:DatEmAll, Version=0.0.3.0, Culture=neutral, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_862BC1A01A0DFE666CF0BDDB3FB6C316" + { + "Name" = "8:DatEmAll.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:DatEmAll.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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}:_8B2A446B047B21F344D15B3CBFC65828" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + "ScatterAssemblies" + { + "_8B2A446B047B21F344D15B3CBFC65828" + { + "Name" = "8:System.Net.Http.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Http.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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}:_911D7416BFF04A9CA1A66A2C52FF7C06" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\Batches\\DatEmAll-Print-License.bat" + "TargetName" = "8:DatEmAll-Print-License.bat" + "Tag" = "8:" + "Folder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_960D1BD0E0F5407195A1A157809F0C37" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\Batches\\DatEmAll-Print-Help-CMD.bat" + "TargetName" = "8:DatEmAll-Print-Help-CMD.bat" + "Tag" = "8:" + "Folder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_96287F52BB484C17AD18084FD8640ACF" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Docs\\DatEmAll-LICENSE.rtf" + "TargetName" = "8:DatEmAll-LICENSE.rtf" + "Tag" = "8:" + "Folder" = "8:_505A6ED5A8F6424E94B99FE3CC342707" + "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}:_9F4F01791850490AB34628911B1941D1" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\Batches\\DatEmAll-Print-Version.bat" + "TargetName" = "8:DatEmAll-Print-Version.bat" + "Tag" = "8:" + "Folder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_B33D2F42FD904D59B302511AFDA855A2" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\BASHes\\DatEmAll-Print-Donation-Info.sh" + "TargetName" = "8:DatEmAll-Print-Donation-Info.sh" + "Tag" = "8:" + "Folder" = "8:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_B4E64C0876484470A58BAA7DA64A6117" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Options\\put your options files in this directory.txt" + "TargetName" = "8:put your options files in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_2C00AFE8E4854A158D33940FD7E9C2F2" + "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}:_BDAE278BDEDA4C7D83B480752E5F75A0" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\ROMs\\put your roms in this directory.txt" + "TargetName" = "8:put your roms in this directory.txt" + "Tag" = "8:" + "Folder" = "8:_960E2B132BC64339A40B9A4A87E16464" + "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}:_C8C47B216AF149D1BEC2D6D5671FDDB4" + { + "SourcePath" = "8:..\\DatEmAll-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:_36338DF549A94E7D8648AC0D78809DC3" + "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}:_E4BB3510EA0F4DFCB5C8D12A752254F4" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\Resources\\BASHes\\DatEmAll-Save-Options.sh" + "TargetName" = "8:DatEmAll-Save-Options.sh" + "Tag" = "8:" + "Folder" = "8:_F1BBD98E36334FD181270579E1DB32DB" + "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}:_F2DE7D6F9EE34A88B041902E8C839A9A" + { + "SourcePath" = "8:..\\DatEmAll\\Resources\\Docs\\DatEmAll-LICENSE.txt" + "TargetName" = "8:DatEmAll-LICENSE.txt" + "Tag" = "8:" + "Folder" = "8:_505A6ED5A8F6424E94B99FE3CC342707" + "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}:_F7E2C539F320C197877C5D7DCDFB0121" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Serilog.Sinks.LogEmAll, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_F7E2C539F320C197877C5D7DCDFB0121" + { + "Name" = "8:Serilog.Sinks.LogEmAll.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Serilog.Sinks.LogEmAll.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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:" + } + } + "FileType" + { + } + "Folder" + { + "{1525181F-901A-416C-8A58-119130FE478E}:_403D8A34AE1B48D7B508BAFC185BAFC3" + { + "Name" = "8:#1919" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:ProgramMenuFolder" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_08E1AE9806E847C9AF611ABB07664CDA" + { + "Name" = "8:DatEmAll" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_F2A5872669774F36B4DC7B247E87B6BA" + "Folders" + { + } + } + } + } + "{1525181F-901A-416C-8A58-119130FE478E}:_6B6D436E3BA44D0483959F4B22EAF759" + { + "Name" = "8:#1916" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:DesktopFolder" + "Folders" + { + } + } + "{3C67513D-01DD-4637-8A68-80971EB9504F}:_D2677D4F879E4BA095F44F6E9C67E847" + { + "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}:_2C00AFE8E4854A158D33940FD7E9C2F2" + { + "Name" = "8:Options" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_EFD8BDAD4F264CD995E3BEA1BE763823" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_36338DF549A94E7D8648AC0D78809DC3" + { + "Name" = "8:Batches" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_8D8A4F92869B45C798C46DA2E2D476D2" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_505A6ED5A8F6424E94B99FE3CC342707" + { + "Name" = "8:Docs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_0D59D76EBABE4B999C6BBBF9125BB7B5" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_650C37BB417247AB9B04560F9696C4EA" + { + "Name" = "8:Logs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_979E14C4013C494E8D265CEAA8CF90FD" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_960E2B132BC64339A40B9A4A87E16464" + { + "Name" = "8:ROMs" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_AC52C5D342F04D64AFA5FAC1F1C216E9" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_AC11F599DF7B441DA57DB8200F80EE2E" + { + "Name" = "8:Dats" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_B8F307EE58DF4663A9D3414C7D885FED" + "Folders" + { + } + } + "{9EF0B969-E518-4E46-987F-47570745A589}:_F1BBD98E36334FD181270579E1DB32DB" + { + "Name" = "8:BASHes" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_D6D9A46BEE2243F5995A64490BBF4E75" + "Folders" + { + } + } + } + } + } + "LaunchCondition" + { + } + "Locator" + { + } + "MsiBootstrapper" + { + "LangId" = "3:1033" + "RequiresElevation" = "11:FALSE" + } + "Product" + { + "Name" = "8:Microsoft Visual Studio" + "ProductName" = "8:DatEmAll" + "ProductCode" = "8:{8930833F-A596-47D6-9B61-8854A13E70A2}" + "PackageCode" = "8:{BD713A41-8485-4870-9334-C684D3F5C99A}" + "UpgradeCode" = "8:{D6625DD2-B677-4B12-9943-9B5CB2E2C6B8}" + "AspNetVersion" = "8:" + "RestartWWWService" = "11:FALSE" + "RemovePreviousVersions" = "11:FALSE" + "DetectNewerInstalledVersion" = "11:TRUE" + "InstallAllUsers" = "11:FALSE" + "ProductVersion" = "8:0.0.3" + "Manufacturer" = "8:DatEmAll" + "ARPHELPTELEPHONE" = "8:" + "ARPHELPLINK" = "8:" + "Title" = "8:DatEmAll-Installer" + "Subject" = "8:" + "ARPCONTACT" = "8:DatEmAll" + "Keywords" = "8:DatEmAll" + "ARPCOMMENTS" = "8:The Original Automated Datter" + "ARPURLINFOABOUT" = "8:https://www.devemall.int.eu.org" + "ARPPRODUCTICON" = "8:" + "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}:_0DDE8A655C9746C8A8B3529DF9C874C9" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_657F1A2743DE449E8FA1EB4B952B0132" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCU" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_9567450833404ED0B842EEA71B89F1A0" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_BF2664451B2B49A0B15C6002F004C5D6" + { + "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}:_8C2BA1C529924B2EAB7256FA7AE9C33A" + { + "Name" = "8:DatEmAll-Build-Dat" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_40FF874818FF4930A88597F492B9385D" + "Folder" = "8:_08E1AE9806E847C9AF611ABB07664CDA" + "WorkingFolder" = "8:_36338DF549A94E7D8648AC0D78809DC3" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_9E5C9AD947AF4255815792D327F71248" + { + "Name" = "8:DatEmAll-CLI" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_B6819BDB5BB54EE69ADEE7E49FD2512C" + "Folder" = "8:_08E1AE9806E847C9AF611ABB07664CDA" + "WorkingFolder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "Icon" = "8:" + "Feature" = "8:" + } + "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_E395FAB3BB2540A4B075A7747A9883F4" + { + "Name" = "8:DatEmAll-GUI" + "Arguments" = "8:" + "Description" = "8:" + "ShowCmd" = "3:1" + "IconIndex" = "3:0" + "Transitive" = "11:FALSE" + "Target" = "8:_AED1B25F3C9E4A44A5A5AE42CD486892" + "Folder" = "8:_08E1AE9806E847C9AF611ABB07664CDA" + "WorkingFolder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "Icon" = "8:" + "Feature" = "8:" + } + } + "UserInterface" + { + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_2227FBCBAC554AAAAD78C4AEA6677284" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdUserInterface.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_31BB8116AA7245ED9C30AB1DDAEB5848" + { + "Name" = "8:#1901" + "Sequence" = "3:1" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_26F65926484F4584BC3BDD8C0EBC33F4" + { + "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" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_4DBB459C72434BB59074EB368CA55D64" + { + "Name" = "8:#1902" + "Sequence" = "3:2" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_39D780685F1C4845A8307878398ACAC3" + { + "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}:_62480D0C626941828BF0AB60B7C3F1A4" + { + "Name" = "8:#1902" + "Sequence" = "3:1" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_449551B0EA0843018A41E3F8D424BF0D" + { + "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" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_848569F149CD4C9BB1A0A77A57D14F50" + { + "Name" = "8:#1901" + "Sequence" = "3:2" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_66D30FA8E8454AD4A222361DA13E3C0F" + { + "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}:_BA7C2A91D6BD4B26AC74D69B1C3D0C42" + { + "Name" = "8:#1900" + "Sequence" = "3:1" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_14CA9A254903499B9B9F2BC90E4780F8" + { + "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" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4F8753297A0A44BCBA58FEC739C14B25" + { + "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}:_6D87835AB0664E3E82182D7A67E5D1A7" + { + "Sequence" = "3:300" + "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}:_B6F581854D0846008249F4C2574A35C4" + { + "Sequence" = "3:210" + "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:_96287F52BB484C17AD18084FD8640ACF" + "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" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_D841437F4BD949E98A58F7E652016608" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdBasicDialogs.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_DEEE85F2B7BE43BD955A33D1F6376058" + { + "Name" = "8:#1900" + "Sequence" = "3:2" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7B3CE4262EFE4580AEA051F973B1C766" + { + "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" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_861EEE4816F4431A86D394113E456D5A" + { + "Sequence" = "3:300" + "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}:_9FF245C113394B4985260FF2A8CC0832" + { + "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}:_EB06A50942624BE4BFFA0AEAE07BBE39" + { + "Sequence" = "3:210" + "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:_96287F52BB484C17AD18084FD8640ACF" + "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" + } + } + } + } + } + } + "MergeModule" + { + } + "ProjectOutput" + { + "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_AED1B25F3C9E4A44A5A5AE42CD486892" + { + "SourcePath" = "8:..\\DatEmAll-GUI\\obj\\Debug\\DatEmAll-GUI.exe" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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:{472C0464-F101-4A66-8D26-E065497AA86D}" + "ShowKeyOutput" = "11:TRUE" + "ExcludeFilters" + { + } + } + "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_B6819BDB5BB54EE69ADEE7E49FD2512C" + { + "SourcePath" = "8:..\\DatEmAll-CLI\\obj\\Debug\\DatEmAll-CLI.exe" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_D2677D4F879E4BA095F44F6E9C67E847" + "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:{A4E91B23-5009-49C6-9B6F-419197B22504}" + "ShowKeyOutput" = "11:TRUE" + "ExcludeFilters" + { + } + } + } + } +} diff --git a/DatEmAll-Release/App.config b/DatEmAll-Release/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/DatEmAll-Release/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/DatEmAll-Release/DatEmAll-Release.csproj b/DatEmAll-Release/DatEmAll-Release.csproj new file mode 100644 index 0000000..062fce7 --- /dev/null +++ b/DatEmAll-Release/DatEmAll-Release.csproj @@ -0,0 +1,128 @@ + + + + + + Debug + AnyCPU + {DD89A500-245E-41BD-B844-4800E0C81476} + v4.8 + + + + + AnyCPU + bin\Debug\ + + + AnyCPU + bin\Release\ + + + + + + + + DatEmAll + 0.0.3 + DatEmAll-Portable + DatEmAll-Installer + DatEmAll-Package + DatEmAll-Source + DatEmAll + DatEmAll-CLI + DatEmAll-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/DatEmAll-Release/packages.config b/DatEmAll-Release/packages.config new file mode 100644 index 0000000..725ff50 --- /dev/null +++ b/DatEmAll-Release/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/DatEmAll.sln b/DatEmAll.sln new file mode 100644 index 0000000..b49c075 --- /dev/null +++ b/DatEmAll.sln @@ -0,0 +1,70 @@ + +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}") = "DatEmAll", "DatEmAll\DatEmAll.csproj", "{4F7103F0-8421-42F1-8AFE-251B752FA1E2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll-GUI", "DatEmAll-GUI\DatEmAll-GUI.csproj", "{472C0464-F101-4A66-8D26-E065497AA86D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll-CLI", "DatEmAll-CLI\DatEmAll-CLI.csproj", "{A4E91B23-5009-49C6-9B6F-419197B22504}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll-Release", "DatEmAll-Release\DatEmAll-Release.csproj", "{DD89A500-245E-41BD-B844-4800E0C81476}" + ProjectSection(ProjectDependencies) = postProject + {472C0464-F101-4A66-8D26-E065497AA86D} = {472C0464-F101-4A66-8D26-E065497AA86D} + {4F7103F0-8421-42F1-8AFE-251B752FA1E2} = {4F7103F0-8421-42F1-8AFE-251B752FA1E2} + {6083DF04-48C9-44C0-A348-65A3D70BBF30} = {6083DF04-48C9-44C0-A348-65A3D70BBF30} + {A4E91B23-5009-49C6-9B6F-419197B22504} = {A4E91B23-5009-49C6-9B6F-419197B22504} + EndProjectSection +EndProject +Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DatEmAll-Installer", "DatEmAll-Installer\DatEmAll-Installer.vdproj", "{6083DF04-48C9-44C0-A348-65A3D70BBF30}" + ProjectSection(ProjectDependencies) = postProject + {472C0464-F101-4A66-8D26-E065497AA86D} = {472C0464-F101-4A66-8D26-E065497AA86D} + {A4E91B23-5009-49C6-9B6F-419197B22504} = {A4E91B23-5009-49C6-9B6F-419197B22504} + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FC6B1AB2-9926-43F5-965C-A7141605F636}" + 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 Datter + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Release|Any CPU.Build.0 = Release|Any CPU + {472C0464-F101-4A66-8D26-E065497AA86D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {472C0464-F101-4A66-8D26-E065497AA86D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {472C0464-F101-4A66-8D26-E065497AA86D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {472C0464-F101-4A66-8D26-E065497AA86D}.Release|Any CPU.Build.0 = Release|Any CPU + {A4E91B23-5009-49C6-9B6F-419197B22504}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4E91B23-5009-49C6-9B6F-419197B22504}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4E91B23-5009-49C6-9B6F-419197B22504}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4E91B23-5009-49C6-9B6F-419197B22504}.Release|Any CPU.Build.0 = Release|Any CPU + {DD89A500-245E-41BD-B844-4800E0C81476}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD89A500-245E-41BD-B844-4800E0C81476}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD89A500-245E-41BD-B844-4800E0C81476}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD89A500-245E-41BD-B844-4800E0C81476}.Release|Any CPU.Build.0 = Release|Any CPU + {6083DF04-48C9-44C0-A348-65A3D70BBF30}.Debug|Any CPU.ActiveCfg = Debug + {6083DF04-48C9-44C0-A348-65A3D70BBF30}.Debug|Any CPU.Build.0 = Debug + {6083DF04-48C9-44C0-A348-65A3D70BBF30}.Release|Any CPU.ActiveCfg = Release + {6083DF04-48C9-44C0-A348-65A3D70BBF30}.Release|Any CPU.Build.0 = Release + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3379E296-1DB0-4158-B41A-2D8DD5CFE9E6} + EndGlobalSection +EndGlobal diff --git a/DatEmAll/App.ico b/DatEmAll/App.ico new file mode 100644 index 0000000..4c3ce96 Binary files /dev/null and b/DatEmAll/App.ico differ diff --git a/DatEmAll/CRC32CryptoServiceProvider.cs b/DatEmAll/CRC32CryptoServiceProvider.cs new file mode 100644 index 0000000..166b28d --- /dev/null +++ b/DatEmAll/CRC32CryptoServiceProvider.cs @@ -0,0 +1,180 @@ +using System; +using System.Collections.Generic; +using System.Security.Cryptography; + +namespace DatEmAll +{ + /// + /// 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/DatEmAll/DatEmAll.cs b/DatEmAll/DatEmAll.cs new file mode 100644 index 0000000..92cca17 --- /dev/null +++ b/DatEmAll/DatEmAll.cs @@ -0,0 +1,1902 @@ +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.Net.Security; +using System.Reflection; +using System.Runtime.InteropServices; +using System.Security.Cryptography; +using System.Security.Cryptography.X509Certificates; +using System.Text.RegularExpressions; +using System.Threading.Tasks; +using System.Xml.Linq; + +namespace DatEmAll +{ + /// + /// DatEmAll class + /// + public class DatEmAll : INotifyPropertyChanged + { + #region Constructors + + /// + /// DatEmAll Constructor + /// + public DatEmAll() + { + // Construct a DatEmAll object. + } + + #endregion + + #region ServicePointManager SSL Certificate Validation + + /// + /// Disables SSL validation. + /// + /// An object that contains state information for this validation. + /// The certificate used to authenticate the remote party. + /// The chain of certificate authorities associated with the remote certificate. + /// One or more errors associated with the remote certificate. + /// Returns a boolean value that determines whether the specified certificate + /// is accepted for authentication; true to accept or false to reject. + private static bool DisableSSLValidation( + object sender, + X509Certificate certificate, + X509Chain chain, + SslPolicyErrors sslpolicyerrors) + { + return true; + } + + /// + /// Enables normal SSL validation. + /// + /// An object that contains state information for this validation. + /// The certificate used to authenticate the remote party. + /// The chain of certificate authorities associated with the remote certificate. + /// One or more errors associated with the remote certificate. + /// Returns a boolean value that determines whether the specified certificate + /// is accepted for authentication; true to accept or false to reject. + private static bool EnableSSLValidation( + object sender, + X509Certificate certificate, + X509Chain chain, + SslPolicyErrors sslpolicyerrors) + { + if (sslpolicyerrors == SslPolicyErrors.None) + { + return true; + } + else + { + return false; + } + } + + #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 _appName = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).ProductName; + private readonly string _appVersion = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).ProductVersion; + private readonly string _appCopyright = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location).LegalCopyright; + private readonly string _libName = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductName; + private readonly string _libVersion = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion; + private readonly string _libCopyright = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).LegalCopyright; + private bool _appIsRegistered = false; + private string _currentAppVersion = "0.0.3"; + private string _commandSwitch = "-builddat"; + private string _dateTimeFormatted = DateTime.Now.ToString("yyyyMMdd_HHmmss"); + private ListStringLog _logLines = new ListStringLog(); + // Paths Options + private string _pathDatsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Dats"); + private string _pathROMsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "ROMs"); + private string _pathOptionsFile = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Options", "DatEmAll-Options.xml"); + private string _pathLogFile = ""; + // Credentials Options + private string _downloadEmAllUsername = ""; + private string _downloadEmAllPassword = ""; + // Devs Options + private bool _checkForLatestVersion = false; + private bool _checkSSLCertificates = true; + private bool _sendErrorReports = false; + private string _languageLocality = "en"; + private string _logLevel = "Information"; + // Output Options + private bool _includeCRC32Hash = true; + private bool _includeMD5Hash = true; + private bool _includeSHA1Hash = true; + private bool _includeFileSize = true; + private bool _appendGameCountToFilename = true; + private bool _appendGameCountToDescription = true; + private bool _appendVersionToFilename = true; + private bool _appendVersionToDescription = true; + private bool _includeROMDirRootFiles = true; + private string _datFilename = "datafile.dat"; + private string _xmlEncoding = "utf-8"; + private string _xmlDOCTYPE = "Logiqx"; + private bool _includeDefaultHeaderName = true; + private bool _includeDefaultHeaderDescription = true; + private bool _includeDefaultHeaderVersion = true; + private bool _includeDefaultHeaderDate = true; + private bool _includeDefaultHeaderAuthor = true; + private bool _includeDefaultHeaderEmail = true; + private bool _includeDefaultHeaderHomepage = true; + private bool _includeDefaultHeaderURL = true; + private bool _includeDefaultHeaderComment = true; + private bool _includeDefaultHeaderCategory = false; + private bool _includeDefaultHeaderCMPForceUnzip = false; + private string _overrideHeaderName = ""; + private string _overrideHeaderDescription = ""; + private string _overrideHeaderVersion = ""; + private string _overrideHeaderDate = ""; + private string _overrideHeaderAuthor = ""; + private string _overrideHeaderEmail = ""; + private string _overrideHeaderHomepage = ""; + private string _overrideHeaderURL = ""; + private string _overrideHeaderComment = ""; + private string _overrideHeaderCategory = ""; + // Registration Options + private string _registrationLabel = "unregistered"; + private string _registrationKey = ""; + private string _registerAppUsername = ""; + private string _registerAppEmailAddress = ""; + private string _registerAppPassword = ""; + // Other Options + private readonly string[] _xmlEncodings = { "utf-8" }; + private readonly string[] _xmlDOCTYPEs = { "Logiqx", "None" }; + private readonly string[] _languages = { "en" }; + private readonly string[] _logLevels = { "Information" }; + + #endregion + + #region Getters/Setters Public Accessors + + /// AppName + public string AppName + { + get { return _appName; } + set { } + } + /// AppVersion + public string AppVersion + { + get { return _appVersion; } + set { } + } + /// AppCopyright + public string AppCopyright + { + get { return _appCopyright; } + set { } + } + /// LibName + public string LibName + { + get { return _libName; } + set { } + } + /// LibVersion + public string LibVersion + { + get { return _libVersion; } + set { } + } + /// LibCopyright + public string LibCopyright + { + get { return _libCopyright; } + set { } + } + /// AppIsRegistered + public bool AppIsRegistered + { + get { return _appIsRegistered; } + set { _appIsRegistered = value; NotifyPropertyChanged("AppIsRegistered"); } + } + /// CurrentAppVersion + public string CurrentAppVersion + { + get { return _currentAppVersion; } + set { _currentAppVersion = value; } + } + /// CommandSwitch + public string CommandSwitch + { + get { return _commandSwitch; } + set { _commandSwitch = value; } + } + /// DateTimeFormatted + public string DateTimeFormatted + { + get { return _dateTimeFormatted; } + set { _dateTimeFormatted = value; } + } + /// LogLines + public ListStringLog LogLines + { + get { return _logLines; } + set { _logLines = value; } + } + /// PathDatsDir + public string PathDatsDir + { + get { return _pathDatsDir; } + set { _pathDatsDir = value; NotifyPropertyChanged("PathDatsDir"); } + } + /// PathROMsDir + public string PathROMsDir + { + get { return _pathROMsDir; } + set { _pathROMsDir = value; NotifyPropertyChanged("PathROMsDir"); } + } + /// PathOptionsFile + public string PathOptionsFile + { + get { return _pathOptionsFile; } + set { _pathOptionsFile = value; } + } + /// PathLogFile + public string PathLogFile + { + get { return _pathLogFile; } + set { _pathLogFile = value; } + } + /// DownloadEmAllUsername + public string DownloadEmAllUsername + { + get { return _downloadEmAllUsername; } + set { _downloadEmAllUsername = value; NotifyPropertyChanged("DownloadEmAllUsername"); } + } + /// DownloadEmAllPassword + public string DownloadEmAllPassword + { + get { return _downloadEmAllPassword; } + set { _downloadEmAllPassword = value; NotifyPropertyChanged("DownloadEmAllPassword"); } + } + /// CheckForLatestVersion + public bool CheckForLatestVersion + { + get { return _checkForLatestVersion; } + set { _checkForLatestVersion = value; NotifyPropertyChanged("CheckForLatestVersion"); } + } + /// CheckSSLCertificates + public bool CheckSSLCertificates + { + get { return _checkSSLCertificates; } + set { _checkSSLCertificates = value; NotifyPropertyChanged("CheckSSLCertificates"); } + } + /// SendErrorReports + public bool SendErrorReports + { + get { return _sendErrorReports; } + set { _sendErrorReports = value; NotifyPropertyChanged("SendErrorReports"); } + } + /// LanguageLocality + public string LanguageLocality + { + get { return _languageLocality; } + set { _languageLocality = value; NotifyPropertyChanged("LanguageLocality"); } + } + /// LogLevel + public string LogLevel + { + get { return _logLevel; } + set { _logLevel = value; NotifyPropertyChanged("LogLevel"); } + } + /// IncludeCRC32Hash + public bool IncludeCRC32Hash + { + get { return _includeCRC32Hash; } + set { _includeCRC32Hash = value; NotifyPropertyChanged("IncludeCRC32Hash"); } + } + /// IncludeMD5Hash + public bool IncludeMD5Hash + { + get { return _includeMD5Hash; } + set { _includeMD5Hash = value; NotifyPropertyChanged("IncludeMD5Hash"); } + } + /// IncludeSHA1Hash + public bool IncludeSHA1Hash + { + get { return _includeSHA1Hash; } + set { _includeSHA1Hash = value; NotifyPropertyChanged("IncludeSHA1Hash"); } + } + /// IncludeFileSize + public bool IncludeFileSize + { + get { return _includeFileSize; } + set { _includeFileSize = value; NotifyPropertyChanged("IncludeFileSize"); } + } + /// AppendGameCountToFilename + public bool AppendGameCountToFilename + { + get { return _appendGameCountToFilename; } + set { _appendGameCountToFilename = value; NotifyPropertyChanged("AppendGameCountToFilename"); } + } + /// AppendGameCountToDescription + public bool AppendGameCountToDescription + { + get { return _appendGameCountToDescription; } + set { _appendGameCountToDescription = value; NotifyPropertyChanged("AppendGameCountToDescription"); } + } + /// AppendVersionToFilename + public bool AppendVersionToFilename + { + get { return _appendVersionToFilename; } + set { _appendVersionToFilename = value; NotifyPropertyChanged("AppendVersionToFilename"); } + } + /// AppendVersionToDescription + public bool AppendVersionToDescription + { + get { return _appendVersionToDescription; } + set { _appendVersionToDescription = value; NotifyPropertyChanged("AppendVersionToDescription"); } + } + /// IncludeROMDirRootFiles + public bool IncludeROMDirRootFiles + { + get { return _includeROMDirRootFiles; } + set { _includeROMDirRootFiles = value; NotifyPropertyChanged("IncludeROMDirRootFiles"); } + } + /// DatFilename + public string DatFilename + { + get { return _datFilename; } + set { _datFilename = value; NotifyPropertyChanged("DatFilename"); } + } + /// XMLEncoding + public string XMLEncoding + { + get { return _xmlEncoding; } + set { _xmlEncoding = value; NotifyPropertyChanged("XMLEncoding"); } + } + /// XMLDOCTYPE + public string XMLDOCTYPE + { + get { return _xmlDOCTYPE; } + set { _xmlDOCTYPE = value; NotifyPropertyChanged("XMLDOCTYPE"); } + } + /// IncludeDefaultHeaderName + public bool IncludeDefaultHeaderName + { + get { return _includeDefaultHeaderName; } + set { _includeDefaultHeaderName = value; NotifyPropertyChanged("IncludeDefaultHeaderName"); } + } + /// IncludeDefaultHeaderDescription + public bool IncludeDefaultHeaderDescription + { + get { return _includeDefaultHeaderDescription; } + set { _includeDefaultHeaderDescription = value; NotifyPropertyChanged("IncludeDefaultHeaderDescription"); } + } + /// IncludeDefaultHeaderVersion + public bool IncludeDefaultHeaderVersion + { + get { return _includeDefaultHeaderVersion; } + set { _includeDefaultHeaderVersion = value; NotifyPropertyChanged("IncludeDefaultHeaderVersion"); } + } + /// IncludeDefaultHeaderDate + public bool IncludeDefaultHeaderDate + { + get { return _includeDefaultHeaderDate; } + set { _includeDefaultHeaderDate = value; NotifyPropertyChanged("IncludeDefaultHeaderDate"); } + } + /// IncludeDefaultHeaderAuthor + public bool IncludeDefaultHeaderAuthor + { + get { return _includeDefaultHeaderAuthor; } + set { _includeDefaultHeaderAuthor = value; NotifyPropertyChanged("IncludeDefaultHeaderAuthor"); } + } + /// IncludeDefaultHeaderEmail + public bool IncludeDefaultHeaderEmail + { + get { return _includeDefaultHeaderEmail; } + set { _includeDefaultHeaderEmail = value; NotifyPropertyChanged("IncludeDefaultHeaderEmail"); } + } + /// IncludeDefaultHeaderHomepage + public bool IncludeDefaultHeaderHomepage + { + get { return _includeDefaultHeaderHomepage; } + set { _includeDefaultHeaderHomepage = value; NotifyPropertyChanged("IncludeDefaultHeaderHomepage"); } + } + /// IncludeDefaultHeaderURL + public bool IncludeDefaultHeaderURL + { + get { return _includeDefaultHeaderURL; } + set { _includeDefaultHeaderURL = value; NotifyPropertyChanged("IncludeDefaultHeaderURL"); } + } + /// IncludeDefaultHeaderComment + public bool IncludeDefaultHeaderComment + { + get { return _includeDefaultHeaderComment; } + set { _includeDefaultHeaderComment = value; NotifyPropertyChanged("IncludeDefaultHeaderComment"); } + } + /// IncludeDefaultHeaderCategory + public bool IncludeDefaultHeaderCategory + { + get { return _includeDefaultHeaderCategory; } + set { _includeDefaultHeaderCategory = value; NotifyPropertyChanged("IncludeDefaultHeaderCategory"); } + } + /// IncludeDefaultHeaderCMPForceUnzip + public bool IncludeDefaultHeaderCMPForceUnzip + { + get { return _includeDefaultHeaderCMPForceUnzip; } + set { _includeDefaultHeaderCMPForceUnzip = value; NotifyPropertyChanged("IncludeDefaultHeaderCMPForceUnzip"); } + } + /// OverrideHeaderName + public string OverrideHeaderName + { + get { return _overrideHeaderName; } + set { _overrideHeaderName = value; NotifyPropertyChanged("OverrideHeaderName"); } + } + /// OverrideHeaderDescription + public string OverrideHeaderDescription + { + get { return _overrideHeaderDescription; } + set { _overrideHeaderDescription = value; NotifyPropertyChanged("OverrideHeaderDescription"); } + } + /// OverrideHeaderVersion + public string OverrideHeaderVersion + { + get { return _overrideHeaderVersion; } + set { _overrideHeaderVersion = value; NotifyPropertyChanged("OverrideHeaderVersion"); } + } + /// OverrideHeaderDate + public string OverrideHeaderDate + { + get { return _overrideHeaderDate; } + set { _overrideHeaderDate = value; NotifyPropertyChanged("OverrideHeaderDate"); } + } + /// OverrideHeaderAuthor + public string OverrideHeaderAuthor + { + get { return _overrideHeaderAuthor; } + set { _overrideHeaderAuthor = value; NotifyPropertyChanged("OverrideHeaderAuthor"); } + } + /// OverrideHeaderEmail + public string OverrideHeaderEmail + { + get { return _overrideHeaderEmail; } + set { _overrideHeaderEmail = value; NotifyPropertyChanged("OverrideHeaderEmail"); } + } + /// OverrideHeaderHomepage + public string OverrideHeaderHomepage + { + get { return _overrideHeaderHomepage; } + set { _overrideHeaderHomepage = value; NotifyPropertyChanged("OverrideHeaderHomepage"); } + } + /// OverrideHeaderURL + public string OverrideHeaderURL + { + get { return _overrideHeaderURL; } + set { _overrideHeaderURL = value; NotifyPropertyChanged("OverrideHeaderURL"); } + } + /// OverrideHeaderComment + public string OverrideHeaderComment + { + get { return _overrideHeaderComment; } + set { _overrideHeaderComment = value; NotifyPropertyChanged("OverrideHeaderComment"); } + } + /// OverrideHeaderCategory + public string OverrideHeaderCategory + { + get { return _overrideHeaderCategory; } + set { _overrideHeaderCategory = value; NotifyPropertyChanged("OverrideHeaderCategory"); } + } + /// RegistrationLabel + public string RegistrationLabel + { + get { return _registrationLabel; } + set { _registrationLabel = value; NotifyPropertyChanged("RegistrationLabel"); } + } + /// 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 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)) + { + // Print to screen + Log.Information("Options file was not found"); + + // Return a bool value. + return false; + } + else + { + // Print to screen + Log.Information("Loading options file ..."); + + // Load the options from the XML file. + XDocument xdocOptions = XDocument.Load(PathOptionsFile); + + // Set the variables. + if (xdocOptions.Element("Options") == null) { Log.Warning("Options file is corrupt or outdated (Options)"); } + else + { + if (xdocOptions.Element("Options").Element("Credentials") == null) { Log.Warning("Options file is corrupt or outdated (Credentials)"); } + else + { + if (xdocOptions.Element("Options").Element("Credentials").Element("DownloadEmAll") == null) { Log.Warning("Options file is corrupt or outdated (DownloadEmAll)"); } + else + { + if (xdocOptions.Element("Options").Element("Credentials").Element("DownloadEmAll").Element("Username") != null) { DownloadEmAllUsername = xdocOptions.Element("Options").Element("Credentials").Element("DownloadEmAll").Element("Username").Value; } + else { Log.Warning("Options file is corrupt or outdated (DownloadEmAllUsername)"); } + if (xdocOptions.Element("Options").Element("Credentials").Element("DownloadEmAll").Element("Password") != null) { DownloadEmAllPassword = xdocOptions.Element("Options").Element("Credentials").Element("DownloadEmAll").Element("Password").Value; } + else { Log.Warning("Options file is corrupt or outdated (DownloadEmAllPassword)"); } + } + } + + if (xdocOptions.Element("Options").Element("Paths") == null) { Log.Warning("Options file is corrupt or outdated (Paths)"); } + else + { + if (xdocOptions.Element("Options").Element("Paths").Element("PathDatsDir") != null) { PathDatsDir = xdocOptions.Element("Options").Element("Paths").Element("PathDatsDir").Value; } + else { Log.Warning("Options file is corrupt or outdated (PathDatsDir)"); } + if (xdocOptions.Element("Options").Element("Paths").Element("PathROMsDir") != null) { PathROMsDir = xdocOptions.Element("Options").Element("Paths").Element("PathROMsDir").Value; } + else { Log.Warning("Options file is corrupt or outdated (PathROMsDir)"); } + } + + if (xdocOptions.Element("Options").Element("Output") == null) { Log.Warning("Options file is corrupt or outdated (Output)"); } + else + { + if (xdocOptions.Element("Options").Element("Output").Element("IncludeCRC32Hash") != null) { IncludeCRC32Hash = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeCRC32Hash").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeCRC32Hash)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeMD5Hash") != null) { IncludeMD5Hash = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeMD5Hash").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeMD5Hash)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeSHA1Hash") != null) { IncludeSHA1Hash = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeSHA1Hash").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeSHA1Hash)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeFileSize") != null) { IncludeFileSize = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeFileSize").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeFileSize)"); } + if (xdocOptions.Element("Options").Element("Output").Element("AppendGameCountToFilename") != null) { AppendGameCountToFilename = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("AppendGameCountToFilename").Value); } + else { Log.Warning("Options file is corrupt or outdated (AppendGameCountToFilename)"); } + if (xdocOptions.Element("Options").Element("Output").Element("AppendGameCountToDescription") != null) { AppendGameCountToDescription = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("AppendGameCountToDescription").Value); } + else { Log.Warning("Options file is corrupt or outdated (AppendGameCountToDescription)"); } + if (xdocOptions.Element("Options").Element("Output").Element("AppendVersionToFilename") != null) { AppendVersionToFilename = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("AppendVersionToFilename").Value); } + else { Log.Warning("Options file is corrupt or outdated (AppendVersionToFilename)"); } + if (xdocOptions.Element("Options").Element("Output").Element("AppendVersionToDescription") != null) { AppendVersionToDescription = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("AppendVersionToDescription").Value); } + else { Log.Warning("Options file is corrupt or outdated (AppendVersionToDescription)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeROMDirRootFiles") != null) { IncludeROMDirRootFiles = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeROMDirRootFiles").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeROMDirRootFiles)"); } + if (xdocOptions.Element("Options").Element("Output").Element("DatFilename") != null) { DatFilename = xdocOptions.Element("Options").Element("Output").Element("DatFilename").Value; } + else { Log.Warning("Options file is corrupt or outdated (DatFilename)"); } + if (xdocOptions.Element("Options").Element("Output").Element("XMLEncoding") != null) + { + if (_xmlEncodings.Contains(xdocOptions.Element("Options").Element("Output").Element("XMLEncoding").Value)) { XMLEncoding = xdocOptions.Element("Options").Element("Output").Element("XMLEncoding").Value; } + else { Log.Warning("Options file option is invalid dummy (XMLEncoding)"); } + } + else { Log.Warning("Options file is corrupt or outdated (XMLEncoding)"); } + if (xdocOptions.Element("Options").Element("Output").Element("XMLDOCTYPE") != null) + { + if (_xmlDOCTYPEs.Contains(xdocOptions.Element("Options").Element("Output").Element("XMLDOCTYPE").Value)) { XMLDOCTYPE = xdocOptions.Element("Options").Element("Output").Element("XMLDOCTYPE").Value; } + else { Log.Warning("Options file option is invalid dummy (XMLDOCTYPE)"); } + } + else { Log.Warning("Options file is corrupt or outdated (XMLDOCTYPE)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderName") != null) { IncludeDefaultHeaderName = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderName").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderName)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderDescription") != null) { IncludeDefaultHeaderDescription = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderDescription").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderDescription)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderVersion") != null) { IncludeDefaultHeaderVersion = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderVersion").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderVersion)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderDate") != null) { IncludeDefaultHeaderDate = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderDate").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderDate)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderAuthor") != null) { IncludeDefaultHeaderAuthor = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderAuthor").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderAuthor)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderEmail") != null) { IncludeDefaultHeaderEmail = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderEmail").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderEmail)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderHomepage") != null) { IncludeDefaultHeaderHomepage = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderHomepage").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderHomepage)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderURL") != null) { IncludeDefaultHeaderURL = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderURL").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderURL)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderComment") != null) { IncludeDefaultHeaderComment = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderComment").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderComment)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderCategory") != null) { IncludeDefaultHeaderCategory = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderCategory").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderCategory)"); } + if (xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderCMPForceUnzip") != null) { IncludeDefaultHeaderCMPForceUnzip = Convert.ToBoolean(xdocOptions.Element("Options").Element("Output").Element("IncludeDefaultHeaderCMPForceUnzip").Value); } + else { Log.Warning("Options file is corrupt or outdated (IncludeDefaultHeaderCMPForceUnzip)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderName") != null) { OverrideHeaderName = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderName").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderName)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderDescription") != null) { OverrideHeaderDescription = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderDescription").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderDescription)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderVersion") != null) { OverrideHeaderVersion = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderVersion").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderVersion)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderDate") != null) { OverrideHeaderDate = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderDate").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderDate)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderAuthor") != null) { OverrideHeaderAuthor = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderAuthor").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderAuthor)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderEmail") != null) { OverrideHeaderEmail = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderEmail").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderEmail)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderHomepage") != null) { OverrideHeaderHomepage = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderHomepage").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderHomepage)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderURL") != null) { OverrideHeaderURL = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderURL").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderURL)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderComment") != null) { OverrideHeaderComment = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderComment").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderComment)"); } + if (xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderCategory") != null) { OverrideHeaderCategory = xdocOptions.Element("Options").Element("Output").Element("OverrideHeaderCategory").Value; } + else { Log.Warning("Options file is corrupt or outdated (OverrideHeaderCategory)"); } + } + + if (xdocOptions.Element("Options").Element("Developers") == null) { Log.Warning("Options file is corrupt or outdated (Developers)"); } + else + { + if (xdocOptions.Element("Options").Element("Developers").Element("CheckForLatestVersion") != null) { CheckForLatestVersion = Convert.ToBoolean(xdocOptions.Element("Options").Element("Developers").Element("CheckForLatestVersion").Value); } + else { Log.Warning("Options file is corrupt or outdated (CheckForLatestVersion)"); } + if (xdocOptions.Element("Options").Element("Developers").Element("CheckSSLCertificates") != null) { CheckSSLCertificates = Convert.ToBoolean(xdocOptions.Element("Options").Element("Developers").Element("CheckSSLCertificates").Value); } + else { Log.Warning("Options file is corrupt or outdated (CheckSSLCertificates)"); } + if (xdocOptions.Element("Options").Element("Developers").Element("SendErrorReports") != null) { SendErrorReports = Convert.ToBoolean(xdocOptions.Element("Options").Element("Developers").Element("SendErrorReports").Value); } + else { Log.Warning("Options file is corrupt or outdated (SendErrorReports)"); } + if (xdocOptions.Element("Options").Element("Developers").Element("LanguageLocality") != null) + { + if (_languages.Contains(xdocOptions.Element("Options").Element("Developers").Element("LanguageLocality").Value)) { LanguageLocality = xdocOptions.Element("Options").Element("Developers").Element("LanguageLocality").Value; } + else { Log.Warning("Options file option is invalid dummy (LanguageLocality)"); } + } + else { Log.Warning("Options file is corrupt or outdated (LanguageLocality)"); } + if (xdocOptions.Element("Options").Element("Developers").Element("LogLevel") != null) + { + if (_logLevels.Contains(xdocOptions.Element("Options").Element("Developers").Element("LogLevel").Value)) { LogLevel = xdocOptions.Element("Options").Element("Developers").Element("LogLevel").Value; } + else { Log.Warning("Options file option is invalid dummy (LogLevel)"); } + } + else { Log.Warning("Options file is corrupt or outdated (LogLevel)"); } + } + } + + // Print to screen + Log.Information("Options file loaded (" + PathOptionsFile + ")"); + + // Return a bool value. + return true; + } + } + 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 DatEmAll options file"), + new XComment("WARNING: Using invalid values might cause this app to crash!"), + new XElement("Options", + new XAttribute("Version", AppVersion), + new XElement("Credentials", + new XElement("DownloadEmAll", + new XElement("Username", DownloadEmAllUsername), + new XElement("Password", DownloadEmAllPassword) + ) + ), + new XElement("Paths", + new XElement("PathDatsDir", PathDatsDir), + new XElement("PathROMsDir", PathROMsDir) + ), + new XElement("Output", + new XElement("IncludeCRC32Hash", IncludeCRC32Hash), + new XElement("IncludeMD5Hash", IncludeMD5Hash), + new XElement("IncludeSHA1Hash", IncludeSHA1Hash), + new XElement("IncludeFileSize", IncludeFileSize), + new XElement("AppendGameCountToFilename", AppendGameCountToFilename), + new XElement("AppendGameCountToDescription", AppendGameCountToDescription), + new XElement("AppendVersionToFilename", AppendVersionToFilename), + new XElement("AppendVersionToDescription", AppendVersionToDescription), + new XElement("IncludeROMDirRootFiles", IncludeROMDirRootFiles), + new XElement("DatFilename", DatFilename), + new XElement("XMLEncoding", XMLEncoding), + new XElement("XMLDOCTYPE", XMLDOCTYPE), + new XElement("IncludeDefaultHeaderName", IncludeDefaultHeaderName), + new XElement("IncludeDefaultHeaderDescription", IncludeDefaultHeaderDescription), + new XElement("IncludeDefaultHeaderVersion", IncludeDefaultHeaderVersion), + new XElement("IncludeDefaultHeaderDate", IncludeDefaultHeaderDate), + new XElement("IncludeDefaultHeaderAuthor", IncludeDefaultHeaderAuthor), + new XElement("IncludeDefaultHeaderEmail", IncludeDefaultHeaderEmail), + new XElement("IncludeDefaultHeaderHomepage", IncludeDefaultHeaderHomepage), + new XElement("IncludeDefaultHeaderURL", IncludeDefaultHeaderURL), + new XElement("IncludeDefaultHeaderComment", IncludeDefaultHeaderComment), + new XElement("IncludeDefaultHeaderCategory", IncludeDefaultHeaderCategory), + new XElement("IncludeDefaultHeaderCMPForceUnzip", IncludeDefaultHeaderCMPForceUnzip), + new XElement("OverrideHeaderName", OverrideHeaderName), + new XElement("OverrideHeaderDescription", OverrideHeaderDescription), + new XElement("OverrideHeaderVersion", OverrideHeaderVersion), + new XElement("OverrideHeaderDate", OverrideHeaderDate), + new XElement("OverrideHeaderAuthor", OverrideHeaderAuthor), + new XElement("OverrideHeaderEmail", OverrideHeaderEmail), + new XElement("OverrideHeaderHomepage", OverrideHeaderHomepage), + new XElement("OverrideHeaderURL", OverrideHeaderURL), + new XElement("OverrideHeaderComment", OverrideHeaderComment), + new XElement("OverrideHeaderCategory", OverrideHeaderCategory) + ), + new XElement("Developers", + new XElement("CheckForLatestVersion", CheckForLatestVersion), + new XElement("CheckSSLCertificates", CheckSSLCertificates), + new XElement("SendErrorReports", SendErrorReports), + new XElement("LanguageLocality", LanguageLocality), + 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 to file failed"); + Log.Error(ex.Message); + + // Return a bool value. + return false; + } + } + + /// + /// Loads and sets the options variables passed from the CLI. + /// + /// + /// + public bool LoadOptionsFromCLI(string[] strArgs) + { + try + { + foreach (string strArg in strArgs) + { + if (Regex.IsMatch(strArg, "^-", RegexOptions.IgnoreCase) == true) + { + // Set the command. + CommandSwitch = strArg; + } + if (Regex.IsMatch(strArg, "^LV:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to check for the latest version. + CheckForLatestVersion = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^NC:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to check SSL certificates. + CheckSSLCertificates = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^RE:", RegexOptions.IgnoreCase) == true) + { + // Set whether to send error reports. + SendErrorReports = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^LL:", RegexOptions.IgnoreCase) == true) + { + // Set the language-locality. + LanguageLocality = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^LE:", RegexOptions.IgnoreCase) == true) + { + // Set the log level. + LogLevel = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^DD:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the Dats directory. + PathDatsDir = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^RD:", RegexOptions.IgnoreCase) == true) + { + // Set the path to the ROMs directory. + PathROMsDir = 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, "^IA:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeCRC32Hash = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IB:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeMD5Hash = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IC:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeSHA1Hash = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^ID:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeFileSize = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^AA:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to append. + AppendGameCountToFilename = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^AB:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to append. + AppendGameCountToDescription = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^AC:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to append. + AppendVersionToFilename = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^AD:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to append. + AppendVersionToDescription = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IF:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeROMDirRootFiles = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^DF:", RegexOptions.IgnoreCase) == true) + { + // Set the dat extension. + DatFilename = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^XE:", RegexOptions.IgnoreCase) == true) + { + // Set the XML encoding. + XMLEncoding = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^XD:", RegexOptions.IgnoreCase) == true) + { + // Set the XML DOCTYPE. + XMLDOCTYPE = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^IF:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderName = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IG:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderDescription = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IH:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderVersion = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^II:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderDate = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IJ:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderAuthor = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IK:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderEmail = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IL:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderHomepage = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IM:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderURL = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IN:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderComment = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IO:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderCategory = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^IP:", RegexOptions.IgnoreCase) == true) + { + // Set whether or not to include. + IncludeDefaultHeaderCMPForceUnzip = Convert.ToBoolean(Convert.ToInt32(strArg.Substring(3))); + } + if (Regex.IsMatch(strArg, "^OA:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderName = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OB:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderDescription = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OC:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderVersion = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OD:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderDate = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OE:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderAuthor = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OF:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderEmail = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OG:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderHomepage = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OH:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderURL = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OI:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderComment = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^OJ:", RegexOptions.IgnoreCase) == true) + { + // Set the override text. + OverrideHeaderCategory = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^RA:", RegexOptions.IgnoreCase) == true) + { + // Set the registration info. + RegisterAppUsername = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^RB:", RegexOptions.IgnoreCase) == true) + { + // Set the registration info. + RegisterAppEmailAddress = strArg.Substring(3); + } + if (Regex.IsMatch(strArg, "^RC:", RegexOptions.IgnoreCase) == true) + { + // Set the registration info. + RegisterAppPassword = strArg.Substring(3); + } + } + + // Return a bool value. + return true; + } + catch (Exception ex) + { + // Print to screen + Log.Error("Loading options from CLI failed"); + Log.Error(ex.Message); + + // Return a bool value. + return false; + } + } + + #endregion + + #region Log + + /// + /// 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; + } + } + + #endregion + + #region Startup Tasks + + /// + /// Check for the latest version from the WWW. + /// + /// + /// + private bool CheckForLatestVersionFromWWW(string strSettingsPage = null) + { + try + { + // Print to screen + // Log.Information("Checking for latest version ..."); + + // Return a bool value. + return true; + } + catch (Exception ex) + { + // Print to screen + Log.Error("Checking for latest version failed"); + Log.Error(ex.Message); + + // Return a bool value. + return false; + } + } + + /// + /// Perform the startup tasks. + /// + public void StartupTasks() + { + // Check if the app is registered. + if (AppIsRegistered == true || AppIsRegistered == false) + { + // Check latest version from the WWW. + // CheckForLatestVersionFromWWW(); + } + } + + #endregion + + #region CLI Commands + + /// + /// Updates/Sets the application title. + /// + /// + /// + public bool UpdateTitle(string strTitle = "") + { + try + { + Console.Title = AppName + " v" + AppVersion + strTitle; + return true; + } + catch (Exception ex) + { + // Print to screen + Log.Error("Updating the title failed"); + Log.Error(ex.Message); + + // Return a bool value. + return false; + } + } + + /// + /// Processes the command switch. + /// + public void ProcessCommandSwitch() + { + switch (CommandSwitch) + { + case "-builddat": + StartupTasks(); // Performs the application startup tasks. + BuildADat(); // Builds a datafile. + break; + case "-saveoptions": + SaveOptionsToFile(); // Saves a new options file. + break; + case "-license": + PrintLicense(); // Prints the license text. + 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 "-version": + // // Does nothing. + break; + default: + PrintHelp(); // Prints the help text. + break; + } + + // Print to screen + Log.Information("Ready"); + } + + #endregion + + #region Builders + + /// + /// Build a datafile. + /// + /// + /// + public void BuildADat(object sender = null, DoWorkEventArgs e = null) + { + try + { + if (e != null && e.Cancel == true) + { + // Do nothing. + } + else + { + // Print to screen + Log.Information("Build-A-Dat started ..."); + + // Create and start a stopwatch. + var stopWatch = new Stopwatch(); + stopWatch.Start(); + + // Create a new datafile XDocument. + XDocument xdocDatafile = new XDocument(); + + // Add a datafile Declaration. + xdocDatafile.Declaration = new XDeclaration("1.0", "utf-8", "yes"); + + // Add a datafile DOCTYPE. + if (XMLDOCTYPE == "Logiqx") + { + XDocumentType documentType = new XDocumentType("datafile", "-//Logiqx//DTD ROM Management Datafile//EN", "http://www.logiqx.com/Dats/datafile.dtd", null); + xdocDatafile.AddFirst(documentType); + } + + // Create a new datafile XElement. + XElement xlDatafile = new XElement("datafile"); + xdocDatafile.Add(xlDatafile); + + // Counters + int intGamesCount = 0; + int intROMsCount = 0; + + // Get a list of all the games from the top directory that need datted. + string[] arrGames = Directory.GetDirectories(PathROMsDir, "*.*", SearchOption.TopDirectoryOnly); + intGamesCount += arrGames.Count(); + + // Loop through each directory. + foreach (string strPathDirectory in arrGames) + { + // Declarations + string strGameName = Path.GetFileName(strPathDirectory); + string strGameDescription = Path.GetFileName(strPathDirectory); + + // Print to screen + Log.Information("Add Game: " + strGameName); + + // Create a new game XElement. + XElement xlGame = new XElement("game"); + + // Add the game's name. + xlGame.SetAttributeValue("name", strGameName); + + // Create and add a new game description XElement. + xlGame.Add(new XElement("description")); + xlGame.Element("description").Value = strGameDescription; + + // Get a list of all files recursively that need datted. + string[] arrROMs = Directory.GetFiles(strPathDirectory, "*.*", SearchOption.AllDirectories); + intROMsCount += arrROMs.Count(); + + // Loop through each file. + foreach (string strPathFile in arrROMs) + { + // Declarations + string strROMName = Path.Combine(strPathFile.Replace(Path.Combine(PathROMsDir, strGameName) + Path.DirectorySeparatorChar, "")); + + // Print to screen + Log.Information("Add ROM: " + strROMName); + + // Create a new ROM XElement. + XElement xlROM = new XElement("rom"); + + // Add the ROM's name. + xlROM.SetAttributeValue("name", strROMName); + + // Add the ROM's file size. + if (IncludeFileSize == true) + { + string strRomFileSize = new FileInfo(strPathFile).Length.ToString(); + xlROM.SetAttributeValue("size", strRomFileSize); + } + + // Add the ROM's CRC32 hash. + if (IncludeCRC32Hash == true) + { + // Get the patch hashes. + byte[] arrRomFileHashCRC = new CRC32CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashCRC = BitConverter.ToString(arrRomFileHashCRC).Replace("-", "").ToLower(); + xlROM.SetAttributeValue("crc", strRomFileHashCRC); + } + + // Add the ROM's MD5 hash. + if (IncludeMD5Hash == true) + { + // Get the patch hashes. + byte[] arrRomFileHashMD5 = new MD5CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashMD5 = BitConverter.ToString(arrRomFileHashMD5).Replace("-", "").ToLower(); + xlROM.SetAttributeValue("md5", strRomFileHashMD5); + } + + // Add the ROM's SHA1 hash. + if (IncludeSHA1Hash == true) + { + byte[] arrRomFileHashSHA1 = new SHA1CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashSHA1 = BitConverter.ToString(arrRomFileHashSHA1).Replace("-", "").ToLower(); + xlROM.SetAttributeValue("sha1", strRomFileHashSHA1); + } + + // Add the ROM to the game XElement. + xlGame.Add(xlROM); + } + + // Add the game to the datafile XDocument. + xdocDatafile.Element("datafile").Add(xlGame); + } + + // Include the ROM dir root files. + if (IncludeROMDirRootFiles == true) + { + // Get a list of all files in the root directory that need datted. + string[] arrROMs = Directory.GetFiles(PathROMsDir, "*.*", SearchOption.TopDirectoryOnly); + intROMsCount += arrROMs.Count(); + + // Check if there are any files to dat. + if (arrROMs.Count() > 0) + { + // Declarations + string strGameName = Path.GetFileName(PathROMsDir); + string strGameDescription = Path.GetFileName(PathROMsDir); + + // Print to screen + Log.Information("Add Root Game: " + strGameName); + + // Create a new game XElement. + XElement xlGame = new XElement("game"); + + // Add the game's name. + xlGame.SetAttributeValue("name", strGameName); + + // Loop through each file. + foreach (string strPathFile in arrROMs) + { + // Declarations + string strROMName = Path.GetFileName(strPathFile); + + // Print to screen + Log.Information("Add ROM: " + strROMName); + + // Create a new ROM XElement. + XElement xlROM = new XElement("rom"); + + // Add the ROM's name. + xlROM.SetAttributeValue("name", strROMName); + + // Add the ROM's file size. + if (IncludeFileSize == true) + { + string strRomFileSize = new FileInfo(strPathFile).Length.ToString(); + xlROM.SetAttributeValue("size", strRomFileSize); + } + + // Add the ROM's CRC32 hash. + if (IncludeCRC32Hash == true) + { + // Get the patch hashes. + byte[] arrRomFileHashCRC = new CRC32CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashCRC = BitConverter.ToString(arrRomFileHashCRC).Replace("-", "").ToLower(); + xlROM.SetAttributeValue("crc", strRomFileHashCRC); + } + + // Add the ROM's MD5 hash. + if (IncludeMD5Hash == true) + { + // Get the patch hashes. + byte[] arrRomFileHashMD5 = new MD5CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashMD5 = BitConverter.ToString(arrRomFileHashMD5).Replace("-", "").ToLower(); + xlROM.SetAttributeValue("md5", strRomFileHashMD5); + } + + // Add the ROM's SHA1 hash. + if (IncludeSHA1Hash == true) + { + byte[] arrRomFileHashSHA1 = new SHA1CryptoServiceProvider().ComputeHash(File.OpenRead(strPathFile)); + string strRomFileHashSHA1 = BitConverter.ToString(arrRomFileHashSHA1).Replace("-", "").ToLower(); + xlROM.SetAttributeValue("sha1", strRomFileHashSHA1); + } + + // Add the ROM to the game XElement. + xlGame.Add(xlROM); + } + + // Add the game to the datafile XDocument. + xdocDatafile.Element("datafile").Add(xlGame); + + // Increment the counter. + intGamesCount++; + } + } + + // Create a new header XElement. + XElement xlHeader = new XElement("header"); + + // Declarations + string strDefaultName = "name"; + string strDefaultDescription = "description"; + string strDefaultDate = DateTimeFormatted; + string strDefaultVersion = strDefaultDate; + string strDefaultAuthor = "author"; + string strDefaultEmail = "email"; + string strDefaultHomepage = "homepage"; + string strDefaultURL = "url"; + string strDefaultComment = "comment"; + string strDefaultCategory = "category"; + + // Add the header's name. + if (String.IsNullOrEmpty(OverrideHeaderName) == false) + { + xlHeader.Add(new XElement("name")); + xlHeader.Element("name").Value = OverrideHeaderName; + } + else + { + if (IncludeDefaultHeaderName == true) + { + xlHeader.Add(new XElement("name")); + xlHeader.Element("name").Value = strDefaultName; + } + } + + // Add the header's description. + if (String.IsNullOrEmpty(OverrideHeaderDescription) == false) + { + xlHeader.Add(new XElement("description")); + xlHeader.Element("description").Value = OverrideHeaderDescription; + } + else + { + if (IncludeDefaultHeaderDescription == true) + { + xlHeader.Add(new XElement("description")); + xlHeader.Element("description").Value = strDefaultDescription; + } + } + + // Append the game count to the description. + if (AppendGameCountToDescription == true) + { + xlHeader.Element("description").Value += " (" + intGamesCount + ")"; + } + + // Append the version to the description. + if (AppendVersionToDescription == true) + { + if (String.IsNullOrEmpty(OverrideHeaderVersion) == false) + { + xlHeader.Element("description").Value += " (" + OverrideHeaderVersion + ")"; + } + else + { + xlHeader.Element("description").Value += " (" + strDefaultVersion + ")"; + } + } + + // Add the header's version. + if (String.IsNullOrEmpty(OverrideHeaderVersion) == false) + { + xlHeader.Add(new XElement("version")); + xlHeader.Element("version").Value = OverrideHeaderVersion; + } + else + { + if (IncludeDefaultHeaderVersion == true) + { + xlHeader.Add(new XElement("version")); + xlHeader.Element("version").Value = strDefaultVersion; + } + } + + // Add the header's date. + if (String.IsNullOrEmpty(OverrideHeaderDate) == false) + { + xlHeader.Add(new XElement("date")); + xlHeader.Element("date").Value = OverrideHeaderDate; + } + else + { + if (IncludeDefaultHeaderDate == true) + { + xlHeader.Add(new XElement("date")); + xlHeader.Element("date").Value = strDefaultDate; + } + } + + // Add the header's author. + if (String.IsNullOrEmpty(OverrideHeaderAuthor) == false) + { + xlHeader.Add(new XElement("author")); + xlHeader.Element("author").Value = OverrideHeaderAuthor; + } + else + { + if (IncludeDefaultHeaderAuthor == true) + { + xlHeader.Add(new XElement("author")); + xlHeader.Element("author").Value = strDefaultAuthor; + } + } + + // Add the header's email. + if (String.IsNullOrEmpty(OverrideHeaderEmail) == false) + { + xlHeader.Add(new XElement("email")); + xlHeader.Element("email").Value = OverrideHeaderEmail; + } + else + { + if (IncludeDefaultHeaderEmail == true) + { + xlHeader.Add(new XElement("email")); + xlHeader.Element("email").Value = strDefaultEmail; + } + } + + // Add the header's homepage. + if (String.IsNullOrEmpty(OverrideHeaderHomepage) == false) + { + xlHeader.Add(new XElement("homepage")); + xlHeader.Element("homepage").Value = OverrideHeaderHomepage; + } + else + { + if (IncludeDefaultHeaderHomepage == true) + { + xlHeader.Add(new XElement("homepage")); + xlHeader.Element("homepage").Value = strDefaultHomepage; + } + } + + // Add the header's URL. + if (String.IsNullOrEmpty(OverrideHeaderURL) == false) + { + xlHeader.Add(new XElement("url")); + xlHeader.Element("url").Value = OverrideHeaderURL; + } + else + { + if (IncludeDefaultHeaderURL == true) + { + xlHeader.Add(new XElement("url")); + xlHeader.Element("url").Value = strDefaultURL; + } + } + + // Add the header's comment. + if (String.IsNullOrEmpty(OverrideHeaderComment) == false) + { + xlHeader.Add(new XElement("comment")); + xlHeader.Element("comment").Value = OverrideHeaderComment; + } + else + { + if (IncludeDefaultHeaderComment == true) + { + xlHeader.Add(new XElement("comment")); + xlHeader.Element("comment").Value = strDefaultComment; + } + } + + // Add the header's category. + if (String.IsNullOrEmpty(OverrideHeaderCategory) == false) + { + xlHeader.Add(new XElement("category")); + xlHeader.Element("category").Value = OverrideHeaderCategory; + } + else + { + if (IncludeDefaultHeaderCategory == true) + { + xlHeader.Add(new XElement("category")); + xlHeader.Element("category").Value = strDefaultCategory; + } + } + + // Add the header's CMP force unzip. + if (IncludeDefaultHeaderCMPForceUnzip == true) + { + xlHeader.Add(new XElement("clrmamepro")); + xlHeader.Element("clrmamepro").SetAttributeValue("forcepacking", "unzip"); + } + + // Add the header to the datafile XDocument. + xdocDatafile.Element("datafile").AddFirst(xlHeader); + + // Set the dat filename. + string strDatFilename = String.IsNullOrEmpty(DatFilename) ? "datafile.dat" : DatFilename; + + // Append the game count to the filename. + if (AppendGameCountToFilename == true) + { + string strDatExtension = Path.GetExtension(strDatFilename); + strDatFilename = Path.GetFileNameWithoutExtension(strDatFilename); + strDatFilename += " (" + intGamesCount + ")" + strDatExtension; + } + + // Append the version to the filename. + if (AppendVersionToFilename == true) + { + if (String.IsNullOrEmpty(OverrideHeaderVersion) == false) + { + string strDatExtension = Path.GetExtension(strDatFilename); + strDatFilename = Path.GetFileNameWithoutExtension(strDatFilename); + strDatFilename += " (" + OverrideHeaderVersion + ")" + strDatExtension; + } + else + { + string strDatExtension = Path.GetExtension(strDatFilename); + strDatFilename = Path.GetFileNameWithoutExtension(strDatFilename); + strDatFilename += " (" + strDefaultVersion + ")" + strDatExtension; + } + } + + // Save the datafile XDocument. + string strPathDatafile = Path.Combine(PathDatsDir, strDatFilename); + xdocDatafile.Save(strPathDatafile); + + // Print to screen + Log.Information("Datafile Saved: " + strPathDatafile); + + // Stop the stopwatch. + stopWatch.Stop(); + + // Print to screen + Log.Information("Build-A-Dat completed in " + stopWatch.Elapsed); + } + } + catch (Exception ex) + { + // Print to screen + Log.Error("Build-A-Dat failed"); + Log.Error(ex.Message); + // Log.Error(ex.StackTrace); + } + } + + #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.DatEmAll_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.DatEmAll_LICENSE); + + // Loop through each line of the array. + foreach (string strLine in arrLines) + { + // Print to screen. + Log.Information(strLine); + } + } + + /// + /// Prints the donation information. + /// + public void PrintDonationInfo() + { + // Read all of the lines of the file into an array. + string[] arrLines = ReadAllResourceLines(Properties.Resources.DatEmAll_DONATIONS); + + // 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.Debug("Lib: " + LibName + " v" + LibVersion); + Log.Debug("Lib: " + LibCopyright); + Log.Information("------------------------------------------------------------------"); + } + + /// + /// Prints the Easter Egg. + /// + public void PrintEasterEgg() + { + // Print to screen + Log.Information("------------------------------------------------------------------"); + Log.Information("Thank you for finding the Easter Egg"); + Log.Information("Writen by Jack B Nimble"); + Log.Information("------------------------------------------------------------------"); + } + + /// + /// 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/DatEmAll/DatEmAll.csproj b/DatEmAll/DatEmAll.csproj new file mode 100644 index 0000000..1981d77 --- /dev/null +++ b/DatEmAll/DatEmAll.csproj @@ -0,0 +1,102 @@ + + + + + Debug + AnyCPU + {4F7103F0-8421-42F1-8AFE-251B752FA1E2} + Library + Properties + DatEmAll + DatEmAll + v4.8 + 512 + true + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + bin\Debug\DatEmAll.xml + + + none + true + bin\Release\ + TRACE + prompt + 4 + + + + + false + + + DatEmAll.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/DatEmAll/DatEmAll.nuspec b/DatEmAll/DatEmAll.nuspec new file mode 100644 index 0000000..da63a32 --- /dev/null +++ b/DatEmAll/DatEmAll.nuspec @@ -0,0 +1,43 @@ + + + + DatEmAll + DatEmAll + 0.0.0 + Use the DatEmAll Library (.dll) to build dats from anywhere in your application. + +First, install or add the DatEmAll Nuget Package to your application by downloading the [nuget.nupkg](https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll/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 DatEmAll Object from anywhere in your application like the following: + +``` +DatEmAll.DatEmAll dea = new DatEmAll.DatEmAll(); +``` + + DatEmAll + LICENSE.txt + false + icon.png + https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll/raw/master/DatEmAll/Resources/Images/DatEmAll.png + https://www.devemall.int.eu.org + See https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll/releases for release notes. + Copyright (c) 2016-2025 DatEmAll - All Rights Reserved + DatEmAll Build Dats Automated Dat Builder Datafiles Datafile Datfiles Datfile WindowsForms WinForms Windows Forms Application Console + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DatEmAll/DatEmAll.snk b/DatEmAll/DatEmAll.snk new file mode 100644 index 0000000..2d50099 Binary files /dev/null and b/DatEmAll/DatEmAll.snk differ diff --git a/DatEmAll/Properties/AssemblyInfo.cs b/DatEmAll/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..937d4f1 --- /dev/null +++ b/DatEmAll/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("DatEmAll")] +[assembly: AssemblyDescription("The Original Automated Datter")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("DatEmAll")] +[assembly: AssemblyProduct("DatEmAll")] +[assembly: AssemblyCopyright("Copyright (c) 2020-2025 DatEmAll")] +[assembly: AssemblyTrademark("DatEmAll - The Original Automated Datter")] +[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("4f7103f0-8421-42f1-8afe-251b752fa1e2")] + +// 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("0.0.3")] +[assembly: AssemblyFileVersion("0.0.3")] diff --git a/DatEmAll/Properties/Resources.Designer.cs b/DatEmAll/Properties/Resources.Designer.cs new file mode 100644 index 0000000..cfa0073 --- /dev/null +++ b/DatEmAll/Properties/Resources.Designer.cs @@ -0,0 +1,152 @@ +//------------------------------------------------------------------------------ +// +// 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 DatEmAll.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("DatEmAll.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 ------------------------------------------------------------------ + ///DatEmAll - Donations version 20240904 + ///Copyright (c) 2016-2024 DatEmAll - 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 dat + ///builder. 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 dona [rest of string was truncated]";. + /// + public static string DatEmAll_DONATIONS { + get { + return ResourceManager.GetString("DatEmAll_DONATIONS", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ------------------------------------------------------------------ + ///DatEmAll - Help version 20240904 + ///Copyright (c) 2016-2024 DatEmAll - All Rights Reserved + ///------------------------------------------------------------------ + /// + ///[I] About + ///[II] Requirements + ///[III] Notes + ///[IV] Installation + ///[V] Registration + ///[VI] How To Build Datafiles + ///[VII] FAQ + ///[VIII] Contributing + ///[IX] Contact + ///[X] Disclaimers + /// + ///[I] About + ///---------- + ///DatEmAll or DEA is the original app for automating the process of building datafiles. B [rest of string was truncated]";. + /// + public static string DatEmAll_HELP { + get { + return ResourceManager.GetString("DatEmAll_HELP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ------------------------------------------------------------------ + ///DatEmAll - Help - CMD version 20240904 + ///Copyright (c) 2016-2024 DatEmAll - All Rights Reserved + ///------------------------------------------------------------------ + /// + ///Usage: + /// DatEmAll-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 used + /// If no command is passed then -all will be used + /// + ///----------------------------------------------- [rest of string was truncated]";. + /// + public static string DatEmAll_HELP_CMD { + get { + return ResourceManager.GetString("DatEmAll_HELP_CMD", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to *************************************************************** + ///DatEmAll - License version 20240429 + ///Copyright (c) 2016-2024 DatEmAll - 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. DatEmAll may publish revised and/or new versions of [rest of string was truncated]";. + /// + public static string DatEmAll_LICENSE { + get { + return ResourceManager.GetString("DatEmAll_LICENSE", resourceCulture); + } + } + } +} diff --git a/DatEmAll/Properties/Resources.resx b/DatEmAll/Properties/Resources.resx new file mode 100644 index 0000000..38e2573 --- /dev/null +++ b/DatEmAll/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\DatEmAll-DONATIONS.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Docs\DatEmAll-HELP.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Docs\DatEmAll-HELP-CMD.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Docs\DatEmAll-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/DatEmAll/Resources/Dats/put your dats in this directory.txt b/DatEmAll/Resources/Dats/put your dats in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/DatEmAll/Resources/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/DatEmAll/Resources/Docs/DatEmAll-DONATIONS.txt b/DatEmAll/Resources/Docs/DatEmAll-DONATIONS.txt new file mode 100644 index 0000000..70df1d7 --- /dev/null +++ b/DatEmAll/Resources/Docs/DatEmAll-DONATIONS.txt @@ -0,0 +1,14 @@ +------------------------------------------------------------------ +DatEmAll - Donations version 20250729 +Copyright (c) 2016-2025 DatEmAll - 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 dat +builder. 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: + +Donations: https://www.devemall.int.eu.org/index.php?action=donations +Home Page: https://www.devemall.int.eu.org/ diff --git a/DatEmAll/Resources/Docs/DatEmAll-HELP-CMD.txt b/DatEmAll/Resources/Docs/DatEmAll-HELP-CMD.txt new file mode 100644 index 0000000..9b5ec15 --- /dev/null +++ b/DatEmAll/Resources/Docs/DatEmAll-HELP-CMD.txt @@ -0,0 +1,145 @@ +------------------------------------------------------------------ +DatEmAll - Help - CMD version 20250729 +Copyright (c) 2016-2025 DatEmAll - All Rights Reserved +------------------------------------------------------------------ + +Usage: + DatEmAll-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 used + If no command is passed then -builddat will be used + +------------------------------------------------------------------ + +Build Dat Examples: + DatEmAll-CLI.exe + DatEmAll-CLI.exe -builddat + +------------------------------------------------------------------ + +WARNING: + Using invalid options values may cause this app to crash! + +------------------------------------------------------------------ + +Standard Commands: + -builddat Build a dat + -saveoptions Save a new options file + -help Print the help + -donations Print the donations information + -license Print the license + -version Print the version + -registerapp Register the app + +------------------------------------------------------------------ + +Output Options: + IA: Include CRC32 Hash + 0 No + 1 Yes - DEFAULT + IB: Include MD5 Hash + 0 No + 1 Yes - DEFAULT + IC: Include SHA1 Hash + 0 No + 1 Yes - DEFAULT + ID: Include File Size + 0 No + 1 Yes - DEFAULT + AA: Append Game Count To Filename + 0 No + 1 Yes - DEFAULT + AB: Append Game Count To Description + 0 No + 1 Yes - DEFAULT + AC: Append Version To Filename + 0 No + 1 Yes - DEFAULT + AD: Append Version To Description + 0 No + 1 Yes - DEFAULT + IF: Include ROM Dir Root Files + 0 No + 1 Yes - DEFAULT + DF: Dat Filename + XE: XML Encoding + utf-8 - DEFAULT + XD: XML DOCTYPE + Logiqx - DEFAULT + None + IF: Include Default Header Name + 0 No + 1 Yes - DEFAULT + IG: Include Default Header Description + 0 No + 1 Yes - DEFAULT + IH: Include Default Header Version + 0 No + 1 Yes - DEFAULT + II: Include Default Header Date + 0 No + 1 Yes - DEFAULT + IJ: Include Default Header Author + 0 No + 1 Yes - DEFAULT + IK: Include Default Header Email + 0 No + 1 Yes - DEFAULT + IL: Include Default Header Homepage + 0 No + 1 Yes - DEFAULT + IM: Include Default Header URL + 0 No + 1 Yes - DEFAULT + IN: Include Default Header Comment + 0 No + 1 Yes - DEFAULT + IO: Include Default Header Category + 0 No - DEFAULT + 1 Yes + IP: Include Default Header CMP Force Unzip + 0 No - DEFAULT + 1 Yes + OA: Override Header Name + OB: Override Header Description + OC: Override Header Version + OD: Override Header Date + OE: Override Header Author + OF: Override Header Email + OG: Override Header Homepage + OH: Override Header URL + OI: Override Header Comment + OJ: Override Header Category + +------------------------------------------------------------------ + +Path Options: + DD: Path to the Dats directory + RD: Path to the ROMs directory + LF: Path to the log file + OF: Path to the options file + +------------------------------------------------------------------ + +Developer Options: + LV: Check for latest version + 0 No - DEFAULT + 1 Yes + NC: Check SSL certificates + 0 No + 1 Yes - DEFAULT + RE: Send error reports + 0 No - DEFAULT + 1 Yes + LL: Language and locality + en - DEFAULT + LE: Log level + Information - DEFAULT + +------------------------------------------------------------------ + +Registration Options: + RA: Register app username + RB: Register app email address + RC: Register app password diff --git a/DatEmAll/Resources/Docs/DatEmAll-HELP.txt b/DatEmAll/Resources/Docs/DatEmAll-HELP.txt new file mode 100644 index 0000000..9717c21 --- /dev/null +++ b/DatEmAll/Resources/Docs/DatEmAll-HELP.txt @@ -0,0 +1,138 @@ +------------------------------------------------------------------ +DatEmAll - Help version 20250729 +Copyright (c) 2016-2025 DatEmAll - All Rights Reserved +------------------------------------------------------------------ + +[I] About +[II] Requirements +[III] Notes +[IV] Installation +[V] How To Build Datafiles +[VI] Registration +[VII] FAQ +[VIII] Contributing +[IX] Contact +[X] Disclaimers + +[I] About +---------- +DatEmAll or DEA is the original app for automating the process of building datafiles. Building datafiles is vital to ROM collecting, making this software an essential app for ROM collecting. + +DatEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, datting all your files is easy. Just run DatEmAll to dat all of your projects and files. + +[II] Requirements +------------------ +This software has been tested and verified working on Windows, Linux and Mac using .NET or Mono. + +For Mono users, a complete installation of Mono is required. Mono does not ship with a list of Root Certificate Authorities. To install a list of Root Certificate Authorities for Mono, use the Mono "cert-sync" command as described here: https://www.mankier.com/1/cert-sync + +For anyone who wants to download a list of Root Certificate Authorities to install using the "cert-sync" command, you can find regular releases here: https://curl.se/docs/caextract.html + +[III] Notes +------------ +* This software should be installed as close to the drive's root directory as possible. The nature of things dictates that there will be very long filenames. This is especially true of the TOSEC and Redump datafiles, when extracted. Keep in mind that some things may not work correctly if you choose too long of a path to put your files. + +[IV] Installation +----------------- +DatEmAll 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 DatEmAll. + +Next, download and unzip the program 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 DEA on my Windows C:\ drive or in my Linux ~/ (home) directory. My installation layout looks like this: + +C:\DEA\BASHes\ +C:\DEA\Batches\ +C:\DEA\Dats\ +C:\DEA\ROMs\ +C:\DEA\Docs\ +C:\DEA\Logs\ +C:\DEA\Options\ +C:\DEA\DatEmAll-CLI.exe +C:\DEA\DatEmAll-GUI.exe + +or + +~/DEA/BASHes/ +~/DEA/Batches/ +~/DEA/Dats/ +~/DEA/ROMs/ +~/DEA/Docs/ +~/DEA/Logs/ +~/DEA/Options/ +~/DEA/DatEmAll-CLI.exe +~/DEA/DatEmAll-GUI.exe + +After this software is installed, you can create a new options file using the GUI or CLI version. + +If you have an account at the included database, set your username and password by editing the options file directly or by editing and saving the Options file from the GUI. This will allow you upload and download any private datafiles that you have access to. + +If your database username or password uses XML special characters, obviously you will need to XML encode those characters when directly editing the XML options file. + +[V] How to Build Datafiles +-------------------------------- +If you like using a graphical interface, run the DatEmAll GUI, check the options that you want to use and click the Build Dat button to build a datafile. + +If you like using a command line interface, run the DatEmAll CLI directly or use some of the provided Windows Batch files to build a datafile. Optionally, you may pass commands and options to the DatEmAll CLI. The proper syntax and help is available with -help. + +Since you may set options from the command line or from an options file, an order of precedence must be established. Options from the command line will take priority over options from the options file. An options file is not mandatory, nor is passing any options from the command line. A new options file can be created using the CLI or the GUI version. + +The default command used by DatEmAll builds a datafile using any default commands or commands set from the command line or options file. + +[VI] Registration +---------------- +Some versions of this software require registration. It's free, easy and helps with the development of the software. Additionally, registration allows you to access any special features of this software. + +The software can be registered by using the GUI or the CLI version. + +Each installation requires a separate registration. You may register as many copies of this software as you need. + +[VII] FAQ +--------- +Q1) I didn't read or follow the instructions in the help file and I can't get this software to work properly. Can you help? +A1) No. + +Q2) I replaced some of the files for the newest version of this software with files from previous versions of this software, picking and choosing which files I want to replace or not replace. I can't get this software to work correctly. Can you help? +A2) Nothing in the instructions tells you to pick and choose which files to copy or replace and use from different versions of this software. This won't happen if you follow the installation instructions. Please read the Installation Section again and this time follow the instructions. + +Q3) Why do I keep getting errors about path and file lengths? +A3) Obviously, you chose an installation path that is too long. This won't happen if you follow the installation instructions. Please read the Installation Section again and this time follow the instructions. + +Q4) Why do I keep getting a TrustFailure error using Mono? +A4) Mono does not ship with a list of Root Certificate Authorities. To install a list of Root Certificate Authorities for Mono, use the Mono "cert-sync" command as described here: https://www.mankier.com/1/cert-sync +A4) Alternatively, you may want to disable SSL certificate verification. This will allow you to make a secure server connection, but obviously poses a security risk. + +Q5) The console window stays open and pauses until I close it. I am using Linux and don't like how this works. +A5) Whether you are using Linux, Windows, Mac, or any other operating system is completely irrelevant. The BASH and Batch files are designed to be clicked and to stay open until the user closes them. If you are running commands from a Linux or Windows command line, then you should be typing the commands from the BASH or Batch file directly into the command line, not using the provided BASH or Batch files. You are always free to make your own BASH and Batch files to do anything that you want them to do. + +Q6) Why doesn't my registration key work? +A6) Some registration keys may work for multiple installations on the same machine. However, installations on different machines may require a separate registration key. Make sure to use the proper registration key for each installation or the registration key may not work. + +Q7) I didn't get my registration key email. Can you help? +A7) No. Your registration key was sent. There's no excuse for you to not know how to check and use email. + +Q8) I appear to be blocked from some or all databases, or appear to be blocked from using this software. What gives? +A8) There are way too many reasons why this may or may not be happening. One example might be that you are using a blacklisted or abusive host, which may be blocked by some networks. In many cases, the network filtering may also be completely out of anyone's control. These problems are not caused by DatEmAll. DatEmAll goes above and beyond, giving you complete control over your network connection and providing you with the ability to use this software and upload and download dats completely anonymously. + +[VIII] Contributing +---------------- +Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Our membership is open to everyone and we need your help if you are a: + +* Collector +* Database Administrator +* Datter +* Developer +* Dumper +* Graphic Artist +* Translator +* Player +* Tester + +[IX] Contact +---------------- +GitEmAll: https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll + +[X] Disclaimers +---------------- +This software may only be used and/or distributed in accordance with the license with which it is distributed. diff --git a/DatEmAll/Resources/Docs/DatEmAll-LICENSE.rtf b/DatEmAll/Resources/Docs/DatEmAll-LICENSE.rtf new file mode 100644 index 0000000..ec1c578 Binary files /dev/null and b/DatEmAll/Resources/Docs/DatEmAll-LICENSE.rtf differ diff --git a/DatEmAll/Resources/Docs/DatEmAll-LICENSE.txt b/DatEmAll/Resources/Docs/DatEmAll-LICENSE.txt new file mode 100644 index 0000000..e5ba327 --- /dev/null +++ b/DatEmAll/Resources/Docs/DatEmAll-LICENSE.txt @@ -0,0 +1,37 @@ +*************************************************************** +DatEmAll - License version 20250729 +Copyright (c) 2016-2025 DatEmAll - 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. DatEmAll 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 +DatEmAll 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 DATEMALL 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 DATEMALL 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. diff --git a/DatEmAll/Resources/Images/DatEmAll.png b/DatEmAll/Resources/Images/DatEmAll.png new file mode 100644 index 0000000..7b695ef Binary files /dev/null and b/DatEmAll/Resources/Images/DatEmAll.png differ diff --git a/DatEmAll/Resources/Options/put your options files in this directory.txt b/DatEmAll/Resources/Options/put your options files in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/DatEmAll/Resources/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/DatEmAll/Resources/ROMs/put your roms in this directory.txt b/DatEmAll/Resources/ROMs/put your roms in this directory.txt new file mode 100644 index 0000000..6d78808 --- /dev/null +++ b/DatEmAll/Resources/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/DatEmAll/packages.config b/DatEmAll/packages.config new file mode 100644 index 0000000..b927374 --- /dev/null +++ b/DatEmAll/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e5ba327 --- /dev/null +++ b/LICENSE @@ -0,0 +1,37 @@ +*************************************************************** +DatEmAll - License version 20250729 +Copyright (c) 2016-2025 DatEmAll - 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. DatEmAll 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 +DatEmAll 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 DATEMALL 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 DATEMALL 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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..44bfe1c --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# @DatEmAll +### The Original Automated Datter +## About +DatEmAll or DEA is the original app for automating the process of building datafiles. Building datafiles is vital to ROM collecting, making this software an essential app for ROM collecting. + +DatEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, datting all your files is easy. Just run DatEmAll to dat all of your projects and files. +## 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 +* DatEmAll - Class Library +* DatEmAll-CLI - Console App +* DatEmAll-GUI - Windows Forms App +* DatEmAll-Release - Release Project +* DatEmAll-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/DatEmAll](https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll "GitEmAll") + +--- +###### Copyright (c) 2016-2025 DatEmAll - All Rights Reserved v2025-07-29-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