It appears that another user also thought of a similar idea to mine, see here: https://github.com/MiSTer-devel/Main_MiSTer/issues/190 (see very bottom-most post, which remains unaddressed)
Basically, one should be able to launch a specific rom file via command line. Currently, this is not possible. But with a trivial code change as discussed in link, this becomes possible.
Can we please merge this commit with Main_MiSTer? I really don't want to setup a build environment to compile mister each and every update.
Launching specific ROM from command line
Re: Launching specific ROM from command line
"sorgelig commented on Apr 13Nytron wrote: ↑Fri Jul 10, 2020 3:15 am It appears that another user also thought of a similar idea to mine, see here: https://github.com/MiSTer-devel/Main_MiSTer/issues/190
Basically, one should be able to launch a specific rom file via command line. Currently, this is not possible. But with a trivial code change as discussed in link, this becomes possible.
Can we please merge this commit with Main_MiSTer? I really don't want to setup a build environment to compile mister each and every update.
No, it's not proper use of MiSTer. It exposes proprietary interface which should stay as internal."
Re: Launching specific ROM from command line
That was regarding a totally different commit. Read the posts underneath that post. The guy in that thread found a cleaner workaround with minimal changes to the code. See the commit I linked in my previous post.Cebion wrote: ↑Fri Jul 10, 2020 4:54 am"sorgelig commented on Apr 13Nytron wrote: ↑Fri Jul 10, 2020 3:15 am It appears that another user also thought of a similar idea to mine, see here: https://github.com/MiSTer-devel/Main_MiSTer/issues/190
Basically, one should be able to launch a specific rom file via command line. Currently, this is not possible. But with a trivial code change as discussed in link, this becomes possible.
Can we please merge this commit with Main_MiSTer? I really don't want to setup a build environment to compile mister each and every update.
No, it's not proper use of MiSTer. It exposes proprietary interface which should stay as internal."
This feature would open the door to all kinds of different possibilities. Front end apps that leave the OSD untouched, automation via SSH (i.e. "Hey Google, play Streets of Rage 2 on Sega Genesis on Mister"), etc.
Re: Launching specific ROM from command line
So I set up the build environment, but it looks like significant code changes have happened between this proposed commit and now.
For example, there is no "struct cmdentry" anymore! Perhaps someone more familiar with the codebase can lead me in the correct direction of how to do this now?
For example, there is no "struct cmdentry" anymore! Perhaps someone more familiar with the codebase can lead me in the correct direction of how to do this now?