I've had a lot of fun playing around with this stuff.
Setting the parameters is simple
with plugins, it has a default directory (/usr/lib/x86_64-gnu-linux/mupen64plus for me at least)
so to switch the default plugin for example changing the video from rice to glide64
notice that there is a space between mupen64plus and --gfx, and a space between the --gfx and the plugin. and plugin from the game filepath.
mupen64plus --gfx mupen64plus-video-glide64.so /path/to/game/file
Likewise, if you wanted to run a plugin which is not in the default plugin directory, use the full path
If you want to run multiple options like setting a cheat and fullscreen and a different plugin then
mupen64plus --gfx /some/other/path/other/than/the/default/plugin/path/mupen64plus-video-glide64.so /game/file
and so on, like so.
mupen64plus --cheats 1 --gfx mupen64plus-video-rice.so --fullscreen /game/filepath, or "/game/file path"
If you want to save it then add the --saveoptions command after the last option, but before the game file path.
So it's important to note the basics are option then space then option then space.
As far as setting up the controllers go, look at the file InputAutocfg.ini, which should be in either
I see mine has a listing for a playstation3 controller, but I do not know how well it connects it.
This might help more on that matter
Overall though, I have had a little more fun playing around with this than I normally would care to do.
I normally just play the games, without getting into the underlying working of how to set thing up.
I hope something in the above ramblings help you, somewhat, out.
I'll leave with an interesting one
if you run this command, if the game has cheats, which most certainly it will, it will generate the list, by number.
mupen64plus --cheats 'list' /game/file/path
To enable the cheats run the cheats command and follow the basic one I used earlier.
If the cheat is something with extra options, like it says cheat number 1, subsection 3 then the command would be
if you want multiple cheats then use commas between them
and if you want to enable all cheats
Again, I'm rambling.