Dolphin, the GameCube and Wii emulator - Forums

Full Version: Controller mapping returning for Android?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Thanks rclong and degasus
Haven't tested 4410 yet, but thanks guys, just for working on it, much appreciated.
(10-31-2016, 09:58 AM)SeannyM Wrote: [ -> ]I've got an implementation up in a PR, check it out here. If you want to try it, you can download an apk from the pr-android buildbot.

Hello,
I tried the pr build from: https://dl.dolphin-emu.org/prs/pr-4410-dolphin-latest.apk

The Gamecube buttons looked like they were mapping fine.  But when I tried to do the same in the Wii controller, Dolphin Crashed.
When I would click on Wii Controller 1 I got the first popup for the type real/emulated/Wii Bar, similar to GameCube, but when I proceeded past this with emulated selected, it would crash next.

Is there a debug log, config files, or something that I can get for you to look at?

Thank you for re-implementing this.
Nathan
Seems like I'm not able to catch the crash on wiimot econfiguration, but this appears in the log:

E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.dolphinemu.dolphinemu.debug, PID: 4648
java.lang.NullPointerException: Attempt to invoke virtual method 'org.dolphinemu.dolphinemu.model.settings.Setting org.dolphinemu.dolphinemu.model.settings.SettingSection.getSetting(java.lang.String)' on a null object reference
at org.dolphinemu.dolphinemu.ui.settings.SettingsFragmentPresenter.addWiimoteSubSettings(SettingsFragmentPresenter.java:383)
at org.dolphinemu.dolphinemu.ui.settings.SettingsFragmentPresenter.loadSettingsList(SettingsFragmentPresenter.java:141)
at org.dolphinemu.dolphinemu.ui.settings.SettingsFragmentPresenter.setSettings(SettingsFragmentPresenter.java:98)
at org.dolphinemu.dolphinemu.ui.settings.SettingsFragmentPresenter.onViewCreated(SettingsFragmentPresenter.java:66)
at org.dolphinemu.dolphinemu.ui.settings.SettingsFragment.onViewCreated(SettingsFragment.java:88)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:988)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
at android.app.BackStackRecord.run(BackStackRecord.java:793)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:482)
at android.os.Handler.handleCallback(Handler.java:742)
at android.os.Handler.dispatchMessage(Handler.java:97)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5482)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

GC works very fine Big Grin
It's hit or miss for me. Sometimes the Wii mapping loads, sometimes it crashes. It's because of the hacky nature of switching configuration files needed for the Wii mapping; when it crashes it's because the right ini file didn't load in time. I'm going to look into improving the config system soon so I can remove the hacks.

speedyrules

@degasus: so if i can follow this correctly.. soon we will have a release with it working, right? Big Grin
(11-03-2016, 10:36 PM)speedyrules Wrote: [ -> ]@degasus: so if i can follow this correctly.. soon we will have a release with it working, right? Big Grin

Depends. I'd say hold off on merging it until either the config system is improved, or I at least find a more reliable way to switch files for the Wii mapping. I've looked into the former a bit, but I might not have much time to work on it in the coming days.
I installed the identified PR 4410 and when I open the GameCube settings screen it is blank, just the blue bar on top that says settings. I can't do a thing.
(11-05-2016, 01:02 PM)ngs428 Wrote: [ -> ]I installed the identified PR 4410 and when I open the GameCube settings screen it is blank, just the blue bar on top that says settings.  I can't do a thing.

This happens when the ini can't be loaded. I've seen it happen when you have a fresh Dolphin folder and haven't run a game yet (running a game will create Dolphin.ini if it is missing). Try running a game and then restart the app and try again.
(11-05-2016, 01:30 PM)SeannyM Wrote: [ -> ]This happens when the ini can't be loaded. I've seen it happen when you have a fresh Dolphin folder and haven't run a game yet (running a game will create Dolphin.ini if it is missing). Try running a game and then restart the app and try again.

Yes, it was a fresh install with no Dolphin folder present.

What development version is PR 4410 based on?
Pages: 1 2 3 4 5