@@ -222,17 +222,20 @@ An `overrides` array looks similar to the following example:
222222 {
223223 "searchTerm" : " Mobile Suit Gundam - Version 2.0 (.*)" ,
224224 "nameType" : " regex" ,// (4)!
225- "newGroup" : " Mobile Suit Gundam - Version 2.0 "
225+ "newGroup" : " Mobile Suit Gundam Veetwo " // (5)!
226226 }
227227]
228228```
229229
2302301 . The overrides array.
2312312 . The search term used when looking for a title in an input DAT file.
2322323 . The new group and short name to assign to the title, if it's found in an input DAT
233- file.
233+ file. This isn't the literal group name that is assigned, Retool takes this as a
234+ base and then changes it based on its naming rules.
2342354 . What name type the search term is, so Retool can match it accurately against names in
235236 the input DAT file.
237+ 5 . Don't put version strings or strings in parentheses in ` newGroup ` values, as they are
238+ stripped.
236239
237240Each object in the ` overrides ` array can include the following keys:
238241
@@ -277,7 +280,7 @@ A `condition` looks similar to the following example:
277280 {
278281 "searchTerm" : " Tomb Raider III - (Adventures of|Les Aventures de) Lara Croft \\ ((Europe|France|Germany|Italy|Spain|USA)\\ )(.*)?" ,
279282 "nameType" : " regex" ,
280- "newGroup" : " Tomb Raider III - Adventures of Lara Croft ( Disc 2) ( International Version) " ,
283+ "newGroup" : " Tomb Raider III - Adventures of Lara Croft Disc 2 International Version" ,
281284 "condition" : {// (1)!
282285 "regionOrder" : {// (2)!
283286 "higherRegions" : [" Japan" , " Asia" ],// (3)!
@@ -719,10 +722,32 @@ German discs are chosen instead.
719722
720723#### Example: working with compilations
721724
722- Retool automatically considers individual titles and compilations that are related, and
723- chooses the solution that results in the fewest duplicate titles (and therefore lowest
724- storage requirement). Compilations in a ` variants ` array are handled in a similar way
725- to the following example:
725+ Individual titles and compilations have their relationships defined in clone lists. When
726+ Retool considers these titles and looks to deduplicate, it chooses a solution that
727+ results in as many individual titles as possible being selected. This is because [ patches] ( https://www.romhacking.net/ )
728+ and [ retro achievements] ( https://retroachievements.org/ ) tend to only be available for
729+ individual titles, and compilation filenames often don't tell you what titles they
730+ contain, making your collection less browsable.
731+
732+ This method results in some duplicates being left in the output. For example, when Retool
733+ analyzes the following titles:
734+
735+ * _ Title A (USA)_
736+ * _ Title B (USA)_
737+ * _ Title A + Title C (USA)_
738+
739+ It includes them all in the output, despite that not being the most optimal space saving
740+ solution (which would remove _ Title A (USA)_ ). This is because when comparing the
741+ following titles:
742+
743+ * _ Title A (USA)_
744+ * _ Title A + Title C (USA)_
745+
746+ _ Title A (USA)_ wins for the _ Title A_ selection as it's an individual title (and
747+ preferred over compilation versions), and _ Title A + Title C (USA)_ wins for _ Title C_
748+ as that title is only contained in the compilation, a standalone variation doesn't exist.
749+
750+ Compilations in a ` variants ` array are handled in a similar way to the following example:
726751
727752``` json
728753"variants" : [
771796Europe
772797```
773798
774- Then Retool selects _ 3-D Ultra Pinball & Trophy Bass (USA)_ as the 1G1R title, as that
775- solution is the one with the least duplication.
799+ Then Retool selects _ 3-D Ultra Pinball & Trophy Bass (USA)_ as the single 1G1R title for
800+ both _ 3-D Ultra Pinball_ and _ Trophy Bass_ , as that solution includes the USA version of
801+ the titles, and the least duplication.
802+
803+ However, if a user selects the following region order:
804+
805+ ```
806+ Europe
807+ USA
808+ ```
809+
810+ Then Retool selects _ 3-D Ultra Pinball (Europe)_ for _ 3-D Ultra Pinball_ as it's an
811+ individual title in a preferred region, while _ 3-D Ultra Pinball & Trophy Bass (USA)_ is
812+ chosen for _ Trophy Bass_ as a standalone version of that title doesn't exist, and the
813+ compilation is the only remaining option.
776814
777815#### Example: working with priorities
778816
@@ -955,9 +993,8 @@ Then the following happens with the compilations:
955993 * Ultimately _ Example Title (USA)_ and _ Example Title 2 - Special Edition (USA)_
956994 become the 1G1R titles, and _ Example Title 1 & 2 (Europe)_ is discarded.
957995
958- !!! note
959- Superset priority is compared directly against compilation priority, just like title
960- priority is.
996+ Superset priorities are compared directly against compilation priorities, just like title
997+ priorities are.
961998
962999## Format clone lists
9631000
0 commit comments