ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Android Port > ScummVM not working with Android N? Goto page Previous  1, 2
ScummVM not working with Android N?
  Author    Thread Reply to topic
monkeymadness



Joined: 13 Jan 2015
Posts: 13
 

This is my ini file.

[scummvm]
FM_medium_quality=true
lastselectedgame=monkey2
gui_browser_show_hidden=true
gfx_mode=2x
browser_lastpath=/sdcard/ScummVM
mute=false
versioninfo=1.9.0
autosave_period=0
FM_high_quality=false

ScummVM is the folder I store all my games in. When you asked for the ini file I started fiddling with it again and I actually messed things up. It took me a while to get it working. From having it not work to working again I discovered that "/sdcard" is the android way of saying "/Internal shared storage" for windows. This means that in order to access your games, the path will have to be "/sdcard/+the path to get to the folder you want" I also confirmed that the data installation was in fact "SD card storage" and that the specified directory was "/storage/emulated/0/Android/data/org.scummvm.scummvm/files" which is where the ini file was located. Which means to me that if you can get ScummVM to not die the moment it tries to access the directory /storage/emulated/0/Android/data/org.scummvm.scummvm/files during startup, then the path from the ini file should fix the issue. Other than that I got nothing else. Hope this helps.

 Reply with quote  
Post Sat Feb 04, 2017 5:36 am 
 View user's profile Send private message
warpdesign



Joined: 05 Apr 2009
Posts: 16
 

I am having the same problem: when taping the "add game" button, the browser is set to "/storage" and I can see two entries: "self" and "emulated". Tapping either shows an empty directory, so I cannot add any games.

Yes, I have enabled Storage permissions for ScummVM and tried to disable and enable it again with no luck.

I also tried to edit the scummvm.ini file setting last_path but it didn't work either: this options seems to be ignored. Note that this option seems to be ignored: no matter what I enter here, the browser seems to open "/storage". Also, when opening scummvm.ini for the first time, I noticed it was empty.

Is there a way to enable some logs that could help to track down the problem?

I'm running Android O dev preview on a Nexus 5X but was having the same problem with Android N before.

 Reply with quote  
Post Thu Apr 20, 2017 7:07 am 
 View user's profile Send private message
goetz



Joined: 09 Dec 2005
Posts: 106
 

Google seems to have changed the API for file system access recently and hopefully, they have not done that again on Android O, looks the same on my 5X.

Try setting the following path in the scummvm.ini file:

browser_lastpath=/sdcard

Then run Scummvm again and try "add game".

That works on my Nexus 5X with Android 7.1.2

 Reply with quote  
Post Thu Apr 20, 2017 7:37 am 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page Previous  1, 2


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge