Auto opening from a zip/rar/7z/tar.gz etc.

What would you like added to future versions of Stykz?
Forum rules
View them here. Make sure you read and agree to abide by the rules before posting.

Auto opening from a zip/rar/7z/tar.gz etc.

Postby Chris on Fri Sep 11, 2009 12:52 pm

You should be able to auto open a stykz file from a zip/rar/7z bla bla bla without having to extract the files.

Now you're probably saying "HAR HAR HAR CHRIS MESSED UP!! WHAT IF THERE ARE MORE THEN ONE STYKZ FILES IN THE ZIPED FILE?!?"

There could be something like File>Import>Styk or File>Import>Zip>Stykz File/Styk File. Then a browse button to locate the zip/bla then when you double click it, a menu should appear with all the stykz/styk files inside.

This would make it so you don't need to have 3'rd party programs on the persons computer that's trying to open a stykz file.


(:
User avatar
Chris
* Most Active Member 2010 *
 
Posts: 1549
Joined: Mon Jan 05, 2009 11:31 pm
Location: Iowa

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby Hoboapple on Fri Sep 11, 2009 3:23 pm

HA! You messed up! What if someone zipped up multiple stykz files? what would you do then? Huh? Huh?!

Can other programs do this?
stykzman wrote:
Murder, she wrote:A television series in the 80's.

Bow, bow, bow your wrote:...stently gown the dream...

I'm not sure what I just wrote:... does it make sense to you?

Stephen King wrote:Buy my books! *:x*

*8-)*

Image
User avatar
Hoboapple
* Funniest Person 2010 *
 
Posts: 4836
Joined: Wed Mar 11, 2009 4:53 pm

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby Chris on Fri Sep 11, 2009 4:00 pm

Hoboapple wrote:
HA! You messed up! What if someone zipped up multiple stykz files? what would you do then? Huh? Huh?!

Can other programs do this?

Yes, and it's very helpful.
(:
User avatar
Chris
* Most Active Member 2010 *
 
Posts: 1549
Joined: Mon Jan 05, 2009 11:31 pm
Location: Iowa

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby scykei on Fri Sep 11, 2009 6:49 pm

What if there are other files in them?

I was thinking if Stykz can automatically save it's STYKZ file compressed, and open it decompressed. I think Pivot does that and that explains why a STYKZ file is usually more than 1000% bigger than a PIV file.

The only reason we compress a STYKZ file is because if its inconvenient size. If it were to be smaller, there wouldn't be any real need for that.
[center][size=85]My Animations
User avatar
scykei
* Best Bug Reporter 2010 *
 
Posts: 347
Joined: Fri Apr 03, 2009 8:11 pm
Location: M'sia

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby Hoboapple on Fri Sep 11, 2009 6:51 pm

scykei wrote:What if there are other files in them?

I was thinking if Stykz can automatically save it's STYKZ file compressed, and open it decompressed. I think Pivot does that and that explains why a STYKZ file is usually more than 1000% bigger than a PIV file.

The only reason we compress a STYKZ file is because if its inconvenient size. If it were to be smaller, there wouldn't be any real need for that.

This guy know's what he's talking about.

Do you mean leik zip, or just different format?
stykzman wrote:
Murder, she wrote:A television series in the 80's.

Bow, bow, bow your wrote:...stently gown the dream...

I'm not sure what I just wrote:... does it make sense to you?

Stephen King wrote:Buy my books! *:x*

*8-)*

Image
User avatar
Hoboapple
* Funniest Person 2010 *
 
Posts: 4836
Joined: Wed Mar 11, 2009 4:53 pm

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby stykzman on Fri Sep 11, 2009 7:19 pm

Hoboapple wrote:
scykei wrote:What if there are other files in them?

I was thinking if Stykz can automatically save it's STYKZ file compressed, and open it decompressed. I think Pivot does that and that explains why a STYKZ file is usually more than 1000% bigger than a PIV file.

The only reason we compress a STYKZ file is because if its inconvenient size. If it were to be smaller, there wouldn't be any real need for that.

This guy know's what he's talking about.

Do you mean leik zip, or just different format?

<techTalk>

    Well, Pivot used zLib , a lossless data compression library that is used by a variety of apps and is included in the OS X builds. Peter picked it because (AFAICT) there were existing zLib libraries for Delphi. But originally he only used it for the .piv files and left the .stk files "raw". When he worked on Piv 3, the .stk files were also compressed with zLib; I'm assuming because they could contain sprites. This is also the reason why Stykz can only import Piv 2 .stk files - zLib support hasn't been added to Stykz yet.
</techTalk>

One thing to keep in mind is that if Stykz were to keep the .stykz files in a compressed format, then it would mean a delay in opening a .stykz file sine it would need to be decompressed before opening. Not that I'm against it, but just saying...

:stykz:
:stykz:
User avatar
stykzman
Site Admin
 
Posts: 1870
Joined: Wed Jul 30, 2008 10:59 pm

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby Hoboapple on Fri Sep 11, 2009 7:26 pm

Didn't you have some other plan for shrinking the file size, anyway?
stykzman wrote:
Murder, she wrote:A television series in the 80's.

Bow, bow, bow your wrote:...stently gown the dream...

I'm not sure what I just wrote:... does it make sense to you?

Stephen King wrote:Buy my books! *:x*

*8-)*

Image
User avatar
Hoboapple
* Funniest Person 2010 *
 
Posts: 4836
Joined: Wed Mar 11, 2009 4:53 pm

Re: Auto opening from a zip/rar/7z/tar.gz etc.

Postby stykzman on Fri Sep 11, 2009 10:36 pm

Yes... right now the actual graphic objects for each frame are being stored with the document, so when you go to a frame I can quickly just "jump" there and the only thing I need to draw on the fly are the nodes in the right state. But my plan was instead to store the *definitions* of the objects instead of the objects themselves, and then store these definitions in a compressed state, so it may take a few more milliseconds to draw a frame, but it should be much "lighter".

:stykz:
:stykz:
User avatar
stykzman
Site Admin
 
Posts: 1870
Joined: Wed Jul 30, 2008 10:59 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 0 guests