Originally Posted by Batman8
Yeah, I think that unless I finally hear something from the developer of this app, I'm going to do the same thing that you did (restore the original data folder BEFORE updating any of those games that I patched with DB).
First of all, I like
this tool very much and it saves me many GBs of space. Thank you.
I believe in most cases, those games (such as the Gameloft ones) that you downloaded from the Play Store are really only a barebone "game installer
" (plus some kind of version checking mechanism to make sure and verify that you have got the latest and correct data downloaded onto the SD card, in addition to license checking). When such installer is run the first time, it simply checks if the data files are available. If not, it creates a folder in a pre-defined directory (e.g. /sdcard/gameloft/game/<package name>) and then download the files into this directory. There appears to be some kind of date / time counter so that regularly when you re-run the game it will go and check for new data files and needed, asks you to download the new files.
What this app does (I think) is as simple as mounting
a directory on an external SD card to the original hardcoded directory that is expected by the game. This is (almost) the same to how we mount DVDs and external hard drive on a Linux system (i.e. the mount
command). Hence, after the mount is successful, as far as the app concerns, the files are there in the correct directory.
Note that this whole mounting idea will break
if the target directory (the original directory expected by the game, e.g. /sdcard/gameloft/game/<package name>) has files there (i.e. not empty), then the mount will fail. This can happen, for example, when you reboot the phone but the mount has not been done yet or fail to mount without you knowing it, and then you run the game. At that point, the game will think that "OK, the directory is there, but it is empty. Time to download files.", and when you see the downloader, it is too late
already because the game would have already written some new files (e.g. process log) into the directory.
The update that you get from the Play Store is likely to be an update to the installer, e.g updating the download and file verification algorithms, etc. Some game logics will be there and importantly as long as the directories are mounted corrected before you run the game, everything should be fine.
(not sure if my poor English describes what I want to mean clearly...)
On my phone, I have updated (if I remember correctly) Shawdowgun and MC3 (and some others I am sure) via the Play Store. All of the data files go into the correct directories. i.e. This app does not affect the game in anyway, assuming the mounting point is correctly configured.
Note: I am no expert so please correct me if I am wrong.