Hello, I made a script that encodes the files: PNG, DFF etc.
For this I used:
teaEncode( base64Encode( data ), key )
fileOpen, fileDelete, fileRead, fileCreate etc.
I need the user to download coded files into the cache, decode and load into memory, and then encode again. That is, so that as a result, the resources are coded in the cache and the user could not decode them without a key that is known only to me.
But I'm faced with a problem, I do not know how to make sure that after connecting to the server and downloading the resources, the necessary files are decoded and loaded into memory, and then again coded. Who knows how to crank it?