[PLUGIN]Password Protected Zip Files

This forum is currently in read-only mode.
From the Asset Store
Source File, music and art pack for Android Negotiator
  • I hope it's useful for you guys

    HowToUse:

    <img src="http://dl.dropbox.com/u/12506137/ConstructPlugin/howToUse.jpg" border="0">

    DownloadLink:

    aRandomDropBoxAccountDownloadLink

    PS: I heard you like to use INI files to contain for example, dialogues of the game. Compressing the INI with a friggin password and using this plugin ensures that no one will modify the contents of your game.

    You can also use it to load cutscene images in runtime. So your executable (and all of your game) will be lighter.

  • Thanks for this Zizaco =]

  • Finally someone made a plugin like this. Thank you Zizaco, it's certainly very much appreciated!

  • This plugin does not work for me. It opens the cmd.exe tool but does not save anything to the tmp.Well it does not work with winxp ,I haven't tested it on win7.

    Sorry i had a noob moment ,It's working now. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Ok i have been playing around with the plugin and it's a good idea but still has some security holes.The tmp file can still be accessed when the game is running.The next Security flaw is the password ,If i am desperate enough i can get your password very easily by examining the exe with another app.Create an exe game with this plugin and i will show you your password no matter how long or short it is.

    It's still a nice plugin though. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Ok i have been playing around with the plugin and it's a good idea but still has some security holes.The tmp file can still be accessed when the game is running.The next Security flaw is the password ,If i am desperate enough i can get your password very easily by examining the exe with another app.Create an exe game with this plugin and i will show you your password no matter how long or short it is.

    It's still a nice plugin though. <img src="smileys/smiley1.gif" border="0" align="middle" />

    wow I sorta figured those would be the issues with this plugin but i still think its still a great plugin. I play a lot of visual novel type games with tons of cg in them and there are always programs to rip out the CGs but they still sell quite well. I think this would deter most non hardcore from messing around with things. Question would be how to secure it more. I personally haven't messed with it yet but does it create the tmp folder in the game dir?

  • Tmp dir is in appData?

  • Yes the tmp directory is in the directory where the exe files is located.Best way to secure files would be to create some sort of exe compressor when construct creates the exe file.And there should be an option to choose where to create the tmp file.

  • well maybe a simple thing to do to deter a bit more would be to create a bunch of random folders with dummy files within the tmp dir. I know its silly but it can make it a bit bleh for someone trying to weed through XD

  • I'm glad you found the plugin useful.

    Ok i have been playing around with the plugin and it's a good idea but still has some security holes.The tmp file can still be accessed when the game is running.

    Yes, you're right. But the idea is not to prevent the user from viewing the content. (because, in practice, this is impossible ), but to prevent any changes in the content that will be loaded by the game.

    Imagine that you're using the Plugin to load your cutscene images. The user will not be able to hack and change the graphics and will not be able to edit or see the the cutscene images that he has not "archived" yet. But, when he do archive, he can (obviously) see them in the game window, save them using print-screen or in the tmp folder when they are on the screen. No problem with that. =D

    The next Security flaw is the password ,If i am desperate enough i can get your password very easily by examining the exe with another app.Create an exe game with this plugin and i will show you your password no matter how long or short it is.

    There is an old (or classic?) technique to get around this.

    Imagine that your password is "xBacon2016". In the password field of the action: do not simply write "xBacon2016", but "xB"+"acon"+str(20)+str(1)+str(6).

    Now try to find the password in the executable. ;)

    And don't forget. "zip" files do not necessarily need the extension. zip. Nothing prevents your files from having ".pak", ".cab", ".dat" <font size="1">or (my favorite)</font> ".dll" extension. =)

    I personally haven't messed with it yet but does it create the tmp folder in the game dir? Yes, in the game dir.

    I'm thinking about a "compress file with password action". So you could create save games in .ini files(I know u guys do it all the time) and protect then from hacking. =)

  • Using this with a combination of changing the files extensions would be a great way to protect the content of the game :]

    Thanks!

  • Really great plugin, thanks! The option to compress files could be great too ;).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Does it support 7z files? It will be very usefull.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)