diff --git a/SabreTools.DatFiles/DatFile.Splitting.cs b/SabreTools.DatFiles/DatFile.Splitting.cs
index 7e61dac9..1138a75b 100644
--- a/SabreTools.DatFiles/DatFile.Splitting.cs
+++ b/SabreTools.DatFiles/DatFile.Splitting.cs
@@ -12,44 +12,44 @@ namespace SabreTools.DatFiles
#region Splitting
///
- /// Use romof tags to add roms to the children
+ /// Use romof tags to add items to the children
///
- public void AddRomsFromBios()
+ public void AddItemsFromBios()
{
- AddRomsFromBiosImpl();
- AddRomsFromBiosImplDB();
+ AddItemsFromBiosImpl();
+ AddItemsFromBiosImplDB();
}
///
- /// Use cloneof tags to add roms to the parents, removing the child sets in the process
+ /// Use cloneof tags to add items to the parents, removing the child sets in the process
///
/// True to add DatItems to subfolder of parent (not including Disk), false otherwise
/// True to skip checking for duplicate ROMs in parent, false otherwise
- public void AddRomsFromChildren(bool subfolder, bool skipDedup)
+ public void AddItemsFromChildren(bool subfolder, bool skipDedup)
{
- AddRomsFromChildrenImpl(subfolder, skipDedup);
- AddRomsFromChildrenImplDB(subfolder, skipDedup);
+ AddItemsFromChildrenImpl(subfolder, skipDedup);
+ AddItemsFromChildrenImplDB(subfolder, skipDedup);
}
///
- /// Use device_ref and optionally slotoption tags to add roms to the children
+ /// Use device_ref and optionally slotoption tags to add items to the children
///
/// True if only child device sets are touched, false for non-device sets
/// True if slotoptions tags are used as well, false otherwise
- public bool AddRomsFromDevices(bool dev, bool useSlotOptions)
+ public bool AddItemsFromDevices(bool dev, bool useSlotOptions)
{
- bool foundnew = AddRomsFromDevicesImpl(dev, useSlotOptions);
- foundnew |= AddRomsFromDevicesImplDB(dev, useSlotOptions);
+ bool foundnew = AddItemsFromDevicesImpl(dev, useSlotOptions);
+ foundnew |= AddItemsFromDevicesImplDB(dev, useSlotOptions);
return foundnew;
}
///
- /// Use cloneof tags to add roms to the children, setting the new romof tag in the process
+ /// Use cloneof tags to add items to the children, setting the new romof tag in the process
///
- public void AddRomsFromParent()
+ public void AddItemsFromParent()
{
- AddRomsFromParentImpl();
- AddRomsFromParentImplDB();
+ AddItemsFromParentImpl();
+ AddItemsFromParentImplDB();
}
///
@@ -62,26 +62,26 @@ namespace SabreTools.DatFiles
}
///
- /// Use romof tags to remove bios roms from children
+ /// Use romof tags to remove bios items from children
///
/// True if only child Bios sets are touched, false for non-bios sets
- public void RemoveBiosRomsFromChild(bool bios)
+ public void RemoveBiosItemsFromChild(bool bios)
{
- RemoveBiosRomsFromChildImpl(bios);
- RemoveBiosRomsFromChildImplDB(bios);
+ RemoveBiosItemsFromChildImpl(bios);
+ RemoveBiosItemsFromChildImplDB(bios);
}
///
- /// Use cloneof tags to remove roms from the children
+ /// Use cloneof tags to remove items from the children
///
- public void RemoveRomsFromChild()
+ public void RemoveItemsFromChild()
{
- RemoveRomsFromChildImpl();
- RemoveRomsFromChildImplDB();
+ RemoveItemsFromChildImpl();
+ RemoveItemsFromChildImplDB();
}
///
- /// Remove all romof and cloneof tags from all games
+ /// Remove all romof and cloneof tags from all machines
///
public void RemoveMachineRelationshipTags()
{
@@ -94,13 +94,13 @@ namespace SabreTools.DatFiles
#region Splitting Implementations
///
- /// Use romof tags to add roms to the children
+ /// Use romof tags to add items to the children
///
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void AddRomsFromBiosImpl()
+ private void AddItemsFromBiosImpl()
{
List buckets = [.. Items.Keys];
buckets.Sort();
@@ -140,13 +140,13 @@ namespace SabreTools.DatFiles
}
///
- /// Use romof tags to add roms to the children
+ /// Use romof tags to add items to the children
///
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void AddRomsFromBiosImplDB()
+ private void AddItemsFromBiosImplDB()
{
List buckets = [.. ItemsDB.SortedKeys];
foreach (string bucket in buckets)
@@ -188,7 +188,7 @@ namespace SabreTools.DatFiles
}
///
- /// Use cloneof tags to add roms to the parents, removing the child sets in the process
+ /// Use cloneof tags to add items to the parents, removing the child sets in the process
///
/// True to add DatItems to subfolder of parent (not including Disk), false otherwise
/// True to skip checking for duplicate ROMs in parent, false otherwise
@@ -196,7 +196,7 @@ namespace SabreTools.DatFiles
/// Applies to .
/// Assumes items are bucketed by .
///
- private void AddRomsFromChildrenImpl(bool subfolder, bool skipDedup)
+ private void AddItemsFromChildrenImpl(bool subfolder, bool skipDedup)
{
List buckets = [.. Items.Keys];
buckets.Sort();
@@ -320,7 +320,7 @@ namespace SabreTools.DatFiles
}
///
- /// Use cloneof tags to add roms to the parents, removing the child sets in the process
+ /// Use cloneof tags to add items to the parents, removing the child sets in the process
///
/// True to add DatItems to subfolder of parent (not including Disk), false otherwise
/// True to skip checking for duplicate ROMs in parent, false otherwise
@@ -328,7 +328,7 @@ namespace SabreTools.DatFiles
/// Applies to .
/// Assumes items are bucketed by .
///
- private void AddRomsFromChildrenImplDB(bool subfolder, bool skipDedup)
+ private void AddItemsFromChildrenImplDB(bool subfolder, bool skipDedup)
{
List buckets = [.. ItemsDB.SortedKeys];
foreach (string bucket in buckets)
@@ -453,7 +453,7 @@ namespace SabreTools.DatFiles
}
///
- /// Use device_ref and optionally slotoption tags to add roms to the children
+ /// Use device_ref and optionally slotoption tags to add items to the children
///
/// True if only child device sets are touched, false for non-device sets (default)
/// True if slotoptions tags are used as well, false otherwise
@@ -462,7 +462,7 @@ namespace SabreTools.DatFiles
/// Applies to .
/// Assumes items are bucketed by .
///
- private bool AddRomsFromDevicesImpl(bool dev, bool useSlotOptions)
+ private bool AddItemsFromDevicesImpl(bool dev, bool useSlotOptions)
{
bool foundnew = false;
List buckets = [.. Items.Keys];
@@ -609,7 +609,7 @@ namespace SabreTools.DatFiles
}
///
- /// Use device_ref and optionally slotoption tags to add roms to the children
+ /// Use device_ref and optionally slotoption tags to add items to the children
///
/// True if only child device sets are touched, false for non-device sets
/// True if slotoptions tags are used as well, false otherwise
@@ -618,7 +618,7 @@ namespace SabreTools.DatFiles
/// Applies to .
/// Assumes items are bucketed by .
///
- private bool AddRomsFromDevicesImplDB(bool dev, bool useSlotOptions)
+ private bool AddItemsFromDevicesImplDB(bool dev, bool useSlotOptions)
{
bool foundnew = false;
List buckets = [.. ItemsDB.SortedKeys];
@@ -778,13 +778,13 @@ namespace SabreTools.DatFiles
}
///
- /// Use cloneof tags to add roms to the children, setting the new romof tag in the process
+ /// Use cloneof tags to add items to the children, setting the new romof tag in the process
///
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void AddRomsFromParentImpl()
+ private void AddItemsFromParentImpl()
{
List buckets = [.. Items.Keys];
buckets.Sort();
@@ -835,13 +835,13 @@ namespace SabreTools.DatFiles
}
///
- /// Use cloneof tags to add roms to the children, setting the new romof tag in the process
+ /// Use cloneof tags to add items to the children, setting the new romof tag in the process
///
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void AddRomsFromParentImplDB()
+ private void AddItemsFromParentImplDB()
{
List buckets = [.. ItemsDB.SortedKeys];
foreach (string bucket in buckets)
@@ -967,14 +967,14 @@ namespace SabreTools.DatFiles
}
///
- /// Use romof tags to remove bios roms from children
+ /// Use romof tags to remove bios items from children
///
/// True if only child Bios sets are touched, false for non-bios sets
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void RemoveBiosRomsFromChildImpl(bool bios)
+ private void RemoveBiosItemsFromChildImpl(bool bios)
{
// Loop through the romof tags
List buckets = [.. Items.Keys];
@@ -1019,14 +1019,14 @@ namespace SabreTools.DatFiles
}
///
- /// Use romof tags to remove bios roms from children
+ /// Use romof tags to remove bios items from children
///
/// True if only child Bios sets are touched, false for non-bios sets
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void RemoveBiosRomsFromChildImplDB(bool bios)
+ private void RemoveBiosItemsFromChildImplDB(bool bios)
{
// Loop through the romof tags
List buckets = [.. ItemsDB.SortedKeys];
@@ -1069,13 +1069,13 @@ namespace SabreTools.DatFiles
}
///
- /// Use cloneof tags to remove roms from the children
+ /// Use cloneof tags to remove items from the children
///
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void RemoveRomsFromChildImpl()
+ private void RemoveItemsFromChildImpl()
{
List buckets = [.. Items.Keys];
buckets.Sort();
@@ -1123,13 +1123,13 @@ namespace SabreTools.DatFiles
}
///
- /// Use cloneof tags to remove roms from the children
+ /// Use cloneof tags to remove items from the children
///
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private void RemoveRomsFromChildImplDB()
+ private void RemoveItemsFromChildImplDB()
{
List buckets = [.. ItemsDB.SortedKeys];
foreach (string bucket in buckets)
@@ -1183,7 +1183,7 @@ namespace SabreTools.DatFiles
}
///
- /// Remove all romof and cloneof tags from all games
+ /// Remove all romof and cloneof tags from all machines
///
/// Applies to
private void RemoveMachineRelationshipTagsImpl()
@@ -1213,7 +1213,7 @@ namespace SabreTools.DatFiles
}
///
- /// Remove all romof and cloneof tags from all games
+ /// Remove all romof and cloneof tags from all machines
///
/// Applies to
private void RemoveMachineRelationshipTagsImplDB()
diff --git a/SabreTools.DatTools/MergeSplit.cs b/SabreTools.DatTools/MergeSplit.cs
index 11a1d5ad..b48149ce 100644
--- a/SabreTools.DatTools/MergeSplit.cs
+++ b/SabreTools.DatTools/MergeSplit.cs
@@ -105,8 +105,8 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information
- while (datFile.AddRomsFromDevices(false, false)) ;
- while (datFile.AddRomsFromDevices(true, false)) ;
+ while (datFile.AddItemsFromDevices(false, false)) ;
+ while (datFile.AddItemsFromDevices(true, false)) ;
// Then, remove the romof and cloneof tags so it's not picked up by the manager
datFile.RemoveMachineRelationshipTags();
@@ -124,11 +124,11 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information
- datFile.AddRomsFromChildren(true, false);
+ datFile.AddItemsFromChildren(true, false);
// Now that we have looped through the cloneof tags, we loop through the romof tags
- datFile.RemoveBiosRomsFromChild(false);
- datFile.RemoveBiosRomsFromChild(true);
+ datFile.RemoveBiosItemsFromChild(false);
+ datFile.RemoveBiosItemsFromChild(true);
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
datFile.RemoveMachineRelationshipTags();
@@ -146,12 +146,12 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information
- while (datFile.AddRomsFromDevices(true, true)) ;
- datFile.AddRomsFromDevices(false, true);
- datFile.AddRomsFromParent();
+ while (datFile.AddItemsFromDevices(true, true)) ;
+ datFile.AddItemsFromDevices(false, true);
+ datFile.AddItemsFromParent();
// Now that we have looped through the cloneof tags, we loop through the romof tags
- datFile.AddRomsFromBios();
+ datFile.AddItemsFromBios();
// Then, remove the romof and cloneof tags so it's not picked up by the manager
datFile.RemoveMachineRelationshipTags();
@@ -169,11 +169,11 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information
- datFile.AddRomsFromChildren(true, true);
+ datFile.AddItemsFromChildren(true, true);
// Now that we have looped through the cloneof tags, we loop through the romof tags
- datFile.RemoveBiosRomsFromChild(false);
- datFile.RemoveBiosRomsFromChild(true);
+ datFile.RemoveBiosItemsFromChild(false);
+ datFile.RemoveBiosItemsFromChild(true);
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
datFile.RemoveMachineRelationshipTags();
@@ -191,11 +191,11 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information
- datFile.AddRomsFromParent();
+ datFile.AddItemsFromParent();
// Now that we have looped through the cloneof tags, we loop through the romof tags
- datFile.RemoveBiosRomsFromChild(false);
- datFile.RemoveBiosRomsFromChild(true);
+ datFile.RemoveBiosItemsFromChild(false);
+ datFile.RemoveBiosItemsFromChild(true);
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
datFile.RemoveMachineRelationshipTags();
@@ -213,11 +213,11 @@ namespace SabreTools.DatTools
datFile.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Now we want to loop through all of the games and set the correct information
- datFile.RemoveRomsFromChild();
+ datFile.RemoveItemsFromChild();
// Now that we have looped through the cloneof tags, we loop through the romof tags
- datFile.RemoveBiosRomsFromChild(false);
- datFile.RemoveBiosRomsFromChild(true);
+ datFile.RemoveBiosItemsFromChild(false);
+ datFile.RemoveBiosItemsFromChild(true);
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
datFile.RemoveMachineRelationshipTags();