Download

GooglePAD accessing downloaded files

The title pretty much sums it up…

I’ve managed to setup GooglePAD on an Android project to the extent that I successfully download 3 different On-Demand packages, however once that part is completed and it’s time to Initiate the game I simply do not know how to do it.

In the docs:

" Calling GetAssetsPath and providing the location handle will output a string with the asset path for the desired asset pack. GetStorageMethod will output an EGooglePADStorageMethod stating the way the asset pack is stored on the user’s device. Once you know the asset path and storage method, you can then use appropriate calls to access the assets."

I have the asset path string, and I’ve got all the syntaxes setup nicely, once all downloads are completed the StorageMethod tells me the files are downloaded as “STORAGE FILES”, which are described like “The asset pack is unpacked into a folder containing individual asset files. These assets can be accessed via standard file APIs.”

But what is

standard file APIs. ???

I’ve checked pretty much all the logical things I could come up with, Asset Manager / Asset Data / Asset Registry / Mobile Patch Plugin (For relevant functions that could help) and Blueprint Paths Library… But nothing seems to be able to help me use/call/load or mount the recently downloaded chunks/assetPacks.

I also read

https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Runtime/GooglePAD/Source/ThirdParty/play-core-native-sdk/include/play/asset_pack.h#L269

I can rant on about different things I’ve explored, but as you guys can imagine I’m here because I haven’t found a solution to my problem.

Seriously hope someone can help me and future readers in regards to this issue!

Thanks for reading such a long post!

1 Like

Hey @ericho, i have the same problem for almost a year, could you share with us a project where you have successfully implemented and used these features, it will help a lot of people ,thank you.

Hey @Sofiane_MERRAD , unfortunately as you can probably guess it’s not really working yet…

Have no idea how to access or mount the downloaded files

I have problem to download on demand package so, if you can help that will be great , Until maybe one day the epic engineers will give more importance to mobile Development.

Feel free to take a look at this post, I left a message there a few weeks ago @Sofiane_MERRAD
https://forums.unrealengine.com/t/the-use-of-google-pad-plugin/252539/8?u=ericho

If possible I want this post to be specific about the issue I’m currently facing