Possible to Create Links to ROMs?

Just got a MiSTer and need some help? Join the forum and post your questions here!
JAJT
Posts: 10
Joined: Tue Sep 20, 2022 4:21 pm
Has thanked: 4 times
Been thanked: 3 times

Possible to Create Links to ROMs?

Unread post by JAJT »

I just got the MiSTer setup and it's working great, and was hoping to create "curated" folders that link to roms within each core. Very much like how the arcade roms have organizations built in.

I know there is a favorites script but the script puts the favorites on the main mister menu rather than within the cores themselves.

For example, right now in the NES core, I have roughly folders that look like this:

US A-J
- game1.nes
- game2.nes
US K-Z
- game3.nes
- game4.nes

and what I'd really love to do is something like:

Top 10 Favs
- link to [US A-J/game1.nes]
- link to [US A-J/game2.nes]
Shoot Em Ups
- link to [US A-J/game3.nes]
- link to [US A-J/game4.nes]
US A-J
-game1.nes
-game2.nes
US K-Z
-game3.nes
-game4.nes

Is something like this possible within the cores themselves? Or does all linking have to happen from the topmost main MiSTer menu?
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Possible to Create Links to ROMs?

Unread post by jca »

You can create links anywhere you want.
For example you can create the directories you mentioned above in games/NES and within these directories create links to the roms you want.
JAJT
Posts: 10
Joined: Tue Sep 20, 2022 4:21 pm
Has thanked: 4 times
Been thanked: 3 times

Re: Possible to Create Links to ROMs?

Unread post by JAJT »

Hmm...

I did actually try to create links to the ROMs using Winscp, but the links wouldn't show up in the menu. It was like there wasn't anything there.
johhenrik
Posts: 34
Joined: Mon Aug 10, 2020 8:49 pm
Has thanked: 43 times
Been thanked: 15 times

Re: Possible to Create Links to ROMs?

Unread post by johhenrik »

Use the 'ln' command in shell.

SYmlink:
ln -s ../path/to/rom.nes mylinkedrom.nes

or

Hard link:
ln ../path/to/rom.nes mylinkedrom.nes

https://blog.devgenius.io/hard-link-and ... 8b9bd61734
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Possible to Create Links to ROMs?

Unread post by jca »

have been using symlinks extensively, mainly using WinSCP and never had any problem.
Example: Gameboy2P rom linked to Gameboy rom.
Attachments
Gameboy2P.jpg
Gameboy2P.jpg (26.74 KiB) Viewed 1378 times
JAJT
Posts: 10
Joined: Tue Sep 20, 2022 4:21 pm
Has thanked: 4 times
Been thanked: 3 times

Re: Possible to Create Links to ROMs?

Unread post by JAJT »

Okay, I found the problem.

The link name itself NEEDS to have the extension on it. I wasn't doing that.

I was naming my link "DuckTales" rather than "Ducktales.nes".

Without the extension, it doesn't show on the menu. With the extension, it does (and works).

I had never considered that until you posted your screenshot @jca. Thanks so much!
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Possible to Create Links to ROMs?

Unread post by jca »

:lol:
Post Reply