Discuss Scratch

Jonathan50
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.
What do you mean by “some computers upload as .7zip”…?
The Scratch 2.0 file format uses ZIP for compression.
Flash almost definitely doesn't get the operating system to [de]compress .zip or .tar.xz, and if Flash does have facilities for .zip or .tar.xz it'll be implemented consistently on any platform. (Afaik Scratch currently implements ZIP by itself.)

BookOwl wrote:

Semi-support since Windows computers can't unpack these and that would make block hacking harder.
You can install xz and tar

Last edited by Jonathan50 (July 20, 2016 03:21:47)

BookOwl
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Jonathan50 wrote:

BookOwl wrote:

Semi-support since Windows computers can't unpack these and that would make block hacking harder.
You can install xz and tar
What if their parents won't let them install anything on their computer?

Also, I have a new, major reason why it shouldn't be added to Scratch 2. It will break phosphorus.
24691357
Scratcher
100+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

BookOwl wrote:

Jonathan50 wrote:

BookOwl wrote:

Semi-support since Windows computers can't unpack these and that would make block hacking harder.
You can install xz and tar
What if their parents won't let them install anything on their computer?

Also, I have a new, major reason why it shouldn't be added to Scratch 2. It will break phosphorus.
What if their parents won't let them install anything on their computer?

They shouldn't be using the computer then. Usually you are allowed to install anything, and if not, then it's not the right moment to hack JSON either. (for example in school or for little kids)
Sheep_maker
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

24691357 wrote:

BookOwl wrote:

Jonathan50 wrote:

BookOwl wrote:

Semi-support since Windows computers can't unpack these and that would make block hacking harder.
You can install xz and tar
What if their parents won't let them install anything on their computer?

Also, I have a new, major reason why it shouldn't be added to Scratch 2. It will break phosphorus.
What if their parents won't let them install anything on their computer?

They shouldn't be using the computer then. Usually you are allowed to install anything, and if not, then it's not the right moment to hack JSON either. (for example in school or for little kids)
Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
JavierR100
Scratcher
500+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Support, Linux (or that penguin thing) supports tar.xz files, but on windows we can install it!
24691357
Scratcher
100+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Sheep_maker wrote:

24691357 wrote:

BookOwl wrote:

Jonathan50 wrote:

BookOwl wrote:

Semi-support since Windows computers can't unpack these and that would make block hacking harder.
You can install xz and tar
What if their parents won't let them install anything on their computer?

Also, I have a new, major reason why it shouldn't be added to Scratch 2. It will break phosphorus.
What if their parents won't let them install anything on their computer?

They shouldn't be using the computer then. Usually you are allowed to install anything, and if not, then it's not the right moment to hack JSON either. (for example in school or for little kids)
Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
Then they should allow to download a program like 7-zip, assuming that only the admin will see how he types the password.

Last edited by 24691357 (July 21, 2016 04:13:47)

Sigton
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

24691357 wrote:

Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
Then they should allow to download a program like 7-zip, assuming that only the admin will see how he types the password.
7-zip comes default with windows.

Sigton
dude341
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Sigton wrote:

24691357 wrote:

Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
Then they should allow to download a program like 7-zip, assuming that only the admin will see how he types the password.
7-zip comes default with windows.

Sigton
It doesn't. If your Windows came with 7-Zip, then it was modified.

Last edited by dude341 (July 21, 2016 08:33:53)

Sigton
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

dude341 wrote:

Sigton wrote:

24691357 wrote:

Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
Then they should allow to download a program like 7-zip, assuming that only the admin will see how he types the password.
7-zip comes default with windows.

Sigton
It doesn't. If your Windows came with 7-Zip, then it was modified.
Mine did… (and I'm sure it wasn't modified). All the school computers have 7-zip, and I seriously doubt they would've bothered installing it since it is barely ever used. Though I found that using 7-zip manager you can access any file on the computer, even the ones that the teachers don't let you access [/offtopic]

Anyway, I'm sure that 7-zip is default installed…

Sigton
Jonathan50
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Sigton wrote:

dude341 wrote:

It doesn't. If your Windows came with 7-Zip, then it was modified.
Mine did… (and I'm sure it wasn't modified). All the school computers have 7-zip, and I seriously doubt they would've bothered installing it since it is barely ever used. Though I found that using 7-zip manager you can access any file on the computer, even the ones that the teachers don't let you access [/offtopic]

Anyway, I'm sure that 7-zip is default installed…

Sigton
Windows doesn't come with 7-zip. Perhaps your computer manufacturer installed it?
dude341
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Sigton wrote:

dude341 wrote:

Sigton wrote:

24691357 wrote:

Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
Then they should allow to download a program like 7-zip, assuming that only the admin will see how he types the password.
7-zip comes default with windows.

Sigton
It doesn't. If your Windows came with 7-Zip, then it was modified.
Mine did… (and I'm sure it wasn't modified). All the school computers have 7-zip, and I seriously doubt they would've bothered installing it since it is barely ever used. Though I found that using 7-zip manager you can access any file on the computer, even the ones that the teachers don't let you access [/offtopic]

Anyway, I'm sure that 7-zip is default installed…

Sigton
No, those computers are modified. My Windows does not come with 7-zip, and it was a fresh install.

Last edited by dude341 (July 21, 2016 08:41:50)

Sigton
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Jonathan50 wrote:

Windows doesn't come with 7-zip. Perhaps your computer manufacturer installed it?
Huh. Must've…

Sigton
24691357
Scratcher
100+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Sigton wrote:

dude341 wrote:

Sigton wrote:

24691357 wrote:

Unless you're using a shared computer where you aren't an admin or you have parental controls/family safety enabled
Then they should allow to download a program like 7-zip, assuming that only the admin will see how he types the password.
7-zip comes default with windows.

Sigton
It doesn't. If your Windows came with 7-Zip, then it was modified.
Mine did… (and I'm sure it wasn't modified). All the school computers have 7-zip, and I seriously doubt they would've bothered installing it since it is barely ever used. Though I found that using 7-zip manager you can access any file on the computer, even the ones that the teachers don't let you access [/offtopic]

Anyway, I'm sure that 7-zip is default installed…

Sigton
School computers in my class come with a lot of bloatware that are programs and fonts. These include Scratch and Audacity, Copper Black, etc… . One of my mum's computers have none of these, and it doesn't include 7-zip. Both are Windows XP. There is no 7-zip in Windows 8 computer either.
Sigton
Scratcher
1000+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

24691357 wrote:

School computers in my class come with a lot of bloatware that are programs and fonts. These include Scratch and Audacity, Copper Black, etc… . One of my mum's computers have none of these, and it doesn't include 7-zip. Both are Windows XP. There is no 7-zip in Windows 8 computer either.
Weird.

Sigton
flutehamster
Scratcher
500+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Schools usually install a bunch of stuff. My school comps have 7zip but my home doesn't.
Znapi
Scratcher
500+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

-stache- wrote:

Znapi wrote:

snip
Well, why not store assets compressed with xz compression…
BTW I'd edit the OP but I'm a new scratcher
Actually, this would be a valid suggestion unlike what I told you before. I looked into the way Scratch serves and uploads assets (SVGs in particular) and the JSONs (turns out each sprite gets their own .json), and they are transferred uncompressed, despite Flash having built-in support for compression/decompression. Now I'm guessing that they are also stored uncompressed, unlike what I thought earlier. Unless the ST has a good reason to store and transfer the assets without compression, I'd be all for adding compression to assets.

Last edited by Znapi (July 21, 2016 19:36:01)

TopicBumper
New Scratcher
100+ posts

Use .tar.xz instead of .zip internally in the file format to allow larger projects

Bump. Not sure how this will turn out because of the entirely new version of Scratch though.

I'm giving you people a buffet of yummy-yummy-in-your-tummy fresh new topics to discuss straight down your face, now just eat them!!

Powered by DjangoBB