Add project files.
63
.gitattributes
vendored
Normal 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
@@ -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/
|
||||
13
CHANGELOG.md
Normal file
@@ -0,0 +1,13 @@
|
||||
Version 0.0.3 - 2025-07-029
|
||||
|
||||
* Update repository info and related URLs
|
||||
* Minor changes
|
||||
|
||||
Version 0.0.2 - 2024-09-04
|
||||
|
||||
* Update some NuGet packages
|
||||
* Minor changes
|
||||
|
||||
Version 0.0.1 - 2023-04-25
|
||||
|
||||
* Initial release
|
||||
127
CODE_OF_CONDUCT.md
Normal 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
@@ -0,0 +1,25 @@
|
||||
# @DatEmAll
|
||||
### The Original Automated Datter
|
||||
## Contributing
|
||||
Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a:
|
||||
* Collector
|
||||
* Database Administrator
|
||||
* Datter
|
||||
* Developer
|
||||
* Dumper
|
||||
* Graphic Artist
|
||||
* Translator
|
||||
* Player
|
||||
* Tester
|
||||
|
||||
Feel free to:
|
||||
* Fork the repository
|
||||
* Create an issue
|
||||
* Branch your repository with the issue number and a meaningful name related to the changes you are making
|
||||
* Create a pull request
|
||||
|
||||
## Contact
|
||||
GitEmAll: [https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll](https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll "GitEmAll")
|
||||
|
||||
---
|
||||
###### Copyright (c) 2016-2025 DatEmAll - All Rights Reserved v2025-07-29-00
|
||||
6
DatEmAll-CLI/App.config
Normal 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
DatEmAll-CLI/App.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
103
DatEmAll-CLI/DatEmAll-CLI.csproj
Normal file
@@ -0,0 +1,103 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{A4E91B23-5009-49C6-9B6F-419197B22504}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>DatEmAll_CLI</RootNamespace>
|
||||
<AssemblyName>DatEmAll-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\DatEmAll-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>
|
||||
<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="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\BASHes\DatEmAll-Build-Dat.sh" />
|
||||
<None Include="Resources\BASHes\DatEmAll-Print-Donation-Info.sh" />
|
||||
<None Include="Resources\BASHes\DatEmAll-Print-Help-CMD.sh" />
|
||||
<None Include="Resources\BASHes\DatEmAll-Print-License.sh" />
|
||||
<None Include="Resources\BASHes\DatEmAll-Print-Version.sh" />
|
||||
<None Include="Resources\BASHes\DatEmAll-Save-Options.sh" />
|
||||
<None Include="Resources\Batches\DatEmAll-Build-Dat.bat" />
|
||||
<None Include="Resources\Batches\DatEmAll-Print-Donation-Info.bat" />
|
||||
<None Include="Resources\Batches\DatEmAll-Print-Help-CMD.bat" />
|
||||
<None Include="Resources\Batches\DatEmAll-Print-License.bat" />
|
||||
<None Include="Resources\Batches\DatEmAll-Print-Version.bat" />
|
||||
<None Include="Resources\Batches\DatEmAll-Save-Options.bat" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DatEmAll\DatEmAll.csproj">
|
||||
<Project>{4f7103f0-8421-42f1-8afe-251b752fa1e2}</Project>
|
||||
<Name>DatEmAll</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Content Include="App.ico" />
|
||||
<Content Include="Resources\BASHes\put your bash files in this directory.txt" />
|
||||
<Content Include="Resources\Batches\put your batch files in this directory.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
57
DatEmAll-CLI/Program.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Serilog;
|
||||
using Serilog.Formatting.Display;
|
||||
using Serilog.Sinks.LogEmAll;
|
||||
|
||||
namespace DatEmAll_CLI
|
||||
{
|
||||
/// <summary>
|
||||
/// The Main Program Class.
|
||||
/// </summary>
|
||||
class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Configure the Logger.
|
||||
ConfigureSerilog();
|
||||
|
||||
// Create a new program object.
|
||||
DatEmAll.DatEmAll dea = new DatEmAll.DatEmAll();
|
||||
|
||||
// Set the title.
|
||||
dea.UpdateTitle();
|
||||
|
||||
// Print the version.
|
||||
dea.PrintVersion();
|
||||
|
||||
// Load the default options passed from the default options file.
|
||||
dea.LoadOptionsFromFile();
|
||||
|
||||
// Load the default options passed from the command line arguments.
|
||||
dea.LoadOptionsFromCLI(args);
|
||||
|
||||
// Process the command switch.
|
||||
dea.ProcessCommandSwitch();
|
||||
|
||||
// Output the log to a text file.
|
||||
dea.SaveLogToFile();
|
||||
}
|
||||
|
||||
/// <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();
|
||||
}
|
||||
}
|
||||
}
|
||||
36
DatEmAll-CLI/Properties/AssemblyInfo.cs
Normal 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("DatEmAll-CLI")]
|
||||
[assembly: AssemblyDescription("The Original Automated Datter")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("DatEmAll")]
|
||||
[assembly: AssemblyProduct("DatEmAll-CLI")]
|
||||
[assembly: AssemblyCopyright("Copyright (c) 2020-2025 DatEmAll")]
|
||||
[assembly: AssemblyTrademark("DatEmAll - The Original Automated Datter")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("a4e91b23-5009-49c6-9b6f-419197b22504")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.0.3")]
|
||||
[assembly: AssemblyFileVersion("0.0.3")]
|
||||
63
DatEmAll-CLI/Properties/Resources.Designer.cs
generated
Normal 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 DatEmAll_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("DatEmAll_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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
DatEmAll-CLI/Properties/Resources.resx
Normal 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>
|
||||
4
DatEmAll-CLI/Resources/BASHes/DatEmAll-Build-Dat.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
mono "../DatEmAll-CLI.exe" -builddat
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
mono "../DatEmAll-CLI.exe" -donations
|
||||
4
DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Help-CMD.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
mono "../DatEmAll-CLI.exe" -help "LF:../Logs/DatEmAll-Log-00000000_000000.txt"
|
||||
4
DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-License.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
mono "../DatEmAll-CLI.exe" -license
|
||||
4
DatEmAll-CLI/Resources/BASHes/DatEmAll-Print-Version.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
mono "../DatEmAll-CLI.exe" -version
|
||||
4
DatEmAll-CLI/Resources/BASHes/DatEmAll-Save-Options.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Main
|
||||
mono "../DatEmAll-CLI.exe" -saveoptions
|
||||
@@ -0,0 +1 @@
|
||||
This file can be deleted.
|
||||
7
DatEmAll-CLI/Resources/Batches/DatEmAll-Build-Dat.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
rem */ Main /*
|
||||
"..\DatEmAll-CLI.exe" -builddat
|
||||
|
||||
rem */ Pause /*
|
||||
@pause
|
||||
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
rem */ Main /*
|
||||
"..\DatEmAll-CLI.exe" -donations
|
||||
|
||||
rem */ Pause /*
|
||||
@pause
|
||||
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
rem */ Main /*
|
||||
"..\DatEmAll-CLI.exe" -help "LF:..\Logs\DatEmAll-Log-00000000_000000.txt"
|
||||
|
||||
rem */ Pause /*
|
||||
@pause
|
||||
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
rem */ Main /*
|
||||
"..\DatEmAll-CLI.exe" -license
|
||||
|
||||
rem */ Pause /*
|
||||
@pause
|
||||
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
rem */ Main /*
|
||||
"..\DatEmAll-CLI.exe" -version
|
||||
|
||||
rem */ Pause /*
|
||||
@pause
|
||||
7
DatEmAll-CLI/Resources/Batches/DatEmAll-Save-Options.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
|
||||
rem */ Main /*
|
||||
"..\DatEmAll-CLI.exe" -saveoptions
|
||||
|
||||
rem */ Pause /*
|
||||
@pause
|
||||
@@ -0,0 +1 @@
|
||||
This file can be deleted.
|
||||
6
DatEmAll-CLI/packages.config
Normal 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>
|
||||
6
DatEmAll-GUI/App.config
Normal 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
DatEmAll-GUI/App.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
149
DatEmAll-GUI/DatEmAll-GUI.csproj
Normal file
@@ -0,0 +1,149 @@
|
||||
<?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>{472C0464-F101-4A66-8D26-E065497AA86D}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>DatEmAll_GUI</RootNamespace>
|
||||
<AssemblyName>DatEmAll-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\DatEmAll-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>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
</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="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="FrmDatEmAll.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmDatEmAll.Designer.cs">
|
||||
<DependentUpon>FrmDatEmAll.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="FrmDatEmAll.resx">
|
||||
<DependentUpon>FrmDatEmAll.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DatEmAll\DatEmAll.csproj">
|
||||
<Project>{4f7103f0-8421-42f1-8afe-251b752fa1e2}</Project>
|
||||
<Name>DatEmAll</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Blank_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\BuildDat_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Cancel_16x16.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Donate_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Exit_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Help_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Key_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\License_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\LoadOptions_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Log_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Options_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\SaveLog_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\SaveOptions_32x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Images\Toolbar_32x32.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
2125
DatEmAll-GUI/FrmDatEmAll.Designer.cs
generated
Normal file
870
DatEmAll-GUI/FrmDatEmAll.cs
Normal file
@@ -0,0 +1,870 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Serilog;
|
||||
|
||||
namespace DatEmAll_GUI
|
||||
{
|
||||
/// <summary>
|
||||
/// The DatEmAll GUI Class which interacts with the Main Program Class.
|
||||
/// </summary>
|
||||
public partial class FrmDatEmAll : Form
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
DatEmAll.DatEmAll DEA = new DatEmAll.DatEmAll();
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
public FrmDatEmAll()
|
||||
{
|
||||
// Initialize the form.
|
||||
InitializeComponent();
|
||||
|
||||
// Print the version.
|
||||
DEA.PrintVersion();
|
||||
|
||||
// Load the default options passed from the default options file.
|
||||
DEA.LoadOptionsFromFile();
|
||||
|
||||
// Load the default options passed from the command line arguments.
|
||||
DEA.LoadOptionsFromCLI(Environment.GetCommandLineArgs());
|
||||
|
||||
// Add data bindings.
|
||||
chkIncludeCRC32Hash.DataBindings.Add("Checked", DEA, "IncludeCRC32Hash");
|
||||
chkIncludeMD5Hash.DataBindings.Add("Checked", DEA, "IncludeMD5Hash");
|
||||
chkIncludeSHA1Hash.DataBindings.Add("Checked", DEA, "IncludeSHA1Hash");
|
||||
chkIncludeFileSize.DataBindings.Add("Checked", DEA, "IncludeFileSize");
|
||||
chkAppendGameCountToFilename.DataBindings.Add("Checked", DEA, "AppendGameCountToFilename");
|
||||
chkAppendGameCountToDescription.DataBindings.Add("Checked", DEA, "AppendGameCountToDescription");
|
||||
chkAppendVersionToFilename.DataBindings.Add("Checked", DEA, "AppendVersionToFilename");
|
||||
chkAppendVersionToDescription.DataBindings.Add("Checked", DEA, "AppendVersionToDescription");
|
||||
chkIncludeROMDirRootFiles.DataBindings.Add("Checked", DEA, "IncludeROMDirRootFiles");
|
||||
txtDatFilename.DataBindings.Add("Text", DEA, "DatFilename");
|
||||
cbXMLEncoding.DataBindings.Add("SelectedItem", DEA, "XMLEncoding");
|
||||
cbXMLDOCTYPE.DataBindings.Add("SelectedItem", DEA, "XMLDOCTYPE");
|
||||
chkIncludeDefaultHeaderName.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderName");
|
||||
chkIncludeDefaultHeaderDescription.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderDescription");
|
||||
chkIncludeDefaultHeaderVersion.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderVersion");
|
||||
chkIncludeDefaultHeaderDate.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderDate");
|
||||
chkIncludeDefaultHeaderAuthor.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderAuthor");
|
||||
chkIncludeDefaultHeaderEmail.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderEmail");
|
||||
chkIncludeDefaultHeaderHomepage.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderHomepage");
|
||||
chkIncludeDefaultHeaderURL.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderURL");
|
||||
chkIncludeDefaultHeaderComment.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderComment");
|
||||
chkIncludeDefaultHeaderCategory.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderCategory");
|
||||
chkIncludeDefaultHeaderCMPForceUnzip.DataBindings.Add("Checked", DEA, "IncludeDefaultHeaderCMPForceUnzip");
|
||||
txtOverrideHeaderName.DataBindings.Add("Text", DEA, "OverrideHeaderName");
|
||||
txtOverrideHeaderDescription.DataBindings.Add("Text", DEA, "OverrideHeaderDescription");
|
||||
txtOverrideHeaderVersion.DataBindings.Add("Text", DEA, "OverrideHeaderVersion");
|
||||
txtOverrideHeaderDate.DataBindings.Add("Text", DEA, "OverrideHeaderDate");
|
||||
txtOverrideHeaderAuthor.DataBindings.Add("Text", DEA, "OverrideHeaderAuthor");
|
||||
txtOverrideHeaderEmail.DataBindings.Add("Text", DEA, "OverrideHeaderEmail");
|
||||
txtOverrideHeaderHomepage.DataBindings.Add("Text", DEA, "OverrideHeaderHomepage");
|
||||
txtOverrideHeaderURL.DataBindings.Add("Text", DEA, "OverrideHeaderURL");
|
||||
txtOverrideHeaderComment.DataBindings.Add("Text", DEA, "OverrideHeaderComment");
|
||||
txtOverrideHeaderCategory.DataBindings.Add("Text", DEA, "OverrideHeaderCategory");
|
||||
chkCheckForLatestVersion.DataBindings.Add("Checked", DEA, "CheckForLatestVersion");
|
||||
chkCheckSSLCertificates.DataBindings.Add("Checked", DEA, "CheckSSLCertificates");
|
||||
chkSendErrorReports.DataBindings.Add("Checked", DEA, "SendErrorReports");
|
||||
cbLanguageLocality.DataBindings.Add("SelectedItem", DEA, "LanguageLocality");
|
||||
cbLogLevel.DataBindings.Add("SelectedItem", DEA, "LogLevel");
|
||||
txtPathDatsDir.DataBindings.Add("Text", DEA, "PathDatsDir");
|
||||
txtPathROMsDir.DataBindings.Add("Text", DEA, "PathROMsDir");
|
||||
txtRegisterAppUsername.DataBindings.Add("Text", DEA, "RegisterAppUsername");
|
||||
txtRegisterAppEmailAddress.DataBindings.Add("Text", DEA, "RegisterAppEmailAddress");
|
||||
txtRegisterAppPassword.DataBindings.Add("Text", DEA, "RegisterAppPassword");
|
||||
|
||||
// Hide some tabs.
|
||||
tcMain.TabPages.Remove(tabHelp);
|
||||
tcMain.TabPages.Remove(tabLicense);
|
||||
tcMain.TabPages.Remove(tabDonations);
|
||||
tcMain.TabPages.Remove(tabRegistration);
|
||||
|
||||
// Set the title.
|
||||
UpdateTitle();
|
||||
|
||||
// Load the GUI RichTextBoxes from resources.
|
||||
rtbHelp.Text = DatEmAll.Properties.Resources.DatEmAll_HELP;
|
||||
rtbLicense.Text = DatEmAll.Properties.Resources.DatEmAll_LICENSE;
|
||||
rtbDonations.Text = DatEmAll.Properties.Resources.DatEmAll_DONATIONS;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Getters/Setters Public Accessors
|
||||
|
||||
/// LogLines
|
||||
public string[] LogLines
|
||||
{
|
||||
get { return rtblLog.Lines; }
|
||||
set { rtblLog.Lines = value; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Log
|
||||
|
||||
/// <summary>
|
||||
/// Saves the log to a text file.
|
||||
/// </summary>
|
||||
/// <param name="strPath"></param>
|
||||
/// <returns></returns>
|
||||
public bool SaveLogToFile(string strPath = null)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (strPath != null)
|
||||
{
|
||||
DEA.PathLogFile = strPath;
|
||||
}
|
||||
|
||||
// Determine if the user selected a log filename.
|
||||
if (DEA.PathLogFile.Length == 0)
|
||||
{
|
||||
// Return a bool value.
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Print to screen
|
||||
Log.Information("Saving log file ...");
|
||||
|
||||
// Create log file directory if it doesn't exist.
|
||||
if (Directory.Exists(Path.GetDirectoryName(DEA.PathLogFile)) == false) Directory.CreateDirectory(Path.GetDirectoryName(DEA.PathLogFile));
|
||||
|
||||
// Save the contents of the log to a text file.
|
||||
File.WriteAllLines(DEA.PathLogFile, LogLines);
|
||||
|
||||
// Print to screen
|
||||
Log.Information("Log file saved (" + DEA.PathLogFile + ")");
|
||||
|
||||
// Return a bool value.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Print to screen
|
||||
Log.Error("Saving log file failed");
|
||||
Log.Error(ex.Message);
|
||||
|
||||
// Return a bool value.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Startup Tasks
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void StartupTasks_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
// Run startup tasks.
|
||||
DEA.StartupTasks();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void StartupTasks_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
{
|
||||
if (e.Cancelled)
|
||||
{
|
||||
// Print to screen
|
||||
Log.Information("Startup tasks canceled");
|
||||
}
|
||||
else if (e.Error != null)
|
||||
{
|
||||
// Print to screen
|
||||
Log.Error("Startup tasks failed");
|
||||
Log.Error(e.Error.Message);
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
// Print to screen
|
||||
Log.Information("Ready");
|
||||
|
||||
// Update the status message label.
|
||||
UpdateStatusMessageLabel("Ready");
|
||||
|
||||
// Enable all of the buttons.
|
||||
Invoke(new EnableAllButtonsDelegate(EnableAllButtons));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region GUI Methods
|
||||
|
||||
/// <summary>
|
||||
/// Cancels the current backgroundworker.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void Cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (bgwBuildDat.WorkerSupportsCancellation == true)
|
||||
{
|
||||
// Print to screen
|
||||
Log.Information("Cancellation pending after current operation ...");
|
||||
|
||||
// Disable the cancel button.
|
||||
tssbCancel.Enabled = false;
|
||||
|
||||
// Cancel the asynchronous operation.
|
||||
bgwBuildDat.CancelAsync();
|
||||
|
||||
// Update the status message label.
|
||||
UpdateStatusMessageLabel("Cancellation Pending ...");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates/Sets the application title.
|
||||
/// </summary>
|
||||
/// <param name="strTitle"></param>
|
||||
/// <returns></returns>
|
||||
public bool UpdateTitle(string strTitle = "")
|
||||
{
|
||||
try
|
||||
{
|
||||
if (this.InvokeRequired && !this.IsDisposed)
|
||||
{
|
||||
Invoke(new MethodInvoker(delegate ()
|
||||
{
|
||||
// Update the application title.
|
||||
this.Text = DEA.AppName + " v" + DEA.AppVersion + strTitle;
|
||||
}));
|
||||
}
|
||||
else if (!this.IsDisposed)
|
||||
{
|
||||
// Update the application title.
|
||||
this.Text = DEA.AppName + " v" + DEA.AppVersion + strTitle;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the progress status message label.
|
||||
/// </summary>
|
||||
/// <param name="strMsg"></param>
|
||||
private void UpdateStatusMessageLabel(string strMsg)
|
||||
{
|
||||
// Update the progress status message label.
|
||||
tsslStatusMessage.Text = strMsg;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// After the form is shown, run the startup tasks.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void Form_Shown(object sender, EventArgs e)
|
||||
{
|
||||
// Perform the application startup tasks.
|
||||
bgwStartupTasks.RunWorkerAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Exits the WinForm app.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void ExitApp_Click(object sender, EventArgs e)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Exits the Forms application.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void Form_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (bgwBuildDat.IsBusy == true)
|
||||
{
|
||||
if (MessageBox.Show("The dat builder is currently running. Are you sure you want to exit now? Exiting now may cause corrupt or incomplete files!", "Confirm Exit", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK)
|
||||
{
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Changes the path to the Dats directory.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void PathDatsDir_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Disable all buttons.
|
||||
DisableAllButtons();
|
||||
|
||||
if (txtPathDatsDir.Text == "") { txtPathDatsDir.Text = "Dats"; }
|
||||
|
||||
// Create and initialize a FolderBrowserDialog for the Dats directory.
|
||||
FolderBrowserDialog fbdSelectDir = new FolderBrowserDialog
|
||||
{
|
||||
ShowNewFolderButton = true,
|
||||
Description = "Please enter a path to the Dats directory: ",
|
||||
SelectedPath = Path.GetFullPath(Path.Combine(txtPathDatsDir.Text))
|
||||
};
|
||||
|
||||
// Determine if the user selected OK from the FolderBrowserDialog.
|
||||
if (fbdSelectDir.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
// Set both variables for compatibility for Windows .Net and Mono.
|
||||
this.DEA.PathDatsDir = fbdSelectDir.SelectedPath;
|
||||
txtPathDatsDir.Text = fbdSelectDir.SelectedPath;
|
||||
}
|
||||
|
||||
// Enable all buttons.
|
||||
EnableAllButtons();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Changes the path to the ROMs directory.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void PathROMsDir_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Disable all buttons.
|
||||
DisableAllButtons();
|
||||
|
||||
if (txtPathROMsDir.Text == "") { txtPathROMsDir.Text = "ROMs"; }
|
||||
|
||||
// Create and initialize a FolderBrowserDialog for the ROMs directory.
|
||||
FolderBrowserDialog fbdSelectDir = new FolderBrowserDialog
|
||||
{
|
||||
ShowNewFolderButton = true,
|
||||
Description = "Please enter a path to the ROMs directory: ",
|
||||
SelectedPath = Path.GetFullPath(Path.Combine(txtPathROMsDir.Text))
|
||||
};
|
||||
|
||||
// Determine if the user selected OK from the FolderBrowserDialog.
|
||||
if (fbdSelectDir.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
// Set both variables for compatibility for Windows .NET and Mono.
|
||||
this.DEA.PathROMsDir = fbdSelectDir.SelectedPath;
|
||||
txtPathROMsDir.Text = fbdSelectDir.SelectedPath;
|
||||
}
|
||||
|
||||
// Enable all buttons.
|
||||
EnableAllButtons();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Builds a dat.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void BuildDat_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Select the Log tab.
|
||||
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
|
||||
|
||||
// Disable all buttons.
|
||||
DisableAllButtons();
|
||||
|
||||
// Enable the cancel button.
|
||||
tssbCancel.Enabled = true;
|
||||
|
||||
// Update the status message label.
|
||||
UpdateStatusMessageLabel("Building Dat ...");
|
||||
|
||||
// Update the DateTimeFormatted variable.
|
||||
DEA.DateTimeFormatted = DateTime.Now.ToString("yyyyMMdd_HHmmss");
|
||||
|
||||
// Build a dat.
|
||||
bgwBuildDat.RunWorkerAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loads an options file.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void LoadOptions_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Disable all buttons.
|
||||
DisableAllButtons();
|
||||
|
||||
// Create and initialize an OpenFileDialog for the options file.
|
||||
OpenFileDialog ofdOptions = new OpenFileDialog
|
||||
{
|
||||
DefaultExt = "*.xml",
|
||||
Filter = "XML Files|*.xml",
|
||||
Title = "Please enter a path to the options file: ",
|
||||
InitialDirectory = Path.Combine(Application.StartupPath, "Options")
|
||||
};
|
||||
|
||||
// Determine if the user selected a file name from the OpenFileDialog.
|
||||
if (ofdOptions.ShowDialog() == DialogResult.OK && ofdOptions.FileName.Length > 0)
|
||||
{
|
||||
// Set the options file path.
|
||||
DEA.PathOptionsFile = ofdOptions.FileName;
|
||||
|
||||
// Select the Log tab.
|
||||
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
|
||||
|
||||
// Load the options.
|
||||
DEA.LoadOptionsFromFile();
|
||||
|
||||
// Print to screen
|
||||
Log.Information("Ready");
|
||||
}
|
||||
|
||||
// Dispose of the OpenFileDialog.
|
||||
ofdOptions.Dispose();
|
||||
|
||||
// Enable all buttons.
|
||||
EnableAllButtons();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Saves an options file.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void SaveOptions_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Disable all buttons.
|
||||
DisableAllButtons();
|
||||
|
||||
// Create and initialize a SaveFileDialog for the options file.
|
||||
SaveFileDialog sfdOptions = new SaveFileDialog
|
||||
{
|
||||
DefaultExt = "*.xml",
|
||||
Filter = "XML Files|*.xml",
|
||||
FileName = "DatEmAll-Options.xml",
|
||||
Title = "Please enter a path to the options file: ",
|
||||
InitialDirectory = Path.Combine(Application.StartupPath, "Options")
|
||||
};
|
||||
|
||||
// Determine if the user selected a file name from the SaveFileDialog.
|
||||
if (sfdOptions.ShowDialog() == DialogResult.OK && sfdOptions.FileName.Length > 0)
|
||||
{
|
||||
// Set the options file path.
|
||||
DEA.PathOptionsFile = sfdOptions.FileName;
|
||||
|
||||
// Select the Log tab.
|
||||
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
|
||||
|
||||
// Save the options.
|
||||
DEA.SaveOptionsToFile();
|
||||
|
||||
// Print to screen
|
||||
Log.Information("Ready");
|
||||
}
|
||||
|
||||
// Dispose of the SaveFileDialog.
|
||||
sfdOptions.Dispose();
|
||||
|
||||
// Enable all buttons.
|
||||
EnableAllButtons();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Saves the log to a text file.
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void SaveLog_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Disable all buttons.
|
||||
DisableAllButtons();
|
||||
|
||||
// Create and initialize a SaveFileDialog for the log file.
|
||||
SaveFileDialog sfdLog = new SaveFileDialog
|
||||
{
|
||||
DefaultExt = "*.txt",
|
||||
Filter = "TXT Files|*.txt",
|
||||
FileName = "DatEmAll-Log-" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".txt",
|
||||
Title = "Please enter a path to the log file: ",
|
||||
InitialDirectory = Path.Combine(Application.StartupPath, "Logs")
|
||||
};
|
||||
|
||||
// Determine if the user selected a log filename.
|
||||
if (sfdLog.ShowDialog() == DialogResult.OK && sfdLog.FileName.Length > 0)
|
||||
{
|
||||
// Set the log file path.
|
||||
DEA.PathLogFile = sfdLog.FileName;
|
||||
|
||||
// Select the Log tab.
|
||||
if (tcMain.TabPages.Contains(tabLog)) { tcMain.SelectTab(tabLog); }
|
||||
|
||||
// Save the log.
|
||||
SaveLogToFile(DEA.PathLogFile);
|
||||
|
||||
// Print to screen
|
||||
Log.Information("Ready");
|
||||
}
|
||||
|
||||
// Dispose of the SaveFileDialog.
|
||||
sfdLog.Dispose();
|
||||
|
||||
// Enable all buttons.
|
||||
EnableAllButtons();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the log.
|
||||
/// </summary>
|
||||
private void ViewLog_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsmiLog.Checked)
|
||||
{
|
||||
tsmiLog.Checked = false;
|
||||
tsmiLog.CheckState = CheckState.Unchecked;
|
||||
tcMain.TabPages.Remove(tabLog);
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiLog.Checked = true;
|
||||
tsmiLog.CheckState = CheckState.Checked;
|
||||
tcMain.TabPages.Add(tabLog);
|
||||
tcMain.SelectTab(tabLog);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the options.
|
||||
/// </summary>
|
||||
private void ViewOptions_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsmiOptions.Checked)
|
||||
{
|
||||
tsmiOptions.Checked = false;
|
||||
tsmiOptions.CheckState = CheckState.Unchecked;
|
||||
tcMain.TabPages.Remove(tabOptions);
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiOptions.Checked = true;
|
||||
tsmiOptions.CheckState = CheckState.Checked;
|
||||
tcMain.TabPages.Add(tabOptions);
|
||||
tcMain.SelectTab(tabOptions);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the help.
|
||||
/// </summary>
|
||||
private void ViewHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsmiHelp.Checked)
|
||||
{
|
||||
tsmiHelp.Checked = false;
|
||||
tsmiHelp.CheckState = CheckState.Unchecked;
|
||||
tcMain.TabPages.Remove(tabHelp);
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiHelp.Checked = true;
|
||||
tsmiHelp.CheckState = CheckState.Checked;
|
||||
tcMain.TabPages.Add(tabHelp);
|
||||
tcMain.SelectTab(tabHelp);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the license.
|
||||
/// </summary>
|
||||
private void ViewLicense_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsmiLicense.Checked)
|
||||
{
|
||||
tsmiLicense.Checked = false;
|
||||
tsmiLicense.CheckState = CheckState.Unchecked;
|
||||
tcMain.TabPages.Remove(tabLicense);
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiLicense.Checked = true;
|
||||
tsmiLicense.CheckState = CheckState.Checked;
|
||||
tcMain.TabPages.Add(tabLicense);
|
||||
tcMain.SelectTab(tabLicense);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the registration.
|
||||
/// </summary>
|
||||
private void ViewRegistration_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsmiRegistration.Checked)
|
||||
{
|
||||
tsmiRegistration.Checked = false;
|
||||
tsmiRegistration.CheckState = CheckState.Unchecked;
|
||||
tcMain.TabPages.Remove(tabRegistration);
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiRegistration.Checked = true;
|
||||
tsmiRegistration.CheckState = CheckState.Checked;
|
||||
tcMain.TabPages.Add(tabRegistration);
|
||||
tcMain.SelectTab(tabRegistration);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the Donations.
|
||||
/// </summary>
|
||||
private void ViewDonations_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsmiDonations.Checked)
|
||||
{
|
||||
tsmiDonations.Checked = false;
|
||||
tsmiDonations.CheckState = CheckState.Unchecked;
|
||||
tcMain.TabPages.Remove(tabDonations);
|
||||
}
|
||||
else
|
||||
{
|
||||
tsmiDonations.Checked = true;
|
||||
tsmiDonations.CheckState = CheckState.Checked;
|
||||
tcMain.TabPages.Add(tabDonations);
|
||||
tcMain.SelectTab(tabDonations);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Toggles the visibility of the toolbar.
|
||||
/// </summary>
|
||||
private void ViewToolbar_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tsMain.Visible)
|
||||
{
|
||||
tsMain.Visible = false;
|
||||
tsmiToolbar.Checked = false;
|
||||
tsmiToolbar.CheckState = CheckState.Unchecked;
|
||||
}
|
||||
else
|
||||
{
|
||||
tsMain.Visible = true;
|
||||
tsmiToolbar.Checked = true;
|
||||
tsmiToolbar.CheckState = CheckState.Checked;
|
||||
}
|
||||
}
|
||||
|
||||
private delegate void EnableAllButtonsDelegate();
|
||||
|
||||
/// <summary>
|
||||
/// Enables all of the buttons.
|
||||
/// </summary>
|
||||
private void EnableAllButtons()
|
||||
{
|
||||
// Enable all Menu Item buttons.
|
||||
tsmiCommands.Enabled = true;
|
||||
tsmiBuildDat.Enabled = true;
|
||||
tsmiLoadOptions.Enabled = true;
|
||||
tsmiSaveOptions.Enabled = true;
|
||||
tsmiSaveLog.Enabled = true;
|
||||
tsmiExit.Enabled = true;
|
||||
|
||||
// Enable all Toolbar buttons.
|
||||
tsbBuildDat.Enabled = true;
|
||||
tsbLoadOptions.Enabled = true;
|
||||
tsbSaveOptions.Enabled = true;
|
||||
tsbSaveLog.Enabled = true;
|
||||
|
||||
// Enable all Options checkboxes and textboxes and comboboxes.
|
||||
chkIncludeCRC32Hash.Enabled = true;
|
||||
chkIncludeFileSize.Enabled = true;
|
||||
chkIncludeMD5Hash.Enabled = true;
|
||||
chkIncludeSHA1Hash.Enabled = true;
|
||||
chkIncludeFileSize.Enabled = true;
|
||||
chkAppendGameCountToFilename.Enabled = true;
|
||||
chkAppendGameCountToDescription.Enabled = true;
|
||||
chkAppendVersionToFilename.Enabled = true;
|
||||
chkAppendVersionToDescription.Enabled = true;
|
||||
chkIncludeROMDirRootFiles.Enabled = true;
|
||||
txtDatFilename.Enabled = true;
|
||||
cbXMLEncoding.Enabled = true;
|
||||
cbXMLDOCTYPE.Enabled = true;
|
||||
chkIncludeDefaultHeaderName.Enabled = true;
|
||||
chkIncludeDefaultHeaderDescription.Enabled = true;
|
||||
chkIncludeDefaultHeaderVersion.Enabled = true;
|
||||
chkIncludeDefaultHeaderDate.Enabled = true;
|
||||
chkIncludeDefaultHeaderAuthor.Enabled = true;
|
||||
chkIncludeDefaultHeaderEmail.Enabled = true;
|
||||
chkIncludeDefaultHeaderHomepage.Enabled = true;
|
||||
chkIncludeDefaultHeaderURL.Enabled = true;
|
||||
chkIncludeDefaultHeaderComment.Enabled = true;
|
||||
chkIncludeDefaultHeaderCategory.Enabled = true;
|
||||
chkIncludeDefaultHeaderCMPForceUnzip.Enabled = true;
|
||||
txtOverrideHeaderName.Enabled = true;
|
||||
txtOverrideHeaderDescription.Enabled = true;
|
||||
txtOverrideHeaderVersion.Enabled = true;
|
||||
txtOverrideHeaderDate.Enabled = true;
|
||||
txtOverrideHeaderAuthor.Enabled = true;
|
||||
txtOverrideHeaderEmail.Enabled = true;
|
||||
txtOverrideHeaderHomepage.Enabled = true;
|
||||
txtOverrideHeaderURL.Enabled = true;
|
||||
txtOverrideHeaderComment.Enabled = true;
|
||||
txtOverrideHeaderCategory.Enabled = true;
|
||||
txtDownloadEmAllUsername.Enabled = true;
|
||||
txtDownloadEmAllPassword.Enabled = true;
|
||||
txtPathDatsDir.Enabled = true;
|
||||
txtPathROMsDir.Enabled = true;
|
||||
chkCheckForLatestVersion.Enabled = true;
|
||||
chkCheckSSLCertificates.Enabled = true;
|
||||
chkSendErrorReports.Enabled = true;
|
||||
cbLanguageLocality.Enabled = true;
|
||||
cbLogLevel.Enabled = true;
|
||||
}
|
||||
|
||||
private delegate void DisableAllButtonsDelegate();
|
||||
|
||||
/// <summary>
|
||||
/// Disables all of the buttons.
|
||||
/// </summary>
|
||||
private void DisableAllButtons()
|
||||
{
|
||||
// Disable all Menu Item buttons.
|
||||
tsmiCommands.Enabled = false;
|
||||
tsmiBuildDat.Enabled = false;
|
||||
tsmiLoadOptions.Enabled = false;
|
||||
tsmiSaveOptions.Enabled = false;
|
||||
tsmiSaveLog.Enabled = false;
|
||||
tsmiExit.Enabled = false;
|
||||
|
||||
// Disable all Toolbar buttons.
|
||||
tsbBuildDat.Enabled = false;
|
||||
tsbLoadOptions.Enabled = false;
|
||||
tsbSaveOptions.Enabled = false;
|
||||
tsbSaveLog.Enabled = false;
|
||||
|
||||
// Disable all Options checkboxes and textboxes and comboboxes.
|
||||
chkIncludeCRC32Hash.Enabled = false;
|
||||
chkIncludeFileSize.Enabled = false;
|
||||
chkIncludeMD5Hash.Enabled = false;
|
||||
chkIncludeSHA1Hash.Enabled = false;
|
||||
chkIncludeFileSize.Enabled = false;
|
||||
chkAppendGameCountToFilename.Enabled = false;
|
||||
chkAppendGameCountToDescription.Enabled = false;
|
||||
chkAppendVersionToFilename.Enabled = false;
|
||||
chkAppendVersionToDescription.Enabled = false;
|
||||
chkIncludeROMDirRootFiles.Enabled = false;
|
||||
txtDatFilename.Enabled = false;
|
||||
cbXMLEncoding.Enabled = false;
|
||||
cbXMLDOCTYPE.Enabled = false;
|
||||
chkIncludeDefaultHeaderName.Enabled = false;
|
||||
chkIncludeDefaultHeaderDescription.Enabled = false;
|
||||
chkIncludeDefaultHeaderVersion.Enabled = false;
|
||||
chkIncludeDefaultHeaderDate.Enabled = false;
|
||||
chkIncludeDefaultHeaderAuthor.Enabled = false;
|
||||
chkIncludeDefaultHeaderEmail.Enabled = false;
|
||||
chkIncludeDefaultHeaderHomepage.Enabled = false;
|
||||
chkIncludeDefaultHeaderURL.Enabled = false;
|
||||
chkIncludeDefaultHeaderComment.Enabled = false;
|
||||
chkIncludeDefaultHeaderCategory.Enabled = false;
|
||||
chkIncludeDefaultHeaderCMPForceUnzip.Enabled = false;
|
||||
txtOverrideHeaderName.Enabled = false;
|
||||
txtOverrideHeaderDescription.Enabled = false;
|
||||
txtOverrideHeaderVersion.Enabled = false;
|
||||
txtOverrideHeaderDate.Enabled = false;
|
||||
txtOverrideHeaderAuthor.Enabled = false;
|
||||
txtOverrideHeaderEmail.Enabled = false;
|
||||
txtOverrideHeaderHomepage.Enabled = false;
|
||||
txtOverrideHeaderURL.Enabled = false;
|
||||
txtOverrideHeaderComment.Enabled = false;
|
||||
txtOverrideHeaderCategory.Enabled = false;
|
||||
txtDownloadEmAllUsername.Enabled = false;
|
||||
txtDownloadEmAllPassword.Enabled = false;
|
||||
txtPathDatsDir.Enabled = false;
|
||||
txtPathROMsDir.Enabled = false;
|
||||
chkCheckForLatestVersion.Enabled = false;
|
||||
chkCheckSSLCertificates.Enabled = false;
|
||||
chkSendErrorReports.Enabled = false;
|
||||
cbLanguageLocality.Enabled = false;
|
||||
cbLogLevel.Enabled = false;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Builders
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void BuildDat_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
// Run dat builder.
|
||||
DEA.BuildADat(sender, e);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void BuildDat_ProgressChanged(object sender, ProgressChangedEventArgs e)
|
||||
{
|
||||
// Display the changed progress status.
|
||||
// UpdateStatusBuildProgress(e.ProgressPercentage);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void BuildDat_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
{
|
||||
if (e.Cancelled)
|
||||
{
|
||||
// Print to screen
|
||||
Log.Information("Dat builder canceled");
|
||||
}
|
||||
else if (e.Error != null)
|
||||
{
|
||||
// Print to screen
|
||||
Log.Error("Dat builder failed");
|
||||
Log.Error(e.Error.Message);
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
// Reset the progress status.
|
||||
// UpdateStatusBuildProgress(0);
|
||||
|
||||
// Disable the cancel button.
|
||||
tssbCancel.Enabled = false;
|
||||
|
||||
// Print to screen
|
||||
Log.Information("Ready");
|
||||
|
||||
// Update the status message label.
|
||||
UpdateStatusMessageLabel("Ready");
|
||||
|
||||
// Enable all buttons.
|
||||
Invoke(new EnableAllButtonsDelegate(EnableAllButtons));
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
215
DatEmAll-GUI/FrmDatEmAll.resx
Normal file
@@ -0,0 +1,215 @@
|
||||
<?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>
|
||||
<metadata name="msMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tsMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>112, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ssMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>200, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bgwBuildDat.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>433, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bgwStartupTasks.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>289, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>43</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAvnkASb55AMy+eQD2vnkA+r55AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD/vnkA/755
|
||||
AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD/vnkA/755AP++eQD6vnkA9r55
|
||||
AMy+eQBJAAAAAL13AE29dwD2vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713
|
||||
AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713AP+9dwD/vXcA/713
|
||||
AP+9dwD/vXcA/713APe9dwBJvHYA37x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2
|
||||
AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2
|
||||
AP+8dgD/vHYA/7x2AP+8dgD/vHYA/7x2ANe7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0
|
||||
AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0
|
||||
AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7t0AP+7dAD/u3QA/7pzAP+6dAr/vXkj/79/Nv/BhUf/wohP/8KI
|
||||
T//Ch03/wodM/8KGS//Ch0v/wodL/8KHS//Ch0v/wodL/8KHS//Ch0v/wodL/8KHS//Chkv/wodM/8GF
|
||||
R/+/fzb/vXoj/7t1Dv+6cwD/unMA/7pzAP+6cwD/unMA/7pzAP+6cwD/uXEA/7x4JP/Gj1H/0aZ4/9q6
|
||||
mv/fw6n/38Op/97Bpv/dv6H/3b6h/92+of/dvqH/3b6h/92+of/dvqH/3b6h/92+of/dvqH/3b6h/92+
|
||||
of/dvqH/2riY/9GmeP/Hj0//vXoj/7lyAP+5cgD/uXIA/7lyAP+5cgD/uXIA/7lyAP+3bwD/ungn/8iT
|
||||
WP/Wr4P/48iq/+zYwv/w4c7/8uTT//Hk1P/x5NT/8eTU//Hk1P/x5NT/8eTU//Hk1P/x5NT/8eTU//Hk
|
||||
1P/x5NT/8eTT//Hk1P/u3sz/5c20/9m2k//Km3D/v4VK/7p2Iv+3cAD/t3AA/7dwAP+3cAD/t3AA/7Zv
|
||||
AP+3chT/vH00/8WPV//Sp3v/4MOl/+7fzf/37uP/+vXv//v38v/69vH/+vbx//r28f/69vH/+vbx//r2
|
||||
8f/69vH/+vbx//r28f/69vH/+/bx//r07//27+n/8OTZ/+TOt//Urov/wYdO/7lyDv+2cAX/tm8A/7Zv
|
||||
AP+2bwD/tW0A/7VtAP+1bQD/uHMc/8GFQf/PpHv/38Wu/+razP/y6OD/+PLs//z6+P///v7/////////
|
||||
///////////////////////////////////////////////////9+/j/9ezh/+jWxP/Zu6X/zKF//8GK
|
||||
VP+6eC7/tW0L/7VtAP+0bAD/tGwA/7RsAP+1bQj/t3Me/7t9Pv/Bi17/y6B7/9q5nP/q2Mf/9+/o//z5
|
||||
9v/+/f3//v79//79/f/+/f3//v39//79/f/+/f3//v39//79/f/+/v3//v79//38+//7+PX/+fTw//Ts
|
||||
5//n08P/062F/8GKT/+1bxr/tGsA/7NrAf+zawH/s2sB/7NrAf+zawH/s2sB/7NrAf+4dST/xI5Y/9Kt
|
||||
kP/fx7b/59bJ/+3e0v/t39P/7d/U/+3f1P/t39T/7d/U/+3f1P/t39T/7d/U/+3g1P/u4NX/7uHV/+/h
|
||||
1v/v49j/7+HW/+bQuv/Ys4v/yJRd/7l2Kv+zbAX/smkD/7JqBv+zaxD/tG0X/7RuGv+0bhn/tG0Z/7Vv
|
||||
If+2czD/uXtF/7+IW//KnHL/0al//9Osgv/UrYT/1K2E/9SthP/UrYT/1K2E/9SthP/UrYT/1K2E/9Su
|
||||
hv/Vr4j/1rGK/9ezjf/Ys43/17GI/9Oqe//JlV//vHwz/7NsDv+xaAj/s2wZ/7p7OP/Ahkj/wYlO/8GI
|
||||
TP/AhUX/v4NB/72BPv+9fjf/vYAz/8OJQf/Ikkz/yZNO/8mUUP/JlFD/yZRQ/8mUUP/JlFD/yZRQ/8mU
|
||||
UP/HkU3/wohD/8CEQf/Bh0j/wolM/8KKUP/Ejlb/xI5Z/7+DSP+3dCj/smoO/7BmDP+zbiL/wIZI/8qZ
|
||||
Yv/QpHT/06p+/9Osg//TrIX/0quD/9Kpgv/RqH//0Kd+/9CmfP/Qpnz/0KZ8/9CmfP/Qpnz/0KZ8/9Cm
|
||||
fP/Qpnz/0aZ8/86hd//EkWj/vIJV/7h4Pf+1cSr/s20j/7JsIf+ybSH/smsb/7FpEf+wZw3/r2UQ/7Jr
|
||||
IP+8fj7/yZho/9i1k//kzLX/69vN/+7g1f/t39T/7d7T/+zd0v/s3dL/693S/+vd0v/r3dH/693R/+vd
|
||||
0f/r3dH/693R/+vd0f/s3dL/6trO/+TRxP/Zvan/yJly/7l5Nv+wZg//r2UQ/69lEP+vZRD/r2UQ/69l
|
||||
EP+uZBL/sGca/7VyK//CjmD/1rSY/+XSwf/w5+D/9/Ht//r39P/9+/n//v39//7+/f/+/f3//v39//79
|
||||
/f/+/f3//v39//79/f/+/f3//v39//7+/f/9/Pv/+/f0//Hm3f/fxa7/zaSC/76JYv+1dUL/sGki/65k
|
||||
Ef+uZBL/rmQS/65kFP+vZRf/sWkd/7Z1Pv++iWL/yJ6A/9Sznf/izLz/8ebb//r28f//////////////
|
||||
/////////////////////////////////////////////////////v3/+/j1//Ts5v/q2s7/28Cq/8md
|
||||
fP+3dj7/sGYQ/65kFf+uZBT/sWcY/7FnGP+xZxj/sWcY/7FnGP+0bST/vH5E/8ugff/dwq3/6drN//Lq
|
||||
4v/38u3/+/bz//v49P/7+PT/+/j0//v49P/7+PT/+/j0//v49P/7+PT/+/j0//v39P/7+PT/+/j0//fv
|
||||
5//t3M3/3L+n/8qdev+8glH/tG8r/7FoGf+zax3/s2sd/7NrHf+zax3/s2sd/7NrHP+1byf/unxG/8GN
|
||||
Zv/LoYH/2Lif/+bQv//v4dT/8eXY//Hl2f/x5dn/8eXZ//Hl2f/x5dn/8eXZ//Hl2f/x5tr/8+bb//Ln
|
||||
3f/z6N7/8ufd//Hj1//q2Mj/38St/82jf/+6ez//tGwf/7VvI/+0bSH/tG0g/7RsHf+yaRv/smcb/7Fm
|
||||
HP+wZBz/sWUb/7VxJv+/hlX/zKSF/9a3oP/Yu6X/2Lum/9i7pv/Yu6b/2Lum/9i7pv/Yu6b/2Lul/9m8
|
||||
p//bvqr/3MGs/93Crv/exbL/38e1/93Dr//Wtp7/xph2/7h3Ov+2cCT/uHEn/7RrIv+0bCj/tW8w/7Vx
|
||||
Of+0cT7/tHFA/7NxP/+ybz//s29A/7NzSP+4fVf/u4Vi/7yHZP+8h2X/vIdl/7yHZf+8h2X/vIdl/7yH
|
||||
Zf+8hmT/vYdj/8GLY//EjGH/wope/8KKXv/BiV//v4Vb/7t+UP+0cTz/smol/7hyKP+7dyz/uHQx/7x/
|
||||
Sf/Ekmz/z6qT/9W4qP/XvLD/1ryv/9S4qv/Ttqj/07Wn/9O1pv/TtaX/07Wl/9O1pf/TtaX/07Wl/9O1
|
||||
pf/TtaX/07Wl/9O1pf/SsZ7/z6SE/8aQYf+5dC//tWkm/7pzK/+6cyz/t28n/7dvKP+4cSn/vXku/8B9
|
||||
M/+/fz7/x5Ff/9Kriv/kzb3/7+LZ//Ts5v/27+v/9u/p//Xu6P/17ef/9Ozm//Ts5f/07OX/9Ovl//Tr
|
||||
5f/06+X/9Ovl//Tr5f/06+X/9Ozl//Lm3f/n08D/17Wb/8GPbv+6e0n/wH89/8KAN//Dgzz/xodJ/8KB
|
||||
Of/CgDX/xoY7/8aGQf/Lk1z/z591/9KulP/cwrH/6trN//Xt5v/9+/j///78//78+v/+/Pn//fv5//37
|
||||
+f/9+/n//fv5//37+f/9+/n//fv5//37+P/9+/n/+/j0//Xt5v/s3tP/38m7/9Kvl//Hk2L/x4pH/8yQ
|
||||
Uv/MkVP/yIk//8eHO//LjkH/zI9E/9GXV//Nk1b/woRM/8aUbf/auJz/6dbG//Ps5//59fL//Pn3//79
|
||||
/P////////////////////////////////////////////////////7///7+//z6+P/48ev/6dnN/9a0
|
||||
m//Ronv/06Bt/9CYXv/JjET/yo1A/9CVSP/Rlkr/1Z5c/9SbW//NklH/zpdc/9amdv/Xro3/1rel/+LO
|
||||
wP/x5tz/+vbz//////////////////////////////////////////////////////////////////79
|
||||
+//48/D/8Obf/+fTxP/du53/zJty/8KEQv/NkUT/1p1O/9eeUP/apWH/26Zj/9ulYv/bpWL/2qRi/9GZ
|
||||
WP/IkFv/1a2L/+XMtv/s3tP/8Ofi//Ho4//x6OP/8ejj//Ho4//x6OP/8ejj//Ho4//x6OP/8ejj//Ho
|
||||
4//x6OP/8ejj//Ho5P/w5uH/59bK/9m5of/Dkm7/vHo9/9GXSP/bpVT/3KZV/9+sZv/grmn/4K1o/+Ct
|
||||
aP/grWj/3Khj/9mkYv/drXP/37SE/9Wui//Op4//zaiQ/86pkf/OqZH/zqmR/86pkf/OqZH/zqmR/86p
|
||||
kf/OqZH/zqmR/86pkf/OqZH/zqqT/86qkv/MpIb/x5dx/7yBUv++fjz/1p5P/+GuW//hrlr/47Fl/+W2
|
||||
cP/ltW//5bVu/+W1bv/ltW7/5bVu/+W1bv/jsmz/2qdh/9KdWv/SnVr/055b/9OeW//Tnlv/055b/9Oe
|
||||
W//Tnlv/055b/9OeW//Tnlv/055b/9OeW//Tnlv/055b/9SgXv/UoWH/0JpV/9OcTv/fq1n/57di/ue3
|
||||
Yv/nt2L/6bpr/+q9cv/qvXP/6rxz/+q8c//qvHP/6r1z/+q8c//pu3L/6bxy/+m8cv/pu3L/6bty/+m7
|
||||
cv/pu3L/6bxy/+m8cv/pu3L/6bty/+m8cv/pu3L/6bty/+m7cv/pvHL/6bxx/+i6av/mtmH/5rZh/+e3
|
||||
Yv7swGmp7cFq/+7Bav/uwWn/7sJq/+7Ba//uwWv/7sFr/+7Ba//uwmv/7sFr/+7Ba//uwmv/7sJr/+7B
|
||||
a//uwWv/7sFr/+7Ba//uwmv/7sJr/+7Ba//uwWv/7sJr/+7Ba//uwWv/7sFr/+7Ba//uwmr/7sFp/+7B
|
||||
av/twWr/7MBprQAAAADxyW+w9Mtx/vTMcf/0zHH/9Mtx//TLcf/0y3H/9Mtx//TMcf/0zHH/9Mxx//TM
|
||||
cf/0zHH/9Mtx//TLcf/0y3H/9Mtx//TMcf/0zHH/9Mxx//TMcf/0zHH/9Mtx//TLcf/0y3H/9Mtx//TM
|
||||
cf/0zHH/9Mtx/vLJb7UAAAAAgAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAE=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
40
DatEmAll-GUI/Program.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Serilog;
|
||||
using Serilog.Formatting.Display;
|
||||
using Serilog.Sinks.LogEmAll;
|
||||
|
||||
namespace DatEmAll_GUI
|
||||
{
|
||||
/// <summary>
|
||||
/// The Main Program Class.
|
||||
/// </summary>
|
||||
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 FrmDatEmAll());
|
||||
}
|
||||
|
||||
/// <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();
|
||||
}
|
||||
}
|
||||
}
|
||||
36
DatEmAll-GUI/Properties/AssemblyInfo.cs
Normal 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("DatEmAll-GUI")]
|
||||
[assembly: AssemblyDescription("The Original Automated Datter")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("DatEmAll")]
|
||||
[assembly: AssemblyProduct("DatEmAll-GUI")]
|
||||
[assembly: AssemblyCopyright("Copyright (c) 2020-2025 DatEmAll")]
|
||||
[assembly: AssemblyTrademark("DatEmAll - The Original Automated Datter")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("472c0464-f101-4a66-8d26-e065497aa86d")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.0.3")]
|
||||
[assembly: AssemblyFileVersion("0.0.3")]
|
||||
203
DatEmAll-GUI/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,203 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 DatEmAll_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("DatEmAll_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 Blank_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Blank_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap BuildDat_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("BuildDat_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 Donate_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Donate_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Exit_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Exit_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Help_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Help_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 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 LoadOptions_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("LoadOptions_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Log_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Log_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Options_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Options_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap SaveLog_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("SaveLog_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap SaveOptions_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("SaveOptions_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Toolbar_32x32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Toolbar_32x32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
163
DatEmAll-GUI/Properties/Resources.resx
Normal file
@@ -0,0 +1,163 @@
|
||||
<?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="Blank_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Blank_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="BuildDat_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\BuildDat_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="Donate_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Donate_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Exit_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Exit_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Help_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Help_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="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="LoadOptions_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\LoadOptions_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Log_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Log_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Options_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Options_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="SaveLog_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\SaveLog_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="SaveOptions_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\SaveOptions_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Toolbar_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Images\Toolbar_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
26
DatEmAll-GUI/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace DatEmAll_GUI.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
DatEmAll-GUI/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
BIN
DatEmAll-GUI/Resources/Images/Blank_32x32.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
DatEmAll-GUI/Resources/Images/BuildDat_32x32.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
DatEmAll-GUI/Resources/Images/Cancel_16x16.png
Normal file
|
After Width: | Height: | Size: 933 B |
BIN
DatEmAll-GUI/Resources/Images/Donate_32x32.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
DatEmAll-GUI/Resources/Images/Exit_32x32.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
DatEmAll-GUI/Resources/Images/Help_32x32.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
DatEmAll-GUI/Resources/Images/Key_32x32.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
DatEmAll-GUI/Resources/Images/License_32x32.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
DatEmAll-GUI/Resources/Images/LoadOptions_32x32.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
DatEmAll-GUI/Resources/Images/Log_32x32.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
DatEmAll-GUI/Resources/Images/Options_32x32.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
DatEmAll-GUI/Resources/Images/SaveLog_32x32.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
DatEmAll-GUI/Resources/Images/SaveOptions_32x32.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
DatEmAll-GUI/Resources/Images/Toolbar_32x32.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
5
DatEmAll-GUI/packages.config
Normal 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>
|
||||
1854
DatEmAll-Installer/DatEmAll-Installer.vdproj
Normal file
6
DatEmAll-Release/App.config
Normal 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>
|
||||
128
DatEmAll-Release/DatEmAll-Release.csproj
Normal file
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<Import Project="..\packages\ILMerge.3.0.41\build\ILMerge.props" Condition="Exists('..\packages\ILMerge.3.0.41\build\ILMerge.props')" />
|
||||
<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>{DD89A500-245E-41BD-B844-4800E0C81476}</ProjectGuid>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<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="App.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<ReleaseName>DatEmAll</ReleaseName>
|
||||
<ReleaseVersion>0.0.3</ReleaseVersion>
|
||||
<ReleasePortableName>DatEmAll-Portable</ReleasePortableName>
|
||||
<ReleaseInstallerName>DatEmAll-Installer</ReleaseInstallerName>
|
||||
<ReleasePackageName>DatEmAll-Package</ReleasePackageName>
|
||||
<ReleaseSourceName>DatEmAll-Source</ReleaseSourceName>
|
||||
<ReleaseDLLName>DatEmAll</ReleaseDLLName>
|
||||
<ReleaseCLIName>DatEmAll-CLI</ReleaseCLIName>
|
||||
<ReleaseGUIName>DatEmAll-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\Dats\**\*.txt;" />
|
||||
<MySourceLogs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Logs\**\*.txt;" />
|
||||
<MySourceOptions Include="$(SolutionDir)$(ReleaseDLLName)\Resources\Options\**\*.txt;" />
|
||||
<MySourceROMs Include="$(SolutionDir)$(ReleaseDLLName)\Resources\ROMs\**\*.txt;" />
|
||||
</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="@(MySourceROMs)" DestinationFiles="@(MySourceROMs->'$(PortableDir)\ROMs\%(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>
|
||||
4
DatEmAll-Release/packages.config
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="ILMerge" version="3.0.41" targetFramework="net48" />
|
||||
</packages>
|
||||
70
DatEmAll.sln
Normal file
@@ -0,0 +1,70 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.33516.290
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll", "DatEmAll\DatEmAll.csproj", "{4F7103F0-8421-42F1-8AFE-251B752FA1E2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll-GUI", "DatEmAll-GUI\DatEmAll-GUI.csproj", "{472C0464-F101-4A66-8D26-E065497AA86D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll-CLI", "DatEmAll-CLI\DatEmAll-CLI.csproj", "{A4E91B23-5009-49C6-9B6F-419197B22504}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatEmAll-Release", "DatEmAll-Release\DatEmAll-Release.csproj", "{DD89A500-245E-41BD-B844-4800E0C81476}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{472C0464-F101-4A66-8D26-E065497AA86D} = {472C0464-F101-4A66-8D26-E065497AA86D}
|
||||
{4F7103F0-8421-42F1-8AFE-251B752FA1E2} = {4F7103F0-8421-42F1-8AFE-251B752FA1E2}
|
||||
{6083DF04-48C9-44C0-A348-65A3D70BBF30} = {6083DF04-48C9-44C0-A348-65A3D70BBF30}
|
||||
{A4E91B23-5009-49C6-9B6F-419197B22504} = {A4E91B23-5009-49C6-9B6F-419197B22504}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DatEmAll-Installer", "DatEmAll-Installer\DatEmAll-Installer.vdproj", "{6083DF04-48C9-44C0-A348-65A3D70BBF30}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{472C0464-F101-4A66-8D26-E065497AA86D} = {472C0464-F101-4A66-8D26-E065497AA86D}
|
||||
{A4E91B23-5009-49C6-9B6F-419197B22504} = {A4E91B23-5009-49C6-9B6F-419197B22504}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FC6B1AB2-9926-43F5-965C-A7141605F636}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
CHANGELOG.md = CHANGELOG.md
|
||||
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
|
||||
CONTRIBUTING.md = CONTRIBUTING.md
|
||||
LICENSE = LICENSE
|
||||
README.md = README.md
|
||||
TODO.md = TODO.md
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Description = The Original Automated Datter
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4F7103F0-8421-42F1-8AFE-251B752FA1E2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{472C0464-F101-4A66-8D26-E065497AA86D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{472C0464-F101-4A66-8D26-E065497AA86D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{472C0464-F101-4A66-8D26-E065497AA86D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{472C0464-F101-4A66-8D26-E065497AA86D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A4E91B23-5009-49C6-9B6F-419197B22504}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A4E91B23-5009-49C6-9B6F-419197B22504}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A4E91B23-5009-49C6-9B6F-419197B22504}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A4E91B23-5009-49C6-9B6F-419197B22504}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DD89A500-245E-41BD-B844-4800E0C81476}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DD89A500-245E-41BD-B844-4800E0C81476}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DD89A500-245E-41BD-B844-4800E0C81476}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DD89A500-245E-41BD-B844-4800E0C81476}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6083DF04-48C9-44C0-A348-65A3D70BBF30}.Debug|Any CPU.ActiveCfg = Debug
|
||||
{6083DF04-48C9-44C0-A348-65A3D70BBF30}.Debug|Any CPU.Build.0 = Debug
|
||||
{6083DF04-48C9-44C0-A348-65A3D70BBF30}.Release|Any CPU.ActiveCfg = Release
|
||||
{6083DF04-48C9-44C0-A348-65A3D70BBF30}.Release|Any CPU.Build.0 = Release
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3379E296-1DB0-4158-B41A-2D8DD5CFE9E6}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
BIN
DatEmAll/App.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
180
DatEmAll/CRC32CryptoServiceProvider.cs
Normal file
@@ -0,0 +1,180 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace DatEmAll
|
||||
{
|
||||
/// <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;
|
||||
}
|
||||
}
|
||||
}
|
||||
1902
DatEmAll/DatEmAll.cs
Normal file
102
DatEmAll/DatEmAll.csproj
Normal 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>{4F7103F0-8421-42F1-8AFE-251B752FA1E2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>DatEmAll</RootNamespace>
|
||||
<AssemblyName>DatEmAll</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>bin\Debug\DatEmAll.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>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>DatEmAll.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="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CRC32CryptoServiceProvider.cs" />
|
||||
<Compile Include="DatEmAll.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="DatEmAll.nuspec" />
|
||||
<None Include="DatEmAll.snk" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\Docs\DatEmAll-LICENSE.rtf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="App.ico" />
|
||||
<Content Include="Resources\Dats\put your dats in this directory.txt" />
|
||||
<Content Include="Resources\Docs\DatEmAll-DONATIONS.txt" />
|
||||
<Content Include="Resources\Docs\DatEmAll-HELP-CMD.txt" />
|
||||
<Content Include="Resources\Docs\DatEmAll-HELP.txt" />
|
||||
<Content Include="Resources\Docs\DatEmAll-LICENSE.txt" />
|
||||
<Content Include="Resources\Logs\put your logs in this directory.txt" />
|
||||
<Content Include="Resources\Options\put your options files in this directory.txt" />
|
||||
<Content Include="Resources\ROMs\put your roms in this directory.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Resources\Images\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
43
DatEmAll/DatEmAll.nuspec
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package>
|
||||
<metadata>
|
||||
<id>DatEmAll</id>
|
||||
<title>DatEmAll</title>
|
||||
<version>0.0.0</version>
|
||||
<description>Use the DatEmAll Library (.dll) to build dats from anywhere in your application.
|
||||
|
||||
First, install or add the DatEmAll Nuget Package to your application by downloading the [nuget.nupkg](https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll/packages) to your project folder and opening a Nuget Package Manager Console in Visual Studio and type:
|
||||
|
||||
```
|
||||
Install-Package nuget.nupkg
|
||||
```
|
||||
|
||||
Then, create and use a new DatEmAll Object from anywhere in your application like the following:
|
||||
|
||||
```
|
||||
DatEmAll.DatEmAll dea = new DatEmAll.DatEmAll();
|
||||
```
|
||||
</description>
|
||||
<authors>DatEmAll</authors>
|
||||
<license type="file">LICENSE.txt</license>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<icon>icon.png</icon>
|
||||
<iconUrl>https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll/raw/master/DatEmAll/Resources/Images/DatEmAll.png</iconUrl>
|
||||
<projectUrl>https://www.devemall.int.eu.org</projectUrl>
|
||||
<releaseNotes>See https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll/releases for release notes.</releaseNotes>
|
||||
<copyright>Copyright (c) 2016-2025 DatEmAll - All Rights Reserved</copyright>
|
||||
<tags>DatEmAll Build Dats Automated Dat Builder Datafiles Datafile Datfiles Datfile WindowsForms WinForms Windows Forms Application Console</tags>
|
||||
<repository type="git" url="https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll.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\DatEmAll-LICENSE.txt" target="LICENSE.txt" />
|
||||
<file src="Resources\Images\DatEmAll.png" target="icon.png" />
|
||||
</files>
|
||||
</package>
|
||||
BIN
DatEmAll/DatEmAll.snk
Normal file
36
DatEmAll/Properties/AssemblyInfo.cs
Normal 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("DatEmAll")]
|
||||
[assembly: AssemblyDescription("The Original Automated Datter")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("DatEmAll")]
|
||||
[assembly: AssemblyProduct("DatEmAll")]
|
||||
[assembly: AssemblyCopyright("Copyright (c) 2020-2025 DatEmAll")]
|
||||
[assembly: AssemblyTrademark("DatEmAll - The Original Automated Datter")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("4f7103f0-8421-42f1-8afe-251b752fa1e2")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.0.3")]
|
||||
[assembly: AssemblyFileVersion("0.0.3")]
|
||||
152
DatEmAll/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,152 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 DatEmAll.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("DatEmAll.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 ------------------------------------------------------------------
|
||||
///DatEmAll - Donations version 20240904
|
||||
///Copyright (c) 2016-2024 DatEmAll - All Rights Reserved
|
||||
///------------------------------------------------------------------
|
||||
///
|
||||
///As you may know, a lot of time, effort and hard work goes into the
|
||||
///development and maintenance of a world class automated dat
|
||||
///builder. If you like or use this software regularly, maybe you
|
||||
///would like to make a donation.
|
||||
///
|
||||
///Please use the following donation link to make a dona [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string DatEmAll_DONATIONS {
|
||||
get {
|
||||
return ResourceManager.GetString("DatEmAll_DONATIONS", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ------------------------------------------------------------------
|
||||
///DatEmAll - Help version 20240904
|
||||
///Copyright (c) 2016-2024 DatEmAll - All Rights Reserved
|
||||
///------------------------------------------------------------------
|
||||
///
|
||||
///[I] About
|
||||
///[II] Requirements
|
||||
///[III] Notes
|
||||
///[IV] Installation
|
||||
///[V] Registration
|
||||
///[VI] How To Build Datafiles
|
||||
///[VII] FAQ
|
||||
///[VIII] Contributing
|
||||
///[IX] Contact
|
||||
///[X] Disclaimers
|
||||
///
|
||||
///[I] About
|
||||
///----------
|
||||
///DatEmAll or DEA is the original app for automating the process of building datafiles. B [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string DatEmAll_HELP {
|
||||
get {
|
||||
return ResourceManager.GetString("DatEmAll_HELP", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ------------------------------------------------------------------
|
||||
///DatEmAll - Help - CMD version 20240904
|
||||
///Copyright (c) 2016-2024 DatEmAll - All Rights Reserved
|
||||
///------------------------------------------------------------------
|
||||
///
|
||||
///Usage:
|
||||
/// DatEmAll-CLI.exe [-command] [option:]
|
||||
/// Options that contain spaces must be enclosed in quotations
|
||||
/// Options may be specified in any order
|
||||
/// Only one command may be used
|
||||
/// If no command is passed then -all will be used
|
||||
///
|
||||
///----------------------------------------------- [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string DatEmAll_HELP_CMD {
|
||||
get {
|
||||
return ResourceManager.GetString("DatEmAll_HELP_CMD", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ***************************************************************
|
||||
///DatEmAll - License version 20240429
|
||||
///Copyright (c) 2016-2024 DatEmAll - All Rights Reserved
|
||||
///***************************************************************
|
||||
///
|
||||
///TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
///
|
||||
///1. Redistributions in any form are not permitted whatsoever,
|
||||
///under any conditions.
|
||||
///
|
||||
///2. This software may not be reverse engineered, decompiled,
|
||||
///or disassembled.
|
||||
///
|
||||
///3. DatEmAll may publish revised and/or new versions of [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string DatEmAll_LICENSE {
|
||||
get {
|
||||
return ResourceManager.GetString("DatEmAll_LICENSE", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
133
DatEmAll/Properties/Resources.resx
Normal 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="DatEmAll_DONATIONS" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Docs\DatEmAll-DONATIONS.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="DatEmAll_HELP" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Docs\DatEmAll-HELP.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="DatEmAll_HELP_CMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Docs\DatEmAll-HELP-CMD.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="DatEmAll_LICENSE" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Docs\DatEmAll-LICENSE.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1 @@
|
||||
This file can be deleted.
|
||||
14
DatEmAll/Resources/Docs/DatEmAll-DONATIONS.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
------------------------------------------------------------------
|
||||
DatEmAll - Donations version 20250729
|
||||
Copyright (c) 2016-2025 DatEmAll - All Rights Reserved
|
||||
------------------------------------------------------------------
|
||||
|
||||
As you may know, a lot of time, effort and hard work goes into the
|
||||
development and maintenance of a world class automated dat
|
||||
builder. If you like or use this software regularly, maybe you
|
||||
would like to make a donation.
|
||||
|
||||
Please use the following donation link to make a donation:
|
||||
|
||||
Donations: https://www.devemall.int.eu.org/index.php?action=donations
|
||||
Home Page: https://www.devemall.int.eu.org/
|
||||
145
DatEmAll/Resources/Docs/DatEmAll-HELP-CMD.txt
Normal file
@@ -0,0 +1,145 @@
|
||||
------------------------------------------------------------------
|
||||
DatEmAll - Help - CMD version 20250729
|
||||
Copyright (c) 2016-2025 DatEmAll - All Rights Reserved
|
||||
------------------------------------------------------------------
|
||||
|
||||
Usage:
|
||||
DatEmAll-CLI.exe [-command] [option:]
|
||||
Options that contain spaces must be enclosed in quotations
|
||||
Options may be specified in any order
|
||||
Only one command may be used
|
||||
If no command is passed then -builddat will be used
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
Build Dat Examples:
|
||||
DatEmAll-CLI.exe
|
||||
DatEmAll-CLI.exe -builddat
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
WARNING:
|
||||
Using invalid options values may cause this app to crash!
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
Standard Commands:
|
||||
-builddat Build a dat
|
||||
-saveoptions Save a new options file
|
||||
-help Print the help
|
||||
-donations Print the donations information
|
||||
-license Print the license
|
||||
-version Print the version
|
||||
-registerapp Register the app
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
Output Options:
|
||||
IA: Include CRC32 Hash
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IB: Include MD5 Hash
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IC: Include SHA1 Hash
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
ID: Include File Size
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
AA: Append Game Count To Filename
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
AB: Append Game Count To Description
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
AC: Append Version To Filename
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
AD: Append Version To Description
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IF: Include ROM Dir Root Files
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
DF: Dat Filename
|
||||
XE: XML Encoding
|
||||
utf-8 - DEFAULT
|
||||
XD: XML DOCTYPE
|
||||
Logiqx - DEFAULT
|
||||
None
|
||||
IF: Include Default Header Name
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IG: Include Default Header Description
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IH: Include Default Header Version
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
II: Include Default Header Date
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IJ: Include Default Header Author
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IK: Include Default Header Email
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IL: Include Default Header Homepage
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IM: Include Default Header URL
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IN: Include Default Header Comment
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
IO: Include Default Header Category
|
||||
0 No - DEFAULT
|
||||
1 Yes
|
||||
IP: Include Default Header CMP Force Unzip
|
||||
0 No - DEFAULT
|
||||
1 Yes
|
||||
OA: Override Header Name
|
||||
OB: Override Header Description
|
||||
OC: Override Header Version
|
||||
OD: Override Header Date
|
||||
OE: Override Header Author
|
||||
OF: Override Header Email
|
||||
OG: Override Header Homepage
|
||||
OH: Override Header URL
|
||||
OI: Override Header Comment
|
||||
OJ: Override Header Category
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
Path Options:
|
||||
DD: Path to the Dats directory
|
||||
RD: Path to the ROMs directory
|
||||
LF: Path to the log file
|
||||
OF: Path to the options file
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
Developer Options:
|
||||
LV: Check for latest version
|
||||
0 No - DEFAULT
|
||||
1 Yes
|
||||
NC: Check SSL certificates
|
||||
0 No
|
||||
1 Yes - DEFAULT
|
||||
RE: Send error reports
|
||||
0 No - DEFAULT
|
||||
1 Yes
|
||||
LL: Language and locality
|
||||
en - DEFAULT
|
||||
LE: Log level
|
||||
Information - DEFAULT
|
||||
|
||||
------------------------------------------------------------------
|
||||
|
||||
Registration Options:
|
||||
RA: Register app username
|
||||
RB: Register app email address
|
||||
RC: Register app password
|
||||
138
DatEmAll/Resources/Docs/DatEmAll-HELP.txt
Normal file
@@ -0,0 +1,138 @@
|
||||
------------------------------------------------------------------
|
||||
DatEmAll - Help version 20250729
|
||||
Copyright (c) 2016-2025 DatEmAll - All Rights Reserved
|
||||
------------------------------------------------------------------
|
||||
|
||||
[I] About
|
||||
[II] Requirements
|
||||
[III] Notes
|
||||
[IV] Installation
|
||||
[V] How To Build Datafiles
|
||||
[VI] Registration
|
||||
[VII] FAQ
|
||||
[VIII] Contributing
|
||||
[IX] Contact
|
||||
[X] Disclaimers
|
||||
|
||||
[I] About
|
||||
----------
|
||||
DatEmAll or DEA is the original app for automating the process of building datafiles. Building datafiles is vital to ROM collecting, making this software an essential app for ROM collecting.
|
||||
|
||||
DatEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, datting all your files is easy. Just run DatEmAll to dat all of your projects and files.
|
||||
|
||||
[II] Requirements
|
||||
------------------
|
||||
This software has been tested and verified working on Windows, Linux and Mac using .NET or Mono.
|
||||
|
||||
For Mono users, a complete installation of Mono is required. Mono does not ship with a list of Root Certificate Authorities. To install a list of Root Certificate Authorities for Mono, use the Mono "cert-sync" command as described here: https://www.mankier.com/1/cert-sync
|
||||
|
||||
For anyone who wants to download a list of Root Certificate Authorities to install using the "cert-sync" command, you can find regular releases here: https://curl.se/docs/caextract.html
|
||||
|
||||
[III] Notes
|
||||
------------
|
||||
* This software should be installed as close to the drive's root directory as possible. The nature of things dictates that there will be very long filenames. This is especially true of the TOSEC and Redump datafiles, when extracted. Keep in mind that some things may not work correctly if you choose too long of a path to put your files.
|
||||
|
||||
[IV] Installation
|
||||
-----------------
|
||||
DatEmAll is designed to run on various operating systems, using .NET or Mono. Windows already comes with .NET Framework, but you can still install and use Mono if you'd like.
|
||||
|
||||
First, if you are installing Mono, you should switch to the root user or System Administrator to install and use Mono and then switch to your downloademall user to install and use DatEmAll.
|
||||
|
||||
Next, download and unzip the program to any new location that you wish to use. However, this software should be installed as close to the drive's root directory as possible.
|
||||
|
||||
I like to put my installation in a directory called DEA on my Windows C:\ drive or in my Linux ~/ (home) directory. My installation layout looks like this:
|
||||
|
||||
C:\DEA\BASHes\
|
||||
C:\DEA\Batches\
|
||||
C:\DEA\Dats\
|
||||
C:\DEA\ROMs\
|
||||
C:\DEA\Docs\
|
||||
C:\DEA\Logs\
|
||||
C:\DEA\Options\
|
||||
C:\DEA\DatEmAll-CLI.exe
|
||||
C:\DEA\DatEmAll-GUI.exe
|
||||
|
||||
or
|
||||
|
||||
~/DEA/BASHes/
|
||||
~/DEA/Batches/
|
||||
~/DEA/Dats/
|
||||
~/DEA/ROMs/
|
||||
~/DEA/Docs/
|
||||
~/DEA/Logs/
|
||||
~/DEA/Options/
|
||||
~/DEA/DatEmAll-CLI.exe
|
||||
~/DEA/DatEmAll-GUI.exe
|
||||
|
||||
After this software is installed, you can create a new options file using the GUI or CLI version.
|
||||
|
||||
If you have an account at the included database, set your username and password by editing the options file directly or by editing and saving the Options file from the GUI. This will allow you upload and download any private datafiles that you have access to.
|
||||
|
||||
If your database username or password uses XML special characters, obviously you will need to XML encode those characters when directly editing the XML options file.
|
||||
|
||||
[V] How to Build Datafiles
|
||||
--------------------------------
|
||||
If you like using a graphical interface, run the DatEmAll GUI, check the options that you want to use and click the Build Dat button to build a datafile.
|
||||
|
||||
If you like using a command line interface, run the DatEmAll CLI directly or use some of the provided Windows Batch files to build a datafile. Optionally, you may pass commands and options to the DatEmAll CLI. The proper syntax and help is available with -help.
|
||||
|
||||
Since you may set options from the command line or from an options file, an order of precedence must be established. Options from the command line will take priority over options from the options file. An options file is not mandatory, nor is passing any options from the command line. A new options file can be created using the CLI or the GUI version.
|
||||
|
||||
The default command used by DatEmAll builds a datafile using any default commands or commands set from the command line or options file.
|
||||
|
||||
[VI] Registration
|
||||
----------------
|
||||
Some versions of this software require registration. It's free, easy and helps with the development of the software. Additionally, registration allows you to access any special features of this software.
|
||||
|
||||
The software can be registered by using the GUI or the CLI version.
|
||||
|
||||
Each installation requires a separate registration. You may register as many copies of this software as you need.
|
||||
|
||||
[VII] FAQ
|
||||
---------
|
||||
Q1) I didn't read or follow the instructions in the help file and I can't get this software to work properly. Can you help?
|
||||
A1) No.
|
||||
|
||||
Q2) I replaced some of the files for the newest version of this software with files from previous versions of this software, picking and choosing which files I want to replace or not replace. I can't get this software to work correctly. Can you help?
|
||||
A2) Nothing in the instructions tells you to pick and choose which files to copy or replace and use from different versions of this software. This won't happen if you follow the installation instructions. Please read the Installation Section again and this time follow the instructions.
|
||||
|
||||
Q3) Why do I keep getting errors about path and file lengths?
|
||||
A3) Obviously, you chose an installation path that is too long. This won't happen if you follow the installation instructions. Please read the Installation Section again and this time follow the instructions.
|
||||
|
||||
Q4) Why do I keep getting a TrustFailure error using Mono?
|
||||
A4) Mono does not ship with a list of Root Certificate Authorities. To install a list of Root Certificate Authorities for Mono, use the Mono "cert-sync" command as described here: https://www.mankier.com/1/cert-sync
|
||||
A4) Alternatively, you may want to disable SSL certificate verification. This will allow you to make a secure server connection, but obviously poses a security risk.
|
||||
|
||||
Q5) The console window stays open and pauses until I close it. I am using Linux and don't like how this works.
|
||||
A5) Whether you are using Linux, Windows, Mac, or any other operating system is completely irrelevant. The BASH and Batch files are designed to be clicked and to stay open until the user closes them. If you are running commands from a Linux or Windows command line, then you should be typing the commands from the BASH or Batch file directly into the command line, not using the provided BASH or Batch files. You are always free to make your own BASH and Batch files to do anything that you want them to do.
|
||||
|
||||
Q6) Why doesn't my registration key work?
|
||||
A6) Some registration keys may work for multiple installations on the same machine. However, installations on different machines may require a separate registration key. Make sure to use the proper registration key for each installation or the registration key may not work.
|
||||
|
||||
Q7) I didn't get my registration key email. Can you help?
|
||||
A7) No. Your registration key was sent. There's no excuse for you to not know how to check and use email.
|
||||
|
||||
Q8) I appear to be blocked from some or all databases, or appear to be blocked from using this software. What gives?
|
||||
A8) There are way too many reasons why this may or may not be happening. One example might be that you are using a blacklisted or abusive host, which may be blocked by some networks. In many cases, the network filtering may also be completely out of anyone's control. These problems are not caused by DatEmAll. DatEmAll goes above and beyond, giving you complete control over your network connection and providing you with the ability to use this software and upload and download dats completely anonymously.
|
||||
|
||||
[VIII] Contributing
|
||||
----------------
|
||||
Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Our membership is open to everyone and we need your help if you are a:
|
||||
|
||||
* Collector
|
||||
* Database Administrator
|
||||
* Datter
|
||||
* Developer
|
||||
* Dumper
|
||||
* Graphic Artist
|
||||
* Translator
|
||||
* Player
|
||||
* Tester
|
||||
|
||||
[IX] Contact
|
||||
----------------
|
||||
GitEmAll: https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll
|
||||
|
||||
[X] Disclaimers
|
||||
----------------
|
||||
This software may only be used and/or distributed in accordance with the license with which it is distributed.
|
||||
BIN
DatEmAll/Resources/Docs/DatEmAll-LICENSE.rtf
Normal file
37
DatEmAll/Resources/Docs/DatEmAll-LICENSE.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
***************************************************************
|
||||
DatEmAll - License version 20250729
|
||||
Copyright (c) 2016-2025 DatEmAll - All Rights Reserved
|
||||
***************************************************************
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Redistributions in any form are not permitted whatsoever,
|
||||
under any conditions.
|
||||
|
||||
2. This software may not be reverse engineered, decompiled,
|
||||
or disassembled.
|
||||
|
||||
3. DatEmAll may publish revised and/or new versions of the
|
||||
license from time to time. Each version will be given a
|
||||
distinguishing version number. No one other than
|
||||
DatEmAll has the right to modify the terms applicable
|
||||
to covered code created under this License.
|
||||
|
||||
4. It is your responsibility to use this software in accordance
|
||||
with all applicable laws.
|
||||
|
||||
***************************************************************
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE DATEMALL DEVELOPMENT TEAM
|
||||
'AS IS' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
|
||||
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
SHALL THE DATEMALL DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
THE POSSIBILITY OF SUCH DAMAGE.
|
||||
BIN
DatEmAll/Resources/Images/DatEmAll.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1 @@
|
||||
This file can be deleted.
|
||||
@@ -0,0 +1 @@
|
||||
This file can be deleted.
|
||||
6
DatEmAll/packages.config
Normal 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>
|
||||
37
LICENSE
Normal file
@@ -0,0 +1,37 @@
|
||||
***************************************************************
|
||||
DatEmAll - License version 20250729
|
||||
Copyright (c) 2016-2025 DatEmAll - All Rights Reserved
|
||||
***************************************************************
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Redistributions in any form are not permitted whatsoever,
|
||||
under any conditions.
|
||||
|
||||
2. This software may not be reverse engineered, decompiled,
|
||||
or disassembled.
|
||||
|
||||
3. DatEmAll may publish revised and/or new versions of the
|
||||
license from time to time. Each version will be given a
|
||||
distinguishing version number. No one other than
|
||||
DatEmAll has the right to modify the terms applicable
|
||||
to covered code created under this License.
|
||||
|
||||
4. It is your responsibility to use this software in accordance
|
||||
with all applicable laws.
|
||||
|
||||
***************************************************************
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE DATEMALL DEVELOPMENT TEAM
|
||||
'AS IS' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
|
||||
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
SHALL THE DATEMALL DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
||||
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
THE POSSIBILITY OF SUCH DAMAGE.
|
||||
46
README.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# @DatEmAll
|
||||
### The Original Automated Datter
|
||||
## About
|
||||
DatEmAll or DEA is the original app for automating the process of building datafiles. Building datafiles is vital to ROM collecting, making this software an essential app for ROM collecting.
|
||||
|
||||
DatEmAll comes with both a command line interface and a graphical interface. No matter which interface you choose, datting all your files is easy. Just run DatEmAll to dat all of your projects and files.
|
||||
## Dependencies
|
||||
.NET Framework 4.8
|
||||
|
||||
The following NuGet Packages are required to build a Debug and/or Release version of this app:
|
||||
* ILMerge
|
||||
* Serilog
|
||||
* Serilog.Sinks.Console
|
||||
* Serilog.Sinks.LogEmAll
|
||||
|
||||
The following tools and extensions are required to be installed in your Visual Sudio IDE:
|
||||
* Microsoft Visual Studio Installer Projects
|
||||
## Projects
|
||||
* DatEmAll - Class Library
|
||||
* DatEmAll-CLI - Console App
|
||||
* DatEmAll-GUI - Windows Forms App
|
||||
* DatEmAll-Release - Release Project
|
||||
* DatEmAll-Installer - Installer Project
|
||||
## Contributing
|
||||
Let's work better together. We are looking to collaborate with like-minded people who want to contribute in any capacity. Collaboration is open to everyone and we need your help if you are a:
|
||||
* Collector
|
||||
* Database Administrator
|
||||
* Datter
|
||||
* Developer
|
||||
* Dumper
|
||||
* Graphic Artist
|
||||
* Translator
|
||||
* Player
|
||||
* Tester
|
||||
|
||||
Feel free to:
|
||||
* Fork the repository
|
||||
* Create an issue
|
||||
* Branch your repository with the issue number and a meaningful name related to the changes you are making
|
||||
* Create a pull request
|
||||
|
||||
## Contact
|
||||
GitEmAll: [https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll](https://gitemall.devemall.int.eu.org/TommySalami/DatEmAll "GitEmAll")
|
||||
|
||||
---
|
||||
###### Copyright (c) 2016-2025 DatEmAll - All Rights Reserved v2025-07-29-00
|
||||