Hi guys,
Gideros is doing a great job at encoding lua, when exporting to android/iphone, yet PNG files stay in the assets folder and basically everyone can take them from there.
Maybe there is a way to somehow obscure them? Right now only thing that comes to mind is somehow encode them and have java decode them back, before kicking in Gideros and then, after the app closes, delete the decoded files... any better suggestions?
Thanks. )
Comments
Any of you other guys have some ideas, I have attempted to rename the files such as .dat etc so that the Android OS would ignore them, but in most cases Gideros will simply tell me the format is not supported since it uses the extension to determine the file format it seems.
We'll see what the other guys have to say, ideally I would like to see a feature in Gideros that obscures the assets folder in some manner--possibly even just allowing for the option to store all assets in a zip file etc so they are sitting in the open on the users OS.
Likes: RogerT
Anybody who wants your graphics (or other assets) will find a way to get them regardless and in the main unless your doing a direct rip off of your app then most of your resources aren't of any use - anybody who would use resources from different locations / different styles isn't going to be worried too much about app quality - and besides if anybody DOES use your graphics directly then you can address the issue of copyright infringement and have Apple or Google pull the app anyway.
Likes: RogerT
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Best regards
Likes: RogerT
Having said that if a competitor wants to get at the assets there is not much you can do to stop them. Even if you encrypt them you still have to decrypt them within the software which means that the decryption key is in the software somewhere.
Encrypting your code, data & text assets will help but to encrypt the graphics we would need to be able to decrypt the image to RAM and then create a Texture from the decrypted image.
After a bit of investigation I discovered that there is a TextureManager::createTextureFromDib function which could help. Unfortunately, there is no functionality to decode a .png image from memory or as far as I can tell, create a Dib (Device Independent Bitmap) of given size / pixel depth from an image decompressed in memory.
Maybe some of this functionality may arrive in a later release but at this current time there is no realistic way of hiding resources from prying eyes although I would like to be proved wrong in this case.
Likes: RogerT
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Likes: RogerT, Teranth, Scouser
Likes: RogerT, techdojo
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
I certainly agree that encrypting assets is just too much trouble for me--and adds all sorts of trouble with exports since you are encrypting things, so it's not a big deal for me to leave then open, but I don't want them to show up in media players and it seems .nomedia will help me there
Anyway thanks for the tip, I will certainly try it out.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
Likes: Scouser