Script for RetroPie to install some extras for EmulationStation themes (icons, splashscreens and launching images)
This is my first shell script ever, so there are surely code errors. Contributing is most welcomed.
This script let’s you install some extras for RetroPie themes. These extras are:
cd /home/pi/
git clone https://github.com/hiulit/es-theme-extras.git
cd es-theme-extras/
sudo chmod +x es-theme-extras.sh
sudo ./es-theme-extras.sh
At this moment, Pixel is the only theme that works with this script because it’s the only one (that I know of) that has icons, splashscreens (16:9 and 4:3) and launching images.
Pixel theme has both icons and splashscreens in the same repository and launching images has its own repository.
This script is created under these premises:
https://github.com/USERNAME/es-theme-THEME
./retropie/icons
.splash16-9.png
and/or splash4-3.png
.https://github.com/USERNAME/es-runcommand-splash
.I think that could be standarized so that every theme could take advantage of this script.
I propose two versions:
When the decision is made, I’ll make the necessary changes according to the version agreed upon.
https://github.com/USERNAME/es-theme-THEME
https://github.com/USERNAME/es-theme-THEME/retropie/icons
https://github.com/USERNAME/es-theme-THEME/retropie/splashscreens
https://github.com/USERNAME/es-theme-THEME/retropie/launching-images
https://github.com/USERNAME/es-theme-THEME
https://github.com/USERNAME/es-theme-THEME-icons
https://github.com/USERNAME/es-theme-THEME-splashscreens
https://github.com/USERNAME/es-theme-THEME-launching-images
Where USERNAME is GitHub’s username and THEME is the theme’s name.
In both cases the filetype, naming convention and formatting must be the same, as follows:
.png
filetypeNames must be the same as RetroPie’s default icons:
Same as RetroPie’s default icons:
.png
filetype.mp4
filetypeTHEME
-splashscreen
-16-9.png
e.g pixel-splashscreen-16-9.png
THEME
-splashscreen
-4-3.png
e.g pixel-splashscreen-4-3.png
THEME
-splashscreen
-video.mp4
e.g pixel-splashscreen-video.mp4
Launching images must be .png
or .jpg
filetype
SYSTEM_NAME/launching.png
e.g. nes/launching.png
See https://github.com/ehettervik/es-runcommand-splash
git pull
when theme needs an update.First of all, I really appreciate that you’re willing to waste spend some time contributing to es-theme-extras! 🎉👍
You can help make es-theme-extras better by reporting issues or contributing code.
Issues can be used not only for bug reporting, but also for suggesting improvements, whether they are code related (cleaner code, modularity, etc.) or feature requests.
Pull requests are most welcomed! 😃
git clone git@github.com:your-username/es-theme-extras.git
.Me 😛 @hiulit.
Filetype, naming conventions and formatting taken (partially and revisited) from retropie-splashscreens-extra repository by HerbFargus
MIT License
Copyright (c) 2017 Xavier Gómez Gosálbez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.