MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
wizzo
Scripting Wizard
Posts: 183
Joined: Sat Mar 12, 2022 11:32 am
Has thanked: 15 times
Been thanked: 240 times

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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

werpu
Posts: 76
Joined: Sun May 24, 2020 7:37 pm
Has thanked: 12 times
Been thanked: 14 times

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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!

User avatar
wizzo
Scripting Wizard
Posts: 183
Joined: Sat Mar 12, 2022 11:32 am
Has thanked: 15 times
Been thanked: 240 times

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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.

Gekiganga
Posts: 6
Joined: Wed Jun 14, 2023 11:41 pm

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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!

User avatar
wizzo
Scripting Wizard
Posts: 183
Joined: Sat Mar 12, 2022 11:32 am
Has thanked: 15 times
Been thanked: 240 times

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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:

  • If the directory in the top of the SD card doesn't have "fav" somewhere in the name, it won't show up in the script. This has absolutely no impact on mister itself browsing and launching though.

  • 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!

Gekiganga
Posts: 6
Joined: Wed Jun 14, 2023 11:41 pm

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post by Gekiganga »

Perfect!
Thankyou 😉

heinzgruber
Posts: 32
Joined: Thu Mar 23, 2023 8:12 am
Has thanked: 13 times
Been thanked: 1 time

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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.

mward
Posts: 3
Joined: Sun Mar 10, 2024 3:24 pm

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post by mward »

Hi, reviving an old thread. Is there any way to rename an existing folder? Or delete one? Thanks.

User avatar
dickhardpill
Posts: 49
Joined: Tue Apr 09, 2024 9:28 pm
Location: Not Portland, OR
Has thanked: 50 times
Been thanked: 10 times
Contact:

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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

mward
Posts: 3
Joined: Sun Mar 10, 2024 3:24 pm

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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.

User avatar
dickhardpill
Posts: 49
Joined: Tue Apr 09, 2024 9:28 pm
Location: Not Portland, OR
Has thanked: 50 times
Been thanked: 10 times
Contact:

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post 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.

mward
Posts: 3
Joined: Sun Mar 10, 2024 3:24 pm

Re: MiSTer Favorites - Menu Shortcuts for Your Cores and Games

Unread post by mward »

FileZilla right-click and rename worked just fine. I was finally able to clean up some of my poor name choices. Thanks.

Post Reply