Page 1 of 1

MGL: Launch Scripts Via MGL

Posted: Wed Dec 14, 2022 1:30 pm
by held

I saw the use of MGL as a way to start your favorite games directly from the MiSTer menu.
Would it be possible to launch scripts the same way using the menu core?

This would be ideal for ScummVM, DosBox or any other 3rd party app.


Re: MGL: Launch Scripts Via MGL

Posted: Wed Dec 14, 2022 4:56 pm
by theypsilon

Scripts can do a lot of stuff that a core can't do. It would be very unsafe to open a way to run scripts from outside the Scripts menu (which shows you a warning for this very reason).


Re: MGL: Launch Scripts Via MGL

Posted: Thu Dec 15, 2022 10:10 am
by held

Whats unsafe about it?


Re: MGL: Launch Scripts Via MGL

Posted: Thu Dec 15, 2022 5:05 pm
by theypsilon

Scripts run with root privileges and have an internet connection available. If you run a malicious script, it could infect your MiSTer very quickly with any kind of malware.


Re: MGL: Launch Scripts Via MGL

Posted: Fri Dec 16, 2022 1:09 pm
by held

And that would not be the case if a malicious script is run from the scripts menu?


Re: MGL: Launch Scripts Via MGL

Posted: Fri Dec 16, 2022 4:30 pm
by theypsilon

The script menu shows you a warning for this very reason. If scripts are showing up as cores, people will not be aware of the risk they imply.