About Store Forum Documentation Contact



Post Reply 
problem with secure key
Author Message
Babulesnik Offline
Member

Post: #1
problem with secure key
Why write "can not load data.pak" ?
Code:
Secure key;
void InitPre()
{
   key.key[6, 182, 134, 214, 204, 165, 132, 88, 235, 164, 90, 14, 147, 50, 141, 168, 12, 222, 143, 129, 41, 168, 55, 236, 168, 14, 255, 110, 209, 63, 107, 64];
   App.name("Main");
   App.flag=APP_WORK_IN_BACKGROUND;
   DataPath("../");
   Paks.add("Data.pak",&key);
   D.full(true).sync(true);
  // D.mode(1024).sync(true);
}

coincides with the key data.pak
(This post was last modified: 10-23-2011 03:11 PM by Babulesnik.)
10-23-2011 02:13 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #2
RE: problem with secure key
Anybody can help ?
10-23-2011 04:57 PM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: problem with secure key
I'm not sure whats the problem, maybe something with key so please try with this:
Code:
Secure key(...your key...);
void InitPre()
{
...
Paks.add("Data.pak",&key);
...
}
(This post was last modified: 10-24-2011 10:35 PM by Harry.)
10-24-2011 10:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #4
RE: problem with secure key
(10-24-2011 10:35 PM)Harry Wrote:  I'm not sure whats the problem, maybe something with key so please try with this:
Code:
Secure key(...your key...);
void InitPre()
{
...
Paks.add("Data.pak",&key);
...
}
Thank you very much, this code works,but now to run the application to wait for 3-5 seconds. If I write "Paks.add (" Data.pak ", & secure, false);" Error-"is not possible to load the main shader"
10-25-2011 11:42 AM
Find all posts by this user Quote this message in a reply
khces Offline
Member

Post: #5
RE: problem with secure key
data.pak update go
10-26-2011 05:31 PM
Find all posts by this user Quote this message in a reply
Post Reply