Discuss Scratch

BigNate469
Scratcher
1000+ posts

Scratch++, a new Scratch mod

redspacecat wrote:

The mp4 to sb3 converter does not work correctly on firefox, because
window.showSaveFilePicker()
is not supported on firefox. This means I have to use chrome/some other browser to use it.
Nor is it supported on Safari- you don't have to get rid of that code, but it might be worth an if statement checking if the browser you're in supports it. If the browser you're in doesn't, use an alternative.
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

BigNate469 wrote:

redspacecat wrote:

The mp4 to sb3 converter does not work correctly on firefox, because
window.showSaveFilePicker()
is not supported on firefox. This means I have to use chrome/some other browser to use it.
Nor is it supported on Safari- you don't have to get rid of that code, but it might be worth an if statement checking if the browser you're in supports it. If the browser you're in doesn't, use an alternative.
I can do that, but the main issue with not using
window.showSaveFilePicker()
is that large generated projects will not save due to generated blobs and buffers from JSZip exceeding maximum limits.
showSaveFilePicker()
allows for streaming, which avoids these crashes.

I'll probably put an alert or something if processing starts and
window.showSaveFilePicker()
is undefined.
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

BigNate469
Scratcher
1000+ posts

Scratch++, a new Scratch mod

Bug report: trying to open v0.9.5 on iOS (at least) throws an error- “inappropriate file type or format”.

Make sure that your MIME types are correct…
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

BigNate469 wrote:

Bug report: trying to open v0.9.5 on iOS (at least) throws an error- “inappropriate file type or format”.

Make sure that your MIME types are correct…
Does the .html just fully not open?
BigNate469
Scratcher
1000+ posts

Scratch++, a new Scratch mod

ZXMushroom63 wrote:

BigNate469 wrote:

Bug report: trying to open v0.9.5 on iOS (at least) throws an error- “inappropriate file type or format”.

Make sure that your MIME types are correct…
Does the .html just fully not open?
No, the .zip refuses to uncompress. I can try forcing my iPad to consider the file in a different compression format (the things you can do with the Shortcuts app are actually pretty impressive) but it's usually pretty good at figuring it out on its own, in addition to having support for a wide range of formats (including tarballs).

My browser / operating system: IPad iOS 17.5.1, Safari 17.5, No Flash version detected
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

I was messing around with the compression algorithm, iPadOS probably does not support deflate64.
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

Here's a demo of the mp4 converter in action: (uploaded on alt acc because I think my main acc has some sort of throttle on it)

https://scratch.mit.edu/projects/1047269108/
dumorando
Scratcher
100+ posts

Scratch++, a new Scratch mod

took 9s at 01:32:30 AM
╰─ unzip Scratch++_v0.9.5.zip ─╯
Archive: Scratch++_v0.9.5.zip
inflating: static/assets/2ce024c7be6a80920d025d93305ed3ac.png
unzip: failed to extract static/assets/2ce024c7be6a80920d025d93305ed3ac.png: Iteration ended

Uhhhhhhhhhh
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

dumorando wrote:

took 9s at 01:32:30 AM
╰─ unzip Scratch++_v0.9.5.zip ─╯
Archive: Scratch++_v0.9.5.zip
inflating: static/assets/2ce024c7be6a80920d025d93305ed3ac.png
unzip: failed to extract static/assets/2ce024c7be6a80920d025d93305ed3ac.png: Iteration ended

Uhhhhhhhhhh
I'm just gonna upload a recompressed archive, idk what's happening here

Patchfix uploaded: https://github.com/ZXMushroom63/scratch-gui/releases/download/v0.9.5/Scratch++_v0.9.5_Patchfix.zip

Last edited by ZXMushroom63 (July 15, 2024 09:15:33)

BigNate469
Scratcher
1000+ posts

Scratch++, a new Scratch mod

ZXMushroom63 wrote:

dumorando wrote:

took 9s at 01:32:30 AM
╰─ unzip Scratch++_v0.9.5.zip ─╯
Archive: Scratch++_v0.9.5.zip
inflating: static/assets/2ce024c7be6a80920d025d93305ed3ac.png
unzip: failed to extract static/assets/2ce024c7be6a80920d025d93305ed3ac.png: Iteration ended

Uhhhhhhhhhh
I'm just gonna upload a recompressed archive, idk what's happening here

Patchfix uploaded: https://github.com/ZXMushroom63/scratch-gui/releases/download/v0.9.5/Scratch++_v0.9.5_Patchfix.zip
Uncompressed successfully.
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

BigNate469 wrote:

Uncompressed successfully.
Alright!
superneonbros
Scratcher
100+ posts

Scratch++, a new Scratch mod

i downloaded the mod, but where do i open it?
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

superneonbros wrote:

i downloaded the mod, but where do i open it?
If you have the .zip, you extract it, and provided you are not on mobile (Windows, MacOS, Linux, ChromeOS) you should just be able to open the index.html file by double clicking. (should open in your usual browser)
nullptrexp_01
Scratcher
0 posts

Scratch++, a new Scratch mod

bump
yooit_32
Scratcher
1000+ posts

Scratch++, a new Scratch mod

bump
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

bump
jbthepig
Scratcher
500+ posts

Scratch++, a new Scratch mod

Does the GitHub Pages URL still work?

Last edited by jbthepig (July 31, 2024 23:36:01)

BigNate469
Scratcher
1000+ posts

Scratch++, a new Scratch mod

jbthepig wrote:

Does the GitHub Pages URL still work?
Nope.
ZXMushroom63
Scratcher
59 posts

Scratch++, a new Scratch mod

BigNate469 wrote:

jbthepig wrote:

Does the GitHub Pages URL still work?
Nope.
There was never a github pages URL, what do you mean?

I should probably make one though, to make Scratch++ more accessible.

Last edited by ZXMushroom63 (Aug. 6, 2024 04:33:14)

Powered by DjangoBB