Adding files of types Godot doesn't recognize to the export build

Godot Version

4.3

Question

Hi!
Since I have a pretty huge library of procedural assets I need to compress it into a .7z archive.

This allows me to contain the amount of disk space required to play the game and gives me a lot of flexibility on which “sets” of procedural assets to unzip only when they are needed, based on gameplay and player behavior.

I would expect godot to generate a .import file for the .7z archive but it doesn’t, which I suppose explains why in the export build there’s no trace of the .7z archive.

I tried looking around in the project and editor configurations but I couldn’t find a way to tell the editor to consider also .7z files for import.

I figure a couple of ugly workarounds could be: adding .7z to the list of text file extensions or maybe manually compiling a .import file.

If there’s a better solution I couldn’t find it searching online so any help will be greatly appreciated <3

This should get the .7z file into your export:

2 Likes