Page 1 of 1
MegaAGS favorites.. kind of
Posted: Thu Apr 14, 2022 11:06 pm
by Raul3D
I came up with a pretty hacky way to create favorite folders in MegaAGS. If you want to try it, follow these steps:
On your PC:
- Download the attached fav.run file.
- Open the downloaded file in a text editor (e.g. Notepad++).
- It contains a line for each game. Remove the ; at the start of the line, if you want the game to be included in the favorites folder.
- Save the file and transfer it to the Minimig "shared" folder.
Inside Minimig:
- Close the MegaAGS launcher (e.g. ESC).
- From Workbench open a new command line by using the "Shell" icon.
- Go to the shared folder.
- Run the favorites script.
Replace MY_FOLDER_NAME with how you want your favorites folder to be named. Do not use special characters.
- Restart Minimig.
Remarks:
- Use at your own risk. I don't have much know-how in AmigaDOS, so this script might have side effects I am not aware of.
- Do not use special characters in the target folder name. The script cannot handle this at the moment. Letters, numbers and _ are fine.
- I do not have a list of all included games, so the game list is a wild guess from the titles.csv from GitHub. It might contain games that are not present and it might not work for all games.
- There are probably better ways to do this. Ideas for improvements are welcome.
- You can run the script multiple times for the same folder. It will copy new games over, but will not delete existing games from the folder.
- To remove a favorites folder again:
Code: Select all
cd amiga:AGS2
delete MY_FOLDER_NAME.ags all
Re: MegaAGS favorites.. kind of
Posted: Mon May 02, 2022 7:54 pm
by CeeDeeVee
Better than my solution, so thanks for sharing!
Re: MegaAGS favorites.. kind of
Posted: Sat Apr 08, 2023 12:32 pm
by lagerfeldt
Raul3D wrote: ↑Thu Apr 14, 2022 11:06 pm
I came up with a pretty hacky way to create favorite folders in MegaAGS. If you want to try it, follow these steps:
Thanks!
I've gone through the steps:
· Downloaded the file, edited it with a dedicated code editor, uploaded it to /media/fat/games/Amiga/shared
· Opened Shell in Amiga core, changed dir to mister:, ran the script with a folder name without special characters or spaces.
It appeared to copy all the files into the/a folder, at least it said "...copied" after each file, one by one.
Restarted the Amiga core.
But there's nothing in the AmigaVision/MegaAGS launcher, at least I can't find the new fave folder anywhere. Where is it supposed to appear exactly?
I have a feeling either I'm using the wrong "shared" folder or the script isn't making the folder named AGS2.
Could you be more specific about the various paths?
Re: MegaAGS favorites.. kind of
Posted: Sat Apr 08, 2023 2:58 pm
by Optiroc
Thumbs up for the effort! I should probably add a favourites feature built in to AGS2, shouldn’t I?
Re: MegaAGS favorites.. kind of
Posted: Sat Apr 08, 2023 3:45 pm
by M.Walrus
Optiroc wrote: ↑Sat Apr 08, 2023 2:58 pm
Thumbs up for the effort! I should probably add a favourites feature built in to AGS2, shouldn’t I?
Been hoping for this addition for years now. It would definitely help the experience of getting back to gems that folks discover in that vast library!
Re: MegaAGS favorites.. kind of
Posted: Mon Apr 10, 2023 8:17 am
by lagerfeldt
Optiroc wrote: ↑Sat Apr 08, 2023 2:58 pm
Thumbs up for the effort! I should probably add a favourites feature built in to AGS2, shouldn’t I?
That would be beyond awesome.
Universally useful would be a simple user favorites list with the ability to add or remove games. It could sort alphanumerically by default.
Other very useful features would be the ability to manually re-order the list (e.g. to make a numbered top-list) and to have several, named lists for various purposes.
For instance I have an alphanumerically sorted game list of my 220 favorites, a numbered top 100, a high-score games list of about 50, and a smaller multi-player list. Right now I have to resort to all kinds of workarounds and external referencing.
PS. Any way of fixing the typos/incorrect naming of titles to match the actual original spelling? I'd be happy to help out.
Re: MegaAGS favorites.. kind of
Posted: Mon Apr 10, 2023 3:24 pm
by Optiroc
lagerfeldt wrote: ↑Mon Apr 10, 2023 8:17 am
Universally useful would be a simple user favorites list with the ability to add or remove games. It could sort alphanumerically by default.
Other very useful features would be the ability to manually re-order the list (e.g. to make a numbered top-list) and to have several, named lists for various purposes.
For instance I have an alphanumerically sorted game list of my 220 favorites, a numbered top 100, a high-score games list of about 50, and a smaller multi-player list. Right now I have to resort to all kinds of workarounds and external referencing.
Your first sentence describes what I'll implement, to the letter.
More advanced use cases would require too much UI to be implemented to be fun (or good). What you're describing in the last paragraph is essentially what I set out to do for myself when I created the AGSImager set of scripts (which are used to build MegaAGS). But it's quite possible that the (fairly small) additions I'm now making for the favorites feature can be expanded on a bit to allow for custom lists stored on the Saves drive.
lagerfeldt wrote: ↑Mon Apr 10, 2023 8:17 am
PS. Any way of fixing the typos/incorrect naming of titles to match the actual original spelling? I'd be happy to help out.
Sure! Just create an issue or PR in the repo.