Quote: "I make games for PC and I don't want that any one can use my game assets . so is their any method to create password protect zip files within app game kit ?
or I have to create from outside and put into media folder ?"
You could do like some other developers do and just change the file extension of the zip so the OS won't recognize it. (having your own file extension looks cool too)
That way, people will not know how to open the file to extract anything.
Of course, you would have to make a temp copy of the file to rename it back to a ZIP so you could then extract your stuff using the commands available to us.
I have not done this myself using AppGameKit, but I have been renaming file extensions for decades for a low level protection method.
I forget which thread it was here (years ago) that I exposed one of the big game engines using this method of renaming the file extension of ZIPs, but it is an easy method used by even big companies.
I say low level protection, because old school hackers will try changing unknown file extensions to popular ones just to see if this trick is being used. (zip is a common one to change)
It will thwart most people from getting direct access to your files though. (old school hackers will get to it regardless anyway)
-------------------------------------------------
Another method for protecting files like image files or atlases would be to convert to memblock --> load in array --> scramble with an algorithm --> then convert back to the image. (don't scramble the header of file size dimensions etc.)
That will scramble the pixel information and make the image unusable so you won't need to hide it, but you would have to reverse the process when loading into your game though to de-scramble it. (processing toll)
Quote: "Thank you to all . I have solved the problem ."
Cool
Just thought I would add a thought in case others who find this thread later could use the idea.
Quote: "None whatsoever, unless specifically stated in the agreement. Ex: TurboSquid"
Yeah
The 'Royalty Free' models at
CGTrader have restrictions ... "Product may not be sold, given, or assigned to another person or entity in the form it is downloaded from the Site or in 3D printed physical form."
So, I will argue that converting the file from OBJ to MS3D or X etc. is changing the 'form' that is was downloaded as much as changing to other file formats like protected zips.
Not sure why those sites have so many rules on models that are FREE to download and allow commercial use.
It seems like saying something simple like ... "must be redistributed as a game or project asset, not individually".... would be enough, since it is freely available to anyone in the first place.
The funny thing with them is that you are not supposed to reverse engineer the model according to one of their other rules, which makes it seem impossible to change the form without reverse engineering it.
So, I am pretty sure they would have difficulty in enforcing all of their requirements when they contradict each other.
Not sure what their legal argument would be for monetary loss on something they are giving away for free. (I have downloaded some free stuff from there)
Quote: "EDIT: For clarity, although that should be obvious. "
Agreed
Any attempt to protect the assets seems reasonable.
That is why I prefer to use my own stuff (knowing they are less than great), because I don't have to worry about protecting it from people who will access it anyway seeing the protection as a challenge.

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1