Jump to content

[SOLVED] How to use content ARCHIVER with password


photo

Recommended Posts

Hi, we would like to archive our game content to protect source code and game content from 3rd persons, but we can't find solution how to do this, we read in docs:

Archiver recognizes the following command-line options:

[/left]

  • -p PASSWORD — set a password. It should be the same password as passed on engine initialization on the C++ side.

 

Ok, we made ung-archive protected with password. And in initialization section we read:

 

Unigine::Engine::init

 

static Engine * init(int version,App * app,int argc,char ** argv,const char * project,const char * password)

 

We use Unigine without source code, and without any C++ API, we develop game only with Unigine script.

Could you please provide some simple tutorial how to make release build of game with content protected by password? Thanks

Link to comment
  • 2 months later...

i have archive my project and set -p ,but the project can't startup,i want to know is there a method set password in UnigineScript code.

if that means encrypt Unigine projext must have UnigineSDK and compile it.

Link to comment

no, you don't need uniginesdk to use password, just create you own launcher with password like main_x86.exe did.

 

But in this way, you password are easy to find out in your binary.

Link to comment
×
×
  • Create New...