Hello all, and Happy New Year!
Looking at possibly updating and rebuilding some older games written in CoronaSDK (now Solar2D) and checking to see if some of the features would carry over easily.
As part of the app, I have a button to download updated content files from a web site in the form of a ZIP file. The files included inside JSON files that have been encrypted using OpenSSL. The app then unzips the ZIP file and stores the encrypted JSON files in a local folder. On app start, the files are decrypted using the OpenSSL plugin and the JSON files are ready for use. They are then deleted on game close.
The purpose of this is to be able to update content without needing to release a new version in the app stores, as well as to keep the content from being easily “stolen”.
Does Defold have the ability to unzip files on devices? I didn’t see anything in the documentation and I didn’t see any plugins with the functionality. What about OpenSSL encryption/decryption? Or maybe an alternative way to handle this?
Thanks for any pointers you can provide as I evaluate Defold!