Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    May 2006
    Posts
    1,443

    FREE : LuaZip Action Plugin

    LuaZip Action Plugin For AutoPlay Media Studio
    This is A Lua module that Orginally written for Lua

    This module is ported to an AMS Action plugin by www.amsplugins.com

    Features :

    • Reads files from a zip file witout extract them
    • Plugin completely written in C language
    • Plugin provides fast and effective reading process
    • Does not compatible with password protected archives

    Credits :
    luazib library Orginally Written By
    Danilo Tuler : www.keplerproject.org/luazip/


    ScreenShot : Click Here

    Download : Click Here

    Note : this plugin only tested on WindowsXP (SP2) , please report your tests on different versions

  2. #2
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546
    Hey, great stuff!

    I think this is what Centauri Soldier was talking about the other day, with his post at:

    (http://www.indigorose.com/forums/sho...t=27503&page=3),

    ... except for the fact that this one is not compatible with password-protected archives. Too bad ... if that functionality could somehow be added, it'd be wicked.

    One question though ... how come Luazip is not showing up under the Action Wizard? I have it installed correctly and the Luazip checkbox is ticked under Action Plugins, but it's not showing up under the action-wizard ... am I'm missing something?

  3. #3
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Yes it is what I was talking about...Reteset you are the man! .
    Nice work once again my friend.

    I'm sure we can figure out something for the password...

    Mystica, check out the manual in the help folder (inside the plugin folder). This plugin does not use the normal ActionTable.Action format that we are used to in AMS. This uses raw lua to work.

    Check the example and search through the code and you'll see what I mean. This is really quite simple once you see the few functions that you'll need to know to make the plugin work. Well, here...this is from the example and it's pretty straight forward.

    Code:
    selected_item = ListBox.GetSelected("ListBox1");
    
    if (selected_item ~= nil) then
    
        selected_file = ListBox.GetItemData("ListBox1", selected_item[1]);
        
        local f1, err = zfile:open(selected_file);
            
            local s1 = f1:read("*a");
    
    
                Input.SetText("Input1", tostring(s1));
    
    
             f1:close();
    
    
    end
    Last edited by Centauri Soldier; 08-09-2009 at 01:35 AM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  4. #4
    Join Date
    May 2006
    Posts
    1,443
    this was already in my archive , there was few simple things to finish it
    then i saw your discussion , i finished and posted it to my site

    this is a lua module
    and you can not see actions in actions list
    but this is not mean it is not possible

    if someone wants to write a XML file for actions of this plugin and send me then
    i can rebuild this plugin with that XML file , so you can see action names
    in script editor

    RizlaUK produced a really useful tool to do that job in minutes
    http://www.amsplugins.com/details.asp?ID=62&CID=4
    it also generates a well formed help file


    this plugin uses two third party libraries ZZIP and ZLIB
    maybe i can check possibility of opening password protected archives later
    it does not compatible with password protected archives for now

    Note : original prefix of this module was zip i renamed it to luazip
    to prevent confusion with build-in Zip actions
    you can see zip prefix in documentation you need to replace zip with luazip if you use a sample code from documentation

    thanks

  5. #5
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546
    T-riffic! Thanks a lot, guys.

  6. #6
    Join Date
    Jun 2008
    Location
    AMSWaves
    Posts
    231
    Good work reteset, but why you use luazip that not support password protected archive ?! why not use zlib instead.

  7. #7
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Well, zlib is in his plugin. Does that support password protected archives by itself...that would be cool if it did.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  8. #8
    Join Date
    May 2006
    Posts
    1,443
    Quote Originally Posted by AMSWaves View Post
    Good work reteset, but why you use luazip that not support password protected archive ?! why not use zlib instead.
    because it was ready to compile

    actually i did not use zlib library before , and i have no idea about its features
    i only included it to this lua module

    and also i did not look to code deeply but this module uses zlib indrectly
    this module uses ZZIP and ZZIP uses ZLIB

    does it provide a file handle without extract , from a password protected archive

    Ok i will look in to that soon

  9. #9
    Join Date
    Jun 2008
    Location
    AMSWaves
    Posts
    231
    Quote Originally Posted by reteset View Post
    because it was ready to compile

    actually i did not use zlib library before , and i have no idea about its features
    i only included it to this lua module

    and also i did not look to code deeply but this module uses zlib indrectly
    this module uses ZZIP and ZZIP uses ZLIB

    does it provide a file handle without extract , from a password protected archive

    Ok i will look in to that soon
    yea with zlib is easy to compress and decompress files in password protected archive on memory. if you have any info i know some info about zlib.

  10. #10
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Quote Originally Posted by AMSWaves View Post
    yea with zlib is easy to compress and decompress files in password protected archive on memory. if you have any info i know some info about zlib.
    Well, that would certainly be cool. It would be nice to have this little gem as a full-blown plugin that can access password-protected archives. What do you think, Reteset? Can it be done?
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  11. #11
    Join Date
    Apr 2009
    Posts
    277
    so, what would be the advantages of using this over the existing dyna zip actions, and does it support SFX archives?

  12. #12
    Join Date
    May 2006
    Posts
    1,443
    Quote Originally Posted by Centauri Soldier View Post
    Well, that would certainly be cool. It would be nice to have this little gem as a full-blown plugin that can access password-protected archives. What do you think, Reteset? Can it be done?
    sorry , i have no plan to update this plugin right now

  13. #13
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Fair enough.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  14. #14
    Join Date
    Dec 2009
    Posts
    1
    Thanx Man

  15. #15
    Join Date
    Aug 2010
    Location
    0x000034
    Posts
    41
    Hey thx for youre awesome plugin, i asked also in an other thread is it possible to delete an file in an Zip file? i found nothing in the manuel.

    Thx for help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts