Discuss Scratch

-stache-
Scratcher
500+ posts

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

As per title. It will save space on the servers and allow the file size limit to be raised. It also will improve download times. You may argue that using .tar.xz will slow down decompression but, there are varying levels of xz compression that can be used. Smaller projects can use less compression and will be decompressed faster. Only the large projects really need higher compression ratios (btw I'm not talking about internal combustion engines).
dude341
Scratcher
1000+ posts

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

Support: This would really help because since it has been compressed, the file size will be smaller which means it will not take ages to download on my internet (the worst internet ever). De-compression times won't matter for me because my computer has an Intel i7, with 16 GB of RAM, and my computer is 64-bit.
f1lip
Scratcher
1000+ posts

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

No support, some computers might not be able to compress the project because some computers upload as .7zip.
dude341
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.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.

Last edited by dude341 (July 12, 2016 17:14:51)

f1lip
Scratcher
1000+ posts

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

dude341 wrote:

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.
I meant normal .zip. Still, how would computers upload it if they do not support the .tar.xz format?
Macie1234
Scratcher
100+ posts

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

f1lip wrote:

dude341 wrote:

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.
I meant normal .zip. Still, how would computers upload it if they do not support the .tar.xz format?
??? The Online/Offline would have the tar.xz format built in…
dude341
Scratcher
1000+ posts

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

f1lip wrote:

dude341 wrote:

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.
I meant normal .zip. Still, how would computers upload it if they do not support the .tar.xz format?
I'm not sure if you didn't read my post properly, or if you don't know how computers do stuff. (No offence/offense)

dude341 wrote:

It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip.
If you don't understand that then I'll simplify it. Scratch would already provide the tools to compress files. Don't say “that would be to hard for the Scratch Team to do”, because programs like 7Zip are basically programs that “already provide the tools to compress files”. Also, I think 7Zip is open source, so if the Scratch Team can't program it, then they could use the code from 7Zip. (7Zip might be not open source though)
dude341
Scratcher
1000+ posts

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

Macie1234 wrote:

f1lip wrote:

dude341 wrote:

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.
I meant normal .zip. Still, how would computers upload it if they do not support the .tar.xz format?
??? The Online/Offline would have the tar.xz format built in…
Not how file formats work. (No offence/offense)
Go away, 60 second rule
Macie1234
Scratcher
100+ posts

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

dude341 wrote:

Macie1234 wrote:

f1lip wrote:

dude341 wrote:

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.
I meant normal .zip. Still, how would computers upload it if they do not support the .tar.xz format?
??? The Online/Offline would have the tar.xz format built in…
Not how file formats work. (No offence/offense)
Go away, 60 second rule
As in, the algorithm implemented.
dude341
Scratcher
1000+ posts

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

Macie1234 wrote:

dude341 wrote:

Macie1234 wrote:

f1lip wrote:

dude341 wrote:

f1lip wrote:

No support, some computers might not be able to compress the project because some computers upload as .7zip.

No offence/offense, but it sounds like you made up something that's sounds computer-ish.

Computers don't work like that. “Some computers” don't upload as 7zip. Scratch 2.0 file format isn't even 7zip (it's just normal zip). So why do “some computers” not fail to upload Scratch projects?
It isn't Windows (which only supports normal zip by default)/Mac that does the compression work if it is a program that needs something to be compressed. It's the actual program, which in this case is Scratch. Scratch always uploads as normal zip. So, it doesn't matter if it gets changed. Also, there would still be compatibility.
I meant normal .zip. Still, how would computers upload it if they do not support the .tar.xz format?
??? The Online/Offline would have the tar.xz format built in…
Not how file formats work. (No offence/offense)
Go away, 60 second rule
As in, the algorithm implemented.
That's basically what I said.
24691357
Scratcher
100+ posts

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

Do you mean in .sb2 or .sb3 format or something else?
dude341
Scratcher
1000+ posts

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

24691357 wrote:

Do you mean in .sb2 or .sb3 format or something else?
I'm not sure I understand. Do you not understand the suggestion, or you do understand but want to know if it's in .sb2 or .sb3 format. In that case, both.
edward789121test
New Scratcher
93 posts

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

No support, tar.xz files do not work on many computers.
Macie1234
Scratcher
100+ posts

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

edward789121test wrote:

No support, tar.xz files do not work on many computers.
How so? Scratch would use its own implementation (probably using a port of 7-zip or similar)
-stache-
Scratcher
500+ posts

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

I feel like you're using faulty logic. ALL COMPUTERS ARE TURING COMPLETE AND CAN SOLVE ALL COMPUTATIONAL PROBLEM (in theory).
Epicness123
Scratcher
1000+ posts

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

Why the .tar.xz file format? Never used it, and by your explanation it looks like it's something that would cause a slow down.
No support.

Last edited by Epicness123 (July 12, 2016 18:59:45)

-stache-
Scratcher
500+ posts

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

Epicness123 wrote:

Why the .tar.xz file format? Never used it, and by your explanation it looks like it's something that would cause a slow down.
No support.
It's not going to make a difference to the average user.
24691357
Scratcher
100+ posts

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

dude341 wrote:

24691357 wrote:

Do you mean in .sb2 or .sb3 format or something else?
I'm not sure I understand. Do you not understand the suggestion, or you do understand but want to know if it's in .sb2 or .sb3 format. In that case, both.
I want to know if it's in any of these, or something else.
-stache-
Scratcher
500+ posts

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

24691357 wrote:

dude341 wrote:

24691357 wrote:

Do you mean in .sb2 or .sb3 format or something else?
I'm not sure I understand. Do you not understand the suggestion, or you do understand but want to know if it's in .sb2 or .sb3 format. In that case, both.
I want to know if it's in any of these, or something else.
Wherever it seems most practical to the ST. I mean, you wouldn't want to have a new sb2 opened in an older version of scratch and not work.
-stache-
Scratcher
500+ posts

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

-stache- wrote:

Epicness123 wrote:

Why the .tar.xz file format? Never used it, and by your explanation it looks like it's something that would cause a slow down.
No support.
It's not going to make a difference to the average user.
In fact, for many people who have slower internet, It might even be faster.

Powered by DjangoBB