Project

General

Profile

Actions

Emulator Issues #13153

closed

[Feature] Allow running games directly from folder on Android

Added by babaric-dev over 1 year ago. Updated about 1 year ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Android
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I am doing some modding on games and want to play the on the go on my smartphone. Everytime I want to transfer the new version of the game to my phone, I need to use Wiimms ISO Tools to convert the game's filesystem to a .wbfs file, put it in a USB and run the .wbfs from USB.

By allowing to run a folder directly, I can save the time in zipping the game into a .wbfs. Instead, I can unplug the USB after making changes to the game filesystem and plug it onto my phone. How convenient is that! This works on PC builds. Why not Android?

Actions #1

Updated by JMC4789 over 1 year ago

Because of scoped storage on Android, I don't think this is possible.

Actions #2

Updated by babaric-dev over 1 year ago

Why?

Actions #3

Updated by JosJuice over 1 year ago

It is possible. Enable Config > Paths > Search Subfolders for Game Files, then add the top-level directory for the game to Dolphin's game list. However, because of how SAF works (which we have to use because of scoped storage) this is going to be very slow. Assuming you're on Android 11 or later, the best workaround I have for that is to install an old version of Dolphin and then update it to a recent version of Dolphin (as described on https://wiki.dolphin-emu.org/index.php?title=Controlling_the_Global_User_Directory#Android) and then manually edit Dolphin.ini to replace the content URI to the game directory with a real path.

Actions #4

Updated by babaric-dev over 1 year ago

Can we have 2 versions of the app? One implemented through SAF another without. This way, we can still publish to Play Store while other users who want access to configs in dolphin (dolphin-emu folder) can download the APK here.

For example, Termux was not updated through Play Store because of what it violates Play Store's policy. Now, people download it through F-Droid or GitHub actions.

Similarly, we can have the Play Store policy compliant version of Dolphin pubished on Play Store and the non-SAF version through the internet (GitHub actions or provide 2 versions of Android Dolphin in downloads page).

This, however, would raise a new problem. Edits to the project will need to be applied twice and the code may have conflicts in the long run.

Nevertheless, I hope that there will be 2 versions of Dolphin (one SAF and other non-SAF) available. This can satisfy all users regardless of their needs.

Actions #5

Updated by JosJuice over 1 year ago

If you want to, you can make your own local build of Dolphin where you just change the targetSdkVersion to 29. But I'm not sure if publishing such a build would be worth the resources used and the confusion caused by having two builds.

Also, the workaround I described really does work for disabling scoped storage, even though it's unintuitive. I would recommend trying it.

Actions #6

Updated by JosJuice about 1 year ago

  • Status changed from New to Working as intended
  • Issue type changed from Bug to Feature request
  • Operating system Android added
  • Operating system deleted (N/A)

Marking the issue as closed since the actual feature requested already is implemented and since it's hard to do anything reasonable about the performance.

Actions

Also available in: Atom PDF