Godot 3.5 encrypt a specific files

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By moderate

On web export i had a Filters to export specific files and i have choose some like : .env, *.gd
the thing is i want at the same time to encrypt in specific those files from the encrypted option , but in godot 3.5 i can’t encrypt or ignore a specific files it’s only available on godot 4, so any ideas?

If a feature is only available in Godot 4 then either you have to upgrade, or request for the feature to be backported to Godot 3?
Or add the feature yourself, I think the PR was https://github.com/godotengine/godot/pull/38308
I wonder also if you would be possible to split your game in several PCK (initially meant for DLC) so you could maybe encrypt one and not the other, but I’m not familiar with this

Zylann | 2023-07-06 11:33