Skip to content

Commit

Permalink
Ensure manufacturer files starting from 0 are zipped in redumper DVD … (
Browse files Browse the repository at this point in the history
#747)

* Ensure manufacturer files starting from 0 are zipped in redumper DVD processing

* Remove extraneous DVD manufacturer/physical, add needed physical for bluray
  • Loading branch information
TurnedToast authored Sep 7, 2024
1 parent fb7b6ff commit 7b116e7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions MPF.Processors/Redumper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -452,23 +452,20 @@ internal override List<OutputFile> GetOutputFiles(string baseFilename)
"log"),
new CustomOutputFile($"{baseFilename}.log", OutputFileFlags.Required,
DatfileExists),
new([$"{baseFilename}.manufacturer", $"{baseFilename}.1.manufacturer"], OutputFileFlags.Required
new([$"{baseFilename}.manufacturer", $"{baseFilename}.0.manufacturer"], OutputFileFlags.Required
| OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"manufacturer_1"),
new($"{baseFilename}.2.manufacturer", OutputFileFlags.Binary
"manufacturer_0"),
new($"{baseFilename}.1.manufacturer", OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"manufacturer_2"),
"manufacturer_1"),
new([$"{baseFilename}.physical", $"{baseFilename}.0.physical"], OutputFileFlags.Required
| OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"physical_0"),
new($"{baseFilename}.1.physical", OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"physical_1"),
new($"{baseFilename}.2.physical", OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"physical_2"),
new($"{baseFilename}.security", System.IsXGD()
? OutputFileFlags.Required | OutputFileFlags.Binary | OutputFileFlags.Zippable
: OutputFileFlags.Binary | OutputFileFlags.Zippable,
Expand Down Expand Up @@ -516,6 +513,9 @@ internal override List<OutputFile> GetOutputFiles(string baseFilename)
new($"{baseFilename}.2.physical", OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"physical_2"),
new($"{baseFilename}.3.physical", OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"physical_3"),
new($"{baseFilename}.skeleton", OutputFileFlags.Binary
| OutputFileFlags.Zippable,
"skeleton"),
Expand Down

0 comments on commit 7b116e7

Please sign in to comment.