User Tag List

Results 1 to 9 of 9

Thread: Directory Packer

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Directory Packer

    I'm using the Directory Packer Extension by Jam, I can manage to pack a folder, but I can't seem to unpack the file I've created. Can anyone make me a quick example?

    EDIT: May as well explain a little better, I've said

    "Upon clicking button"
    Unpack file "./file.bdb" to "./test"

    And I figured it would work, absolute paths seem no different either.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    1: You're writing "./file.bdb" rather than ".\file.dbd" - remember that MMF2 is not for Linux

    2: How about using Apppath$ rather than ".\" anyway? Directory Packer always works for me, so I doubt that the problem is in the extension.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    Perhaps you could upload an example demonstrating the bug.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    Ah darn I'll try that Nifflas, I'll tell you guys if it works out.

    EDIT: Argh ok that's weird... I have the following event set up for open pressing space bar in a new application in the same folder as the file.



    And I get nothing.

    DOUBLE EDIT: Well I managed to fix it, not quite sure what it was that I did since I did a load of things.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    Your event says C:/ but you're still not on Linux - it should be C:\

  6. #6
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    Nifflas: Windows, by default, support both "/" and "\" but maybe not the object (if it don't use Windows functions)

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    Yeah, but the whole thing about supporting "/" is only for correcting user mistakes, and should not be used.

    I tested it though, extracting to "c:/" actually worked fine to me too.

    Benicle: I'm starting to suspect that the problem is that you never waited for Directory Packer to finish compressing or uncompressing. Remember that it operates in it's own thread, you should wait until a "packing finished" or "unpacking finished" condition triggers. Have you tried displaying the progress in a counter?

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Directory Packer

    I said that I fixed it in an edit, and I noticed that my slash was wrong, force of (bad) habit, but changing that didn't correct it anyway. I'm pretty sure it was my packing that was wrong, I think I had a corrupt file :P.

    But anyway thanks all of you ^^

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] Directory Packer

    At first, thanks for this great object to Jam and Nifflas.

    In my current project I'm using Binary object to pack some files. The application has to stop while (un)packing. Much as I would like to use Directory Packer, I really need this function: Operate in own thread (0=no, 1=yes)
    Is it possible to create this function for (un)packing like in the Named Variable object?

    Please have a look at this... Thanks

    Gustav

Similar Threads

  1. Directory Packer Help
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th February 2010, 09:02 PM
  2. [Help] Directory Packer
    By Tim in forum File Archive
    Replies: 6
    Last Post: 22nd July 2009, 03:58 AM
  3. Directory Packer...
    By SEELE in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 20th May 2008, 02:53 PM
  4. Directory Packer Example
    By Gustav in forum File Archive
    Replies: 3
    Last Post: 9th March 2008, 06:05 PM
  5. Directory packer
    By James in forum Released Extensions
    Replies: 8
    Last Post: 7th November 2007, 09:11 PM

Posting Permissions

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