From 7548646ba2095a16a56324c539cb3c1a06450054 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 25 Aug 2021 15:09:42 -0700 Subject: [PATCH] Create and use the Tools namespace --- BurnOutSharp/ExecutableType/Microsoft/IMAGE_DATA_DIRECTORY.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/IMAGE_DOS_HEADER.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/IMAGE_FILE_HEADER.cs | 1 + .../ExecutableType/Microsoft/IMAGE_OPTIONAL_HEADER.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/IMAGE_OS2_HEADER.cs | 1 + .../ExecutableType/Microsoft/IMAGE_RESOURCE_DATA_ENTRY.cs | 1 + .../ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY.cs | 1 + .../Microsoft/IMAGE_RESOURCE_DIRECTORY_ENTRY.cs | 1 + .../ExecutableType/Microsoft/IMAGE_RESOURCE_DIR_STRING_U.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/IMAGE_SECTION_HEADER.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/NAMEINFO.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/NewRlc.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/NewRlcInfo.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/NewRsrc.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/NewSeg.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/NewSegdata.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/ResourceTable.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/RsrcNameInfo.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/RsrcString.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/RsrcTypeInfo.cs | 1 + BurnOutSharp/ExecutableType/Microsoft/TYPEINFO.cs | 1 + BurnOutSharp/FileType/BFPK.cs | 1 + BurnOutSharp/FileType/BZip2.cs | 2 +- BurnOutSharp/FileType/Executable.cs | 1 + BurnOutSharp/FileType/GZIP.cs | 2 +- BurnOutSharp/FileType/InstallShieldArchiveV3.cs | 1 + BurnOutSharp/FileType/InstallShieldCAB.cs | 1 + BurnOutSharp/FileType/MPQ.cs | 2 +- BurnOutSharp/FileType/MSI.cs | 2 +- BurnOutSharp/FileType/MicrosoftCAB.cs | 1 + BurnOutSharp/FileType/PKZIP.cs | 2 +- BurnOutSharp/FileType/RAR.cs | 2 +- BurnOutSharp/FileType/SevenZip.cs | 2 +- BurnOutSharp/FileType/TapeArchive.cs | 2 +- BurnOutSharp/FileType/Textfile.cs | 2 +- BurnOutSharp/FileType/Valve.cs | 1 + BurnOutSharp/FileType/XZ.cs | 2 +- BurnOutSharp/PackerType/IntelInstallationFramework.cs | 1 + BurnOutSharp/PackerType/MicrosoftCABSFX.cs | 1 + BurnOutSharp/PackerType/SetupFactory.cs | 1 + BurnOutSharp/PackerType/WinRARSFX.cs | 1 + BurnOutSharp/PackerType/WinZipSFX.cs | 1 + BurnOutSharp/PackerType/WiseInstaller.cs | 1 + BurnOutSharp/ProtectionType/CDKey.cs | 1 + BurnOutSharp/ProtectionType/ElectronicArts.cs | 1 + BurnOutSharp/ProtectionType/GFWL.cs | 1 + BurnOutSharp/ProtectionType/ImpulseReactor.cs | 1 + BurnOutSharp/ProtectionType/LaserLock.cs | 1 + BurnOutSharp/ProtectionType/OnlineRegistration.cs | 1 + BurnOutSharp/ProtectionType/ProtectDisc.cs | 1 + BurnOutSharp/ProtectionType/SafeDisc.cs | 1 + BurnOutSharp/ProtectionType/SecuROM.cs | 1 + BurnOutSharp/ProtectionType/SolidShield.cs | 1 + BurnOutSharp/ProtectionType/StarForce.cs | 1 + BurnOutSharp/ProtectionType/Tages.cs | 1 + BurnOutSharp/ProtectionType/VOBProtectCDDVD.cs | 1 + BurnOutSharp/Scanner.cs | 1 + BurnOutSharp/{ => Tools}/EVORE.cs | 2 +- BurnOutSharp/{ => Tools}/Extensions.cs | 4 ++-- BurnOutSharp/{ => Tools}/Utilities.cs | 2 +- 60 files changed, 61 insertions(+), 14 deletions(-) rename BurnOutSharp/{ => Tools}/EVORE.cs (99%) rename BurnOutSharp/{ => Tools}/Extensions.cs (97%) rename BurnOutSharp/{ => Tools}/Utilities.cs (99%) diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DATA_DIRECTORY.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DATA_DIRECTORY.cs index 634931ce..ad100a40 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DATA_DIRECTORY.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DATA_DIRECTORY.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DOS_HEADER.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DOS_HEADER.cs index df7fdaa1..2315b614 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DOS_HEADER.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_DOS_HEADER.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_FILE_HEADER.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_FILE_HEADER.cs index aad994b2..c41d74a3 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_FILE_HEADER.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_FILE_HEADER.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OPTIONAL_HEADER.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OPTIONAL_HEADER.cs index d74cfb35..4ee3974e 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OPTIONAL_HEADER.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OPTIONAL_HEADER.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OS2_HEADER.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OS2_HEADER.cs index 7344407f..3b7a4c2d 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OS2_HEADER.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_OS2_HEADER.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DATA_ENTRY.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DATA_ENTRY.cs index d99e28d2..5f17f779 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DATA_ENTRY.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DATA_ENTRY.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY.cs index 2acd18ce..e121984f 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY_ENTRY.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY_ENTRY.cs index ebbb16b5..37b20382 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY_ENTRY.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIRECTORY_ENTRY.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIR_STRING_U.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIR_STRING_U.cs index a551395e..522d79da 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIR_STRING_U.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_RESOURCE_DIR_STRING_U.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_SECTION_HEADER.cs b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_SECTION_HEADER.cs index ad57ddb7..bbdc9538 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/IMAGE_SECTION_HEADER.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/IMAGE_SECTION_HEADER.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/NAMEINFO.cs b/BurnOutSharp/ExecutableType/Microsoft/NAMEINFO.cs index 3fd1dc7f..9e974141 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/NAMEINFO.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/NAMEINFO.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/NewRlc.cs b/BurnOutSharp/ExecutableType/Microsoft/NewRlc.cs index 11a3817f..1f0cccaf 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/NewRlc.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/NewRlc.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/NewRlcInfo.cs b/BurnOutSharp/ExecutableType/Microsoft/NewRlcInfo.cs index 80b37b80..790c5303 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/NewRlcInfo.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/NewRlcInfo.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/NewRsrc.cs b/BurnOutSharp/ExecutableType/Microsoft/NewRsrc.cs index 06863fe6..2ead5ff8 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/NewRsrc.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/NewRsrc.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/NewSeg.cs b/BurnOutSharp/ExecutableType/Microsoft/NewSeg.cs index f5fb04fc..98b1c9f5 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/NewSeg.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/NewSeg.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/NewSegdata.cs b/BurnOutSharp/ExecutableType/Microsoft/NewSegdata.cs index 3b94811d..ccd5ea55 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/NewSegdata.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/NewSegdata.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/ResourceTable.cs b/BurnOutSharp/ExecutableType/Microsoft/ResourceTable.cs index 314c340e..f3243bf8 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/ResourceTable.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/ResourceTable.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/RsrcNameInfo.cs b/BurnOutSharp/ExecutableType/Microsoft/RsrcNameInfo.cs index 8edca310..b3e066c5 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/RsrcNameInfo.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/RsrcNameInfo.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/RsrcString.cs b/BurnOutSharp/ExecutableType/Microsoft/RsrcString.cs index 96e12cfd..c410ba40 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/RsrcString.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/RsrcString.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/RsrcTypeInfo.cs b/BurnOutSharp/ExecutableType/Microsoft/RsrcTypeInfo.cs index 720728dd..7acee96c 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/RsrcTypeInfo.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/RsrcTypeInfo.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/ExecutableType/Microsoft/TYPEINFO.cs b/BurnOutSharp/ExecutableType/Microsoft/TYPEINFO.cs index 0f1bd736..a28dee4d 100644 --- a/BurnOutSharp/ExecutableType/Microsoft/TYPEINFO.cs +++ b/BurnOutSharp/ExecutableType/Microsoft/TYPEINFO.cs @@ -12,6 +12,7 @@ using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.ExecutableType.Microsoft { diff --git a/BurnOutSharp/FileType/BFPK.cs b/BurnOutSharp/FileType/BFPK.cs index bbed1cc9..1c9d8ffa 100644 --- a/BurnOutSharp/FileType/BFPK.cs +++ b/BurnOutSharp/FileType/BFPK.cs @@ -2,6 +2,7 @@ using System.Collections.Concurrent; using System.IO; using System.Text; +using BurnOutSharp.Tools; using SharpCompress.Compressors; using SharpCompress.Compressors.Deflate; diff --git a/BurnOutSharp/FileType/BZip2.cs b/BurnOutSharp/FileType/BZip2.cs index 43981372..371dca85 100644 --- a/BurnOutSharp/FileType/BZip2.cs +++ b/BurnOutSharp/FileType/BZip2.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Compressors; using SharpCompress.Compressors.BZip2; diff --git a/BurnOutSharp/FileType/Executable.cs b/BurnOutSharp/FileType/Executable.cs index 14fbd152..31fa58f5 100644 --- a/BurnOutSharp/FileType/Executable.cs +++ b/BurnOutSharp/FileType/Executable.cs @@ -6,6 +6,7 @@ using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; +using BurnOutSharp.Tools; namespace BurnOutSharp.FileType { diff --git a/BurnOutSharp/FileType/GZIP.cs b/BurnOutSharp/FileType/GZIP.cs index a65a4ca6..e61db8d2 100644 --- a/BurnOutSharp/FileType/GZIP.cs +++ b/BurnOutSharp/FileType/GZIP.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.GZip; diff --git a/BurnOutSharp/FileType/InstallShieldArchiveV3.cs b/BurnOutSharp/FileType/InstallShieldArchiveV3.cs index 0c262097..424fa432 100644 --- a/BurnOutSharp/FileType/InstallShieldArchiveV3.cs +++ b/BurnOutSharp/FileType/InstallShieldArchiveV3.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Text.RegularExpressions; +using BurnOutSharp.Tools; using UnshieldSharp.Archive; namespace BurnOutSharp.FileType diff --git a/BurnOutSharp/FileType/InstallShieldCAB.cs b/BurnOutSharp/FileType/InstallShieldCAB.cs index 4e91a1d5..0e53d856 100644 --- a/BurnOutSharp/FileType/InstallShieldCAB.cs +++ b/BurnOutSharp/FileType/InstallShieldCAB.cs @@ -2,6 +2,7 @@ using System.Collections.Concurrent; using System.IO; using System.Text.RegularExpressions; +using BurnOutSharp.Tools; using UnshieldSharp.Cabinet; namespace BurnOutSharp.FileType diff --git a/BurnOutSharp/FileType/MPQ.cs b/BurnOutSharp/FileType/MPQ.cs index 8529d8b0..e6253eb6 100644 --- a/BurnOutSharp/FileType/MPQ.cs +++ b/BurnOutSharp/FileType/MPQ.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using StormLibSharp; namespace BurnOutSharp.FileType diff --git a/BurnOutSharp/FileType/MSI.cs b/BurnOutSharp/FileType/MSI.cs index 44d8ea30..740e4a6a 100644 --- a/BurnOutSharp/FileType/MSI.cs +++ b/BurnOutSharp/FileType/MSI.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using WixToolset.Dtf.WindowsInstaller; namespace BurnOutSharp.FileType diff --git a/BurnOutSharp/FileType/MicrosoftCAB.cs b/BurnOutSharp/FileType/MicrosoftCAB.cs index c683f335..ff75f794 100644 --- a/BurnOutSharp/FileType/MicrosoftCAB.cs +++ b/BurnOutSharp/FileType/MicrosoftCAB.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Concurrent; using System.IO; +using BurnOutSharp.Tools; using LibMSPackN; namespace BurnOutSharp.FileType diff --git a/BurnOutSharp/FileType/PKZIP.cs b/BurnOutSharp/FileType/PKZIP.cs index 04f4d891..28bf3a08 100644 --- a/BurnOutSharp/FileType/PKZIP.cs +++ b/BurnOutSharp/FileType/PKZIP.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.Zip; diff --git a/BurnOutSharp/FileType/RAR.cs b/BurnOutSharp/FileType/RAR.cs index 5bb5dd60..7f086f59 100644 --- a/BurnOutSharp/FileType/RAR.cs +++ b/BurnOutSharp/FileType/RAR.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.Rar; diff --git a/BurnOutSharp/FileType/SevenZip.cs b/BurnOutSharp/FileType/SevenZip.cs index fb750174..ff61c294 100644 --- a/BurnOutSharp/FileType/SevenZip.cs +++ b/BurnOutSharp/FileType/SevenZip.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.SevenZip; diff --git a/BurnOutSharp/FileType/TapeArchive.cs b/BurnOutSharp/FileType/TapeArchive.cs index 853a1b4f..d13454db 100644 --- a/BurnOutSharp/FileType/TapeArchive.cs +++ b/BurnOutSharp/FileType/TapeArchive.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.Tar; diff --git a/BurnOutSharp/FileType/Textfile.cs b/BurnOutSharp/FileType/Textfile.cs index 63fd1023..fc74029e 100644 --- a/BurnOutSharp/FileType/Textfile.cs +++ b/BurnOutSharp/FileType/Textfile.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; using System.Text; +using BurnOutSharp.Tools; namespace BurnOutSharp.FileType { diff --git a/BurnOutSharp/FileType/Valve.cs b/BurnOutSharp/FileType/Valve.cs index 61de9703..00a66f58 100644 --- a/BurnOutSharp/FileType/Valve.cs +++ b/BurnOutSharp/FileType/Valve.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; +using BurnOutSharp.Tools; namespace BurnOutSharp.FileType { diff --git a/BurnOutSharp/FileType/XZ.cs b/BurnOutSharp/FileType/XZ.cs index 05365f14..96fbf836 100644 --- a/BurnOutSharp/FileType/XZ.cs +++ b/BurnOutSharp/FileType/XZ.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.IO; +using BurnOutSharp.Tools; using SharpCompress.Compressors.Xz; namespace BurnOutSharp.FileType diff --git a/BurnOutSharp/PackerType/IntelInstallationFramework.cs b/BurnOutSharp/PackerType/IntelInstallationFramework.cs index cf218116..c791062d 100644 --- a/BurnOutSharp/PackerType/IntelInstallationFramework.cs +++ b/BurnOutSharp/PackerType/IntelInstallationFramework.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.PackerType { diff --git a/BurnOutSharp/PackerType/MicrosoftCABSFX.cs b/BurnOutSharp/PackerType/MicrosoftCABSFX.cs index ddf7d22f..353ab9e5 100644 --- a/BurnOutSharp/PackerType/MicrosoftCABSFX.cs +++ b/BurnOutSharp/PackerType/MicrosoftCABSFX.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.PackerType { diff --git a/BurnOutSharp/PackerType/SetupFactory.cs b/BurnOutSharp/PackerType/SetupFactory.cs index daaac6dc..3182b08f 100644 --- a/BurnOutSharp/PackerType/SetupFactory.cs +++ b/BurnOutSharp/PackerType/SetupFactory.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.IO; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.PackerType { diff --git a/BurnOutSharp/PackerType/WinRARSFX.cs b/BurnOutSharp/PackerType/WinRARSFX.cs index faf854eb..d334ef35 100644 --- a/BurnOutSharp/PackerType/WinRARSFX.cs +++ b/BurnOutSharp/PackerType/WinRARSFX.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.Rar; diff --git a/BurnOutSharp/PackerType/WinZipSFX.cs b/BurnOutSharp/PackerType/WinZipSFX.cs index 9dee7558..6abb6371 100644 --- a/BurnOutSharp/PackerType/WinZipSFX.cs +++ b/BurnOutSharp/PackerType/WinZipSFX.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; using SharpCompress.Archives; using SharpCompress.Archives.Zip; diff --git a/BurnOutSharp/PackerType/WiseInstaller.cs b/BurnOutSharp/PackerType/WiseInstaller.cs index 7ffb547a..1ff75ee5 100644 --- a/BurnOutSharp/PackerType/WiseInstaller.cs +++ b/BurnOutSharp/PackerType/WiseInstaller.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; using Wise = WiseUnpacker.WiseUnpacker; namespace BurnOutSharp.PackerType diff --git a/BurnOutSharp/ProtectionType/CDKey.cs b/BurnOutSharp/ProtectionType/CDKey.cs index 89d3f977..a220a1f5 100644 --- a/BurnOutSharp/ProtectionType/CDKey.cs +++ b/BurnOutSharp/ProtectionType/CDKey.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/ElectronicArts.cs b/BurnOutSharp/ProtectionType/ElectronicArts.cs index b4527bf8..f995b322 100644 --- a/BurnOutSharp/ProtectionType/ElectronicArts.cs +++ b/BurnOutSharp/ProtectionType/ElectronicArts.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/GFWL.cs b/BurnOutSharp/ProtectionType/GFWL.cs index fc5140fc..b36fdf8b 100644 --- a/BurnOutSharp/ProtectionType/GFWL.cs +++ b/BurnOutSharp/ProtectionType/GFWL.cs @@ -1,6 +1,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/ImpulseReactor.cs b/BurnOutSharp/ProtectionType/ImpulseReactor.cs index e4ce6115..dd32e116 100644 --- a/BurnOutSharp/ProtectionType/ImpulseReactor.cs +++ b/BurnOutSharp/ProtectionType/ImpulseReactor.cs @@ -1,6 +1,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/LaserLock.cs b/BurnOutSharp/ProtectionType/LaserLock.cs index 0d58eafb..03786ccf 100644 --- a/BurnOutSharp/ProtectionType/LaserLock.cs +++ b/BurnOutSharp/ProtectionType/LaserLock.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/OnlineRegistration.cs b/BurnOutSharp/ProtectionType/OnlineRegistration.cs index 3e3fabf8..520c31fe 100644 --- a/BurnOutSharp/ProtectionType/OnlineRegistration.cs +++ b/BurnOutSharp/ProtectionType/OnlineRegistration.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/ProtectDisc.cs b/BurnOutSharp/ProtectionType/ProtectDisc.cs index 54565cfa..092e07ce 100644 --- a/BurnOutSharp/ProtectionType/ProtectDisc.cs +++ b/BurnOutSharp/ProtectionType/ProtectDisc.cs @@ -5,6 +5,7 @@ using System.IO; using System.Linq; using System.Threading; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/SafeDisc.cs b/BurnOutSharp/ProtectionType/SafeDisc.cs index 029f2920..86f748fa 100644 --- a/BurnOutSharp/ProtectionType/SafeDisc.cs +++ b/BurnOutSharp/ProtectionType/SafeDisc.cs @@ -5,6 +5,7 @@ using System.Diagnostics; using System.IO; using System.Text; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/SecuROM.cs b/BurnOutSharp/ProtectionType/SecuROM.cs index 20362e8a..13f9f199 100644 --- a/BurnOutSharp/ProtectionType/SecuROM.cs +++ b/BurnOutSharp/ProtectionType/SecuROM.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/SolidShield.cs b/BurnOutSharp/ProtectionType/SolidShield.cs index d2309d4a..0382c7fa 100644 --- a/BurnOutSharp/ProtectionType/SolidShield.cs +++ b/BurnOutSharp/ProtectionType/SolidShield.cs @@ -3,6 +3,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/StarForce.cs b/BurnOutSharp/ProtectionType/StarForce.cs index fd49697f..09434f69 100644 --- a/BurnOutSharp/ProtectionType/StarForce.cs +++ b/BurnOutSharp/ProtectionType/StarForce.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/Tages.cs b/BurnOutSharp/ProtectionType/Tages.cs index a60f91c3..784bec88 100644 --- a/BurnOutSharp/ProtectionType/Tages.cs +++ b/BurnOutSharp/ProtectionType/Tages.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/ProtectionType/VOBProtectCDDVD.cs b/BurnOutSharp/ProtectionType/VOBProtectCDDVD.cs index 0fd81edd..43eeffac 100644 --- a/BurnOutSharp/ProtectionType/VOBProtectCDDVD.cs +++ b/BurnOutSharp/ProtectionType/VOBProtectCDDVD.cs @@ -6,6 +6,7 @@ using System.IO; using System.Linq; using System.Threading; using BurnOutSharp.Matching; +using BurnOutSharp.Tools; namespace BurnOutSharp.ProtectionType { diff --git a/BurnOutSharp/Scanner.cs b/BurnOutSharp/Scanner.cs index c8993421..aeb2aa67 100644 --- a/BurnOutSharp/Scanner.cs +++ b/BurnOutSharp/Scanner.cs @@ -6,6 +6,7 @@ using System.Linq; using System.Reflection; using System.Threading.Tasks; using BurnOutSharp.FileType; +using BurnOutSharp.Tools; namespace BurnOutSharp { diff --git a/BurnOutSharp/EVORE.cs b/BurnOutSharp/Tools/EVORE.cs similarity index 99% rename from BurnOutSharp/EVORE.cs rename to BurnOutSharp/Tools/EVORE.cs index e5eef670..d83d0cb8 100644 --- a/BurnOutSharp/EVORE.cs +++ b/BurnOutSharp/Tools/EVORE.cs @@ -24,7 +24,7 @@ using System.Linq; using System.Runtime.InteropServices; using BurnOutSharp.ExecutableType.Microsoft; -namespace BurnOutSharp +namespace BurnOutSharp.Tools { internal static class EVORE { diff --git a/BurnOutSharp/Extensions.cs b/BurnOutSharp/Tools/Extensions.cs similarity index 97% rename from BurnOutSharp/Extensions.cs rename to BurnOutSharp/Tools/Extensions.cs index 8ea0f511..faf7ec36 100644 --- a/BurnOutSharp/Extensions.cs +++ b/BurnOutSharp/Tools/Extensions.cs @@ -2,9 +2,9 @@ using System; using System.IO; using System.Text; -namespace BurnOutSharp +namespace BurnOutSharp.Tools { - internal static class Ebuffertensions + internal static class BufferExtensions { /// /// Read a byte from the stream diff --git a/BurnOutSharp/Utilities.cs b/BurnOutSharp/Tools/Utilities.cs similarity index 99% rename from BurnOutSharp/Utilities.cs rename to BurnOutSharp/Tools/Utilities.cs index 0f658146..c99ac0be 100644 --- a/BurnOutSharp/Utilities.cs +++ b/BurnOutSharp/Tools/Utilities.cs @@ -8,7 +8,7 @@ using System.Text; using System.Xml; using BurnOutSharp.Matching; -namespace BurnOutSharp +namespace BurnOutSharp.Tools { internal static class Utilities {