RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.08k stars 1.39k forks source link

Update ES themes #92

Closed Aloshi closed 11 years ago

Aloshi commented 11 years ago

I've just finished a series of updates to allow two kinds of themes to be defined in each theme.xml: the normal one in the normal <theme> tag, and a "basic" one in a <basicTheme> tag. ES will automatically use the proper theme depending on what view it is running in (which is determined by whether or not a gamelist.xml is present). The basic themes are designed around the fact that box art isn't present.

Old themes will work fine with newer versions of ES, so this update isn't pressing.

Download them here: http://www.aloshi.com/es_downloads/es_themes_jan_20_2013.zip (If you want to see them without deleting your gamelists, you can run ES with --ignore-gamelist)

Looking at how RetroPie has the themes set up, you might want to try the new structuring option: you can place the theme.xml (and resources) in ~/.emulationstation/SYSTEMNAME/ and it'll properly load. This way you can keep all of the theme stuff out of the roms folder.

You'll probably want to set up the config file for systems like this:

# NAME is what will be used in the ./emulationstation/____/ path.
# DESCNAME is what would be displayed if the header was visible (short for descriptive name).
# DESCNAME is optional, and will just copy NAME if it's not present.
NAME=nes
DESCNAME=Nintendo Entertainment System
PATH=~/roms/nes/
...

The only downside is that if there's a theme.xml left over in the system's PATH (such as from an earlier install), it will be used instead. You might want to check if any theme.xml files exist in the old path, and if found, ask the user if it's okay to delete them (some people might not be using the stock themes).

Aloshi commented 11 years ago

Just a note, there's also a PCEngine/TurboGrafix-16 theme included in the .zip now, contributed by Van Buren.

petrockblog commented 11 years ago

@Aloshi Thank you for the update! I can take care for the inclusion of the updated themes at the beginning of February.

petrockblog commented 11 years ago

Added with recent commit.