RioMotis

Dear guys,

I'm using the tools for long time, and it's a very useful for me. But I want to encrypt the files that I exported to protect my resource. How can I do that. Currently, when I export, I have 3 files: json, atlas and png. If someone stole my app, he can read all of info in the json then they can use my resource freely. That's my problem! Could you please help ?

Thank you very much!
RioMotis
  • Posts: 3

Mitch

Encrypt your files with any encryption library you can find :) The entire Spine Runtime is on GitHub so you shouldn't have any problems adding whatever form of encryption you want to your own codebase.
User avatar
Mitch

Mitch
  • Posts: 978

RioMotis

Dear Mitch,

Thank you for your response in my post. Do you have any suggestion for encrypting / decrypting resources in Cocos2dx or Unity?

Best regards!
RioMotis
  • Posts: 3

Mitch

If you build with Unity, your assets will be stored as resource packages by default. The PNG's won't be PNG's anymore and they'll be tightly packed into a resource pacakge. But if you really, really want to be sure, you can pack your content as AssetBundles (external files), encrypt them, and load them at runtime with your own decryption method.
User avatar
Mitch

Mitch
  • Posts: 978

RioMotis

Dear Mitch,

Thanks for your advice. I will try to find out the way to encrypt my resources. Btw thank you very much! :)
RioMotis
  • Posts: 3


Return to Editor