Okay, I figured out the problem, I think. I'll describe it here in case anyone else stumbles across this thread with an similar issue. It appears that for the conversion to work, the 0.8.1 version of the app must be UPDATED from the 0.7.13.2 (or previous) version - the previous version should NOT be uninstalled prior to installing 0.8.1.
I believe this is because when it is updated, it inherits the previous versions' permission to access the /sdcard directory, which allows it to copy the files from there to the new location in the app data directory. The 0.8.1 version does not ask for this permission itself, so on a clean install it silently ignores the previous save files. The first time, when it worked for me, I'd done an update without thinking about it, then did an uninstall and reinstall, which removed the permissions.
So, to to import old Andor's Trail save files from /sdcard/andors-trail on newer versions of Android (11 and 13 tested), this worked for me:
- Uninstall any version of Andor's Trail. If prompted, do NOT preserve existing app data when asked (don't check the box) Yes, any saved games from new versions of AT will be lost, but it won't touch the files under /sdcard/andors-trail (the ones you're trying to import). You can't merge two sets of files using this method.
- If not already present, use adb or a file manager tool place the preserved andors-trail directory under /sdcard (this is your main storage directory, with directories like Downloads, Documents, DCIM, and Android in it).
- Install Andor's Trail 0.7.13.2.
- Launch this version of Andor's Trail. When asked for permission to access media files, grant it, then close the app.
- Without uninstalling the old version, install the desired version (0.8.1 as of now). This will update the app but preserve the permission granted to the previous version.
- Launch Andor's Trail again. A "Data Migration" popup should appear. Click OK, and you're done! Your save files should be available under the "Load" button.
- To avoid confusion, you may wish to remove the /sdcard/andors-trail directory (after backing it up somewhere). This will no longer be updated by the game with new save files, and seems to be ignored by the game after being converted once.
The new game save files are under
/sdcard/Android/data/com.gpl.rpg.AndorsTrail/files/andors-trail, which is no longer accessible by Android file manager tools under Android 13+. You
can, however, access them in debugging mode using adb (this is
not the same as root access).
I use the following command to back up my saves:
Code: Select all
adb pull /sdcard/Android/data/com.gpl.rpg.AndorsTrail/files/andors-trail
A good guide to setting up adb is at
https://www.xda-developers.com/install- ... cos-linux/. Note that while you could also use adb to push the files directly to the new savegame folder and avoid the above steps, the permissions need to be set correctly using adb shell, or strange problems may result (e.g., not being able to save new games or worldmap files.) This is probably best avoided.
Devs, please correct anything I'm wrong about. So far it's solved my problem, but I may have made some bad assumptions; if so, I'll correct them in an edit. Is this the entire issue with the Play Store? Apps are not even allowed to ASK for permission to access /sdcard? Would it be 'legal' to request at least read-only access to the old directory, so that old files could be imported without this version-change trick?