Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496864 - games-emulation/mupen64plus-input-sdl-2.0 ignores and overwrites configuration
Summary: games-emulation/mupen64plus-input-sdl-2.0 ignores and overwrites configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-03 11:07 UTC by kahrl
Modified: 2014-02-22 22:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mupen64plus config file with modified Input-SDL-Control1 section (mupen64plus.cfg,15.26 KB, text/plain)
2014-01-03 11:09 UTC, kahrl
Details
emerge --info (emergeinfo.txt,17.02 KB, text/plain)
2014-01-03 11:10 UTC, kahrl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kahrl 2014-01-03 11:07:02 UTC
Since some of my games weren't working with mupen64plus 1.5 and I noticed the new ebuilds for mupen64plus 2.0 (thanks!), I decided to give those a try. So far everything is working nicely except I can't change the input configuration. I tried changing the settings in two ways, neither of them works:

First try: In m64py: Settings -> Plugins -> Input -> Configure

I can assign keys to the various buttons and the new keys are still assigned when I close and reopen this dialog. However, as soon as I load a ROM, the default input settings are restored (both while playing, and if I reopen the configuration dialog afterwards). The configuration is also reset whenever I quit m64py.

Note that my changes are properly written to ~/.config/mupen64plus/mupen64plus.cfg when I close the configuration dialog, but rewritten with the defaults whenever I load a ROM or the next time I start m64py.

Second try: Without m64py

I opened ~/.config/mupen64plus/mupen64plus.cfg in a text editor and changed the appropriate settings in the Input-SDL-Control1 section (modified file attached). Then I manually ran
  mupen64plus ~/games/n64/Super\ Mario\ 64\ \(U\)\ \[\!\].z64
at which point mupen64plus.cfg got rewritten with the default controls, which were also active in-game.

Running mupen64plus with --verbose seemed to give no additional clues.


This bug is specific to the input configuration: I can change any other setting (whether core or other plugin) without problems.


Reproducible: Always
Comment 1 kahrl 2014-01-03 11:09:35 UTC
Created attachment 366836 [details]
mupen64plus config file with modified Input-SDL-Control1 section
Comment 2 kahrl 2014-01-03 11:10:58 UTC
Created attachment 366838 [details]
emerge --info
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-01-03 17:44:59 UTC
Did you set the 'mode' to 'fully manual'? Otherwise, the bindings are configured automatically somehow.
Comment 4 kahrl 2014-01-04 17:57:34 UTC
Thanks, that was it! When the mode is "fully manual" it keeps the configuration. As far as I'm concerned, this bug can be closed, although I will ask upstream if at least the key assignment buttons can be greyed out in the configuration dialog when not in "fully manual" mode.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-01-04 19:22:52 UTC
(In reply to kahrl from comment #4)
> Thanks, that was it! When the mode is "fully manual" it keeps the
> configuration. As far as I'm concerned, this bug can be closed, although I
> will ask upstream if at least the key assignment buttons can be greyed out
> in the configuration dialog when not in "fully manual" mode.

Please do. wxMupen64Plus did exactly that, and that's the only reason I was able to guess that :). I wanted to upstream this issue but I guess I got distracted by the license issues.
Comment 6 kahrl 2014-02-22 22:28:23 UTC
I forgot about this bug for a while, sorry about that. However upstream seems to have fixed this in games-emulation/m64py-0.2.0.

http://m64py.sourceforge.net/

> ChangeLog: ... Input settings are now disabled if mode is not fully manual. ...
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-02-22 22:38:28 UTC
Ok, 0.2.0 in tree now.