Add project files.

This commit is contained in:
2025-07-21 23:19:39 -06:00
commit 976150ab4b
101 changed files with 13369 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/

23
CHANGELOG.md Normal file
View File

@@ -0,0 +1,23 @@
Version 1.5.7 - 2025-07-21
* Update repository info and related URLs
* Minor changes
Version 1.5.6 - 2024-09-01
* Update repository info and related URLs
* Update some NuGet Packages
* Minor changes
Version 1.5.5 - 2023-05-20
* Rename BuildEmAll to PatchEmAll
* Minor code changes
Version 1.5.4 - 2023-04-11
* Update to .NET Framework 4.8
* Update all NuGet Packages
* Update Release project
* Update Installer project
* Update and add resource files

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.

25
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,25 @@
# @PatchEmAll
### The Original Automated ROM Patcher
## Contributing
Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a:
* Collector
* Database Administrator
* Datter
* Developer
* Dumper
* Graphic Artist
* Translator
* Player
* Tester
Feel free to:
* Fork the repository
* Create an issue
* Branch your repository with the issue number and a meaningful name related to the changes you are making
* Create a pull request
## Contact
GitEmAll: [https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll](https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll "GitEmAll")
---
###### Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved v2025-07-21-00

42
LICENSE Normal file
View File

@@ -0,0 +1,42 @@
-------------------------------------------------------------------------------
PatchEmAll - License version 20250721
Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved
***************************************************************
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Redistributions in any form are not permitted whatsoever,
under any conditions.
2. This software may not be reverse engineered, decompiled,
or disassembled.
3. PatchEmAll may publish revised and/or new versions of the
license from time to time. Each version will be given a
distinguishing version number. No one other than
PatchEmAll has the right to modify the terms applicable
to covered code created under this License.
4. It is your responsibility to use this software in accordance
with all applicable laws.
***************************************************************
THIS SOFTWARE IS PROVIDED BY THE PATCHEMALL DEVELOPMENT TEAM
'AS IS' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE PATCHEMALL DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
***************************************************************
This product includes Xdelta software, freely available from
<http://www.xdelta.org/>

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
PatchEmAll-CLI/App.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,108 @@
<?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>{2D9F35C9-4274-429F-851E-96DAE240B59E}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>PatchEmAll_CLI</RootNamespace>
<AssemblyName>PatchEmAll-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\PatchEmAll-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>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PatchEmAll\PatchEmAll.csproj">
<Project>{956e3b6c-eee3-44a9-be64-7b3ae0238924}</Project>
<Name>PatchEmAll</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="Resources\BASHes\PatchEmAll-Build-Patches-Dat.sh" />
<None Include="Resources\BASHes\PatchEmAll-Build-Patches.sh" />
<None Include="Resources\BASHes\PatchEmAll-Build-ROMs.sh" />
<None Include="Resources\BASHes\PatchEmAll-Print-Donation-Info.sh" />
<None Include="Resources\BASHes\PatchEmAll-Print-Help.sh" />
<None Include="Resources\BASHes\PatchEmAll-Print-License.sh" />
<None Include="Resources\BASHes\PatchEmAll-Print-Version.sh" />
<None Include="Resources\BASHes\PatchEmAll-Save-Options.sh" />
<None Include="Resources\BASHes\put your bash files in this directory.txt" />
<None Include="Resources\Batches\PatchEmAll-Build-Patches.bat" />
<None Include="Resources\Batches\PatchEmAll-Build-Patches-Dat.bat" />
<None Include="Resources\Batches\PatchEmAll-Build-ROMs.bat" />
<None Include="Resources\Batches\PatchEmAll-Print-Donation-Info.bat" />
<None Include="Resources\Batches\PatchEmAll-Print-Help.bat" />
<None Include="Resources\Batches\PatchEmAll-Print-License.bat" />
<None Include="Resources\Batches\PatchEmAll-Print-Version.bat" />
<None Include="Resources\Batches\PatchEmAll-Save-Options.bat" />
<None Include="Resources\Batches\put your batch files in this directory.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

54
PatchEmAll-CLI/Program.cs Normal file
View File

@@ -0,0 +1,54 @@
using Serilog;
using Serilog.Formatting.Display;
using Serilog.Sinks.LogEmAll;
namespace PatchEmAll_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.
PatchEmAll.PatchEmAll pea = new PatchEmAll.PatchEmAll();
// Set the title.
pea.UpdateTitle();
// Print the version.
pea.PrintVersion();
// Load the default options passed from the default options file.
pea.LoadOptionsFromFile();
// Load the default options passed from the command line arguments.
pea.LoadOptionsFromCLI(args);
// Process the command switch.
pea.ProcessCommandSwitch();
// Output the log to a text file.
pea.SaveLogToFile();
}
/// <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("PatchEmAll-CLI")]
[assembly: AssemblyDescription("The Original Automated ROM Patcher")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("PatchEmAll")]
[assembly: AssemblyProduct("PatchEmAll-CLI")]
[assembly: AssemblyCopyright("Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved")]
[assembly: AssemblyTrademark("PatchEmAll - The Original Automated ROM Patcher")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2d9f35c9-4274-429f-851e-96dae240b59e")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.7")]
[assembly: AssemblyFileVersion("1.5.7")]

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 PatchEmAll_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("PatchEmAll_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 "../PatchEmAll-CLI.exe" -buildpatchesdat

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\PatchEmAll-CLI.exe" -buildpatchesdat "PD:..\Patches" "XF:..\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "MN:YourMachineName" "DD:..\Dats" "CO:YourComment"
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\PatchEmAll-CLI.exe" -buildpatches "RD:..\ROMs" "PD:..\Patches" "XF:..\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "DL: -- " "DF:..\Dats\YourDatPPDXMLFile.ppd"
rem */ Pause /*
@pause

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\PatchEmAll-CLI.exe" -buildroms "RD:..\ROMs" "PD:..\Patches" "XF:..\Xdelta\xdelta3-3.1.0-x86_64.exe" "DL: -- "
rem */ Pause /*
@pause

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
@echo off
rem */ Main /*
"..\PatchEmAll-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
PatchEmAll-GUI/App.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

1283
PatchEmAll-GUI/FrmPatchEmAll.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,128 @@
<?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>{114ADC53-8575-4DA6-9EC3-36187C0B55E9}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>PatchEmAll_GUI</RootNamespace>
<AssemblyName>PatchEmAll-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\PatchEmAll-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.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="FrmPatchEmAll.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmPatchEmAll.Designer.cs">
<DependentUpon>FrmPatchEmAll.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FrmPatchEmAll.resx">
<DependentUpon>FrmPatchEmAll.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" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PatchEmAll\PatchEmAll.csproj">
<Project>{956e3b6c-eee3-44a9-be64-7b3ae0238924}</Project>
<Name>PatchEmAll</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Images\AddPrepatch_16x16.png" />
<None Include="Resources\Images\BuildDatafile_32x32.png" />
<None Include="Resources\Images\BuildPatches_32x32.png" />
<None Include="Resources\Images\BuildROMs_32x32.png" />
<None Include="Resources\Images\Cancel_16x16.png" />
<None Include="Resources\Images\ChangeOption_16x16.png" />
<None Include="Resources\Images\CheckPrepatches_16x16.png" />
<None Include="Resources\Images\Donate_32x32.png" />
<None Include="Resources\Images\Exit_32x32.png" />
<None Include="Resources\Images\Help_32x32.png" />
<None Include="Resources\Images\Key_32x32.png" />
<None Include="Resources\Images\License_32x32.png" />
<None Include="Resources\Images\LoadDat_16x16.png" />
<None Include="Resources\Images\LoadOptions_32x32.png" />
<None Include="Resources\Images\LoadPPD_16x16.png" />
<None Include="Resources\Images\Log_32x32.png" />
<None Include="Resources\Images\Options_32x32.png" />
<None Include="Resources\Images\PPDBuilder_32x32.png" />
<None Include="Resources\Images\RemovePrepatch_16x16.png" />
<None Include="Resources\Images\RemoveAllPrepatches_16x16.png" />
<None Include="Resources\Images\SaveLog_32x32.png" />
<None Include="Resources\Images\SaveOptions_32x32.png" />
<None Include="Resources\Images\SavePPD_16x16.png" />
<None Include="Resources\Images\Toolbar_32x32.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Audio\AddRemove.wav" />
<None Include="Resources\Audio\Complete.wav" />
<None Include="Resources\Audio\Confirm.wav" />
<None Include="Resources\Audio\Fail.wav" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

34
PatchEmAll-GUI/Program.cs Normal file
View File

@@ -0,0 +1,34 @@
using Serilog;
using Serilog.Formatting.Display;
using Serilog.Sinks.LogEmAll;
using System;
using System.Windows.Forms;
namespace PatchEmAll_GUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
ConfigureSerilog();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmPatchEmAll());
}
/// <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("PatchEmAll-GUI")]
[assembly: AssemblyDescription("The Original Automated ROM Patcher")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("PatchEmAll")]
[assembly: AssemblyProduct("PatchEmAll-GUI")]
[assembly: AssemblyCopyright("Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved")]
[assembly: AssemblyTrademark("PatchEmAll - The Original Automated ROM Patcher")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("114adc53-8575-4da6-9ec3-36187c0b55e9")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.7")]
[assembly: AssemblyFileVersion("1.5.7")]

View File

@@ -0,0 +1,339 @@
//------------------------------------------------------------------------------
// <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 PatchEmAll_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("PatchEmAll_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 AddPrepatch_16x16 {
get {
object obj = ResourceManager.GetObject("AddPrepatch_16x16", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
/// </summary>
internal static System.IO.UnmanagedMemoryStream AddRemove {
get {
return ResourceManager.GetStream("AddRemove", resourceCulture);
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap BuildDatafile_32x32 {
get {
object obj = ResourceManager.GetObject("BuildDatafile_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap BuildPatches_32x32 {
get {
object obj = ResourceManager.GetObject("BuildPatches_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap BuildROMs_32x32 {
get {
object obj = ResourceManager.GetObject("BuildROMs_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <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 CheckPrepatches_16x16 {
get {
object obj = ResourceManager.GetObject("CheckPrepatches_16x16", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
/// </summary>
internal static System.IO.UnmanagedMemoryStream Complete {
get {
return ResourceManager.GetStream("Complete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
/// </summary>
internal static System.IO.UnmanagedMemoryStream Confirm {
get {
return ResourceManager.GetStream("Confirm", resourceCulture);
}
}
/// <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.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
/// </summary>
internal static System.IO.UnmanagedMemoryStream Fail {
get {
return ResourceManager.GetStream("Fail", resourceCulture);
}
}
/// <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 Key_32x32 {
get {
object obj = ResourceManager.GetObject("Key_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 LoadDat_16x16 {
get {
object obj = ResourceManager.GetObject("LoadDat_16x16", 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 LoadPPD_16x16 {
get {
object obj = ResourceManager.GetObject("LoadPPD_16x16", 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 PPDBuilder_32x32 {
get {
object obj = ResourceManager.GetObject("PPDBuilder_32x32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap RemoveAllPrepatches_16x16 {
get {
object obj = ResourceManager.GetObject("RemoveAllPrepatches_16x16", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap RemovePrepatch_16x16 {
get {
object obj = ResourceManager.GetObject("RemovePrepatch_16x16", 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 SavePPD_16x16 {
get {
object obj = ResourceManager.GetObject("SavePPD_16x16", 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,205 @@
<?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="AddPrepatch_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\AddPrepatch_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="AddRemove" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Audio\AddRemove.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="BuildDatafile_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\BuildDatafile_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="BuildPatches_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\BuildPatches_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="BuildROMs_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\BuildROMs_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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="CheckPrepatches_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\CheckPrepatches_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Complete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Audio\Complete.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="Confirm" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Audio\Confirm.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</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="Fail" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Audio\Fail.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</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="Key_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\Key_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="LoadDat_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\LoadDat_16x16.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="LoadPPD_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\LoadPPD_16x16.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="PPDBuilder_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\PPDBuilder_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="RemoveAllPrepatches_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\RemoveAllPrepatches_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="RemovePrepatch_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\RemovePrepatch_16x16.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="SavePPD_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Images\SavePPD_16x16.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>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

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: 678 B

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: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

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.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

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: 677 B

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,130 @@
<?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>{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}</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>PatchEmAll</ReleaseName>
<ReleaseVersion>1.5.7</ReleaseVersion>
<ReleasePortableName>PatchEmAll-Portable</ReleasePortableName>
<ReleaseInstallerName>PatchEmAll-Installer</ReleaseInstallerName>
<ReleasePackageName>PatchEmAll-Package</ReleasePackageName>
<ReleaseSourceName>PatchEmAll-Source</ReleaseSourceName>
<ReleaseDLLName>PatchEmAll</ReleaseDLLName>
<ReleaseCLIName>PatchEmAll-CLI</ReleaseCLIName>
<ReleaseGUIName>PatchEmAll-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;" />
<MySourceBatches Include="$(SolutionDir)$(ReleaseCLIName)\Resources\Batches\**\*.*;" />
<MySourceBASHes Include="$(SolutionDir)$(ReleaseCLIName)\Resources\BASHes\**\*.*;" />
<MySourceDocs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Docs\**\*.txt;" />
<MySourceDats Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Dats\**\*.txt;" />
<MySourceLogs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Logs\**\*.txt;" />
<MySourceOptions Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Options\**\*.txt;" />
<MySourcePatches Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Patches\**\*.txt;" />
<MySourceROMs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Output\ROMs\**\*.txt;" />
<MySourceXdeltas Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Libs\**\*.exe;$(SolutionDir)$(ReleaseDLLName)\Resources\Output\Xdelta\**\*.*;" />
</ItemGroup>
<Copy SourceFiles="@(MySourceBINs)" DestinationFiles="@(MySourceBINs->'$(PortableDir)\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceBatches)" DestinationFiles="@(MySourceBatches->'$(PortableDir)\Batches\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceBASHes)" DestinationFiles="@(MySourceBASHes->'$(PortableDir)\BASHes\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceDats)" DestinationFiles="@(MySourceDats->'$(PortableDir)\Dats\%(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="@(MySourcePatches)" DestinationFiles="@(MySourcePatches->'$(PortableDir)\Patches\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceROMs)" DestinationFiles="@(MySourceROMs->'$(PortableDir)\ROMs\%(RecursiveDir)%(Filename)%(Extension)')" />
<Copy SourceFiles="@(MySourceXdeltas)" DestinationFiles="@(MySourceXdeltas->'$(PortableDir)\Xdelta\%(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
PatchEmAll.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.33516.290
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll-CLI", "PatchEmAll-CLI\PatchEmAll-CLI.csproj", "{2D9F35C9-4274-429F-851E-96DAE240B59E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll-GUI", "PatchEmAll-GUI\PatchEmAll-GUI.csproj", "{114ADC53-8575-4DA6-9EC3-36187C0B55E9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll", "PatchEmAll\PatchEmAll.csproj", "{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "PatchEmAll-Installer", "PatchEmAll-Installer\PatchEmAll-Installer.vdproj", "{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatchEmAll-Release", "PatchEmAll-Release\PatchEmAll-Release.csproj", "{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}"
ProjectSection(ProjectDependencies) = postProject
{114ADC53-8575-4DA6-9EC3-36187C0B55E9} = {114ADC53-8575-4DA6-9EC3-36187C0B55E9}
{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC} = {BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}
{2D9F35C9-4274-429F-851E-96DAE240B59E} = {2D9F35C9-4274-429F-851E-96DAE240B59E}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EF51289A-9DF0-4262-9867-D4E6F9C321EE}"
ProjectSection(SolutionItems) = preProject
CHANGELOG.md = CHANGELOG.md
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md
LICENSE = LICENSE
README.md = README.md
TODO.md = TODO.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Description = The Original Automated ROM Patcher
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2D9F35C9-4274-429F-851E-96DAE240B59E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D9F35C9-4274-429F-851E-96DAE240B59E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2D9F35C9-4274-429F-851E-96DAE240B59E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D9F35C9-4274-429F-851E-96DAE240B59E}.Release|Any CPU.Build.0 = Release|Any CPU
{114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{114ADC53-8575-4DA6-9EC3-36187C0B55E9}.Release|Any CPU.Build.0 = Release|Any CPU
{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Debug|Any CPU.Build.0 = Debug|Any CPU
{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Release|Any CPU.ActiveCfg = Release|Any CPU
{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}.Release|Any CPU.Build.0 = Release|Any CPU
{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Debug|Any CPU.ActiveCfg = Debug
{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Debug|Any CPU.Build.0 = Debug
{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Release|Any CPU.ActiveCfg = Release
{BB792664-EB4F-48D3-85B1-0EEF3CF11BFC}.Release|Any CPU.Build.0 = Release
{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D40C2F3F-E3A2-47EB-8EF3-9C2C707B4FFB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CDB3CD11-F8EC-41D7-8562-9BC4D0C84D98}
EndGlobalSection
EndGlobal

BIN
PatchEmAll/App.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,180 @@
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
namespace PatchEmAll
{
/// <summary>
/// Implements a 32-bit CRC hash algorithm compatible with Zip etc.
/// </summary>
/// <remarks>
/// If you need to call multiple times for the same data either use the HashAlgorithm
/// interface or remember that the result of one Compute call needs to be ~ (XOR) before
/// being passed in as the seed for the next Compute call.
/// </remarks>
public sealed class CRC32CryptoServiceProvider : HashAlgorithm
{
/// DefaultPolynomial
public const UInt32 DefaultPolynomial = 0xedb88320u;
/// DefaultSeed
public const UInt32 DefaultSeed = 0xffffffffu;
/// defaultTable
static UInt32[] defaultTable;
/// seed
readonly UInt32 seed;
/// table
readonly UInt32[] table;
/// hash
UInt32 hash;
/// <summary>
/// CRC32CryptoServiceProvider Constructor
/// </summary>
public CRC32CryptoServiceProvider() : this(DefaultPolynomial, DefaultSeed)
{
}
/// <summary>
/// CRC32CryptoServiceProvider Constructor Overloaded
/// </summary>
/// <param name="polynomial"></param>
/// <param name="seed"></param>
public CRC32CryptoServiceProvider(UInt32 polynomial, UInt32 seed)
{
table = InitializeTable(polynomial);
this.seed = hash = seed;
}
/// <summary>
/// Initialize
/// </summary>
public override void Initialize()
{
hash = seed;
}
/// <summary>
/// HashCore
/// </summary>
/// <param name="array"></param>
/// <param name="ibStart"></param>
/// <param name="cbSize"></param>
protected override void HashCore(byte[] array, int ibStart, int cbSize)
{
hash = CalculateHash(table, hash, array, ibStart, cbSize);
}
/// <summary>
/// HashFinal
/// </summary>
/// <returns></returns>
protected override byte[] HashFinal()
{
var hashBuffer = UInt32ToBigEndianBytes(~hash);
HashValue = hashBuffer;
return hashBuffer;
}
/// <summary>
/// HashSize
/// </summary>
public override int HashSize
{
get { return 32; }
}
/// <summary>
/// Compute
/// </summary>
/// <param name="buffer"></param>
/// <returns></returns>
public static UInt32 Compute(byte[] buffer)
{
return Compute(DefaultSeed, buffer);
}
/// <summary>
/// Compute
/// </summary>
/// <param name="seed"></param>
/// <param name="buffer"></param>
/// <returns></returns>
public static UInt32 Compute(UInt32 seed, byte[] buffer)
{
return Compute(DefaultPolynomial, seed, buffer);
}
/// <summary>
/// Compute
/// </summary>
/// <param name="polynomial"></param>
/// <param name="seed"></param>
/// <param name="buffer"></param>
/// <returns></returns>
public static UInt32 Compute(UInt32 polynomial, UInt32 seed, byte[] buffer)
{
return ~CalculateHash(InitializeTable(polynomial), seed, buffer, 0, buffer.Length);
}
/// <summary>
/// InitializeTable
/// </summary>
/// <param name="polynomial"></param>
/// <returns></returns>
static UInt32[] InitializeTable(UInt32 polynomial)
{
if (polynomial == DefaultPolynomial && defaultTable != null)
return defaultTable;
var createTable = new UInt32[256];
for (var i = 0; i < 256; i++)
{
var entry = (UInt32)i;
for (var j = 0; j < 8; j++)
if ((entry & 1) == 1)
entry = (entry >> 1) ^ polynomial;
else
entry = entry >> 1;
createTable[i] = entry;
}
if (polynomial == DefaultPolynomial)
defaultTable = createTable;
return createTable;
}
/// <summary>
/// CalculateHash
/// </summary>
/// <param name="table"></param>
/// <param name="seed"></param>
/// <param name="buffer"></param>
/// <param name="start"></param>
/// <param name="size"></param>
/// <returns></returns>
static UInt32 CalculateHash(UInt32[] table, UInt32 seed, IList<byte> buffer, int start, int size)
{
var hash = seed;
for (var i = start; i < start + size; i++)
hash = (hash >> 8) ^ table[buffer[i] ^ hash & 0xff];
return hash;
}
/// <summary>
/// UInt32ToBigEndianBytes
/// </summary>
/// <param name="uint32"></param>
/// <returns></returns>
static byte[] UInt32ToBigEndianBytes(UInt32 uint32)
{
var result = BitConverter.GetBytes(uint32);
if (BitConverter.IsLittleEndian)
Array.Reverse(result);
return result;
}
}
}

1274
PatchEmAll/PatchEmAll.cs Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,102 @@
<?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>{956E3B6C-EEE3-44A9-BE64-7B3AE0238924}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PatchEmAll</RootNamespace>
<AssemblyName>PatchEmAll</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<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\PatchEmAll.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>PatchEmAll.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.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="PatchEmAll.cs" />
<Compile Include="CRC32CryptoServiceProvider.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>
<Content Include="App.ico" />
</ItemGroup>
<ItemGroup>
<None Include="PatchEmAll.nuspec" />
<None Include="PatchEmAll.snk" />
<None Include="packages.config" />
<None Include="Resources\Docs\PatchEmAll-DONATIONS.txt" />
<None Include="Resources\Docs\PatchEmAll-HELP.txt" />
<None Include="Resources\Docs\PatchEmAll-HELP-CMD.txt" />
<None Include="Resources\Docs\PatchEmAll-LICENSE.rtf" />
<None Include="Resources\Docs\PatchEmAll-LICENSE.txt" />
<None Include="Resources\Icons\PatchEmAll.ico" />
<None Include="Resources\Images\PatchEmAll.png" />
<None Include="Resources\Libs\xdelta3-3.1.0-i686.exe" />
<None Include="Resources\Libs\xdelta3-3.1.0-x86_64.exe" />
<None Include="Resources\Output\Dats\put your dats in this directory.txt" />
<None Include="Resources\Output\Logs\put your logs in this directory.txt" />
<None Include="Resources\Output\Options\put your options files in this directory.txt" />
<None Include="Resources\Output\Patches\put your patches in this directory.txt" />
<None Include="Resources\Output\ROMs\put your roms in this directory.txt" />
<None Include="Resources\Output\Xdelta\put your xdelta files in this directory.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>PatchEmAll</id>
<title>PatchEmAll</title>
<version>0.0.0</version>
<description>
Use the PatchEmAll Library (.dll) to patch ROMs from anywhere in your application.
First, install or add the PatchEmAll Nuget Package to your application by downloading the [nuget.nupkg](https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll/packages) to your project folder and opening a Nuget Package Manager Console in Visual Studio and type:
```
Install-Package nuget.nupkg
```
Then, create and use a new PatchEmAll Object from anywhere in your application like the following:
```
PatchEmAll.PatchEmAll pea = new PatchEmAll.PatchEmAll();
```
</description>
<authors>PatchEmAll</authors>
<license type="file">LICENSE.txt</license>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<icon>icon.png</icon>
<iconUrl>https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll/PatchEmAll/Resources/Images/PatchEmAll.png</iconUrl>
<projectUrl>https://www.devemall.int.eu.org</projectUrl>
<releaseNotes>See https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll/releases for release notes.</releaseNotes>
<copyright>Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved</copyright>
<tags>PatchEmAll Automated ROM Patcher Patch ROMs</tags>
<repository type="git" url="https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll.git" />
<dependencies>
<group targetFramework=".NETFramework4.8">
<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" />
</group>
</dependencies>
</metadata>
<files>
<file src="Resources\Docs\PatchEmAll-LICENSE.txt" target="LICENSE.txt" />
<file src="Resources\Images\PatchEmAll.png" target="icon.png" />
</files>
</package>

BIN
PatchEmAll/PatchEmAll.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("PatchEmAll")]
[assembly: AssemblyDescription("The Original Automated ROM Patcher")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("PatchEmAll")]
[assembly: AssemblyProduct("PatchEmAll")]
[assembly: AssemblyCopyright("Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved")]
[assembly: AssemblyTrademark("PatchEmAll - The Original Automated ROM Patcher")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("956e3b6c-eee3-44a9-be64-7b3ae0238924")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.7")]
[assembly: AssemblyFileVersion("1.5.7")]

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 PatchEmAll.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("PatchEmAll.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 ------------------------------------------------------------------
///PatchEmAll - Donations version 20240901
///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved
///------------------------------------------------------------------
///
///As you may know, a lot of time, effort and hard work goes into the
///development and maintenance of a world class automated ROM
///patcher. If you like or use this software regularly, maybe you
///would like to make a donation.
///
///Please use the following donation link to make a [rest of string was truncated]&quot;;.
/// </summary>
public static string PatchEmAll_DONATIONS {
get {
return ResourceManager.GetString("PatchEmAll_DONATIONS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -------------------------------------------------------------------------------
///PatchEmAll - Help version 20240901
///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved
///-------------------------------------------------------------------------------
///
///[I] About
///[II] Notes
///[III] Installation
///[IV] How To Build ROMs, Patches and Datafiles
///[V] How To Build PPDs
///[VI] FAQ
///[VII] Contributing
///[VIII] Contact
///[IX] Disclaimers
///
///[I] About
///---------------------------------------------------------------- [rest of string was truncated]&quot;;.
/// </summary>
public static string PatchEmAll_HELP {
get {
return ResourceManager.GetString("PatchEmAll_HELP", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to -------------------------------------------------------------------------------
///PatchEmAll - Help - CMD version 20240901
///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved
///-------------------------------------------------------------------------------
///
///Usage:
/// PatchEmAll-CLI.exe [-command] [option:]
/// Options that contain spaces must be enclosed in quotations
/// Options may be specified in any order
/// Only one command may be be used
///
///------------------------------------------------------------- [rest of string was truncated]&quot;;.
/// </summary>
public static string PatchEmAll_HELP_CMD {
get {
return ResourceManager.GetString("PatchEmAll_HELP_CMD", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ***************************************************************
///PatchEmAll - License version 20240901
///Copyright (c) 2016-2024 PatchEmAll - All Rights Reserved
///***************************************************************
///
///TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
///
///1. Redistributions in any form are not permitted whatsoever,
///under any conditions.
///
///2. This software may not be reverse engineered, decompiled,
///or disassembled.
///
///3. PatchEmAll may publish revised and/or new versio [rest of string was truncated]&quot;;.
/// </summary>
public static string PatchEmAll_LICENSE {
get {
return ResourceManager.GetString("PatchEmAll_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="PatchEmAll_DONATIONS" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\PatchEmAll-DONATIONS.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="PatchEmAll_HELP" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\PatchEmAll-HELP.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="PatchEmAll_HELP_CMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\PatchEmAll-HELP-CMD.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
<data name="PatchEmAll_LICENSE" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Docs\PatchEmAll-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 @@
------------------------------------------------------------------
PatchEmAll - Donations version 20250721
Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved
------------------------------------------------------------------
As you may know, a lot of time, effort and hard work goes into the
development and maintenance of a world class automated ROM
patcher. If you like or use this software regularly, maybe you
would like to make a donation.
Please use the following donation link to make a donation:
https://www.devemall.int.eu.org/index.php?action=donations
Home Page: https://www.devemall.int.eu.org/

View File

@@ -0,0 +1,75 @@
-------------------------------------------------------------------------------
PatchEmAll - Help - CMD version 20250721
Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved
-------------------------------------------------------------------------------
Usage:
PatchEmAll-CLI.exe [-command] [option:]
Options that contain spaces must be enclosed in quotations
Options may be specified in any order
Only one command may be be used
-------------------------------------------------------------------------------
Build ROMs Example:
PatchEmAll-CLI.exe -buildroms "RD:C:\PEA\ROMs" "PD:C:\PEA\Patches" "XF:C:\PEA\Xdelta\xdelta3-3.1.0-x86_64.exe" "DL: -- "
-------------------------------------------------------------------------------
Build Patches Example:
PatchEmAll-CLI.exe -buildpatches "RD:C:\PEA\ROMs" "PD:C:\PEA\Patches" "XF:C:\PEA\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "DL: -- " "DF:C:\PEA\Dats\YourDatPPDXMLFile.dat"
-------------------------------------------------------------------------------
Build Patches Datafile Example:
PatchEmAll-CLI.exe -buildpatchesdat "PD:C:\PEA\Patches" "XF:C:\PEA\Xdelta\xdelta3-3.1.0-x86_64.exe" "XC:-e -9 -s" "MN:YourMachineName" "DD:C:\PEA\Dats" "CO:YourComment"
-------------------------------------------------------------------------------
Standard Commands:
-buildroms Build all possible ROMs
-buildpatches Build all possible patches
-buildpatchesdat Build a datafile from the patches directory
-saveoptions Save the options
-help Print the help
-donations Print the donations information
-license Print the license
-version Print the version
-registerapp Register the app
-------------------------------------------------------------------------------
Build Options:
XC: Command to use for building Xdelta patches
DL: Delimiter used between game names
MN: Machine name to use for building a datafile
CO: Comment to use for building a datafile
------------------------------------------------------------------
Path Options:
RD: Path to the ROMs directory
PD: Path to the patches directory
DD: Path to the datafiles directory
DF: Path to the Dat/PPD/XML file
XF: Path to the Xdelta file
OF: Path to the options file - Overwrites all options
LF: Path to the log file
------------------------------------------------------------------
Developer Options:
SO: Turn the sounds on or off
on
off - DEFAULT
LA: Language
en - DEFAULT
LL: Log Level
Information - DEFAULT
------------------------------------------------------------------
Registration Options:
RA: Register app username
RB: Register app email address
RC: Register app password

View File

@@ -0,0 +1,163 @@
-------------------------------------------------------------------------------
PatchEmAll - Help version 20250721
Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved
-------------------------------------------------------------------------------
[I] About
[II] Notes
[III] Installation
[IV] How To Build ROMs, Patches and Datafiles
[V] How To Build PPDs
[VI] FAQ
[VII] Contributing
[VIII] Contact
[IX] Disclaimers
[I] About
-------------------------------------------------------------------------------
PatchEmAll or PEA is the original software application for automating the process of building ROMs from patches and building patches from ROMs.
Are you a ROM collector who wants to save vast amounts of time and bandwidth? Are you a patcher who is tired of working like an octopussy? If so, PatchEmAll is for you. It's easy and fun to use.
PatchEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, building ROMs and patches is easy. Just run PatchEmAll to build all of the ROMs or patches.
PatchEmAll uses Xdelta to create a patch containing the diff data between two ROMs. The resulting patch is usually very small and can be used to recreate an exact image of a second ROM.
Although PatchEmAll has more than one purpose, it's main purpose is to automate the process of building ROMs and patches. This automated process not only saves you vast amounts of time and bandwidth, but also creates a uniform set of patches.
PatchEmAll makes life simpler and easier. Just run PatchEmAll and go eat dinner, go to work or go to sleep. When you return, PatchEmAll has built every possible ROM or patch that it can... Or at least it's still working on it.
Using PatchEmAll, the sky is the limit as to how many patches and datafiles you create.
[II] Notes
-------------------------------------------------------------------------------
1) The ROMs, patches and datafiles directories should be as close to the drive's root directory as possible. The nature of things dictates that there will be very long filenames, on occasion. Keep in mind that some things may not work correctly if you choose too long of a path to put your files.
2) This software does not work on Zip, 7zip, TZip or any kind of archived ROMs. You must unzip or unarchive them into the appropriate directories.
3) Patch names and ROM names that do not exactly match the names in all official datafiles may break this software and may cause havoc, serious injury or death.
4) This software is not recursive. That means it won't find patches or ROMs inside of sub directories.
5) This software is not a ROM manager. Use a ROM manager for renaming, checking and managing your ROMs and patches.
6) This software is not a datafile tool. It doesn't have the ability to recognize every kind of datafile in existence. It should only be used with officially supported PatchEmAll datafiles.
[III] Installation
-------------------------------------------------------------------------------
This software is designed to run on various operating systems, using .NET or Mono. Windows already comes with .NET Framework, but you can still install and use Mono if you'd like.
First, if you are installing Mono, you should switch to the root user or System Administrator to install and use Mono and then switch to your downloademall user to install and use DownloadEmAll.
Next, download and unzip the software to any new location that you wish to use. However, this software should be installed as close to the drive's root directory as possible.
I like to put my installation in a directory called PEA on my Windows C:\ drive or in my Linux ~/ (home) directory. My installation layout looks like this:
C:\PEA\BASHes\
C:\PEA\Batches\
C:\PEA\Dats\
C:\PEA\Docs\
C:\PEA\Logs\
C:\PEA\Options\
C:\PEA\Patches\
C:\PEA\ROMs\
C:\PEA\Xdelta\
C:\PEA\PatchEmAll-CLI.exe
C:\PEA\PatchEmAll-GUI.exe
or
~/PEA/BASHes/
~/PEA/Batches/
~/PEA/Dats/
~/PEA/Docs/
~/PEA/Logs/
~/PEA/Options/
~/PEA/Patches/
~/PEA/ROMs/
~/PEA/Xdelta/
~/PEA/PatchEmAll-CLI.exe
~/PEA/PatchEmAll-GUI.exe
After this software is installed, you can create a new options file using the GUI or CLI version.
PatchEmAll will try to automatically load the saved default options file. If it is not found, it will load some default options.
PatchEmAll allows you to save many sets of options for numerous sets of patches and prepatches and quickly switch between them.
[IV] How To Build ROMs, Patches and Datafiles
-------------------------------------------------------------------------------
Step 1)
Download the official PatchEmAll patches (.dat) and prepatches (.ppd) datafiles and unzip them into the Dats folder.
Step 2)
Set the options according to the following requirements:
A) Building ROMs requires a ROMs directory, a patches directory, an Xdelta file and a delimiter.
B) Building patches requires a ROMs directory, a patches directory, an Xdelta file, an Xdelta build command, a delimiter and a Dat/PPD/XML file.
C) Building an official datafile requires a patches directory, an Xdelta file, an Xdelta build command, a machine name, a dats directory, and optionally a comment.
Step 3)
Place all of the unzipped, unarchived ROMs into the ROMs directory.
Step 4)
Place all of the unzipped, unarchived patches into the patches directory.
Step 5)
Click the button with the action that you want to perform.
[V] How To Build PPDs
-------------------------------------------------------------------------------
* The GUI version must be used to build PPDs. *
Step 1)
Click the Load Dat button to load a datafile into the ROMs boxes.
Step 2)
Select a ROM on the left to patch from. Select a ROM on the right to patch to. Click the Add Prepatch button. Add as many prepatches as you want.
Step 3)
Set the machine name and a comment in the options.
Step 4)
Save your PPD file.
[VI] FAQ
-------------------------------------------------------------------------------
Q1: What is PatchEmAll?
A1: PatchEmAll is a software tool that automates the processes of building ROMs from patches and building patches from ROMs.
Q2: Why do I need PatchEmAll?
A2: To automate the process of building ROMs and patches. Working like an octopussy is needless and senseless, when you can just run BuildEmall to build everything possible and all at once. A better question is, why would anyone want to build one ROM or one patch at a time, unless he only needs one ROM or patch?
Q3: What makes PatchEmAll different?
A3: PatchEmAll is a software project, not a patching project. PatchEmAll is used by groups or individuals who operate and maintain patching projects.
Q4: How do I get my datafiles included in the official PatchEmAll datafiles?
A4: Simply submit them to be included in the official datafiles. The official PatchEmAll datafiles should only contain 100% working patches. Each set has it's own datafile and there is no mess.
Q5: I only want to build a few ROMs or patches. Do I have to build the entire set?
A5: Certainly not! Just put the few ROMs and patches into the ROMs and Patches directories and run PatchEmAll. It will only build the ROMs and patches that are possible out of the ROMs and patches that you supplied it with.
[VII] Contributing
-------------------------------------------------------------------------------
Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a:
* Collector
* Database Administrator
* Datter
* Developer
* Dumper
* Graphic Artist
* Translator
* Player
* Tester
Feel free to:
* Fork the repository
* Create an issue
* Branch your repository with the issue number and a meaningful name related to the changes you are making
* Create a pull request
[VIII] Contact
-------------------------------------------------------------------------------
GitEmAll: https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll
[IX] Disclaimers
-------------------------------------------------------------------------------
We do not upload, share, distribute or provide links to anything illegal, including ROMs or patches.
This software includes Xdelta software, freely available from http://www.xdelta.org/

Binary file not shown.

View File

@@ -0,0 +1,42 @@
***************************************************************
PatchEmAll - License version 20250721
Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved
***************************************************************
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Redistributions in any form are not permitted whatsoever,
under any conditions.
2. This software may not be reverse engineered, decompiled,
or disassembled.
3. PatchEmAll may publish revised and/or new versions of the
license from time to time. Each version will be given a
distinguishing version number. No one other than
PatchEmAll has the right to modify the terms applicable
to covered code created under this License.
4. It is your responsibility to use this software in accordance
with all applicable laws.
***************************************************************
THIS SOFTWARE IS PROVIDED BY THE PATCHEMALL DEVELOPMENT TEAM
'AS IS' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE PATCHEMALL DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
***************************************************************
This product includes Xdelta software, freely available from
<http://www.xdelta.org/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Binary file not shown.

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 @@
This file can be deleted.

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>

56
README.md Normal file
View File

@@ -0,0 +1,56 @@
# @PatchEmAll
### The Original Automated ROM Patcher
## About
PatchEmAll or PEA is the original software application for automating the process of building ROMs from patches and building patches from ROMs.
Are you a ROM collector who wants to save vast amounts of time and bandwidth? Are you a patcher who is tired of working like an octopussy? If so, PatchEmAll is for you. It's easy and fun to use.
PatchEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, building ROMs and patches is easy. Just run PatchEmAll to build all of the ROMs or patches.
PatchEmAll uses Xdelta to create a patch containing the diff data between two ROMs. The resulting patch is usually very small and can be used to recreate an exact image of a second ROM.
Although PatchEmAll has more than one purpose, it's main purpose is to automate the process of building ROMs and patches. This automated process not only saves you vast amounts of time and bandwidth, but also creates a uniform set of patches.
PatchEmAll makes life simpler and easier. Just run PatchEmAll and go eat dinner, go to work or go to sleep. When you return, PatchEmAll has built every possible ROM or patch that it can... Or at least it's still working on it.
Using PatchEmAll, the sky is the limit as to how many patches and datafiles you create.
## Dependencies
.NET Framework 4.8
The following NuGet Packages are required to build a Debug and/or Release version of this app:
* ILMerge
* Serilog
* Serilog.Sinks.Console
* Serilog.Sinks.LogEmAll
The following tools and extensions are required to be installed in your Visual Sudio IDE:
* Microsoft Visual Studio Installer Projects
## Projects
* PatchEmAll - Class Library
* PatchEmAll-CLI - Console App
* PatchEmAll-GUI - Windows Forms App
* PatchEmAll-Release - Release Project
* PatchEmAll-Installer - Installer Project
## Contributing
Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a:
* Collector
* Database Administrator
* Datter
* Developer
* Dumper
* Graphic Artist
* Translator
* Player
* Tester
Feel free to:
* Fork the repository
* Create an issue
* Branch your repository with the issue number and a meaningful name related to the changes you are making
* Create a pull request
## Contact
GitEmAll: [https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll](https://gitemall.devemall.int.eu.org/TommySalami/PatchEmAll "GitEmAll")
---
###### Copyright (c) 2016-2025 PatchEmAll - All Rights Reserved v2025-07-21-00

Some files were not shown because too many files have changed in this diff Show More