Git Product home page Git Product logo

Comments (13)

rootko avatar rootko commented on June 15, 2024 1

Thank you, that did it. I was reading this part of the "how to install": https://github.com/diasurgical/devilutionX/blob/master/docs/installing.md which was no longer working.
That part with the importing the files should definitely be mentioned there 😆

from devilutionx.

DakkJaniels avatar DakkJaniels commented on June 15, 2024

Did you try Import Data, or does that not work?
Edit: referring to this: https://github.com/diasurgical/devilutionX/wiki/Extracting-the-.MPQs-from-the-GoG-installer#android

from devilutionx.

StephenCWills avatar StephenCWills commented on June 15, 2024

The folder is only inaccessible to other apps on the phone, like the file browser app. Importing the files is not necessary if you copy the files from your PC directly to the appropriate location. That's why it's not mentioned in the Installing guide.

from devilutionx.

rootko avatar rootko commented on June 15, 2024

Well I've tried like 5 different file explorers on my Android 13 tablet without root and none had access to /Android/data. Also connection from PC displayed that folder, but it was read only. That's why I believe it might help somebody else if there's a note that "in case you don't have a direct access to that folder, try import data files by long tapping on DevilutionX icon". If it helps just one person, it's worthy doing 😀

from devilutionx.

AJenbo avatar AJenbo commented on June 15, 2024

Try File Manger Plus

Would it be possible to implement a search button, so we can navigate app to an accessible folder (e.g. Downloads)?

No, Google does not permit this.

from devilutionx.

StephenCWills avatar StephenCWills commented on June 15, 2024

Also connection from PC displayed that folder, but it was read only.

According to this, you get read-write access if you use MTP through a PC, and I confirmed it with my phone just now.
https://www.reddit.com/r/Android/comments/wru35i/clearing_up_confusion_about_how_to_access/?rdt=55314

If it helps just one person, it's worthy doing 😀

I don't really agree. We don't want to confuse people by adding more steps than what is really necessary. And if someone can't figure out how to get read-write access using MTP, they can just ask us like you did.

from devilutionx.

AJenbo avatar AJenbo commented on June 15, 2024

The method doesn't work for uses on very old android devices 😕 which is my main reason for not having it there. The extra steps also makes it more likely that you end up with multiple copies of the data

from devilutionx.

rootko avatar rootko commented on June 15, 2024

Ok, maybe at risking of looking stupid - I develop apps for Android and even I didn't know I need to connect to PC in MTP mode to gain write access to /Android/data/. And if I got that part wrong, I'd suspect a lot of less experienced users will fail at this step as well. Especially in the future with the upcoming Android versions, that will be even tighter in the security measures. But on the other hand such users now have an issue they can search for and make it work for them. Anyway, I digress here. I just wanted to thank you all for helping me make it run.

from devilutionx.

StephenCWills avatar StephenCWills commented on June 15, 2024

Ok, maybe at risking of looking stupid - I develop apps for Android and even I didn't know I need to connect to PC in MTP mode to gain write access to /Android/data/. And if I got that part wrong, I'd suspect a lot of less experienced users will fail at this step as well.

My phone connects in "charge-only" mode, and I have to switch it over to "file transfer" which seems pretty obvious to me. Charge-only doesn't give me read-only access, though. In what way did you connect your tablet to your PC to gain read-only access, and how would you switch to MTP? Should we add a step to the instructions for this?

from devilutionx.

rootko avatar rootko commented on June 15, 2024

Exactly - if I chose "file transfer", it mounted /Android/data/ only in read only mode (Android 13). MTP is something you've suggested in that Reddit link, I haven't tried it, because importing data files has sorted that issue for me.

from devilutionx.

StephenCWills avatar StephenCWills commented on June 15, 2024

Exactly - if I chose "file transfer", it mounted /Android/data/ only in read only mode (Android 13). MTP is something you've suggested in that Reddit link, I haven't tried it, because importing data files has sorted that issue for me.

As far as I know, "file transfer" should be all you need to enable MTP. The notification on your device should say, "Connected as a media device". I've tested over the years on Android 11-14, and my tests the other day were all on Android 14. According to the following link, MTP is very likely supported by any device running Android 5+.

https://stackoverflow.com/a/29280357

As such, it's simply unclear what's going on with your device or if there's anything we can change about the instructions to be more generally applicable. You've stated your issue is resolved so I'm not going to ask you to go out of your way to help with this. Maybe you can at least share the make/model of your device so I can do some research on my end.

from devilutionx.

DakkJaniels avatar DakkJaniels commented on June 15, 2024

I think probably just stating in the Android instructions that the long press is available to import as an option might be sufficient. You won't necessarily know about that feature unless you check the extracting the mpq from gog installation instructions.

from devilutionx.

rootko avatar rootko commented on June 15, 2024

My device is Lenovo Tab P11 Pro (2nd gen), model TB132FU. And the weird thing is that when I tried it again today, it totally mounted /Android/data/ with write permissions. It also worked the first time on my Pixel 8 (Android 14) today when I tried it. So it must've been some kind of my fault or some inconsistent state of my tablet. But yeah, importing the files helped me yesterday, so one more sentence in the "how to" guide cannot hurt. Thanks for your time and effort!

from devilutionx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.