Skip to content

Instantly share code, notes, and snippets.

@somatorio
Created September 7, 2016 20:00
Show Gist options
  • Select an option

  • Save somatorio/dd2684f8f31c96a24015dbb491caab6d to your computer and use it in GitHub Desktop.

Select an option

Save somatorio/dd2684f8f31c96a24015dbb491caab6d to your computer and use it in GitHub Desktop.

Revisions

  1. somatorio created this gist Sep 7, 2016.
    36 changes: 36 additions & 0 deletions es_systems.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    <!-- This is the EmulationStation Systems configuration file.
    All systems must be contained within the <systemList> tag.-->

    <systemList>
    <!-- Here's an example system to get you started. -->
    <system>
    <!-- A short name, used internally. Traditionally lower-case. -->
    <name>snes</name>
    <!-- A "pretty" name, displayed in menus and such. -->
    <fullname>Super Nintendo Entertainment System</fullname>
    <!-- The path to start searching for ROMs in. '~' will be expanded to $HOME on Linux or %HOMEPATH% on Windows. -->
    <path>~/roms/snes</path>
    <!-- A list of extensions to search for, delimited by any of the whitespace characters (", \r\n\t").
    You MUST include the period at the start of the extension! It's also case sensitive. -->
    <extension>.smc .SMC</extension>
    <!-- The shell command executed when a game is selected. A few special tags are replaced if found in a command:
    %ROM% is replaced by a bash-special-character-escaped absolute path to the ROM.
    %BASENAME% is replaced by the "base" name of the ROM. For example, "/foo/bar.rom" would have a basename of "bar". Useful for MAME.
    %ROM_RAW% is the raw, unescaped path to the ROM. -->
    <command>docker run -it --rm --device /dev/snd -e DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /home/somatorio/.config/retroarch:/root/.config/retroarch -v /home/somatorio/roms:/root/roms --device /dev/input somatorio/retroarch -L /usr/lib/x86_64-linux-gnu/libretro/bsnes_mercury_accuracy_libretro.so %ROM% </command>


    <!-- The platform to use when scraping. You can see the full list of accepted platforms in src/PlatformIds.cpp.
    It's case sensitive, but everything is lowercase. This tag is optional.
    You can use multiple platforms too, delimited with any of the whitespace characters (", \r\n\t"), eg: "genesis, megadrive" -->
    <platform>snes</platform>
    <!-- The theme to load from the current theme set. See THEMES.md for more information.
    This tag is optional. If not set, it will default to the value of <name>. -->
    <theme>snes</theme>
    </system>
    </systemList>