Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] How to protect your "media" content? packaging, encryption ...

User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 23rd Nov 2018 12:30

Is there any way to protect the resources of your game? the content of the "media" folder.
All the projects are discovered! graphics, music, sounds, 3d models ... etc.

Encryption, packaging, password compression ...?

Is there any method?

DB / DBpro, if you had the option to package all the "selected" resources, compress and encrypt them,
in two ways: exe (small) + dat (resources), exe (large, all)

The author of this post has marked a post as an answer.

Go to answer

Cliff Mellangard 3DEGS
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 23rd Nov 2018 15:21
The problem here is that you nead something that works on windows,linux,mac,android,ios and the list goes on.
Something that is accepted on one format is not accepted on another etc.
Thats the problem the agk team have.
There is a few plugins here aat the forum to do it on windows that i know?
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 23rd Nov 2018 15:28
thanks for the reply.
It makes sense, for the reason of multiplatform.

Then the other game engines like Gamemaker, Unity ... They pack their resources and they are multiplatform, why can they?

It is true that the only multiplatform encrypted file is the same source code of the AppGameKit game: media/bytecode.byc
As a minimum, the code is protected.
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 23rd Nov 2018 17:46 Edited at: 23rd Nov 2018 17:50
This post has been marked by the post author as the answer.
Quote: "Encryption, packaging, password compression ...?"

There is several methods of encryption that will work
A watermark image can be used with images. Please see second to last post on this pages thread
And Puzzler has created a sort of package encryption method that packages and encrypts all media into an agm file
And if you purchased the shader pack it comes with an encryption method to protect your shader code

There is alsorts of ways you cound encrypt your work, if you dont like any of the methods above it is easy enough to cfreate your own as necessary

Please back up all media somewhere before using for safety reasons
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 23rd Nov 2018 18:17
Thank you very much, the solution of Puzzler, is the ideal, for my need, I have read the codes, the 2 versions: a file, and all the media content.
I understand the encryption process that uses, injects Int random values, every byte of true information from the original file.
very smart.
User Banned
Posted: 24th Nov 2018 15:22
Im happy you find my version useful.

Yes one version for individual assets - incase one has a huge amount of in their apps
and for much smaller apps - made a packager

my mind is elsewhere at the moment, so ill pick this up again soon

Login to post a reply

Server time is: 2019-08-22 15:36:41
Your offset time is: 2019-08-22 15:36:41