Hereafter are being discussed the scrambling and compression algorithm used by Gust for the encoding/decoding of their .e files.
This basically explains what gust_enc from gust_tools does and why the utility relies on reading a set of scrambling seeds from gust_enc.json, that are unique to each games.
For additional details, you are strongly invited to look at the gust_enc.c source as well as gust_enc.json.