This is an old revision of the document!
A collection defines a set of games or menu level that generally have a common purpose, e.g. “Nintendo Entertainment System” or “Consoles”. RetroFE generally supports 3 types of collections:
These types can be combined in one collection though, by simply having the required elements of more types in one collection.
The basic RetroFE installation leaves you with 2 main folders but you will be able to add many other as you wish later on :
Folder | Description |
---|---|
_Common | Shared icons and other artworks used for the categories, manufacturers, etc |
Main | Default collection used for the main menu to work properly and containing the key file to be edited once you have created extra collections so they can be enabled on your screen (menu.txt) |
PS: Some pre configured sets can be added for your convenience, they will not contain the roms of course, this is something you need to sort out on your own.
To create a new collection, depite the specific kind required, simply run the following commands at a commmand prompt. (assuming you are in the root of your RetroFE directory)
For Windows (example):
Core/RetroFE.exe -createcollection "Nintendo Entertainment System"
For Linux (example):
./RetroFE -createcollection "Nintendo Entertainment System"
Replace “Nintendo Entertainment System” with the collection name of your choosing.
This will create a “Nintendo Entertainment System Folder”, create the rom folder, artwork folders and default configuration files. More details on the other steps in the detailed setup section
PS: To enable your new collection in the interface menu, you will need to add the name of the collection in the menu.txt file stored in the Main folder
Games collections are collections consisting of the games, e.g. for a certain system like “Nintendo Entertainment System”. It uses the contents of the rom directory in combination with the include.txt and exclude.txt file in the following manner:
If list.includeMissingItems in the settings.conf is false:
If list.includeMissingItems in the settings.conf is true:
Sub collections contain a subset of other collections, e.g. Capcom Play System I can be set up as a sub-set of Arcade. The sub-collection is defined by a <collection>.sub file, e.g. “Capcom Play System I.sub”.
Also, by using multiple .sub files you can also create a merged collection, e.g. all Contra games from different systems. You could have a “Nintendo Entertainment System.sub” file containing all the Contra games from the NES, and a “Super Nintendo Entertainment System.sub” file containing all the Contra games from the SNES. RetroFE will merge these collections into one.
A .sub file is simply a text file containing a list of game names, similar to the include.txt file, but rom file, art files, etc. will be pulled from the collection it refers to.
Example: You have a MAME or Arcade collection, and wish to add a “Capcom Play System III” sub-collection.
jojo jojoba redearth sfiii sfiii2 sfiii3
5. Add the “Capcom Play System III” to your Main's menu.txt like you would with any other collection. Enjoy your new sub collection. :)
PS: If a .sub file is empty, it will use merge that entire collection according to the rules defined above for Games collections.
A (sub-)menu collection is used to create a hierarchical level within your menu structure, e.g. Main→Consoles→Nintendo Entertainment System. It is defined by the menu.txt file as described in Menus. Since older versions of RetroFE supported a menu.xml file in stead, such legacy support still exists within RetroFE, but using a menu.txt file is easier.
File / Folder | Description |
---|---|
info.conf | This file can be used to add additional system information, such as manufacturer, year, generation, etc. that can be displayed from the theme layouts. This same information can also be defined within settings.conf, but this extra file allows for a clean separation of settings and system information. |
include.txt | If not empty, include only those files to show on the list, if empty, all files in ROM folder will be included. This file must contain one game per line (without the file extension). |
exclude.txt | List of ROMs to exclude from showing up on the menu (if you want this collection to be a menu of collections). This file must contain one game per line (without the file extension). |
settings.conf | Set ROM file extensions, launcher (emulator to execute), override default media paths, etc |
<collectionname>.sub | Imports a list of games from another collection. (i.e. Your collection is named “Mario”. You would have an “Nintendo Entertainment System.sub” and “Super Nintendo Entertainment System.sub”. Each sub file would contain a list of all mario games for that system. The .sub file contains one game per line (without the file extension).If the file is blank, the list settings defined for the subcollection will be used. |
roms | Default location to search for ROM files (can be different if modified in the settings.conf file) |
playlists | Default location for the favorites.txt file allowing you to manage your favorites |
medium_artwork/ | Artwork for individual games |
medium_artwork/artwork_back | Default location to search for flyer, box and case backs |
medium_artwork/artwork_front | Default location to search for flyer, box and case fronts |
medium_artwork/medium_back | Default location to search for disc and cartridge backs |
medium_artwork/medium_front | Default location to search for disc and cartridge fronts |
medium_artwork/screenshot | Default location to search for screenshots for each individual game |
medium_artwork/screentitle | Default location to search for screentitles for each individual game |
medium_artwork/logo | Default location to search for logos for each individual game |
medium_artwork/video | Default location to search for videos for each individual game |
medium_artwork/story | Default location to search for game information story txt files for scrolling text display. |
system_artwork/ | Artwork for the system collection. i.e. a picture of a Nintendo Entertainment System, its logo, or a “best of” video. |
system_artwork/device.png | Picture of the system device |
system_artwork/logo.png | Picture of the systems logo |
system_artwork/video.mp4 | Video to play for this particular system |
system_artwork/story.txt | Text file containing system information for scrolling text display. |
RetroFE currently supports one type of playlist: one list of your favorite games per Collection.
This file is located in playlists/favorites.txt and will be automatically created when you add your first game to the list.
The controls configuration allows you to assign keys to add games to this list, remove them from this list, and switch between the full list and this playlist.
A setting in the general settings.conf allows you to automatically switch to your favorite games if this list exists.
PS: Support for more playlists is planned in a future release.
If a collection folder has a menu.txt file, it will be loaded into your list. When you select that item in the frontend, it will load that collection in a submenu. RetroFE also supports the ability to have games and submenus in the same menu.
Below is an example for a basic collections/<collection name>/menu.txt file:
Atari 2600 Atari 5200 Atari 7800 MAME Nintendo Entertainment System Super Nintendo Entertainment System
Note that for each item specified, a directory with an identical name (case sensitive) must exist in your collections folder, so e.g. /collections/Super Nintendo Entertainment System/.
Older versions of RetroFE used a menu.xml file in stead of a menu.txt file. For legacy support, such files are still supported. Below is an example for a basic collections/<collection name>/menu.xml file:
<menu> <collection name="Atari 2600" /> <collection name="Atari 5200" /> <collection name="Atari 7800" /> <collection name="MAME" /> <collection name="Nintendo Entertainment System" /> <collection name="Super Nintendo Entertainment System" /> </menu>
As you can see: using the menu.txt file requires less typing. :)