apk expansion support in Godot. Incremental downloads to your game.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kaushik
:warning: Old Version Published before Godot 3 was released.

Is apk expansion supported currently in Godot 2.3 ? I found some code written in Godot.java, but couldn’t any tutorial/docs regarding usage or creation of expansion packs.

My intent is to understand this. Imagine, I have a game which contains multiple levels. The total games size would be huge, hence I do not want user to download all at one go ( Also, play store doesn’t allow more than 100 MB size apk ). I read around the concept of apk expansion, in which you can provide additional content and your app holds the responsibility of identifying and integrating the additional content.

Now my hypothetical scenario is this. My total game size would be 500 mb with 50 levels (let’s say). I upload a 100 mb game with 2 initial levels and provide expansion packs. Once the user plays 2 levels, the game downloads further expansion packs and integrates, unlocking further levels incrementally, until the whole game is played.

Any pointers on creation of apk expansion in godot sense and the integration of it in runtime, or any other way of handling the above scenario, would be highly appreciated !!

same question on FB
Godot Engine | Is apk expansion supported currently in Godot 2.3 | Facebook
(for other people)

volzhs | 2017-08-10 19:08

:bust_in_silhouette: Reply From: eons

Is possible to create a system like “DLC” or patching with downloaded pck files, downloaded files end in user space and can be made to be installed at a custom location (like external sd).

On 2.x it needs some work to organize resources (a manager that updates configurations, register packs, etc.), you can start by looking at this
https://forum.godotengine.org/9807/downloadable-content-access-dlc-solved?show=10296#a10296

3 is supposed to make things easier but I have not tried that yet.