Updated to DIC version 20210102

This commit is contained in:
Matt Nadareski
2021-01-02 22:03:18 -08:00
parent 5061a79c4c
commit d1529f428a
6 changed files with 27 additions and 4 deletions

View File

@@ -9,6 +9,8 @@
- Add new supported Redump regions
- Remove Philips CD-i Digital Video from supported profiles
- Remove experimental Avalonia UI, will wait for MAUI next year
- Updated to DIC version 20210102
- Add support for `/mr` DIC flag
### 1.18 (2020-11-10)
- Add more information extraction and generation for Aaru

View File

@@ -47,6 +47,7 @@ namespace MPF.DiscImageCreator
public const string ExtractMicroSoftCabFile = "/mscf";
public const string Fix = "/fix";
public const string ForceUnitAccess = "/f";
public const string MultiSectorRead = "/mr";
public const string MultiSession = "/ms";
public const string NoFixSubP = "/np";
public const string NoFixSubQ = "/nq";

View File

@@ -218,6 +218,8 @@ namespace MPF.DiscImageCreator
return FlagStrings.Fix;
case Flag.ForceUnitAccess:
return FlagStrings.ForceUnitAccess;
case Flag.MultiSectorRead:
return FlagStrings.MultiSectorRead;
case Flag.MultiSession:
return FlagStrings.MultiSession;
case Flag.NoFixSubP:

View File

@@ -49,6 +49,7 @@ namespace MPF.DiscImageCreator
ExtractMicroSoftCabFile,
Fix,
ForceUnitAccess,
MultiSectorRead,
MultiSession,
NoFixSubP,
NoFixSubQ,

View File

@@ -421,6 +421,13 @@ namespace MPF.DiscImageCreator
}
}
// Multi-Sector Read
if (GetSupportedCommands(Flag.MultiSectorRead).Contains(BaseCommand))
{
if (this[Flag.MultiSectorRead] == true)
parameters.Add(Converters.LongName(Flag.MultiSectorRead));
}
// Multi-Session
if (GetSupportedCommands(Flag.MultiSession).Contains(BaseCommand))
{
@@ -1393,6 +1400,13 @@ namespace MPF.DiscImageCreator
i++;
break;
case FlagStrings.MultiSectorRead:
if (!GetSupportedCommands(Flag.MultiSectorRead).Contains(BaseCommand))
return false;
this[Flag.MultiSectorRead] = true;
break;
case FlagStrings.MultiSession:
if (!GetSupportedCommands(Flag.MultiSession).Contains(BaseCommand))
return false;
@@ -2260,6 +2274,9 @@ namespace MPF.DiscImageCreator
commands.Add(Command.XGD2Swap);
commands.Add(Command.XGD3Swap);
break;
case Flag.MultiSectorRead:
commands.Add(Command.CompactDisc);
break;
case Flag.MultiSession:
commands.Add(Command.Audio);
commands.Add(Command.CompactDisc);

View File

@@ -37,7 +37,7 @@ build:
after_build:
- ps: appveyor DownloadFile https://github.com/aaru-dps/Aaru/releases/download/v5.2.0.3330/aaru-5.2.0.3330-1_windows_x64.zip
- ps: appveyor DownloadFile http://www.chrysocome.net/downloads/8ab730cd2a29e76ddd89be1f99357942/dd-0.6beta3.zip
- ps: appveyor DownloadFile https://github.com/saramibreak/DiscImageCreator/files/5253259/DiscImageCreator_20200921.zip
- ps: appveyor DownloadFile https://github.com/saramibreak/DiscImageCreator/files/5760104/DiscImageCreator_20210102.zip
- ps: appveyor DownloadFile https://archive.org/download/subdump_fua_0x28/subdump_fua_0x28.zip
- 7z e aaru-5.2.0.3330-1_windows_x64.zip -oMPF\bin\Debug\net472\Programs\Aaru *
@@ -48,9 +48,9 @@ after_build:
- 7z e dd-0.6beta3.zip -oMPF\bin\Debug\net48\Programs\DD *
- 7z e dd-0.6beta3.zip -oMPF\bin\Debug\netcoreapp3.1\Programs\DD *
- 7z e DiscImageCreator_20200921.zip -oMPF\bin\Debug\net472\Programs\Creator Release_ANSI\*
- 7z e DiscImageCreator_20200921.zip -oMPF\bin\Debug\net48\Programs\Creator Release_ANSI\*
- 7z e DiscImageCreator_20200921.zip -oMPF\bin\Debug\netcoreapp3.1\Programs\Creator Release_ANSI\*
- 7z e DiscImageCreator_20210102.zip -oMPF\bin\Debug\net472\Programs\Creator Release_ANSI\*
- 7z e DiscImageCreator_20210102.zip -oMPF\bin\Debug\net48\Programs\Creator Release_ANSI\*
- 7z e DiscImageCreator_20210102.zip -oMPF\bin\Debug\netcoreapp3.1\Programs\Creator Release_ANSI\*
- 7z e subdump_fua_0x28.zip -oMPF\bin\Debug\net472 *
- mkdir MPF\bin\Debug\net472\Programs\Subdump