diasurgical/devilutionX

[Issue Report]: Google Android TV - unable to acess data folder, nothing helps

zaisty opened this issue · 4 comments

Operating System

Android

DevilutionX version

1.5.2

Describe

Nothing helps to access data folder on Google Android TV, this guide https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer#android also not helping, it's for phones not Android TV.
After latest update of Android - data folder is locked. Any suggestions?

To Reproduce

.

Expected Behavior

access to data folder or able to chose folder

Additional context

.

This was reported on Discord, but we don't really have a solution just yet. You might be able to use wifi debugging, but I think you'd need a PC with Android Studio or adb. I don't know if you can do a USB connection between a laptop and the Android TV, but that might work as well. I don't know of any other options.

OK, thanks for answer, maybe able to choose folder with MPQ files in devilutionX app is solution, if it is possible to do, for example 'Download' folder (it's available in all android systems).

That is what the app is doing when you activate the Import Data shortcut using a long press on the app icon. It's just that none of our developers actually own an Android TV so we were unaware that TVs don't have the ability to access the shortcut. We have discussed potentially adding a button to the screen that appears when the app detects you do not have the MPQs. The way the app works now, that seems like the only reasonable place to put one, and in the absence of a better suggestion, that is definitely the current plan. We just haven't done it yet.

Perhaps there is a solution for Android TV, if protecting the date and obb folders in Android works the same on Android smartphones and Google Android TV. To do this, you will need the Files application from Google Play and the split-screen function. Open "Files" and in the application options (three dots in the upper right corner) select "New Window". Next, through “recents” (square on smartphones), launch both “File” windows in split-screen mode. In one window, open Android/data/org.diasurgical.devilutionx, and in the second, open the location where the .mpq files are stored (downloads?). Then select the files you need and literally drag them into the DevX folder. Ready! For clarity, I recorded a video of what it looks like on an Android smartphone. "files (copy demo)" = "files". Everything is in Russian in video. It is sped up twice to compress the size.

lv_0_20240324233557.mp4

If you don't know how to enable split screen, the Internet can help you. If this doesn't work for you, sorry.