A tool for RetroPie to limit the number of 'last played' games.
cd /home/pi/
git clone https://github.com/hiulit/Retropie-Limit-Last-Played-Games
cd Retropie-Limit-Last-Played-Games/
sudo chmod +x retropie-limit-last-played-games.sh
cd /home/pi/Retropie-Limit-Last-Played-Games/
git pull
./retropie-limit-last-played-games.sh [OPTIONS]
./retropie-limit-last-played-games.sh --nth 25 --systems
This will set the number of 'last played' games to limit at 25 and then it will show a dialog from where it can be selected as many systems as needed.
./retropie-limit-last-played-games.sh --nth 25 --systems --debug
This will set the debug mode on. It's perfect for testing the script before actually 'harming' the gamelists.
./retropie-limit-last-played-games.sh --gui
This will start the GUI. It will ask you to enter a number to limit the number of 'last played' the games shown. Then it will ask you to choose the desired systems to apply that limit.
If no options are passed, you will be prompted with a usage example:
USAGE: ./retropie-limit-last-played-games.sh.sh [OPTIONS]
Use './retropie-limit-last-played-games.sh --help' to see all the options.
--help
: Print the help message and exit.--install
: Install the script in EmulationStation's RetroPie menu.--uninstall
: Uninstall the script from EmulationStation's RetroPie menu.--nth
: Set number of 'last played' games to limit per system (10 by default).--systems
: Show dialog to select systems to limit.--gui
: Start the GUI.--debug
: Set debug mode to test the script.--version
: Show script version.
Print the help message and exit.
./retropie-limit-last-played-games.sh --help
Install the script in EmulationStation's RetroPie menu.
You'll find it as 'Limit Last Played Games'.
./retropie-limit-last-played-games.sh --install
Uninstall the script from EmulationStation's RetroPie menu.
./retropie-limit-last-played-games.sh --uninstall
Set number of 'last played' games to limit per system (10 by default).
[number]
: Number to limit 'last played' games per system.
./retropie-limit-last-played-games.sh --nth 25
The --nth
option won't do anything by itself. It always has to be accompanied, at least, by --systems
.
Show a dialog to select the system/s to limit.
./retropie-limit-last-played-games.sh --systems
Start the GUI.
It lets you use the script in a more friendly way.
./retropie-limit-last-played-games.sh --gui
Set debug mode to test the script.
No harm will be done to the gamelists ;)
If you want to explicitly know that you are under debug mode
, use this option as the first parameter when launching the script and it will appear on the script's title.
./retropie-limit-last-played-games.sh --debug
Show script version.
./retropie-limit-last-played-games.sh --version
With debug mode on
See CHANGELOG.
See CONTRIBUTING.
- Me 😛 @hiulit
Thanks to:
- All the people at the RetroPie Forum.