Page 4 of 4
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Sun Jun 04, 2023 5:28 am
by wizzo
Jimiga wrote: ↑Sun Jun 04, 2023 5:20 am
I've just tried copying the script across again. For some reason my old file was 33k and the new one is 512, so there's a difference - but I now see an actual error when I run it - screenshot attached.
Thanks!
Oh well this one is an easy fix. Looks like you downloaded the source viewer page on github not the script itself. Easy mistake!
Download this instead: https://github.com/wizzomafizzo/MiSTer_ ... vorites.sh
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Tue Jun 20, 2023 7:43 am
by werpu
Does this work also for starting shell scripts? I would love to place ScummVM, BasiliskII etc... in a more games like section instead of having to go to the scripts folder to access them!
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Tue Jun 20, 2023 8:48 am
by wizzo
werpu wrote: ↑Tue Jun 20, 2023 7:43 am
Does this work also for starting shell scripts? I would love to place ScummVM, BasiliskII etc... in a more games like section instead of having to go to the scripts folder to access them!
Unfortunately no there is currently no way for that to work in this script. I am actively looking for workarounds though because I'd love to have support for this. Big SCUMM fan.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Sun Jul 02, 2023 2:03 pm
by Gekiganga
Hello,
I have a couple of questions.
I understand that to create the shortcuts I need to do it from the script, but... the folder structure within favorites and the directory names and the same shortcuts, can be modified directly on the sd card from a pc? Or do you have to do everything also using the script to make it work properly?
On the other hand, I have seen that for each directory I create, the script creates a "cores" directory with all the arcade cores. Is this necessary? What function does it have?
Thanks for the script, it's excellent!
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon Jul 03, 2023 5:45 am
by wizzo
Gekiganga wrote: ↑Sun Jul 02, 2023 2:03 pm
Hello,
I have a couple of questions.
I understand that to create the shortcuts I need to do it from the script, but... the folder structure within favorites and the directory names and the same shortcuts, can be modified directly on the sd card from a pc? Or do you have to do everything also using the script to make it work properly?
On the other hand, I have seen that for each directory I create, the script creates a "cores" directory with all the arcade cores. Is this necessary? What function does it have?
Thanks for the script, it's excellent!
Glad to hear it's working well for you!
Go for your life and move files around, that's not a problem at all. There are only 2 things to keep in mind:
The cores folder, as you noticed. This is a shortcut back to the _Arcade/cores folder. It's only necessary if you're launching arcade cores from that folder. If there are no arcade core shortcuts in the folder, feel free to delete the cores link. It should be safe to move it around too.
Hope that helps!
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon Jul 03, 2023 11:40 am
by Gekiganga
Perfect!
Thankyou
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Wed Oct 11, 2023 9:47 am
by heinzgruber
hi,
Shortcuts doesn't work with the new Mega Drive core Nuke-MD: i've already copied my roms to the correct folder (Games\Megadrive) for this core but when i set and than start a favorite only the core starts and the game don't.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Tue May 07, 2024 7:48 pm
by mward
Hi, reviving an old thread. Is there any way to rename an existing folder? Or delete one? Thanks.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Tue May 07, 2024 10:35 pm
by dickhardpill
mward wrote: ↑Tue May 07, 2024 7:48 pm
Hi, reviving an old thread. Is there any way to rename an existing folder? Or delete one? Thanks.
I believe you can ftp into the MiSTer and create folders that way. If you want them to show up in the menu they need to start with an underscore
Are you familiar with the command line?
I use ssh
Code: Select all
mkdir /media/fat/_target
mkdir relative/path/_target
mkdir -p _target/_subdirectory
mkdir -p _target/{_sub1,_sub2}
you could also ln -s to link a folder/file
Code: Select all
ln -s /absolute/path/to/target /absolute/path/to/link
ln -s /absolute/path/to/target relative/path/to/link
Deleting files is done with rm, you are root and can cause a headache so use wisely…
Code: Select all
rm /absolute/path/to/file
rm relative/path/to/file
And here’s where the real trouble can start;
Code: Select all
rm -rf /absolute/path/to/folder
rm -rf relative/path/to/folder
Sorry of this doesn’t help or I misunderstood the spirit of your question
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Wed May 08, 2024 1:23 pm
by mward
Could I rename an existing favorite sub folder using FileZilla on a computer connected to my Mister? I’m wondering if this is as simple as a right-click on the directory and choosing “rename”, or is there more to it like a database file somewhere else that is storing the paths? I’ve really only used the favorites script with the included GUI, but I can see the _favorites directory in FileZilla. Thanks.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Wed May 08, 2024 1:29 pm
by dickhardpill
I don’t use filezilla but I don’t see why you couldn’t. If something breaks just rename the folder back to its original name.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Wed May 08, 2024 6:40 pm
by mward
FileZilla right-click and rename worked just fine. I was finally able to clean up some of my poor name choices. Thanks.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon May 13, 2024 3:28 pm
by MrConkin
Awesome script. I have a question about the file structure that I'm hoping someone can answer.
I would like to have two top-level folders: One called "@Favorites" that contains all the goats and one called "@Currently Playing" that I change up more frequently. I can use the script to create the @Currently Playing folder within @Favorites which is great, just wondering if there's a way to have it visible at the top level?
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon May 13, 2024 4:44 pm
by dickhardpill
add an underscore before the @
_@Favorites
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon May 13, 2024 5:40 pm
by MrConkin
dickhardpill wrote: ↑Mon May 13, 2024 4:44 pm
add an underscore before the @
_@Favorites
Tried this but no luck. I only see those folders when I enter the Favorites folder.
- tOnZrO3.png (10.46 KiB) Viewed 4776 times
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon May 13, 2024 5:48 pm
by dickhardpill
Sorry for the big edit if you saw beforehand...
In this picture _@Favorites should be at the top level.
If you want the folders inside of _@Favorites to be a the top level then move them out of _@Favorites.
Specifically to /media/fat/_@Currently Playing
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon May 13, 2024 6:24 pm
by MrConkin
Ah ok, that makes sense. I'm guessing once I move the folder I won't be able to edit using the script, but hopefully I can just drop it back into favorites when I need to.
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Mon May 13, 2024 6:52 pm
by dickhardpill
You could leave the folder in place and add a link in /media/fat/
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Wed May 15, 2024 4:54 pm
by MrConkin
dickhardpill wrote: ↑Mon May 13, 2024 6:52 pm
You could leave the folder in place and add a link in /media/fat/
Genius. Took me a while to figure out to create a symlink on linux but that worked . Thanks!
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Wed May 15, 2024 5:35 pm
by dickhardpill
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Tue Sep 17, 2024 2:52 pm
by rhester72
Wizzo - this is amazing! I set down the path of reinventing this wheel this morning when I found your work...absolutely wonderful! Thank you!
Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games
Posted: Sun Sep 22, 2024 7:43 am
by exoticatom
hi,
Any idea why creating a folder (default one or any other) using script, creates and additional “core” folder with actual cores?
Or is that just a link to the actual core folder? Cant say from Windows explorer.
Just wondering if that messes up update_all...
- Screenshot 2024-09-22 094156.png (29.37 KiB) Viewed 1741 times
- Screenshot 2024-09-22 094231.png (101.66 KiB) Viewed 1741 times
thanks