Feature Request: Add 'ignore' key to script
stopmosk opened this issue · 5 comments
Hi
It would be great to add the ignore
argument to the SAM script so that the currently playing core is not just skipped (skip | next
), but added to the ignore list and is no longer available.
Great idea! Exclude lists are a bit cumbersome to edit by hand and this should be fairly easy to get implemented.
Added in the most recent release. You can ignore a game now by issuing:
/media/fat/Scripts/MiSTer_SAM_on.sh ignore
or through SAM's menu
Steps to check if it is working correctly (example for arcade core):
- Start with a fresh boot and update SAM
- Start SAM by waiting or launching it with
/media/fat/Scripts/MiSTer_SAM_on.sh start
- Issue
/media/fat/Scripts/MiSTer_SAM_on.sh ignore
- Check that
/media/fat/Scripts/.MiSTer_SAM/SAM_Gamelists/arcade_excludelist.txt
was created with right game. - Reboot MiSTer and start SAM again.
- Now check with
cat /tmp/.SAM_List/arcade_gamelist.txt | grep -i "excluded game"
if game is missing (it might take a couple of seconds for game to get excluded)
Please let me know if everything is working for you.
Hi! Thank you for the new feature!
I went through the steps: 1-5 finished as you described, but I cant understand step 6. What do I get with it? Nothing was changed after it in my case.
If the command completes without showing anything it means that the game is missing. If you have trouble with grep you can also just open that file with filezilla ( /tmp/.SAM_List/arcade_gamelist.txt ) to see if your game is not on that list
Feature seems to be working well for me so I'm closing the issue for now. Please re-open if you encounter any issues