Add project files.

This commit is contained in:
2025-07-29 08:39:37 -06:00
commit ca9056613f
89 changed files with 9598 additions and 0 deletions

63
.gitattributes vendored Normal file
View File

@@ -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

366
.gitignore vendored Normal file
View File

@@ -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/

24
CHANGELOG.md Normal file
View File

@@ -0,0 +1,24 @@
Version 1.5.8 - 2025-07-29
* Update repository info and related URLs
* Minor changes
Version 1.5.7 - 2024-09-01
* New repository created and URLs fixed
* Update some NuGet Packages
* Minor changes
Version 1.5.6 - 2023-05-11
* Add BASH files
* Update commands and Batch files
* Update documentation files
* Minor code changes
Version 1.5.5 - 2023-04-13
* Update to .NET Framework 4.8
* Update all NuGet Packages
* Update and rename Setup project to Installer project
* Update Release project folder names and filenames structure

127
CODE_OF_CONDUCT.md Normal file
View File

@@ -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.

24
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,24 @@
# @DeheadEmAll
### The Original Automated ROM Deheaderer
## 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/DeheadEmAll](https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll "GitEmAll")
---
###### Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved v2025-07-29-00

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>

BIN
DeheadEmAll-CLI/App.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>DeheadEmAll_CLI</RootNamespace>
<AssemblyName>DeheadEmAll-CLI</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\DeheadEmAll-CLI.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<NoWin32Manifest>true</NoWin32Manifest>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>App.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.2.12.0\lib\net47\Serilog.dll</HintPath>
</Reference>
<Reference Include="Serilog.Sinks.Console, Version=4.1.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Sinks.Console.4.1.0\lib\net45\Serilog.Sinks.Console.dll</HintPath>
</Reference>
<Reference Include="Serilog.Sinks.LogEmAll, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Sinks.LogEmAll.0.0.7\lib\net461\Serilog.Sinks.LogEmAll.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="Resources\BASHes\DeheadEmAll-DH-A7800.sh" />
<None Include="Resources\BASHes\DeheadEmAll-DH-All-Selected.sh" />
<None Include="Resources\BASHes\DeheadEmAll-DH-All.sh" />
<None Include="Resources\BASHes\DeheadEmAll-DH-FDS.sh" />
<None Include="Resources\BASHes\DeheadEmAll-DH-Lynx.sh" />
<None Include="Resources\BASHes\DeheadEmAll-DH-NES.sh" />
<None Include="Resources\BASHes\DeheadEmAll-Print-Donation-Info.sh" />
<None Include="Resources\BASHes\DeheadEmAll-Print-Help-CMD.sh" />
<None Include="Resources\BASHes\DeheadEmAll-Print-License.sh" />
<None Include="Resources\BASHes\DeheadEmAll-Print-Version.sh" />
<None Include="Resources\BASHes\DeheadEmAll-Save-Options.sh" />
<None Include="Resources\Batches\DeheadEmAll-DH-A7800.bat" />
<None Include="Resources\Batches\DeheadEmAll-DH-All-Selected.bat" />
<None Include="Resources\Batches\DeheadEmAll-DH-All.bat" />
<None Include="Resources\Batches\DeheadEmAll-DH-FDS.bat" />
<None Include="Resources\Batches\DeheadEmAll-DH-Lynx.bat" />
<None Include="Resources\Batches\DeheadEmAll-DH-NES.bat" />
<None Include="Resources\Batches\DeheadEmAll-Print-Donation-Info.bat" />
<None Include="Resources\Batches\DeheadEmAll-Print-Help-CMD.bat" />
<None Include="Resources\Batches\DeheadEmAll-Print-License.bat" />
<None Include="Resources\Batches\DeheadEmAll-Print-Version.bat" />
<None Include="Resources\Batches\DeheadEmAll-Save-Options.bat" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="App.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DeheadEmAll\DeheadEmAll.csproj">
<Project>{06f4a6d4-ee7f-47d3-947c-a259f1fc3d84}</Project>
<Name>DeheadEmAll</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Resources\BASHes\put your bash files in this directory.txt" />
<Content Include="Resources\Batches\put your batch files in this directory.txt" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,56 @@
using System.Threading;
using System.Threading.Tasks;
using Serilog;
using Serilog.Formatting.Display;
using Serilog.Sinks.LogEmAll;
namespace DeheadEmAll_CLI
{
/// <summary>
/// The Main Program Class.
/// </summary>
class Program
{
/// <summary>
/// The Main entry point for the program.
/// </summary>
static void Main(string[] args)
{
// Configure the Logger.
ConfigureSerilog();
// Create a new program object.
DeheadEmAll.DeheadEmAll DHEA = new DeheadEmAll.DeheadEmAll();
// Set the title.
DHEA.UpdateTitle();
// Print the version.
DHEA.PrintVersion();
// Load the options passed from the command line arguments.
DHEA.LoadOptionsFromCLI(args);
// Load the options passed from the default options file.
DHEA.LoadOptionsFromFile();
// Process the command switch.
DHEA.ProcessCommandSwitch();
// Output the log to a text file.
DHEA.SaveLogToFile();
}
/// <summary>
/// Configure the logger.
/// </summary>
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();
}
}
}

View File

@@ -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("DeheadEmAll-CLI")]
[assembly: AssemblyDescription("The Original Automated ROM Deheaderer")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("DeheadEmAll")]
[assembly: AssemblyProduct("DeheadEmAll-CLI")]
[assembly: AssemblyCopyright("Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved")]
[assembly: AssemblyTrademark("DeheadEmAll - The Original Automated ROM Deheaderer")]
[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("e26a5dbc-0c0a-4786-a3fd-ef3740c2dc47")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.8")]
[assembly: AssemblyFileVersion("1.5.8")]

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DeheadEmAll_CLI.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[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("DeheadEmAll_CLI.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -deheada7800

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -deheadallselected

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -deheadall

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -deheadfds

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -deheadlynx

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -deheadnes

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DownloadEmAll-CLI.exe" -donations

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -help

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -license

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -version

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Main
mono "../DeheadEmAll-CLI.exe" -saveoptions

View File

@@ -0,0 +1 @@
This file can be deleted.

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -deheada7800
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -deheadallselected
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -deheadall
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -deheadfds
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -deheadlynx
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -deheadnes
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DownloadEmAll-CLI.exe" -donations
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -help "LF:..\Logs\DeheadEmAll-Log-00000000_000000.txt"
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -license
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -version
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\DeheadEmAll-CLI.exe" -saveoptions
rem */ Pause /*
@pause

View File

@@ -0,0 +1 @@
This file can be deleted.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Serilog" version="2.12.0" targetFramework="net48" />
<package id="Serilog.Sinks.Console" version="4.1.0" targetFramework="net48" />
<package id="Serilog.Sinks.LogEmAll" version="0.0.7" targetFramework="net48" />
</packages>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>

BIN
DeheadEmAll-GUI/App.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{FCEBBE29-8A30-4E30-9EEE-DF5F44922223}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>DeheadEmAll_GUI</RootNamespace>
<AssemblyName>DeheadEmAll-GUI</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\DeheadEmAll-GUI.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<NoWin32Manifest>true</NoWin32Manifest>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>App.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.2.12.0\lib\net47\Serilog.dll</HintPath>
</Reference>
<Reference Include="Serilog.Sinks.LogEmAll, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Sinks.LogEmAll.0.0.7\lib\net461\Serilog.Sinks.LogEmAll.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="FrmDeheadEmAll.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmDeheadEmAll.Designer.cs">
<DependentUpon>FrmDeheadEmAll.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FrmDeheadEmAll.resx">
<DependentUpon>FrmDeheadEmAll.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="App.ico" />
<None Include="Resources\Images\Cancel_16x16.png" />
<None Include="Resources\Images\Toolbar_32x32.png" />
<None Include="Resources\Images\SaveOptions_32x32.png" />
<None Include="Resources\Images\SaveLog_32x32.png" />
<None Include="Resources\Images\Options_32x32.png" />
<None Include="Resources\Images\Log_32x32.png" />
<None Include="Resources\Images\LoadOptions_32x32.png" />
<None Include="Resources\Images\License_32x32.png" />
<None Include="Resources\Images\Help_32x32.png" />
<None Include="Resources\Images\Exit_32x32.png" />
<None Include="Resources\Images\DeheadROMs_32x32.png" />
<None Include="Resources\Images\ChangeOption_16x16.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DeheadEmAll\DeheadEmAll.csproj">
<Project>{06f4a6d4-ee7f-47d3-947c-a259f1fc3d84}</Project>
<Name>DeheadEmAll</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Resources\Images\Donate_32x32.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

733
DeheadEmAll-GUI/FrmDeheadEmAll.Designer.cs generated Normal file
View File

@@ -0,0 +1,733 @@
namespace DeheadEmAll_GUI
{
partial class FrmDeheadEmAll
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmDeheadEmAll));
this.msMain = new System.Windows.Forms.MenuStrip();
this.tsmiCommand = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiView = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiLog = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiOptions = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiHelp = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiLicense = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiDonations = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
this.tsmiToolba = new System.Windows.Forms.ToolStripMenuItem();
this.tsMain = new System.Windows.Forms.ToolStrip();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.ssMain = new System.Windows.Forms.StatusStrip();
this.tspbDeheaderProgress = new System.Windows.Forms.ToolStripProgressBar();
this.tsslStatusMessage = new System.Windows.Forms.ToolStripStatusLabel();
this.tsslSpring = new System.Windows.Forms.ToolStripStatusLabel();
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.gbOptionsInfo = new System.Windows.Forms.GroupBox();
this.lblOptionsInfo1 = new System.Windows.Forms.Label();
this.gbSystem = new System.Windows.Forms.GroupBox();
this.lblLogLevel = new System.Windows.Forms.Label();
this.lblLanguage = new System.Windows.Forms.Label();
this.cbLogLevel = new System.Windows.Forms.ComboBox();
this.cbLanguage = new System.Windows.Forms.ComboBox();
this.gbROMs = new System.Windows.Forms.GroupBox();
this.chkA7800 = new System.Windows.Forms.CheckBox();
this.chkLynx = new System.Windows.Forms.CheckBox();
this.chkNES = new System.Windows.Forms.CheckBox();
this.chkFDS = new System.Windows.Forms.CheckBox();
this.gbPaths = new System.Windows.Forms.GroupBox();
this.txtPathROMsDeheaderedDir = new System.Windows.Forms.TextBox();
this.txtPathROMsDir = new System.Windows.Forms.TextBox();
this.lblROMsDeheaderedDir = new System.Windows.Forms.Label();
this.lblROMsDir = new System.Windows.Forms.Label();
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.bgwStartupTasks = new System.ComponentModel.BackgroundWorker();
this.bgwDeheaderROMs = new System.ComponentModel.BackgroundWorker();
this.tsmiDeheaderROMs = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiLoadOptions = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSaveOptions = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiSaveLog = new System.Windows.Forms.ToolStripMenuItem();
this.tsmiExit = new System.Windows.Forms.ToolStripMenuItem();
this.tsbDeheaderROMs = new System.Windows.Forms.ToolStripButton();
this.tsbLoadOptions = new System.Windows.Forms.ToolStripButton();
this.tsbSaveOptions = new System.Windows.Forms.ToolStripButton();
this.tsbSaveLog = new System.Windows.Forms.ToolStripButton();
this.tsbViewLog = new System.Windows.Forms.ToolStripButton();
this.tsbViewOptions = new System.Windows.Forms.ToolStripButton();
this.tsbViewHelp = new System.Windows.Forms.ToolStripButton();
this.tsbViewLicense = new System.Windows.Forms.ToolStripButton();
this.tsbDonations = new System.Windows.Forms.ToolStripButton();
this.tsbViewToolbar = new System.Windows.Forms.ToolStripButton();
this.tsddbCancel = new System.Windows.Forms.ToolStripDropDownButton();
this.msMain.SuspendLayout();
this.tsMain.SuspendLayout();
this.ssMain.SuspendLayout();
this.tcMain.SuspendLayout();
this.tabLog.SuspendLayout();
this.tabOptions.SuspendLayout();
this.gbOptionsInfo.SuspendLayout();
this.gbSystem.SuspendLayout();
this.gbROMs.SuspendLayout();
this.gbPaths.SuspendLayout();
this.tabHelp.SuspendLayout();
this.tabLicense.SuspendLayout();
this.tabDonations.SuspendLayout();
this.SuspendLayout();
//
// msMain
//
this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiCommand,
this.tsmiView});
resources.ApplyResources(this.msMain, "msMain");
this.msMain.Name = "msMain";
//
// tsmiCommand
//
this.tsmiCommand.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiDeheaderROMs,
this.toolStripSeparator8,
this.tsmiLoadOptions,
this.tsmiSaveOptions,
this.toolStripSeparator9,
this.tsmiSaveLog,
this.toolStripSeparator10,
this.tsmiExit});
this.tsmiCommand.Name = "tsmiCommand";
resources.ApplyResources(this.tsmiCommand, "tsmiCommand");
//
// toolStripSeparator8
//
this.toolStripSeparator8.Name = "toolStripSeparator8";
resources.ApplyResources(this.toolStripSeparator8, "toolStripSeparator8");
//
// toolStripSeparator9
//
this.toolStripSeparator9.Name = "toolStripSeparator9";
resources.ApplyResources(this.toolStripSeparator9, "toolStripSeparator9");
//
// toolStripSeparator10
//
this.toolStripSeparator10.Name = "toolStripSeparator10";
resources.ApplyResources(this.toolStripSeparator10, "toolStripSeparator10");
//
// tsmiView
//
this.tsmiView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsmiLog,
this.toolStripSeparator4,
this.tsmiOptions,
this.toolStripSeparator5,
this.tsmiHelp,
this.toolStripSeparator6,
this.tsmiLicense,
this.toolStripSeparator7,
this.tsmiDonations,
this.toolStripSeparator11,
this.tsmiToolba});
this.tsmiView.Name = "tsmiView";
resources.ApplyResources(this.tsmiView, "tsmiView");
//
// tsmiLog
//
this.tsmiLog.Checked = true;
this.tsmiLog.CheckState = System.Windows.Forms.CheckState.Checked;
this.tsmiLog.Name = "tsmiLog";
resources.ApplyResources(this.tsmiLog, "tsmiLog");
this.tsmiLog.Click += new System.EventHandler(this.ViewLog_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4");
//
// tsmiOptions
//
this.tsmiOptions.Checked = true;
this.tsmiOptions.CheckState = System.Windows.Forms.CheckState.Checked;
this.tsmiOptions.Name = "tsmiOptions";
resources.ApplyResources(this.tsmiOptions, "tsmiOptions");
this.tsmiOptions.Click += new System.EventHandler(this.ViewOptions_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5");
//
// tsmiHelp
//
this.tsmiHelp.Name = "tsmiHelp";
resources.ApplyResources(this.tsmiHelp, "tsmiHelp");
this.tsmiHelp.Click += new System.EventHandler(this.ViewHelp_Click);
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
resources.ApplyResources(this.toolStripSeparator6, "toolStripSeparator6");
//
// tsmiLicense
//
this.tsmiLicense.Name = "tsmiLicense";
resources.ApplyResources(this.tsmiLicense, "tsmiLicense");
this.tsmiLicense.Click += new System.EventHandler(this.ViewLicense_Click);
//
// toolStripSeparator7
//
this.toolStripSeparator7.Name = "toolStripSeparator7";
resources.ApplyResources(this.toolStripSeparator7, "toolStripSeparator7");
//
// tsmiDonations
//
this.tsmiDonations.Name = "tsmiDonations";
resources.ApplyResources(this.tsmiDonations, "tsmiDonations");
this.tsmiDonations.Click += new System.EventHandler(this.ViewDonations_Click);
//
// toolStripSeparator11
//
this.toolStripSeparator11.Name = "toolStripSeparator11";
resources.ApplyResources(this.toolStripSeparator11, "toolStripSeparator11");
//
// tsmiToolba
//
this.tsmiToolba.Checked = true;
this.tsmiToolba.CheckState = System.Windows.Forms.CheckState.Checked;
this.tsmiToolba.Name = "tsmiToolba";
resources.ApplyResources(this.tsmiToolba, "tsmiToolba");
this.tsmiToolba.Click += new System.EventHandler(this.ViewToolbar_Click);
//
// tsMain
//
this.tsMain.ImageScalingSize = new System.Drawing.Size(32, 32);
this.tsMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbDeheaderROMs,
this.toolStripSeparator1,
this.tsbLoadOptions,
this.tsbSaveOptions,
this.toolStripSeparator2,
this.tsbSaveLog,
this.toolStripSeparator3,
this.tsbViewLog,
this.tsbViewOptions,
this.tsbViewHelp,
this.tsbViewLicense,
this.tsbDonations,
this.tsbViewToolbar});
resources.ApplyResources(this.tsMain, "tsMain");
this.tsMain.Name = "tsMain";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3");
//
// ssMain
//
this.ssMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsddbCancel,
this.tspbDeheaderProgress,
this.tsslStatusMessage,
this.tsslSpring});
resources.ApplyResources(this.ssMain, "ssMain");
this.ssMain.Name = "ssMain";
//
// tspbDeheaderProgress
//
this.tspbDeheaderProgress.Name = "tspbDeheaderProgress";
resources.ApplyResources(this.tspbDeheaderProgress, "tspbDeheaderProgress");
//
// tsslStatusMessage
//
this.tsslStatusMessage.Name = "tsslStatusMessage";
resources.ApplyResources(this.tsslStatusMessage, "tsslStatusMessage");
//
// tsslSpring
//
this.tsslSpring.Name = "tsslSpring";
resources.ApplyResources(this.tsslSpring, "tsslSpring");
this.tsslSpring.Spring = true;
//
// 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);
resources.ApplyResources(this.tcMain, "tcMain");
this.tcMain.Name = "tcMain";
this.tcMain.SelectedIndex = 0;
//
// tabLog
//
this.tabLog.Controls.Add(this.rtblLog);
resources.ApplyResources(this.tabLog, "tabLog");
this.tabLog.Name = "tabLog";
this.tabLog.UseVisualStyleBackColor = true;
//
// rtblLog
//
resources.ApplyResources(this.rtblLog, "rtblLog");
this.rtblLog.Name = "rtblLog";
this.rtblLog.ReadOnly = true;
//
// tabOptions
//
this.tabOptions.Controls.Add(this.gbOptionsInfo);
this.tabOptions.Controls.Add(this.gbSystem);
this.tabOptions.Controls.Add(this.gbROMs);
this.tabOptions.Controls.Add(this.gbPaths);
resources.ApplyResources(this.tabOptions, "tabOptions");
this.tabOptions.Name = "tabOptions";
this.tabOptions.UseVisualStyleBackColor = true;
//
// gbOptionsInfo
//
resources.ApplyResources(this.gbOptionsInfo, "gbOptionsInfo");
this.gbOptionsInfo.Controls.Add(this.lblOptionsInfo1);
this.gbOptionsInfo.Name = "gbOptionsInfo";
this.gbOptionsInfo.TabStop = false;
//
// lblOptionsInfo1
//
resources.ApplyResources(this.lblOptionsInfo1, "lblOptionsInfo1");
this.lblOptionsInfo1.Name = "lblOptionsInfo1";
//
// gbSystem
//
resources.ApplyResources(this.gbSystem, "gbSystem");
this.gbSystem.Controls.Add(this.lblLogLevel);
this.gbSystem.Controls.Add(this.lblLanguage);
this.gbSystem.Controls.Add(this.cbLogLevel);
this.gbSystem.Controls.Add(this.cbLanguage);
this.gbSystem.Name = "gbSystem";
this.gbSystem.TabStop = false;
//
// lblLogLevel
//
resources.ApplyResources(this.lblLogLevel, "lblLogLevel");
this.lblLogLevel.Name = "lblLogLevel";
//
// lblLanguage
//
resources.ApplyResources(this.lblLanguage, "lblLanguage");
this.lblLanguage.Name = "lblLanguage";
//
// cbLogLevel
//
resources.ApplyResources(this.cbLogLevel, "cbLogLevel");
this.cbLogLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbLogLevel.FormattingEnabled = true;
this.cbLogLevel.Items.AddRange(new object[] {
resources.GetString("cbLogLevel.Items")});
this.cbLogLevel.Name = "cbLogLevel";
//
// cbLanguage
//
resources.ApplyResources(this.cbLanguage, "cbLanguage");
this.cbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbLanguage.FormattingEnabled = true;
this.cbLanguage.Items.AddRange(new object[] {
resources.GetString("cbLanguage.Items")});
this.cbLanguage.Name = "cbLanguage";
//
// gbROMs
//
resources.ApplyResources(this.gbROMs, "gbROMs");
this.gbROMs.Controls.Add(this.chkA7800);
this.gbROMs.Controls.Add(this.chkLynx);
this.gbROMs.Controls.Add(this.chkNES);
this.gbROMs.Controls.Add(this.chkFDS);
this.gbROMs.Name = "gbROMs";
this.gbROMs.TabStop = false;
//
// chkA7800
//
resources.ApplyResources(this.chkA7800, "chkA7800");
this.chkA7800.Checked = true;
this.chkA7800.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkA7800.Name = "chkA7800";
this.chkA7800.UseVisualStyleBackColor = true;
//
// chkLynx
//
resources.ApplyResources(this.chkLynx, "chkLynx");
this.chkLynx.Checked = true;
this.chkLynx.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkLynx.Name = "chkLynx";
this.chkLynx.UseVisualStyleBackColor = true;
//
// chkNES
//
resources.ApplyResources(this.chkNES, "chkNES");
this.chkNES.Checked = true;
this.chkNES.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkNES.Name = "chkNES";
this.chkNES.UseVisualStyleBackColor = true;
//
// chkFDS
//
resources.ApplyResources(this.chkFDS, "chkFDS");
this.chkFDS.Checked = true;
this.chkFDS.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkFDS.Name = "chkFDS";
this.chkFDS.UseVisualStyleBackColor = true;
//
// gbPaths
//
resources.ApplyResources(this.gbPaths, "gbPaths");
this.gbPaths.Controls.Add(this.txtPathROMsDeheaderedDir);
this.gbPaths.Controls.Add(this.txtPathROMsDir);
this.gbPaths.Controls.Add(this.lblROMsDeheaderedDir);
this.gbPaths.Controls.Add(this.lblROMsDir);
this.gbPaths.Name = "gbPaths";
this.gbPaths.TabStop = false;
//
// txtPathROMsDeheaderedDir
//
resources.ApplyResources(this.txtPathROMsDeheaderedDir, "txtPathROMsDeheaderedDir");
this.txtPathROMsDeheaderedDir.Name = "txtPathROMsDeheaderedDir";
this.txtPathROMsDeheaderedDir.ReadOnly = true;
this.txtPathROMsDeheaderedDir.Click += new System.EventHandler(this.ChangeROMsDeheaderedDir_Click);
//
// txtPathROMsDir
//
resources.ApplyResources(this.txtPathROMsDir, "txtPathROMsDir");
this.txtPathROMsDir.Name = "txtPathROMsDir";
this.txtPathROMsDir.ReadOnly = true;
this.txtPathROMsDir.Click += new System.EventHandler(this.ChangeROMsDir_Click);
//
// lblROMsDeheaderedDir
//
resources.ApplyResources(this.lblROMsDeheaderedDir, "lblROMsDeheaderedDir");
this.lblROMsDeheaderedDir.Name = "lblROMsDeheaderedDir";
//
// lblROMsDir
//
resources.ApplyResources(this.lblROMsDir, "lblROMsDir");
this.lblROMsDir.Name = "lblROMsDir";
//
// tabHelp
//
this.tabHelp.Controls.Add(this.rtbHelp);
resources.ApplyResources(this.tabHelp, "tabHelp");
this.tabHelp.Name = "tabHelp";
this.tabHelp.UseVisualStyleBackColor = true;
//
// rtbHelp
//
resources.ApplyResources(this.rtbHelp, "rtbHelp");
this.rtbHelp.Name = "rtbHelp";
this.rtbHelp.ReadOnly = true;
//
// tabLicense
//
this.tabLicense.Controls.Add(this.rtbLicense);
resources.ApplyResources(this.tabLicense, "tabLicense");
this.tabLicense.Name = "tabLicense";
this.tabLicense.UseVisualStyleBackColor = true;
//
// rtbLicense
//
resources.ApplyResources(this.rtbLicense, "rtbLicense");
this.rtbLicense.Name = "rtbLicense";
this.rtbLicense.ReadOnly = true;
//
// tabDonations
//
this.tabDonations.Controls.Add(this.rtbDonations);
resources.ApplyResources(this.tabDonations, "tabDonations");
this.tabDonations.Name = "tabDonations";
this.tabDonations.UseVisualStyleBackColor = true;
//
// rtbDonations
//
resources.ApplyResources(this.rtbDonations, "rtbDonations");
this.rtbDonations.Name = "rtbDonations";
this.rtbDonations.ReadOnly = true;
//
// bgwStartupTasks
//
this.bgwStartupTasks.DoWork += new System.ComponentModel.DoWorkEventHandler(this.StartupTasks_DoWork);
this.bgwStartupTasks.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.StartupTasks_RunWorkerCompleted);
//
// bgwDeheaderROMs
//
this.bgwDeheaderROMs.WorkerReportsProgress = true;
this.bgwDeheaderROMs.WorkerSupportsCancellation = true;
this.bgwDeheaderROMs.DoWork += new System.ComponentModel.DoWorkEventHandler(this.DeheaderROMs_DoWork);
this.bgwDeheaderROMs.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.DeheaderROMs_ProgressChanged);
this.bgwDeheaderROMs.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.DeheaderROMs_RunWorkerCompleted);
//
// tsmiDeheaderROMs
//
resources.ApplyResources(this.tsmiDeheaderROMs, "tsmiDeheaderROMs");
this.tsmiDeheaderROMs.Name = "tsmiDeheaderROMs";
this.tsmiDeheaderROMs.Click += new System.EventHandler(this.DeheadROMs_Click);
//
// tsmiLoadOptions
//
resources.ApplyResources(this.tsmiLoadOptions, "tsmiLoadOptions");
this.tsmiLoadOptions.Name = "tsmiLoadOptions";
this.tsmiLoadOptions.Click += new System.EventHandler(this.LoadOptions_Click);
//
// tsmiSaveOptions
//
resources.ApplyResources(this.tsmiSaveOptions, "tsmiSaveOptions");
this.tsmiSaveOptions.Name = "tsmiSaveOptions";
this.tsmiSaveOptions.Click += new System.EventHandler(this.SaveOptions_Click);
//
// tsmiSaveLog
//
resources.ApplyResources(this.tsmiSaveLog, "tsmiSaveLog");
this.tsmiSaveLog.Name = "tsmiSaveLog";
this.tsmiSaveLog.Click += new System.EventHandler(this.SaveLog_Click);
//
// tsmiExit
//
resources.ApplyResources(this.tsmiExit, "tsmiExit");
this.tsmiExit.Name = "tsmiExit";
this.tsmiExit.Click += new System.EventHandler(this.Exit_Click);
//
// tsbDeheaderROMs
//
this.tsbDeheaderROMs.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbDeheaderROMs, "tsbDeheaderROMs");
this.tsbDeheaderROMs.Name = "tsbDeheaderROMs";
this.tsbDeheaderROMs.Click += new System.EventHandler(this.DeheadROMs_Click);
//
// tsbLoadOptions
//
this.tsbLoadOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbLoadOptions, "tsbLoadOptions");
this.tsbLoadOptions.Name = "tsbLoadOptions";
this.tsbLoadOptions.Click += new System.EventHandler(this.LoadOptions_Click);
//
// tsbSaveOptions
//
this.tsbSaveOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbSaveOptions, "tsbSaveOptions");
this.tsbSaveOptions.Name = "tsbSaveOptions";
this.tsbSaveOptions.Click += new System.EventHandler(this.SaveOptions_Click);
//
// tsbSaveLog
//
this.tsbSaveLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbSaveLog, "tsbSaveLog");
this.tsbSaveLog.Name = "tsbSaveLog";
this.tsbSaveLog.Click += new System.EventHandler(this.SaveLog_Click);
//
// tsbViewLog
//
this.tsbViewLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbViewLog, "tsbViewLog");
this.tsbViewLog.Name = "tsbViewLog";
this.tsbViewLog.Click += new System.EventHandler(this.ViewLog_Click);
//
// tsbViewOptions
//
this.tsbViewOptions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbViewOptions, "tsbViewOptions");
this.tsbViewOptions.Name = "tsbViewOptions";
this.tsbViewOptions.Click += new System.EventHandler(this.ViewOptions_Click);
//
// tsbViewHelp
//
this.tsbViewHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbViewHelp, "tsbViewHelp");
this.tsbViewHelp.Name = "tsbViewHelp";
this.tsbViewHelp.Click += new System.EventHandler(this.ViewHelp_Click);
//
// tsbViewLicense
//
this.tsbViewLicense.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbViewLicense, "tsbViewLicense");
this.tsbViewLicense.Name = "tsbViewLicense";
this.tsbViewLicense.Click += new System.EventHandler(this.ViewLicense_Click);
//
// tsbDonations
//
this.tsbDonations.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.tsbDonations.Image = global::DeheadEmAll_GUI.Properties.Resources.Donate_32x32;
resources.ApplyResources(this.tsbDonations, "tsbDonations");
this.tsbDonations.Name = "tsbDonations";
this.tsbDonations.Click += new System.EventHandler(this.ViewDonations_Click);
//
// tsbViewToolbar
//
this.tsbViewToolbar.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsbViewToolbar, "tsbViewToolbar");
this.tsbViewToolbar.Name = "tsbViewToolbar";
this.tsbViewToolbar.Click += new System.EventHandler(this.ViewToolbar_Click);
//
// tsddbCancel
//
this.tsddbCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
resources.ApplyResources(this.tsddbCancel, "tsddbCancel");
this.tsddbCancel.Image = global::DeheadEmAll_GUI.Properties.Resources.Cancel_16x16;
this.tsddbCancel.Name = "tsddbCancel";
this.tsddbCancel.ShowDropDownArrow = false;
this.tsddbCancel.Click += new System.EventHandler(this.Cancel_Click);
//
// FrmDeheadEmAll
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tcMain);
this.Controls.Add(this.ssMain);
this.Controls.Add(this.tsMain);
this.Controls.Add(this.msMain);
this.MainMenuStrip = this.msMain;
this.Name = "FrmDeheadEmAll";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_FormClosing);
this.Shown += new System.EventHandler(this.Fprm_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.gbOptionsInfo.ResumeLayout(false);
this.gbOptionsInfo.PerformLayout();
this.gbSystem.ResumeLayout(false);
this.gbSystem.PerformLayout();
this.gbROMs.ResumeLayout(false);
this.gbROMs.PerformLayout();
this.gbPaths.ResumeLayout(false);
this.gbPaths.PerformLayout();
this.tabHelp.ResumeLayout(false);
this.tabLicense.ResumeLayout(false);
this.tabDonations.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip msMain;
private System.Windows.Forms.ToolStrip tsMain;
private System.Windows.Forms.StatusStrip ssMain;
private System.Windows.Forms.ToolStripMenuItem tsmiCommand;
private System.Windows.Forms.ToolStripMenuItem tsmiView;
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.ToolStripButton tsbViewOptions;
private System.Windows.Forms.ToolStripButton tsbViewHelp;
private System.Windows.Forms.ToolStripButton tsbViewLicense;
private System.Windows.Forms.TabControl tcMain;
private System.Windows.Forms.TabPage tabLog;
private System.Windows.Forms.TabPage tabOptions;
private System.Windows.Forms.TabPage tabHelp;
private System.Windows.Forms.TabPage tabLicense;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
private System.Windows.Forms.ToolStripMenuItem tsmiExit;
private System.Windows.Forms.ToolStripMenuItem tsmiLog;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripMenuItem tsmiOptions;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripMenuItem tsmiHelp;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.ToolStripMenuItem tsmiLicense;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
private System.Windows.Forms.ToolStripMenuItem tsmiToolba;
private System.Windows.Forms.ToolStripStatusLabel tsslStatusMessage;
private System.Windows.Forms.RichTextBox rtbHelp;
private System.Windows.Forms.RichTextBox rtbLicense;
private System.Windows.Forms.ToolStripMenuItem tsmiLoadOptions;
private System.Windows.Forms.ToolStripMenuItem tsmiSaveOptions;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
private System.Windows.Forms.ToolStripMenuItem tsmiSaveLog;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator10;
private System.Windows.Forms.ToolStripButton tsbViewToolbar;
private System.ComponentModel.BackgroundWorker bgwStartupTasks;
private System.ComponentModel.BackgroundWorker bgwDeheaderROMs;
private System.Windows.Forms.GroupBox gbPaths;
private System.Windows.Forms.TextBox txtPathROMsDeheaderedDir;
private System.Windows.Forms.TextBox txtPathROMsDir;
private System.Windows.Forms.Label lblROMsDeheaderedDir;
private System.Windows.Forms.Label lblROMsDir;
private System.Windows.Forms.GroupBox gbROMs;
private System.Windows.Forms.CheckBox chkA7800;
private System.Windows.Forms.CheckBox chkLynx;
private System.Windows.Forms.CheckBox chkNES;
private System.Windows.Forms.CheckBox chkFDS;
private System.Windows.Forms.ToolStripMenuItem tsmiDeheaderROMs;
private System.Windows.Forms.ToolStripButton tsbDeheaderROMs;
private System.Windows.Forms.ToolStripDropDownButton tsddbCancel;
private System.Windows.Forms.ToolStripStatusLabel tsslSpring;
private Serilog.Sinks.LogEmAll.RichTextBoxLog rtblLog;
private System.Windows.Forms.ToolStripProgressBar tspbDeheaderProgress;
private System.Windows.Forms.GroupBox gbSystem;
private System.Windows.Forms.Label lblLogLevel;
private System.Windows.Forms.Label lblLanguage;
private System.Windows.Forms.ComboBox cbLogLevel;
private System.Windows.Forms.ComboBox cbLanguage;
private System.Windows.Forms.GroupBox gbOptionsInfo;
private System.Windows.Forms.Label lblOptionsInfo1;
private System.Windows.Forms.ToolStripButton tsbDonations;
private System.Windows.Forms.ToolStripMenuItem tsmiDonations;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator11;
private System.Windows.Forms.TabPage tabDonations;
private System.Windows.Forms.RichTextBox rtbDonations;
}
}

View File

@@ -0,0 +1,896 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Serilog;
namespace DeheadEmAll_GUI
{
/// <summary>
/// The DeheadEmAll Class which interacts with the Main Program Class.
/// </summary>
public partial class FrmDeheadEmAll : Form
{
#region Constructors
DeheadEmAll.DeheadEmAll DHEA = new DeheadEmAll.DeheadEmAll();
/// <summary>
/// Constructor
/// </summary>
public FrmDeheadEmAll()
{
InitializeComponent();
// Print the version.
DHEA.PrintVersion();
// Load the options passed from the command line arguments.
DHEA.LoadOptionsFromCLI(Environment.GetCommandLineArgs());
// Load the options passed from the default options file.
DHEA.LoadOptionsFromFile();
// Add data bindings.
chkA7800.DataBindings.Add("Checked", DHEA, "A7800");
chkNES.DataBindings.Add("Checked", DHEA, "NES");
chkLynx.DataBindings.Add("Checked", DHEA, "Lynx");
chkFDS.DataBindings.Add("Checked", DHEA, "FDS");
txtPathROMsDir.DataBindings.Add("Text", DHEA, "PathROMsDir");
txtPathROMsDeheaderedDir.DataBindings.Add("Text", DHEA, "PathROMsDeheadedDir");
cbLanguage.DataBindings.Add("SelectedItem", DHEA, "Language");
cbLogLevel.DataBindings.Add("SelectedItem", DHEA, "LogLevel");
// Update the title.
UpdateTitle();
// Hide the Help and License tabs.
tcMain.TabPages.Remove(tabHelp);
tcMain.TabPages.Remove(tabLicense);
tcMain.TabPages.Remove(tabDonations);
// Load the GUI RichTextBoxes from resources.
rtbHelp.Text = DeheadEmAll.Properties.Resources.DeheadEmAll_HELP;
rtbLicense.Text = DeheadEmAll.Properties.Resources.DeheadEmAll_LICENSE;
rtbDonations.Text = DeheadEmAll.Properties.Resources.DeheadEmAll_DONATIONS;
}
#endregion
#region Getters/Setters Public Accessors
/// LogLines
public string[] LogLines
{
get { return rtblLog.Lines; }
set { rtblLog.Lines = value; }
}
#endregion
#region Log
/// <summary>
/// Saves the log to a text file.
/// </summary>
/// <param name="strPath"></param>
/// <returns></returns>
private bool SaveLogToFile(string strPath = null)
{
try
{
if (strPath != null)
{
DHEA.PathLogFile = strPath;
}
// Determine if the user selected a log filename.
if (DHEA.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(DHEA.PathLogFile)) == false) Directory.CreateDirectory(Path.GetDirectoryName(DHEA.PathLogFile));
// Save the contents of the log to a text file.
File.WriteAllLines(DHEA.PathLogFile, LogLines);
// Print to screen
Log.Information("Log file saved (" + DHEA.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
/// <summary>
/// Performs the startup tasks BGW DoWork.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void StartupTasks_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
{
// Run startup tasks.
DHEA.StartupTasks();
}
/// <summary>
/// Startup tasks BGW RunWorkerCompleted.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void StartupTasks_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
{
if (e.Cancelled)
{
Log.Warning("Startup tasks canceled");
Log.Information("Ready");
}
else if (e.Error != null)
{
Log.Error("Startup tasks failed");
Log.Error(e.Error.Message);
Log.Information("Ready");
}
else
{
Log.Information("Ready");
}
// Update the status message label.
UpdateStatusMessage("Ready");
// Enable buttons.
EnableAllButtons();
}
#endregion
#region GUI Methods
/// <summary>
/// Changes the path to the ROMs directory.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ChangeROMsDir_Click(object sender, EventArgs e)
{
// Disable all buttons.
DisableAllButtons();
// Create and initialize a FolderBrowserDialog for the ROMs directory.
FolderBrowserDialog fbdPathRomsDir = new FolderBrowserDialog
{
ShowNewFolderButton = true,
Description = "Please enter a path to the ROMs directory: ",
SelectedPath = Path.GetFullPath(DHEA.PathROMsDir)
};
// Determine if the user selected a folder name from the FolderBrowserDialog.
if (fbdPathRomsDir.ShowDialog() == DialogResult.OK)
{
// Set both variables for compatibility for Windows .Net and Mono.
this.DHEA.PathROMsDir = fbdPathRomsDir.SelectedPath;
txtPathROMsDir.Text = fbdPathRomsDir.SelectedPath;
}
// Dispose of the FolderBrowserDialog.
fbdPathRomsDir.Dispose();
// Enable all buttons.
EnableAllButtons();
}
/// <summary>
/// Changes the path to the ROMs deheadered directory.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ChangeROMsDeheaderedDir_Click(object sender, EventArgs e)
{
// Disable all buttons.
DisableAllButtons();
// Create and initialize a FolderBrowserDialog for the ROMs deheadered directory.
FolderBrowserDialog fbdPathRomsDeheadedDir = new FolderBrowserDialog
{
ShowNewFolderButton = true,
Description = "Please enter a path to the ROMs deheadered directory: ",
SelectedPath = Path.GetFullPath(DHEA.PathROMsDeheadedDir)
};
// Determine if the user selected a folder name from the FolderBrowserDialog.
if (fbdPathRomsDeheadedDir.ShowDialog() == DialogResult.OK)
{
// Set both variables for compatibility for Windows .Net and Mono.
this.DHEA.PathROMsDeheadedDir = fbdPathRomsDeheadedDir.SelectedPath;
txtPathROMsDeheaderedDir.Text = fbdPathRomsDeheadedDir.SelectedPath;
}
// Dispose of the FolderBrowserDialog.
fbdPathRomsDeheadedDir.Dispose();
// Enable all buttons.
EnableAllButtons();
}
/// <summary>
/// Cancels the current backgroundworker.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Cancel_Click(object sender, EventArgs e)
{
if (bgwDeheaderROMs.WorkerSupportsCancellation == true)
{
// Print to screen
Log.Information("Cancellation pending after current operation ...");
// Update the status message label.
UpdateStatusMessage("Cancellation Pending ...");
// Disable the cancel button.
tsddbCancel.Enabled = false;
// Cancel the asynchronous operation.
bgwDeheaderROMs.CancelAsync();
}
}
/// <summary>
/// Loads an options file.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void LoadOptions_Click(object sender, EventArgs e)
{
try
{
// Disable all buttons.
DisableAllButtons();
// Create and initialize an OpenFileDialog for the options file.
OpenFileDialog ofdOptions = new OpenFileDialog
{
DefaultExt = "*.xml",
Filter = "XML Files|*.xml",
Title = "Please enter a path to the options file: ",
InitialDirectory = Path.GetDirectoryName(DHEA.PathOptionsFile)
};
// 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.
DHEA.PathOptionsFile = ofdOptions.FileName;
// Select the Log tab.
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
// Load the options.
DHEA.LoadOptionsFromFile();
// Print to screen
Log.Information("Ready");
}
// Dispose of the OpenFileDialog.
ofdOptions.Dispose();
// Enable all buttons.
EnableAllButtons();
}
catch (Exception ex)
{
// Print to screen
Log.Error("Loading options failed");
Log.Error(ex.Message);
Log.Information("Ready");
}
}
/// <summary>
/// Saves an options file.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void SaveOptions_Click(object sender, EventArgs e)
{
try
{
// Disable all buttons.
DisableAllButtons();
// Create and initialize a SaveFileDialog for the options file.
SaveFileDialog sfdOptions = new SaveFileDialog
{
DefaultExt = "*.xml",
Filter = "XML Files|*.xml",
FileName = "Options - DeheadEmAll.xml",
Title = "Please enter a path to the options file: ",
InitialDirectory = Path.GetDirectoryName(DHEA.PathOptionsFile)
};
// 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.
DHEA.PathOptionsFile = sfdOptions.FileName;
// Select the Log tab.
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
// Save the options.
DHEA.SaveOptionsToFile();
// Print to screen
Log.Information("Ready");
}
// Dispose of the SaveFileDialog.
sfdOptions.Dispose();
// Enable all buttons.
EnableAllButtons();
}
catch (Exception ex)
{
// Print to screen
Log.Error("Saving options failed");
Log.Error(ex.Message);
Log.Information("Ready");
}
}
/// <summary>
/// Saves a log file.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void SaveLog_Click(object sender, EventArgs e)
{
try
{
// Disable all buttons.
DisableAllButtons();
// Create and initialize a SaveFileDialog for the log file.
SaveFileDialog sfdLog = new SaveFileDialog
{
DefaultExt = "*.txt",
Filter = "TXT Files|*.txt",
FileName = "DeheadEmAll-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.
DHEA.PathLogFile = sfdLog.FileName;
// Select the Log tab.
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
// Save the log.
SaveLogToFile(DHEA.PathLogFile);
// Print to screen
Log.Information("Ready");
}
// Dispose of the SaveFileDialog.
sfdLog.Dispose();
// Enable all buttons.
EnableAllButtons();
}
catch (Exception ex)
{
// Print to screen
Log.Error("Saving log file failed");
Log.Error(ex.Message);
Log.Information("Ready");
}
}
/// <summary>
/// Toggles the visibility of the log.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ViewLog_Click(object sender, EventArgs e)
{
if (tsmiLog.Checked)
{
tsmiLog.Checked = false;
tcMain.TabPages.Remove(tabLog);
}
else
{
tsmiLog.Checked = true;
tcMain.TabPages.Add(tabLog);
tcMain.SelectTab(tabLog);
}
}
/// <summary>
/// Toggles the visibility of the options.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ViewOptions_Click(object sender, EventArgs e)
{
if (tsmiOptions.Checked)
{
tsmiOptions.Checked = false;
tcMain.TabPages.Remove(tabOptions);
}
else
{
tsmiOptions.Checked = true;
tcMain.TabPages.Add(tabOptions);
tcMain.SelectTab(tabOptions);
}
}
/// <summary>
/// Toggles the visibility of the help.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ViewHelp_Click(object sender, EventArgs e)
{
if (tsmiHelp.Checked)
{
tsmiHelp.Checked = false;
tcMain.TabPages.Remove(tabHelp);
}
else
{
tsmiHelp.Checked = true;
tcMain.TabPages.Add(tabHelp);
tcMain.SelectTab(tabHelp);
}
}
/// <summary>
/// Toggles the visibility of the license.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ViewLicense_Click(object sender, EventArgs e)
{
if (tsmiLicense.Checked)
{
tsmiLicense.Checked = false;
tcMain.TabPages.Remove(tabLicense);
}
else
{
tsmiLicense.Checked = true;
tcMain.TabPages.Add(tabLicense);
tcMain.SelectTab(tabLicense);
}
}
/// <summary>
/// Toggles the visibility of the Donations.
/// </summary>
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);
}
}
/// <summary>
/// Toggles the visibility of the toolbar.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ViewToolbar_Click(object sender, EventArgs e)
{
if (tsMain.Visible)
{
tsMain.Visible = false;
tsmiToolba.Checked = false;
}
else
{
tsMain.Visible = true;
tsmiToolba.Checked = true;
}
}
/// <summary>
/// After the form is shown, performs the startup tasks.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Fprm_Shown(object sender, EventArgs e)
{
// Perform the application startup tasks.
bgwStartupTasks.RunWorkerAsync();
}
/// <summary>
/// Exits the WinForms app.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Exit_Click(object sender, EventArgs e)
{
Application.Exit();
}
/// <summary>
/// Check some things to make sure it is safe to exit the WinForms application.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Form_FormClosing(object sender, FormClosingEventArgs e)
{
if (bgwDeheaderROMs.IsBusy == true)
{
if (MessageBox.Show("The ROMs deheaderer is currently running. Exiting now may cause corrupt or incomplete files! Are you sure you want to exit now?", "Confirm Exit", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK)
{
e.Cancel = true;
}
}
}
/// <summary>
/// Enables all of the buttons.
/// </summary>
private void EnableAllButtons()
{
// Enable all Menu Item buttons.
tsmiCommand.Enabled = true;
tsmiExit.Enabled = true;
tsmiDeheaderROMs.Enabled = true;
tsmiLoadOptions.Enabled = true;
tsmiSaveOptions.Enabled = true;
tsmiSaveLog.Enabled = true;
// Enable all Toolbar buttons.
tsbDeheaderROMs.Enabled = true;
tsbLoadOptions.Enabled = true;
tsbSaveOptions.Enabled = true;
tsbSaveLog.Enabled = true;
// Enable all Options buttons.
txtPathROMsDir.Enabled = true;
txtPathROMsDeheaderedDir.Enabled = true;
// Enable all Options checkboxes.
chkA7800.Enabled = true;
chkFDS.Enabled = true;
chkLynx.Enabled = true;
chkNES.Enabled = true;
// Disable all Options comboboxes.
cbLanguage.Enabled = true;
cbLogLevel.Enabled = true;
}
/// <summary>
/// Disables all of the buttons.
/// </summary>
private void DisableAllButtons()
{
// Disable all Menu Item buttons.
tsmiCommand.Enabled = false;
tsmiExit.Enabled = false;
tsmiDeheaderROMs.Enabled = false;
tsmiLoadOptions.Enabled = false;
tsmiSaveOptions.Enabled = false;
tsmiSaveLog.Enabled = false;
// Disable all Toolbar buttons.
tsbDeheaderROMs.Enabled = false;
tsbLoadOptions.Enabled = false;
tsbSaveOptions.Enabled = false;
tsbSaveLog.Enabled = false;
// Disable all Options buttons.
txtPathROMsDir.Enabled = false;
txtPathROMsDeheaderedDir.Enabled = false;
// Disable all Options checkboxes.
chkA7800.Enabled = false;
chkFDS.Enabled = false;
chkLynx.Enabled = false;
chkNES.Enabled = false;
// Disable all Options comboboxes.
cbLanguage.Enabled = false;
cbLogLevel.Enabled = false;
}
/// <summary>
/// Updates the application title.
/// </summary>
/// <param name="strTitle"></param>
/// <returns></returns>
public bool UpdateTitle(string strTitle = "")
{
try
{
if (this.InvokeRequired && !this.IsDisposed)
{
Invoke(new MethodInvoker(delegate ()
{
// Update the application title.
this.Text = DHEA.AppName + " v" + DHEA.AppVersion + strTitle;
}));
}
else if (!this.IsDisposed)
{
// Update the application title.
this.Text = DHEA.AppName + " v" + DHEA.AppVersion + strTitle;
}
return true;
}
catch (Exception)
{
return false;
}
}
/// <summary>
/// Updates the progress status message label.
/// </summary>
/// <param name="strMsg"></param>
private void UpdateStatusMessage(string strMsg)
{
// Update the status message label.
tsslStatusMessage.Text = strMsg;
}
/// <summary>
/// Updates the deheader progress bar.
/// </summary>
/// <param name="intPercentage"></param>
private void UpdateDeheaderProgress(int intPercentage)
{
// Update the build progress status progress bar.
tspbDeheaderProgress.Value = intPercentage;
}
#endregion
#region Deheader ROMs
/// <summary>
/// Deheaders all of the selected ROMs.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void DeheadROMs_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.
tsddbCancel.Enabled = true;
// Change the log background color.
// rtblLog.BackColor = Color.LightGreen;
// Update the status message label.
UpdateStatusMessage("Deheadering ROMs ...");
// Print to screen
Log.Information("Deheadering all selected ROMs ...");
// Deheader ROMs.
bgwDeheaderROMs.RunWorkerAsync();
}
/// <summary>
/// Deheaders all of the selected ROMs.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void DeheaderROMs_DoWork(object sender, DoWorkEventArgs e)
{
try
{
// Declarations
BackgroundWorker worker = sender as BackgroundWorker; // Background worker
int intProgress = 0; // Background worker progress
int intCountTotalFilesProcessed = 0; // Total files processed
int intCounterTotalDeheaded = 0; // Total deheadered counter
int intCountArrDirFiles = 0; // Total loop count
string strPathROMsDir = DHEA.PathROMsDir; // Path to the ROMs directory
string strPathROMsDeheadedDir = DHEA.PathROMsDeheadedDir; // Path to the deheadered ROMs directory
// Checkers
bool boolPathROMsDirCheck = DHEA.PathROMsDirCheck();
bool boolPathROMsDeheadedDirCheck = DHEA.PathROMsDeheadedDirCheck();
// Check the paths and directories.
if (boolPathROMsDirCheck != false && boolPathROMsDeheadedDirCheck != false)
{
// Print to screen
Log.Information("Options: ROMs Directory (" + strPathROMsDir + ")");
Log.Information("Options: ROMsDeheaded Directory (" + strPathROMsDeheadedDir + ")");
// Get the directory files array and count.
string[] arrDirFiles = Directory.GetFiles(strPathROMsDir, "*.*", SearchOption.AllDirectories);
intCountArrDirFiles = arrDirFiles.Count();
// Create and start a stopwatch.
var stopWatch = new Stopwatch();
stopWatch.Start();
// Main loop - Deheader all of the ROMs.
foreach (string strPathFile in arrDirFiles)
{
FileInfo fiInputFile = new FileInfo(strPathFile);
if ((fiInputFile.Extension == ".fds" || fiInputFile.Extension == ".nes") && (DHEA.FDS == true || DHEA.NES == true) && fiInputFile.Length > 16)
{
Log.Information("Deheadering: " + fiInputFile.FullName);
// UpdateStatusMessage("Deheadering " + (intCountTotalFilesProcessed + 1) + " of " + intCountArrDirFiles + " ROMs ...");
int intOutputFileLength = (int)(fiInputFile.Length - 16);
byte[] arrOutputFileBytes = new byte[intOutputFileLength];
using (BinaryReader reader = new BinaryReader(new FileStream(fiInputFile.FullName, FileMode.Open)))
{
reader.BaseStream.Seek(16, SeekOrigin.Begin);
reader.Read(arrOutputFileBytes, 0, intOutputFileLength);
}
File.WriteAllBytes(Path.Combine(strPathROMsDeheadedDir, fiInputFile.Name), arrOutputFileBytes);
intCounterTotalDeheaded++;
}
else if (fiInputFile.Extension == ".lnx" && DHEA.Lynx == true && fiInputFile.Length > 64)
{
Log.Information("Deheadering: " + fiInputFile.FullName);
// UpdateStatusMessage("Deheadering " + (intCountTotalFilesProcessed + 1) + " of " + intCountArrDirFiles + " ROMs ...");
int intOutputFileLength = (int)(fiInputFile.Length - 64);
byte[] arrOutputFileBytes = new byte[intOutputFileLength];
using (BinaryReader reader = new BinaryReader(new FileStream(fiInputFile.FullName, FileMode.Open)))
{
reader.BaseStream.Seek(64, SeekOrigin.Begin);
reader.Read(arrOutputFileBytes, 0, intOutputFileLength);
}
File.WriteAllBytes(Path.Combine(strPathROMsDeheadedDir, fiInputFile.Name), arrOutputFileBytes);
intCounterTotalDeheaded++;
}
else if (fiInputFile.Extension == ".a78" && DHEA.A7800 == true && fiInputFile.Length > 128)
{
Log.Information("Deheadering: " + fiInputFile.FullName);
// UpdateStatusMessage("Deheadering " + (intCountTotalFilesProcessed + 1) + " of " + intCountArrDirFiles + " ROMs ...");
int intOutputFileLength = (int)(fiInputFile.Length - 128);
byte[] arrOutputFileBytes = new byte[intOutputFileLength];
using (BinaryReader reader = new BinaryReader(new FileStream(fiInputFile.FullName, FileMode.Open)))
{
reader.BaseStream.Seek(128, SeekOrigin.Begin);
reader.Read(arrOutputFileBytes, 0, intOutputFileLength);
}
File.WriteAllBytes(Path.Combine(strPathROMsDeheadedDir, fiInputFile.Name), arrOutputFileBytes);
intCounterTotalDeheaded++;
}
else
{
Log.Information("Skipping: " + fiInputFile.FullName);
// UpdateStatusMessage("Skipping " + (intCountTotalFilesProcessed + 1) + " of " + intCountArrDirFiles + " ROMs ...");
}
// Increment the progress bar.
intCountTotalFilesProcessed++;
intProgress = (int)((double)intCountTotalFilesProcessed / (double)intCountArrDirFiles * 100);
worker.ReportProgress(intProgress);
// Check if the background worker is pending cancellation.
if (worker.CancellationPending == true)
{
e.Cancel = true;
break;
}
}
// Stop the stopwatch.
stopWatch.Stop();
// Print to screen
Log.Information("Deheadered " + intCounterTotalDeheaded + " ROMs in " + stopWatch.Elapsed);
}
}
catch (Exception ex)
{
// Print to screen
Log.Error("Error: " + ex.Message);
}
}
/// <summary>
/// DeheaderROMs ProgressChanged.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void DeheaderROMs_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
// Display the changed progress status.
UpdateDeheaderProgress(e.ProgressPercentage);
}
/// <summary>
/// DeheaderROMs RunWorkerCompleted
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void DeheaderROMs_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
if (e.Cancelled)
{
Log.Warning("Deheadering all selected ROMs canceled");
Log.Information("Ready");
}
else if (e.Error != null)
{
Log.Error("Deheadering all selected ROMs failed");
Log.Error(e.Error.Message);
Log.Information("Ready");
}
else
{
Log.Information("Deheadering all selected ROMs completed");
Log.Information("Ready");
}
// Reset the log background color.
// rtblLog.BackColor = SystemColors.Control;
// Reset the progress bar.
UpdateDeheaderProgress(0);
// Update the status message label.
UpdateStatusMessage("Ready");
// Disable the cancel button.
tsddbCancel.Enabled = false;
// Enable all buttons.
EnableAllButtons();
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,36 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Serilog;
using Serilog.Formatting.Display;
using Serilog.Sinks.LogEmAll;
namespace DeheadEmAll_GUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
ConfigureSerilog();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmDeheadEmAll());
}
/// <summary>
/// Configure the logger.
/// </summary>
public static void ConfigureSerilog()
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Information()
.WriteToRichTextBox(new MessageTemplateTextFormatter("{Level:u4}: {Message:lj}{NewLine}{Exception}"))
.CreateLogger();
}
}
}

View File

@@ -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("DeheadEmAll-GUI")]
[assembly: AssemblyDescription("The Original Automated ROM Deheaderer")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("DeheadEmAll")]
[assembly: AssemblyProduct("DeheadEmAll-GUI")]
[assembly: AssemblyCopyright("Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved")]
[assembly: AssemblyTrademark("DeheadEmAll - The Original Automated ROM Deheaderer")]
[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("fcebbe29-8a30-4e30-9eee-df5f44922223")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.8")]
[assembly: AssemblyFileVersion("1.5.8")]

View File

@@ -0,0 +1,193 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DeheadEmAll_GUI.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[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("DeheadEmAll_GUI.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Cancel_16x16 {
get {
object obj = ResourceManager.GetObject("Cancel_16x16", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap ChangeOption_16x16 {
get {
object obj = ResourceManager.GetObject("ChangeOption_16x16", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap DeheadROMs_32x32 {
get {
object obj = ResourceManager.GetObject("DeheadROMs_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Donate_32x32 {
get {
object obj = ResourceManager.GetObject("Donate_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Exit_32x32 {
get {
object obj = ResourceManager.GetObject("Exit_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Help_32x32 {
get {
object obj = ResourceManager.GetObject("Help_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap License_32x32 {
get {
object obj = ResourceManager.GetObject("License_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap LoadOptions_32x32 {
get {
object obj = ResourceManager.GetObject("LoadOptions_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Log_32x32 {
get {
object obj = ResourceManager.GetObject("Log_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Options_32x32 {
get {
object obj = ResourceManager.GetObject("Options_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap SaveLog_32x32 {
get {
object obj = ResourceManager.GetObject("SaveLog_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap SaveOptions_32x32 {
get {
object obj = ResourceManager.GetObject("SaveOptions_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Toolbar_32x32 {
get {
object obj = ResourceManager.GetObject("Toolbar_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@@ -0,0 +1,160 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Cancel_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Cancel_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ChangeOption_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\ChangeOption_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="DeheadROMs_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\DeheadROMs_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Donate_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Donate_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Exit_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Exit_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Help_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Help_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="License_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\License_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LoadOptions_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\LoadOptions_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Log_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Log_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Options_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Options_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SaveLog_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\SaveLog_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SaveOptions_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\SaveOptions_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Toolbar_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Toolbar_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DeheadEmAll_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;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Serilog" version="2.12.0" targetFramework="net48" />
<package id="Serilog.Sinks.LogEmAll" version="0.0.7" targetFramework="net48" />
</packages>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="..\packages\ILMerge.3.0.41\build\ILMerge.props" Condition="Exists('..\packages\ILMerge.3.0.41\build\ILMerge.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{865F612F-0CAD-4A93-BCEA-3DF167DB2BC7}</ProjectGuid>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<ReleaseName>DeheadEmAll</ReleaseName>
<ReleaseVersion>1.5.8</ReleaseVersion>
<ReleasePortableName>DeheadEmAll-Portable</ReleasePortableName>
<ReleaseInstallerName>DeheadEmAll-Installer</ReleaseInstallerName>
<ReleasePackageName>DeheadEmAll-Package</ReleasePackageName>
<ReleaseSourceName>DeheadEmAll-Source</ReleaseSourceName>
<ReleaseDLLName>DeheadEmAll</ReleaseDLLName>
<ReleaseCLIName>DeheadEmAll-CLI</ReleaseCLIName>
<ReleaseGUIName>DeheadEmAll-GUI</ReleaseGUIName>
<PortableDir>$(OutputPath)Portable\</PortableDir>
<ILMergeDir>$(OutputPath)ILMerge\</ILMergeDir>
<PackageDir>$(OutputPath)Package</PackageDir>
<InstallerDir>$(OutputPath)Installer\</InstallerDir>
<SourceDir>$(OutputPath)Source\</SourceDir>
<ReleasesDir>$(OutputPath)Releases\</ReleasesDir>
</PropertyGroup>
<Target Name="Build">
<CallTarget Targets="Clean" />
<CallTarget Condition="$(Configuration) == 'Release'" Targets="CreateILMergeFiles" />
<CallTarget Targets="CreatePortableFiles" />
<!-- <CallTarget Targets="CreateOptionsFile" /> -->
<CallTarget Targets="CreatePackageFiles" />
<CallTarget Targets="CreateInstallerFiles" />
<CallTarget Targets="CreateSourceFiles" />
<CallTarget Targets="CreateReleasesFiles" />
</Target>
<Target Name="Clean">
<RemoveDir Condition="$(Configuration) == 'Release'" Directories="$(ILMergeDir)" />
<MakeDir Condition="$(Configuration) == 'Release'" Directories="$(ILMergeDir)" />
<RemoveDir Directories="$(PortableDir)" />
<MakeDir Directories="$(PortableDir)" />
<RemoveDir Directories="$(PackageDir)" />
<MakeDir Directories="$(PackageDir)" />
<RemoveDir Directories="$(InstallerDir)" />
<MakeDir Directories="$(InstallerDir)" />
<RemoveDir Directories="$(SourceDir)" />
<MakeDir Directories="$(SourceDir)" />
<RemoveDir Directories="$(ReleasesDir)" />
<MakeDir Directories="$(ReleasesDir)" />
</Target>
<Target Name="CreateILMergeFiles">
<Exec Command="%22$(SolutionDir)packages\ILMerge.3.0.41\tools\net452\ILMerge.exe%22 /out:%22$(ILMergeDir)$(ReleaseCLIName).exe%22 %22$(SolutionDir)$(ReleaseCLIName)\bin\$(Configuration)\$(ReleaseCLIName).exe%22 %22$(SolutionDir)$(ReleaseCLIName)\bin\$(Configuration)\*.dll%22 /wildcards" />
<Exec Command="%22$(SolutionDir)packages\ILMerge.3.0.41\tools\net452\ILMerge.exe%22 /out:%22$(ILMergeDir)$(ReleaseGUIName).exe%22 %22$(SolutionDir)$(ReleaseGUIName)\bin\$(Configuration)\$(ReleaseGUIName).exe%22 %22$(SolutionDir)$(ReleaseGUIName)\bin\$(Configuration)\*.dll%22 /wildcards" />
</Target>
<Target Name="CreatePortableFiles">
<ItemGroup>
<MySourceBINs Condition="$(Configuration) == 'Debug'" Include="$(SolutionDir)$(ReleaseCLIName)\bin\$(Configuration)\**\*.*;$(SolutionDir)$(ReleaseGUIName)\bin\$(Configuration)\**\*.*;$(SolutionDir)$(ReleaseDLLName)\bin\$(Configuration)\**\*.*;" />
<MySourceBINs Condition="$(Configuration) == 'Release'" Include="$(ILMergeDir)\**\*.exe;" />
<MySourceBASHes Include="$(SolutionDir)$(ReleaseCLIName)\Resources\BASHes\**\*.*;" />
<MySourceBatches Include="$(SolutionDir)$(ReleaseCLIName)\Resources\Batches\**\*.*;" />
<MySourceDocs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Docs\**\*.txt;" />
<MySourceLogs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Logs\**\*.txt;" />
<MySourceOptions Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Options\**\*.txt;" />
<MySourceROMs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\ROMs\**\*.txt;" />
<MySourceROMsDeheaded Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\ROMsDeheaded\**\*.txt;" />
</ItemGroup>
<Copy SourceFiles="@(MySourceBINs)" DestinationFiles="@(MySourceBINs->'$(PortableDir)\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceBASHes)" DestinationFiles="@(MySourceBASHes->'$(PortableDir)\BASHes\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceBatches)" DestinationFiles="@(MySourceBatches->'$(PortableDir)\Batches\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceDocs)" DestinationFiles="@(MySourceDocs->'$(PortableDir)\Docs\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceLogs)" DestinationFiles="@(MySourceLogs->'$(PortableDir)\Logs\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceOptions)" DestinationFiles="@(MySourceOptions->'$(PortableDir)\Options\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceROMs)" DestinationFiles="@(MySourceROMs->'$(PortableDir)\ROMs\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceROMsDeheaded)" DestinationFiles="@(MySourceROMsDeheaded->'$(PortableDir)\ROMsDeheaded\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="CreateOptionsFile">
<Exec Command="$(PortableDir)$(ReleaseCLIName).exe -saveoptions" />
</Target>
<Target Name="CreatePackageFiles">
<Delete Files="$(PackageDir)$(ReleaseName).$(ReleaseVersion).nuget" />
<Exec Command="nuget pack %22$(SolutionDir)$(ReleaseDLLName)\$(ReleaseDLLName).csproj%22 -Properties Configuration=$(Configuration) -OutputDirectory $(PackageDir) -Version $(ReleaseVersion)" />
</Target>
<Target Name="CreateInstallerFiles">
<ItemGroup>
<MySourceInstallerFiles Condition="$(Configuration) == 'Debug'" Include="$(SolutionDir)$(ReleaseInstallerName)\bin\$(Configuration)\**\*.*" />
<MySourceInstallerFiles Condition="$(Configuration) == 'Release'" Include="$(SolutionDir)$(ReleaseInstallerName)\bin\$(Configuration)\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(MySourceInstallerFiles)" DestinationFiles="@(MySourceInstallerFiles->'$(InstallerDir)\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="CreateSourceFiles">
<ItemGroup>
<MySourceSourceFiles Include="$(SolutionDir)**\*;" Exclude="$(SolutionDir)**\obj\**\*.*;$(SolutionDir)**\bin\**\*.*;$(SolutionDir)**\misc\**\*.*;$(SolutionDir)**\packages\**\*.*;$(SolutionDir)**\.git\**\*.*;$(SolutionDir)**\.vs\**\*.*;" />
</ItemGroup>
<Copy SourceFiles="@(MySourceSourceFiles)" DestinationFiles="@(MySourceSourceFiles->'$(SourceDir)\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="CreateReleasesFiles">
<Delete Files="$(ReleasesDir)$(ReleasePortableName).$(ReleaseVersion).zip" />
<ZipDirectory SourceDirectory="$(PortableDir)" DestinationFile="$(ReleasesDir)$(ReleasePortableName).$(ReleaseVersion).zip" />
<Delete Files="$(ReleasesDir)$(ReleaseInstallerName).$(ReleaseVersion).zip" />
<ZipDirectory SourceDirectory="$(InstallerDir)" DestinationFile="$(ReleasesDir)$(ReleaseInstallerName).$(ReleaseVersion).zip" />
<Delete Files="$(ReleasesDir)$(ReleasePackageName).$(ReleaseVersion).zip" />
<ZipDirectory SourceDirectory="$(PackageDir)" DestinationFile="$(ReleasesDir)$(ReleasePackageName).$(ReleaseVersion).zip" />
<Delete Files="$(ReleasesDir)$(ReleaseSourceName).$(ReleaseVersion).zip" />
<ZipDirectory SourceDirectory="$(SourceDir)" DestinationFile="$(ReleasesDir)$(ReleaseSourceName).$(ReleaseVersion).zip" />
</Target>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>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}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\ILMerge.3.0.41\build\ILMerge.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ILMerge.3.0.41\build\ILMerge.props'))" />
</Target>
</Project>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ILMerge" version="3.0.41" targetFramework="net40" />
</packages>

65
DeheadEmAll.sln Normal file
View File

@@ -0,0 +1,65 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33627.172
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeheadEmAll-CLI", "DeheadEmAll-CLI\DeheadEmAll-CLI.csproj", "{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeheadEmAll-GUI", "DeheadEmAll-GUI\DeheadEmAll-GUI.csproj", "{FCEBBE29-8A30-4E30-9EEE-DF5F44922223}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DeheadEmAll-Installer", "DeheadEmAll-Installer\DeheadEmAll-Installer.vdproj", "{BBD7564F-FF97-4338-A12F-A78726C8D866}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeheadEmAll-Release", "DeheadEmAll-Release\DeheadEmAll-Release.csproj", "{865F612F-0CAD-4A93-BCEA-3DF167DB2BC7}"
ProjectSection(ProjectDependencies) = postProject
{FCEBBE29-8A30-4E30-9EEE-DF5F44922223} = {FCEBBE29-8A30-4E30-9EEE-DF5F44922223}
{BBD7564F-FF97-4338-A12F-A78726C8D866} = {BBD7564F-FF97-4338-A12F-A78726C8D866}
{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47} = {E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeheadEmAll", "DeheadEmAll\DeheadEmAll.csproj", "{06F4A6D4-EE7F-47D3-947C-A259F1FC3D84}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EBF65DF7-4E58-433C-991C-0A2FE3F52534}"
ProjectSection(SolutionItems) = preProject
CHANGELOG.md = CHANGELOG.md
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md
LICENSE = LICENSE
README.md = README.md
TODO.md = TODO.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Description = The Original Automated ROM Deheaderer
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E26A5DBC-0C0A-4786-A3FD-EF3740C2DC47}.Release|Any CPU.Build.0 = Release|Any CPU
{FCEBBE29-8A30-4E30-9EEE-DF5F44922223}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FCEBBE29-8A30-4E30-9EEE-DF5F44922223}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FCEBBE29-8A30-4E30-9EEE-DF5F44922223}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FCEBBE29-8A30-4E30-9EEE-DF5F44922223}.Release|Any CPU.Build.0 = Release|Any CPU
{BBD7564F-FF97-4338-A12F-A78726C8D866}.Debug|Any CPU.ActiveCfg = Debug
{BBD7564F-FF97-4338-A12F-A78726C8D866}.Debug|Any CPU.Build.0 = Debug
{BBD7564F-FF97-4338-A12F-A78726C8D866}.Release|Any CPU.ActiveCfg = Release
{BBD7564F-FF97-4338-A12F-A78726C8D866}.Release|Any CPU.Build.0 = Release
{865F612F-0CAD-4A93-BCEA-3DF167DB2BC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{865F612F-0CAD-4A93-BCEA-3DF167DB2BC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{865F612F-0CAD-4A93-BCEA-3DF167DB2BC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{865F612F-0CAD-4A93-BCEA-3DF167DB2BC7}.Release|Any CPU.Build.0 = Release|Any CPU
{06F4A6D4-EE7F-47D3-947C-A259F1FC3D84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{06F4A6D4-EE7F-47D3-947C-A259F1FC3D84}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06F4A6D4-EE7F-47D3-947C-A259F1FC3D84}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06F4A6D4-EE7F-47D3-947C-A259F1FC3D84}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {59BBAD92-3CF4-41B5-8C2A-04F8F9C9F2AB}
EndGlobalSection
EndGlobal

BIN
DeheadEmAll/App.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

1110
DeheadEmAll/DeheadEmAll.cs Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{06F4A6D4-EE7F-47D3-947C-A259F1FC3D84}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DeheadEmAll</RootNamespace>
<AssemblyName>DeheadEmAll</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\DeheadEmAll.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>DeheadEmAll.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>App.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.2.12.0\lib\net47\Serilog.dll</HintPath>
</Reference>
<Reference Include="Serilog.Sinks.LogEmAll, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.Sinks.LogEmAll.0.0.7\lib\net461\Serilog.Sinks.LogEmAll.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DeheadEmAll.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="DeheadEmAll.snk" />
<None Include="packages.config" />
<None Include="Resources\Icons\DeheadEmAll.ico" />
</ItemGroup>
<ItemGroup>
<None Include="DeheadEmAll.nuspec" />
<None Include="Resources\Docs\DeheadEmAll-HELP.txt" />
<None Include="Resources\Docs\DeheadEmAll-LICENSE.rtf" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Docs\DeheadEmAll-HELP-CMD.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Docs\DeheadEmAll-LICENSE.txt" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Images\DeheadEmAll.png" />
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
<None Include="Resources\Docs\DeheadEmAll-DONATIONS.txt" />
<Content Include="Resources\Output\Logs\put your logs in this directory.txt" />
<Content Include="Resources\Output\Options\put your options files in this directory.txt" />
<Content Include="Resources\Output\ROMsDeheaded\put your deheaded roms in this directory.txt" />
<Content Include="Resources\Output\ROMs\put your roms in this directory.txt" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>DeheadEmAll</id>
<title>DeheadEmAll</title>
<version>0.0.0</version>
<description>
Use the DeheadEmAll Library (.dll) to deheader ROMs from anywhere in your application.
First, install or add the DeheadEmAll Nuget Package to your application by downloading the [nuget.nupkg](https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll/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 DeheadEmAll Object from anywhere in your application like the following:
```
DeheadEmAll.DeheadEmAll dhea = new DeheadEmAll.DeheadEmAll();
```
</description>
<authors>DeheadEmAll</authors>
<license type="file">LICENSE.txt</license>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<icon>icon.png</icon>
<iconUrl>https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll/DeheadEmAll/Resources/Images/DeheadEmAll.png</iconUrl>
<projectUrl>https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll</projectUrl>
<releaseNotes>See https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll/releases for release notes.</releaseNotes>
<copyright>Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved</copyright>
<tags>DeheadEmAll Deheader ROMs Automated ROM Deheaderer Dehead WindowsForms WinForms Windows Forms Application Console</tags>
<repository type="git" url="https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll.git" />
<dependencies>
<dependency id="Serilog" version="2.12.0" />
<dependency id="Serilog.Sinks.Console" version="4.1.0" />
<dependency id="Serilog.Sinks.LogEmAll" version="0.0.5" />
</dependencies>
</metadata>
<files>
<file src="Resources\Docs\DeheadEmAll-LICENSE.txt" target="LICENSE.txt" />
<file src="Resources\Images\DeheadEmAll.png" target="icon.png" />
</files>
</package>

BIN
DeheadEmAll/DeheadEmAll.snk Normal file

Binary file not shown.

View File

@@ -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("DeheadEmAll")]
[assembly: AssemblyDescription("The Original Automated ROM Deheaderer")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("DeheadEmAll")]
[assembly: AssemblyProduct("DeheadEmAll")]
[assembly: AssemblyCopyright("Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved")]
[assembly: AssemblyTrademark("DeheadEmAll - The Original Automated ROM Deheaderer")]
[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("06f4a6d4-ee7f-47d3-947c-a259f1fc3d84")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.8")]
[assembly: AssemblyFileVersion("1.5.8")]

View File

@@ -0,0 +1,149 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DeheadEmAll.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[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("DeheadEmAll.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to ------------------------------------------------------------------
///DeheadEmAll - Donations version 20240901
///Copyright (c) 2016-2024 DeheadEmAll - All Rights Reserved
///------------------------------------------------------------------
///
///As you may know, a lot of time, effort and hard work goes into the
///development and maintenance of a world class automated ROM
///deheaderer. If you like or use this software regularly, maybe you
///would like to make a donation.
///
///Please use the following donation link to ma [rest of string was truncated]&quot;;.
/// </summary>
public static string DeheadEmAll_DONATIONS {
get {
return ResourceManager.GetString("DeheadEmAll_DONATIONS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ---------------------------------------------------------------
///DeheadEmAll - Help version 20240901
///Copyright (c) 2016-2024 DeheadEmAll - All Rights Reserved
///---------------------------------------------------------------
///
///[I] About
///[II] Requirements
///[III] Installation
///[IV] How to Deheader ROMs
///[V] Contributing
///[VI] Contact
///[VII] Disclaimers
///
///[I] About
///---------------------------------------------------------------
///DeheadEmAll or DHEA is the original automated ROM deheaderer. Some ROM sets co [rest of string was truncated]&quot;;.
/// </summary>
public static string DeheadEmAll_HELP {
get {
return ResourceManager.GetString("DeheadEmAll_HELP", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ------------------------------------------------------------------
///DeheadEmAll - Help - CMD version 20240901
///Copyright (c) 2016-2024 DeheadEmAll - All Rights Reserved
///------------------------------------------------------------------
///
///Usage:
/// DeheadEmAll-CLI.exe [-command] [option:]
/// Options that contain spaces must be enclosed in quotations
/// Options may be specified in any order
/// Only one command may be be used
/// If no command is passed then -deheadall will be used
///
///----------------------------- [rest of string was truncated]&quot;;.
/// </summary>
public static string DeheadEmAll_HELP_CMD {
get {
return ResourceManager.GetString("DeheadEmAll_HELP_CMD", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ---------------------------------------------------------------
///DeheadEmAll - License version 20240901
///Copyright (c) 2016-2024 DeheadEmAll - 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. DeheadEmAll may publish revised and/or [rest of string was truncated]&quot;;.
/// </summary>
public static string DeheadEmAll_LICENSE {
get {
return ResourceManager.GetString("DeheadEmAll_LICENSE", resourceCulture);
}
}
}
}

View File

@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="DeheadEmAll_DONATIONS" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\DeheadEmAll-DONATIONS.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="DeheadEmAll_HELP" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\DeheadEmAll-HELP.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="DeheadEmAll_HELP_CMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\DeheadEmAll-HELP-CMD.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="DeheadEmAll_LICENSE" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\DeheadEmAll-LICENSE.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
</root>

View File

@@ -0,0 +1,15 @@
------------------------------------------------------------------
DeheadEmAll - Donations version 20250729
Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved
------------------------------------------------------------------
As you may know, a lot of time, effort and hard work goes into the
development and maintenance of a world class automated ROM
deheaderer. If you like or use this software regularly, maybe you
would like to make a donation.
Please use the following donation link to make a donation:
https://www.devemall.int.eu.org/index.php?action=donations
Home Page: https://www.devemall.int.eu.org/

View File

@@ -0,0 +1,54 @@
------------------------------------------------------------------
DeheadEmAll - Help - CMD version 20250729
Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved
------------------------------------------------------------------
Usage:
DeheadEmAll-CLI.exe [-command] [option:]
Options that contain spaces must be enclosed in quotations
Options may be specified in any order
Only one command may be be used
If no command is passed then -deheadall will be used
------------------------------------------------------------------
Deheader All ROMs Example:
DeheadEmAll-CLI.exe -deheadall
Deheader All Selected ROMs Example:
DeheadEmAll-CLI.exe -deheadallselected
------------------------------------------------------------------
WARNING:
Using invalid options values may cause this app to crash!
------------------------------------------------------------------
Standard Commands:
-deheadall Deheader all FDS/NES/A7800/Lynx ROMs
-deheadallselected Deheader all selected ROMs
-deheadfds Deheader all FDS (.fds) ROMs
-deheadnes Deheader all NES (.nes) ROMs
-deheada7800 Deheader all A7800 (.a78) ROMs
-deheadlynx Deheader all Lynx (.lnx) ROMs
-saveoptions Save a new default options file
-help Print the help
-donations Print the donations information
-license Print the license
-version Print the version
------------------------------------------------------------------
Path Options:
RD: Path to the ROMs directory
RE: Path to the deheadered ROMs directory
LF: Path to the log file
------------------------------------------------------------------
Developer Options:
LA: Language
en - DEFAULT
LL: Log level
Information - DEFAULT

View File

@@ -0,0 +1,99 @@
---------------------------------------------------------------
DeheadEmAll - Help version 20250729
Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved
---------------------------------------------------------------
[I] About
[II] Requirements
[III] Installation
[IV] How to Deheader ROMs
[V] Contributing
[VI] Contact
[VII] Disclaimers
[I] About
---------------------------------------------------------------
DeheadEmAll or DHEA is the original automated ROM deheaderer. Some ROM sets conatin headered ROMs, some sets contain deheadered ROMs. Use this software to deheader your headered ROMs.
DeheadEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, deheadering all of your ROMs is easy. Just run DeheadEmAll to deheader all of your ROMs.
Probably the easiest way to deheader your ROMs is to just put your ROMs into the ROMs directory and run DeheadEmAll to deheader everything using the following parameters:
* (.fds) - Nintendo Famicom Disk System files will be deheadered.
* (.nes) - Nintendo Entertainment System files will be deheadered.
* (.a78) - Atari 7800 files will be deheadered.
* (.lnx) - Atari Lynx files will be deheadered.
* ROMs in all sub directories will be recursively deheadered.
* No original ROMs will be moved or deleted.
* Deheadered ROMs will be placed in the ROMsDeheaded directory overwriting any existing deheadered ROMs with the same name.
If you happen to like bullshit, DeheadEmAll can also accept commands and options from the command line. For command line help, run the -help command.
[II] Requirements
---------------------------------------------------------------
This software has been tested and verified working on Windows, Linux and Mac using .NET 4.8 or Mono.
[III] Installation
---------------------------------------------------------------
This app is designed to run on various operating systems, using .NET or Mono. Windows already comes with .NET Framework, but you can still install and use Mono if you'd like.
First, if you are installing Mono, you should switch to the root user or System Administrator to install and use Mono and then switch to your downloademall user to install and use DownloadEmAll.
Next, download and unzip the 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 DHEA on my Windows C:\ drive or in my Linux ~/ (home) directory. My installation layout looks like this:
C:\DHEA\BASHes\
C:\DHEA\Batches\
C:\DHEA\Docs\
C:\DHEA\Logs\
C:\DHEA\Options\
C:\DHEA\ROMs\
C:\DHEA\ROMsDeheaded\
C:\DHEA\DeheadEmAll-CLI.exe
C:\DHEA\DeheadEmAll-GUI.exe
or
~/DHEA/BASHes/
~/DHEA/Batches/
~/DHEA/Docs/
~/DHEA/Logs/
~/DHEA/Options/
~/DHEA/ROMs/
~/DHEA/ROMsDeheaded/
~/DHEA/DeheadEmAll-CLI.exe
~/DHEA/DeheadEmAll-GUI.exe
After this app is installed, you can create a new options file using the GUI or CLI version.
[IV] How to Deheader ROMs
---------------------------------------------------------------
Step 1)
Put your ROMs into your ROMs directory. DeheadEmAll is recursive. You can put ROMs into sub directories.
Step 2)
If you like using a graphical interface, run the DeheadEmAll GUI, check the ROMs that you want to deheader and click the Dehead ROMs button to deheader all of your ROMs.
If you like using a command line interface, run the DeheadEmAll CLI directly or use some of the provided Windows Batch files to deheader all of your ROMs. Optionally, you may pass commands and options to the DeheadEmAll CLI. The proper syntax and help is available with the -help command.
[V] 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
[VI] Contact
---------------------------------------------------------------
GitEmAll: https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll
[VII] Disclaimers
---------------------------------------------------------------
We do not upload, share, distribute or provide links to anything illegal, including ROMs or patches.

Binary file not shown.

View File

@@ -0,0 +1,37 @@
---------------------------------------------------------------
DeheadEmAll - License version 20250729
Copyright (c) 2016-2025 DeheadEmAll - 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. DeheadEmAll 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
DeheadEmAll 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 DEHEADEMALL 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 DEHEADEMALL 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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1 @@
This file can be deleted.

View File

@@ -0,0 +1 @@
This file can be deleted.

View File

@@ -0,0 +1 @@
This file can be deleted.

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Serilog" version="2.12.0" targetFramework="net48" />
<package id="Serilog.Sinks.LogEmAll" version="0.0.7" targetFramework="net48" />
</packages>

37
LICENSE Normal file
View File

@@ -0,0 +1,37 @@
***************************************************************
DeheadEmAll - License version 20250729
Copyright (c) 2016-2025 DeheadEmAll - 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. DeheadEmAll 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
DeheadEmAll 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 DEHEADEMALL 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 DEHEADEMALL 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.

57
README.md Normal file
View File

@@ -0,0 +1,57 @@
# @DeheadEmAll
### The Original Automated ROM Deheaderer
## About
DeheadEmAll or DHEA is the original automated ROM deheaderer. Some ROM sets conatin headered ROMs, some sets contain deheadered ROMs. Use this software to deheader your headered ROMs.
DeheadEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, deheadering all of your ROMs is easy. Just run DeheadEmAll to deheader all of your ROMs.
Probably the easiest way to deheader your ROMs is to just put your ROMs into the ROMs directory and run DeheadEmAll to deheader everything using the following parameters:
* (.fds) - Nintendo Famicom Disk System files will be deheadered.
* (.nes) - Nintendo Entertainment System files will be deheadered.
* (.a78) - Atari 7800 files will be deheadered.
* (.lnx) - Atari Lynx files will be deheadered.
* ROMs in all sub directories will be recursively deheadered.
* No original ROMs will be moved or deleted.
* Deheadered ROMs will be placed in the ROMsDeheaded directory overwriting any existing deheadered ROMs with the same name.
If you happen to like bullshit, DeheadEmAll can also accept commands and options from the command line. For command line help, run the -help command.
## 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
* DeheadEmAll - Class Library
* DeheadEmAll-CLI - Console App
* DeheadEmAll-GUI - Windows Forms App
* DeheadEmAll-Release - Release Project
* DeheadEmAll-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/DeheadEmAll](https://gitemall.devemall.int.eu.org/TommySalami/DeheadEmAll "GitEmAll")
---
###### Copyright (c) 2016-2025 DeheadEmAll - All Rights Reserved v2025-07-29-00

5
TODO.md Normal file
View File

@@ -0,0 +1,5 @@
### To Do
* Nothing to do
### Completed Tasks
* Develop initial release