mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Wipe the romof/cloneof tags from merged output
This commit is contained in:
@@ -642,9 +642,21 @@ namespace SabreTools.Helper.Dats
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finally, remove the old game so it's not picked up by the writer
|
// Then, remove the old game so it's not picked up by the writer
|
||||||
Remove(game);
|
Remove(game);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
|
||||||
|
games = Keys.ToList();
|
||||||
|
foreach (string game in games)
|
||||||
|
{
|
||||||
|
List<DatItem> items = this[game];
|
||||||
|
foreach (DatItem item in items)
|
||||||
|
{
|
||||||
|
item.Machine.CloneOf = null;
|
||||||
|
item.Machine.RomOf = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -736,9 +736,9 @@ Options:
|
|||||||
Each of the above flags allow for preprocessing an outputted DAT in the case that
|
Each of the above flags allow for preprocessing an outputted DAT in the case that
|
||||||
your DAT manager of choice doesn't allow these on the fly. Non-merged will copy all
|
your DAT manager of choice doesn't allow these on the fly. Non-merged will copy all
|
||||||
parent items to the children so that each archive or folder contains everything
|
parent items to the children so that each archive or folder contains everything
|
||||||
necessary for each game. Merge will copy all child items to a subfolder of the
|
necessary for each game. Fully non-merged copies all parent and device items to the
|
||||||
parent, reducing the space taken up on disk. Fully Merged attempts to copy device
|
children as well. Merge will copy all child items to a subfolder of the parent,
|
||||||
files as well (usually only used for listxml inputs).
|
reducing the space taken up on disk.
|
||||||
|
|
||||||
-trim Trim file names to fit NTFS length
|
-trim Trim file names to fit NTFS length
|
||||||
In the cases where files will have too long a name, this allows for trimming
|
In the cases where files will have too long a name, this allows for trimming
|
||||||
|
|||||||
Reference in New Issue
Block a user