Segmented game.darc blobs (DEF-1771)

Ability to define a flag on various files / add a tag to them, which would place them into separate game.darc files (filename based on tag?) when bundling.

This would be useful for HTML5 builds where we want faster load times. The main assets could be placed into the main game.darc, while subscreen assets could be placed into like help.darc or music.darc or french_dialog.darc for localization and not needing to bundle every language file into the main blob. When anything is loaded / attempted to be used which is in one of the other darc files it would then be loaded. Users should have the ability to preload / download the other darc files as well. For example, quickly loading the main game, and then streaming in the rest in the background so they can be cached. Async loading + ability to check if the next darc is ready to use or not, then loading can be controlled and not disrupt a running game.

2 Likes

There’s a whole bunch of tickets in our JIRA addressing this, with the over-arching ticket being: DEF-1771

3 Likes