https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12018-03-24T07:57:39ZDolphin bug trackerEmulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7325082018-03-24T07:57:39ZJosJuice
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Questionable</i></li><li><strong>Operating system</strong> <i>Android</i> added</li><li><strong>Operating system</strong> deleted (<del><i>N/A</i></del>)</li></ul> Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7325502018-03-28T05:53:04Zryanebola16
<ul></ul><p>This also occurs with PRs built by the buildbot.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7325512018-03-28T06:24:58ZJMC4789JMC4789@gmail.com
<ul></ul><p>I thought this was intended? Every single APK has its own settings and whatnot on Android?</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7325522018-03-28T06:41:36Zryanebola16
<ul></ul><p>Updating to a new master branch build doesn't have this problem but a buildbot or Android Studio build of a PR does. I don't think that's something we want.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7381792019-11-25T16:40:57Zryanebola16
<ul></ul><p>Expanding this issue a little:<br>
Certain settings use default values when installing Android Studio built Dolphin (Dolphin exists as a separate app on Android from buildbot built apps), or uninstalling buildbot Dolphin on Android and then installing an older buildbot version. Some of these settings include:</p>
<ul>
<li>Analytics permission</li>
<li>Game directory path</li>
<li>Enabled controllers</li>
<li>Default controller for emulation</li>
<li>Rumble setting</li>
<li>Controller layout</li>
</ul>
<p>It's really annoying when these settings need to constantly be set to test issues. Ideally, these settings should be retained across builds of Dolphin.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7381812019-11-25T20:34:02ZJosJuice
<ul></ul><p>Ah, so the problem isn't when updating an existing Android Studio install, only when you didn't have an existing install with the same package name (either because you uninstalled it or because you didn't have one to begin with)? Then I understand, and can reproduce it perfectly.</p>
<p>I agree that it is annoying... But on the other hand, that's how Android apps are intended to work. We will probably actually need to remove the ability to automatically carry over any settings at all in the future once scoped storage becomes mandatory. At that point we would probably want to add some kind of convenient data import/export feature.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7381822019-11-25T23:22:13Zryanebola16
<ul></ul><p>Yes, sorry I knew something was wrong at the time of writing the report but I hadn't tested enough install/reinstall cycles to say what I know now. But even with scoped storage, shouldn't it still be possible for Dolphin to read settings from an INI file via storage access framework APIs? I think that the settings I previously mentioned should be set in an INI and readable across all Dolphin builds, regardless of package name.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7381832019-11-25T23:41:59ZJosJuice
<ul></ul><p>Yes, if the user manually selects a location for Dolphin to store its data at. This would need to be done for every installation of the app. Otherwise we can only access the app-specific storage, which gets wiped on uninstall – if I'm understanding it correctly, that is.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7381862019-11-26T01:14:49Zryanebola16
<ul></ul><p>I had the same understanding from what I briefly read. I guess this can be revisited when shared storage is implemented for Dolphin.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7381872019-11-26T01:15:28Zryanebola16
<ul></ul><p>I had the same understanding from what I briefly read. I guess this can be revisited when scoped storage is implemented for Dolphin.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7391292020-05-07T12:54:45Zryanebola16
<ul><li><strong>Subject</strong> changed from <i>Android: APKs built in Android Studio never recognize game lists or controller layout after installing</i> to <i>Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin builds</i></li><li><strong>Status</strong> changed from <i>Questionable</i> to <i>Accepted</i></li></ul><p>I think this is the underlying issue.</p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7391522020-05-09T16:18:42Zryanebola16
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Work started</i></li></ul><p>Prerequisite PR: <a href="https://github.com/dolphin-emu/dolphin/pull/8803" class="external">https://github.com/dolphin-emu/dolphin/pull/8803</a></p>
Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7391582020-05-10T11:56:05Zryanebola16
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-9 priority-2 priority-default closed" href="/issues/10962">Emulator Issues #10962</a>: Android: Make "Choose Controller" menu accessible outside of emulation</i> added</li></ul> Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7391602020-05-10T11:58:14Zryanebola16
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-2 priority-default closed" href="/issues/12067">Emulator Issues #12067</a>: [Feature request, Android] Allow manual configuration of device orientation before game start</i> added</li></ul> Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7394622020-06-17T11:39:42Zryanebola16
<ul><li><strong>Assignee</strong> set to <i>ryanebola16</i></li></ul> Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7395242020-06-25T02:54:56Zryanebola16
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-1 status-9 priority-2 priority-default closed" href="/issues/10962">Emulator Issues #10962</a>: Android: Make "Choose Controller" menu accessible outside of emulation</i>)</li></ul> Emulator - Emulator Issues #10957: Android: Prefer INI settings instead of SharedPreferences to retain settings across Dolphin buildshttps://bugs.dolphin-emu.org/issues/10957?journal_id=7406242020-10-24T08:25:49Zryanebola16
<ul><li><strong>Status</strong> changed from <i>Work started</i> to <i>Fix pending</i></li></ul><p>Once all of these PRs are merged, this will be fixed:<br>
<a href="https://github.com/dolphin-emu/dolphin/pull/8894" class="external">https://github.com/dolphin-emu/dolphin/pull/8894</a><br>
<a href="https://github.com/dolphin-emu/dolphin/pull/9192" class="external">https://github.com/dolphin-emu/dolphin/pull/9192</a><br>
<a href="https://github.com/dolphin-emu/dolphin/pull/9224" class="external">https://github.com/dolphin-emu/dolphin/pull/9224</a><br>
<a href="https://github.com/dolphin-emu/dolphin/pull/9318" class="external">https://github.com/dolphin-emu/dolphin/pull/9318</a></p>