Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting default parameter values at build time #9

Open
ricrpi opened this issue Dec 18, 2014 · 1 comment
Open

Setting default parameter values at build time #9

ricrpi opened this issue Dec 18, 2014 · 1 comment

Comments

@ricrpi
Copy link

ricrpi commented Dec 18, 2014

When users run mupen64plus for the first time or if they delete their mupen64plus.cfg file then mupen64plus will auto-generate a new cfg file. This cfg file may not have default values that are compatible with some unofficial ports.

Users can of course change these, either on the command line, manually editing the file or copying in a good cfg file.

However for inexperienced users, perhaps a method to set these defaults at build time should be considered.

I would like to suggest that such a method used is similar to how COREDIR and PLUGINDIR are used within the makefile system. Then maintainers of unofficial ports could customize official plugin defaults from within their build scripts. (This would remove the need to fork and maintain updates where only these defaults are changed).

Note: This change would have to be applied to all mupen64plus repositories else an inexperienced user may still need to do something with the cfg file.

As a side note I would like to add that I have not seen many comments/questions about how to change the mupen64plus configuration on the raspberry Pi forums, given the aims of the device is to be educational and so has a higher proportion of inexperienced users of linux, I feel this 'Issue' is of low importance and more of an enhancement.

@krnlyng
Copy link

krnlyng commented May 15, 2015

My Sailfish OS port would definitely benefit from such an option. Something along the lines:
DEFAULT_VIDEO_PLUGIN="mupen64plus-video-glide64mk2.so" make all -C projects/unix

or maybe (this would also allow setting special config parameters):
USE_DEFAULT_CONFIGURATION_FILE="/path/to/custom/mupen64plus.cfg" make all -C projects/unix

This would allow me to use the upstream mupen64plus-ui-console frontend without dirty hacks to get it going on my target devices...

If we agree upon a method, i would volunteer to implement it, if no one else does it :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants