--- hide: - footer --- # The compilations array The `compilations` array is found in objects inside the [`variants`](contribute-clone-lists-variants.md#structure) array. The objects inside the `compilations` array list variants of titles that belong to a `group`. !!! tip Make sure you've read how the [`titles`](contribute-clone-lists-variants-titles.md) array works before learning about compilations. You add compilations to the groups of each individual title that's found in the compilation. For example, for a compilation of _Example Title 1 & Example Title 2 (Europe) (En,De,Fr+En,Ja)_ you add it to the groups _Example Title_ and _Example Title 2_. Even if a title in the compilation is not available separately, for Retool to work properly you must create a group as if the standalone title exists, and add the compilation to it. A `compilations` array looks similar to the following example: ```json hl_lines="10 11 12 16 17 18" "variants": [ { "group": "Example Title", "titles": [ {"searchTerm": "Example Title"}, {"searchTerm": "Exemple de Titre"}, {"searchTerm": "Titolo di Esempio"}, {"searchTerm": "Example Title Budget Edition", "priority": 2} ], "compilations": [ {"searchTerm": "Example Title 1 & Example Title 2", "titlePosition": 1} ] }, { "group": "Example Title 2", "compilations": [ {"searchTerm": "Example Title 1 & Example Title 2", "titlePosition": 2} ] } ] ``` When Retool is comparing titles, a compilation inside a group is treated as if it is only one of the titles in the compilation. For example, `Example Title 1 & Example Title 2` inside a group of `Example Title 2` is treated as if it is only _Example Title 2_ for comparison purposes. This is known as a _virtual title_. You can use the following keys in an object that's in a `compilations` array:
| Key | Type | Description |
|---|---|---|
searchTerm |
str |
The search term used when looking for a title in an input DAT file. |
nameType |
str |
Optional. What name type the search term is, so Retool can match it accurately against names in the input DAT file. The valid values are:
|
priority |
int |
Optional, defaults to Setting a priority on a compilation sets it for the virtual title, not the
compilation itself. Virtual title priorities are compared against
|
categories |
array[str] |
Optional, A category is a class of titles, like Demos, Games, and Multimedia. Multiple categories can be assigned to a title, and existing categories are overridden. |
titlePosition |
int |
Optional. Sometimes No-Intro uses the To assign the correct languages to the appropriate virtual title when the
|
localNames |
obj[str, str] |
Optional. Contains the local names of a title. Add names for all available languages, including English. Language keys must be lowercase versions of languages found in the
See Local names for more information on specifying local names. |