-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d9b90e
commit c8a55b0
Showing
8 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
distrib | ||
temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# ClearRecent - MinUI Tool Pak for editing the Recently Played list | ||
|
||
|
||
|
||
## About | ||
|
||
This is a collection of tool paks for [MinUI](https://github.com/shauninman/MinUI) (20240128b-0 and later). It adds these tools for editing the 'Recently Played' list of MinUI: | ||
|
||
- **Delete newest entry** removes the most recent game from the list. | ||
- **Wipe the list clean** deletes the entire list. | ||
|
||
|
||
|
||
## Installation | ||
|
||
1. You should have [MinUI](https://github.com/shauninman/MinUI) 20240128b-0 or later installed on your SD card. | ||
2. Download [the latest release of ClearRecent](https://github.com/DesiQuintans/ClearRecent/releases/latest). | ||
3. Unzip it to the root folder of your MinUI SD card. It should place an `Edit -Recently Played- List/` folders into your `Tools/miyoomini/` directory, e.g. `Tools/miyoomini/Edit -Recently Played- List/`. | ||
- This should be compatible with other devices too. Just move the `Edit -Recently Played- List/` into the appropriate `Tools/{device}/` folder. | ||
5. Find and use these tools in your *Tools* directory from the main menu, under the 'Edit -Recently Played- List' category. | ||
|
||
|
||
If you do not see the *Tools* menu then you may be in Simple Mode; delete the file `/.userdata/shared/enable-simple-mode` to exit Simple Mode. If this file doesn't exist, then you may have extracted the files to the wrong place. | ||
|
||
|
||
|
||
## License | ||
|
||
This is released into the public domain under the Unlicense. | ||
|
||
|
||
|
||
## Changelog | ||
|
||
### v1.0.0 (2024-03-03) | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
echo off | ||
|
||
REM ---------- Edit these variables as needed. -------------------------------- | ||
|
||
REM Set the collection name, which is used for the archive name. | ||
set "setname=ClearRecent" | ||
|
||
REM ---------- No user-editable variables below. ------------------------------ | ||
|
||
REM Ask for new version number, which is used to find-replace in files. | ||
set /p ver="Enter a new version number: " | ||
|
||
|
||
|
||
REM Copy target files to temporary folder. | ||
if exist "temp\" rmdir "temp" /s /q | ||
if not exist "temp\" mkdir "temp\" | ||
robocopy src\ temp\ /s | ||
|
||
REM Copy the readme up and rename it to .txt (because I've seen people | ||
REM in the retro gaming community get confused expecting .md to be a MegaDrive ROM). | ||
robocopy .\ temp\ README.md | ||
rename temp\README.md "%setname%-README.txt" | ||
|
||
REM Do the final zipping. | ||
if not exist "distrib\" mkdir "distrib\" | ||
if exist "distrib\%setname%-%ver%.zip" del distrib\%setname%-%ver%.zip | ||
7z a -tzip -r- distrib\%setname%-%ver%.zip .\temp\* | ||
|
||
REM Delete the temporary folder and announce success | ||
REM Wait for a second to wait for the processes to finish. | ||
timeout /t 2 /nobreak | ||
if exist "temp\" rmdir "temp" /s /q | ||
|
||
echo. | ||
echo Version v%ver% of %setname% was built. | ||
echo The distributable is at 'distrib/%etname%-%ver%.zip'. | ||
echo. | ||
|
||
PAUSE |
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
src/Tools/miyoomini/Edit -Recently Played- List/Delete newest entry.pak/launch.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
cd "$(dirname "$0")" | ||
show=/mnt/SDCARD/.system/miyoomini/bin/show.elf | ||
recentlist=/mnt/SDCARD/.userdata/shared/.minui/recent.txt | ||
|
||
echo "$(tail -n +2 $recentlist)" > $recentlist | ||
sync | ||
|
||
$show ./splash.png | ||
usleep 500000 |
Binary file added
BIN
+19 KB
src/Tools/miyoomini/Edit -Recently Played- List/Delete newest entry.pak/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
...- List/Wipe the list clean/Yes delete the list/Clear -Recently Played- list.pak/launch.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
cd "$(dirname "$0")" | ||
show=/mnt/SDCARD/.system/miyoomini/bin/show.elf | ||
recentlist=/mnt/SDCARD/.userdata/shared/.minui/recent.txt | ||
|
||
rm -f $recentlist | ||
sync | ||
|
||
$show ./splash.png | ||
usleep 500000 |
Binary file added
BIN
+14.7 KB
... the list clean/Yes delete the list/Clear -Recently Played- list.pak/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.