User Tools

Site Tools


collections

This is an old revision of the document!


About Collections


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:

  1. ItemGame collections
  2. ItemSub/Merged collections
  3. (Sub-)Menu collections

These types can be combined in one collection though, by simply having the required elements of more types in one collection.


Default Folders in Collections

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
_CommonShared icons and other artworks used for the categories, manufacturers, etc
MainDefault 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.

How to Add/Create Extra Collections?

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.


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


The 3 kinds of Collections explained


Games collections

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:

  1. Read the contents of the rom directory.
  2. Keep only the names defined in include.txt.
  3. Remove the names defined in exclude.txt.

If list.includeMissingItems in the settings.conf is true:

  1. Use the names defined in include.txt.
  2. Remove the names defined in exclude.txt.


Sub/Merged collections

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.

  1. Create the “collections/Capcom Play System III” directory.
  2. Add a settings.conf file; this file can be empty or just contain some system information.
  3. Add your system_artwork.
  4. Create a MAME.sub text file containing:
  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.


Directory Structure of a Collection

Collection Folder

File / Folder Description
info.confThis 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.txtIf 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.confSet ROM file extensions, launcher (emulator to execute), override default media paths, etc
<collectionname>.subImports 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.
romsDefault location to search for ROM files (can be different if modified in the settings.conf file)
playlistsDefault location for the favorites.txt file allowing you to manage your favorites
medium_artwork/Artwork for individual games
     medium_artwork/artwork_backDefault location to search for flyer, box and case backs
     medium_artwork/artwork_frontDefault location to search for flyer, box and case fronts
     medium_artwork/medium_backDefault location to search for disc and cartridge backs
     medium_artwork/medium_frontDefault location to search for disc and cartridge fronts
     medium_artwork/screenshotDefault location to search for screenshots for each individual game
     medium_artwork/screentitleDefault location to search for screentitles for each individual game
     medium_artwork/logoDefault location to search for logos for each individual game
     medium_artwork/videoDefault location to search for videos for each individual game
     medium_artwork/storyDefault 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.pngPicture of the system device
     system_artwork/logo.pngPicture of the systems logo
     system_artwork/video.mp4Video to play for this particular system
     system_artwork/story.txtText file containing system information for scrolling text display.


Playlists

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.

Menus

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. :)

collections.1494781255.txt.gz · Last modified: 2017/05/14 13:00 by bodbod