Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1040

DzZipFile::extractAll(String path) is broken. Anybody have a workaround or fix?

$
0
0

I'm trying to use DzZipFile() to save and restore my user layouts. Saving works perfectly. Restoring produces this:

./Esemwy.dsa
./Esemwy.dsaEsemwy.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.png
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsa
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.png
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsxmenus
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsxmenus/Temp.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsxmenus/Temp.dsxtoolbars
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsxmenus/Temp.dsxtoolbars/Esemwy.dsx
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsxmenus/Temp.dsxtoolbars/Esemwy.dsxtoolbars
./Esemwy.dsaEsemwy.dsxEsemwy.pngTemp.dsaTemp.dsxTemp.pngactions/Esemwy.dsxactions/Temp.dsxmenus/Esemwy.dsxmenus/Temp.dsxtoolbars/Esemwy.dsxtoolbars/Temp.dsx

Is there a way to make this work other than executing an OS utility? I'm submitting a bug report as well, but I figured it's possible that somebody found a way to supress this behavior.

For reference, here's the ZIP listing.

Archive:  /Users/esemwy/Layouts.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
      901  11-22-2016 10:46   Esemwy.dsa
    16221  11-22-2016 10:46   Esemwy.dsx
    51407  11-22-2016 10:46   Esemwy.png
      899  11-23-2016 15:40   Temp.dsa
    16193  11-23-2016 15:40   Temp.dsx
    37246  11-23-2016 15:40   Temp.png
    59138  11-22-2016 10:46   actions/Esemwy.dsx
    59138  11-23-2016 15:40   actions/Temp.dsx
   106583  11-22-2016 10:46   menus/Esemwy.dsx
   106583  11-23-2016 15:40   menus/Temp.dsx
    37633  11-22-2016 10:46   toolbars/Esemwy.dsx
    37633  11-23-2016 15:40   toolbars/Temp.dsx
---------                     -------
   529575                     12 files

Thanks.


Viewing all articles
Browse latest Browse all 1040

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>