zipped folder access
by Guy Allard · in Torque 3D Professional · 01/12/2011 (11:40 am) · 27 replies
Can I use zips instead of folders in T3D like we could in the good ole TGE days? I'm having some issues getting it to work.
About the author
Recent Threads
#22
11/26/2012 (9:15 am)
thanks Tim
#23
It's simpler in my opinion to just change the .zip extension to .res or .yup or .blah or whatever - this keeps 99% of the people out of your resources and saves you headaches. The ones who really want in will get in, sooner or later - look at all of the stories about how one or another big commercial release game got hacked in less that a day.
11/26/2012 (12:33 pm)
My main thought on a password is; where will you store it? There's nowhere you can put it that a middling "hacker" can't find it. And your game executable has to be able to decrypt it, so the decryption code is available to hackers anyway.It's simpler in my opinion to just change the .zip extension to .res or .yup or .blah or whatever - this keeps 99% of the people out of your resources and saves you headaches. The ones who really want in will get in, sooner or later - look at all of the stories about how one or another big commercial release game got hacked in less that a day.
#24
11/26/2012 (1:57 pm)
If you are worried about someone modifying the assets (as opposed to just accessing them), you could md5 check them in code.
#25
@Richard,
Can we get that code from T2D for zip encryption support in T3D? This is the second time I have seen someone ask about it in less than 2 months. Obviously it is not bullet proof security, but it may have more uses than just preventing game play modification or asset theft/alteration.
11/27/2012 (8:07 pm)
In the comments of the zip code in T3D. Specifically the section that talks about encrypted zip files. There is a statement that talks about how encryption is not currently implemented, but that it is implemented in T2D (TGB). I think it also says this feature may end up in T3D.@Richard,
Can we get that code from T2D for zip encryption support in T3D? This is the second time I have seen someone ask about it in less than 2 months. Obviously it is not bullet proof security, but it may have more uses than just preventing game play modification or asset theft/alteration.
#26
01/29/2013 (7:04 am)
thanks
#27
scott,
what actually was fixed in t3d 1.2
it is still
"if(name.find(mFakeRoot) == 0)"
not
if(name.find(mFakeRoot, 0, String::NoCase) == 0).
or it was fixed in some other way.
02/13/2013 (4:03 am)
"Fixed in 1.1 Final."scott,
what actually was fixed in t3d 1.2
it is still
"if(name.find(mFakeRoot) == 0)"
not
if(name.find(mFakeRoot, 0, String::NoCase) == 0).
or it was fixed in some other way.
Associate Tim Newell
Max Gaming Technologies