Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Whiskers: Scratch 2.0 for Incompatible Devices
- djdolphin
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I worked on something like this for NuScratch a while ago, and I got .sb2 loading partially working. Here's the changeset if it'll help: https://gist.github.com/djdolphin/649f0ab343d43fc42b67 It used http://www.squeaksource.com/@KVcNyNdWLZs_8jlr/pMPYo1wB for JSON reading.
!
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
https://gist.github.com/djdolphin/649f0ab343d43fc42b67 It used http://www.squeaksource.com/@KVcNyNdWLZs_8jlr/pMPYo1wB for JSON reading.O_o Thanks!!! I will try to implement this. Also, I got custom blocks to work!!! I just need them to update when I change them I worked on something like this for NuScratch a while ago, and I got .sb2 loading partially working. Here's the changeset if it'll help:
Trouble is, though, opening the zip file (2.0 sb2). Apparently, squeak can only write them from what I can tell. Hopefully, I can find a way.
Last edited by NoMod-Programming (Nov. 2, 2015 03:33:47)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- djdolphin
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Unless it was different in the version that Scratch uses, Squeak can read zip files. The code I posted wouldn't work at all if it couldn't.https://gist.github.com/djdolphin/649f0ab343d43fc42b67 It used http://www.squeaksource.com/@KVcNyNdWLZs_8jlr/pMPYo1wB for JSON reading.O_o Thanks!!! I will try to implement this. Also, I got custom blocks to work!!! I just need them to update when I change them I worked on something like this for NuScratch a while ago, and I got .sb2 loading partially working. Here's the changeset if it'll help:
Trouble is, though, opening the zip file (2.0 sb2). Apparently, squeak can only write them from what I can tell. Hopefully, I can find a way.
Last edited by djdolphin (Nov. 2, 2015 03:41:52)
!
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Hmm. I'll find out Nope. It's not in there. Also, last time I tried to run NuScratch with the latest VM, it didn't work. Which VM should I use, then???Unless it was different in the version that Scratch uses, Squeak can read zip files. The code I posted wouldn't work at all if it couldn't.https://gist.github.com/djdolphin/649f0ab343d43fc42b67 It used http://www.squeaksource.com/@KVcNyNdWLZs_8jlr/pMPYo1wB for JSON reading.O_o Thanks!!! I will try to implement this. Also, I got custom blocks to work!!! I just need them to update when I change them I worked on something like this for NuScratch a while ago, and I got .sb2 loading partially working. Here's the changeset if it'll help:
Trouble is, though, opening the zip file (2.0 sb2). Apparently, squeak can only write them from what I can tell. Hopefully, I can find a way.
Last edited by NoMod-Programming (Nov. 2, 2015 04:03:14)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- djdolphin
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I think I've been using 4.5.Hmm. I'll find out Nope. It's not in there. Also, last time I tried to run NuScratch with the latest VM, it didn't work. Which VM should I use, then???Unless it was different in the version that Scratch uses, Squeak can read zip files. The code I posted wouldn't work at all if it couldn't.https://gist.github.com/djdolphin/649f0ab343d43fc42b67 It used http://www.squeaksource.com/@KVcNyNdWLZs_8jlr/pMPYo1wB for JSON reading.O_o Thanks!!! I will try to implement this. Also, I got custom blocks to work!!! I just need them to update when I change them I worked on something like this for NuScratch a while ago, and I got .sb2 loading partially working. Here's the changeset if it'll help:
Trouble is, though, opening the zip file (2.0 sb2). Apparently, squeak can only write them from what I can tell. Hopefully, I can find a way.
!
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Thanks. I'll get to porting it right awayI think I've been using 4.5.Hmm. I'll find out Nope. It's not in there. Also, last time I tried to run NuScratch with the latest VM, it didn't work. Which VM should I use, then???Unless it was different in the version that Scratch uses, Squeak can read zip files. The code I posted wouldn't work at all if it couldn't.https://gist.github.com/djdolphin/649f0ab343d43fc42b67 It used http://www.squeaksource.com/@KVcNyNdWLZs_8jlr/pMPYo1wB for JSON reading.O_o Thanks!!! I will try to implement this. Also, I got custom blocks to work!!! I just need them to update when I change them I worked on something like this for NuScratch a while ago, and I got .sb2 loading partially working. Here's the changeset if it'll help:
Trouble is, though, opening the zip file (2.0 sb2). Apparently, squeak can only write them from what I can tell. Hopefully, I can find a way.
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- SimpleScratch
- Scratcher
500+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
No rush for NuScratch (Well its more newer Squeak VM really) working 1st - speed second :-)
Simon
Simon
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
All right. I ran into a compatability issue with NuScratch last night anyways, so I'll work on polishing the custom blocks right now. No rush for NuScratch (Well its more newer Squeak VM really) working 1st - speed second :-)
Simon
And I still have school :P
Last edited by NoMod-Programming (Nov. 2, 2015 14:42:33)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- timrowledge
- Scratcher
14 posts
Whiskers: Scratch 2.0 for Incompatible Devices
Well, it's a surprise finding people actually hacking the nuscratch image. Even more of a surprise to find you not on the Pi forums. I haven't had anything like enough free time to track you down elsewhere.
The latest Pi NuScratch image (as included in the jessie release of RAspbian) runs on the latest Cog/Spur VMs - with the faster object memory, the dynamic translation, the mapped stack handling etc - and cannot run on any older VMs.
Older Pi images back to around august 2012 run on a closure-aware VM such as the standard interpreter post-4.0 or the StackVM (a predeccesor to Cog without the dynamic translation).
The very oldest Scratch 1.x images run on an even older VM and it's a right pain to try to support them, so I don't.
Conversely, the oldest images cannot run on newer VMs, the mid-age images cannot run on the latest VM. Backwards compatibility is strived for as much as practical but sometimes you can't do it both ways.
Please, please contact me ([Removed - please don't share contact information]) and let's see if we can work out a way to collaborate more effectively.
Edit by tim - er, please don't remove information I choose to include. If I want to publish my email address that is my choice. It's not anyone would have trouble googling to find me; I've been around the net since it was a straight line
The latest Pi NuScratch image (as included in the jessie release of RAspbian) runs on the latest Cog/Spur VMs - with the faster object memory, the dynamic translation, the mapped stack handling etc - and cannot run on any older VMs.
Older Pi images back to around august 2012 run on a closure-aware VM such as the standard interpreter post-4.0 or the StackVM (a predeccesor to Cog without the dynamic translation).
The very oldest Scratch 1.x images run on an even older VM and it's a right pain to try to support them, so I don't.
Conversely, the oldest images cannot run on newer VMs, the mid-age images cannot run on the latest VM. Backwards compatibility is strived for as much as practical but sometimes you can't do it both ways.
Please, please contact me ([Removed - please don't share contact information]) and let's see if we can work out a way to collaborate more effectively.
Edit by tim - er, please don't remove information I choose to include. If I want to publish my email address that is my choice. It's not anyone would have trouble googling to find me; I've been around the net since it was a straight line
Last edited by timrowledge (Nov. 2, 2015 21:43:05)
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Well, it's a surprise finding people actually hacking the nuscratch image. Even more of a surprise to find you not on the Pi forums. I haven't had anything like enough free time to track you down elsewhere.I'm not on the pi forums yet OK. I've posted a topic about this. It is currently getting approved.
The latest Pi NuScratch image (as included in the jessie release of RAspbian) runs on the latest Cog/Spur VMs - with the faster object memory, the dynamic translation, the mapped stack handling etc - and cannot run on any older VMs.
Older Pi images back to around august 2012 run on a closure-aware VM such as the standard interpreter post-4.0 or the StackVM (a predeccesor to Cog without the dynamic translation).
The very oldest Scratch 1.x images run on an even older VM and it's a right pain to try to support them, so I don't.
Conversely, the oldest images cannot run on newer VMs, the mid-age images cannot run on the latest VM. Backwards compatibility is strived for as much as practical but sometimes you can't do it both ways.
Please, please contact me (email removed by me) and let's see if we can work out a way to collaborate more effectively.
I am currently working on my own, but once I release the full version and get this ported to NuScratch, I might get a collaborator. Also, please do not share emails on the forums. I am almost out of alpha. I just need to fileIn my custom blocks.
Last edited by NoMod-Programming (Nov. 2, 2015 20:23:32)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- timrowledge
- Scratcher
14 posts
Whiskers: Scratch 2.0 for Incompatible Devices
Well if you care to make contact I can provide you some actual sources and explanations of what has changed. I've done quite a lot over the last while to make it faster.
- SimpleScratch
- Scratcher
500+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
@no-mod-programming
but please please please get it working before speeding it up for the Pi
Much more important for education in schools struggling with online or offline Scratch 2 than the relativlely small Pi Scratch users :-) (Says one of the biggest Scratch users on Pi)
@tim
It's Scratch forum rules not to post contact info - its a child protection issue taken very seriously here. And you know what happens to people who transgress forums rules that they don't agree with :-)
Simon
but please please please get it working before speeding it up for the Pi
Much more important for education in schools struggling with online or offline Scratch 2 than the relativlely small Pi Scratch users :-) (Says one of the biggest Scratch users on Pi)
@tim
It's Scratch forum rules not to post contact info - its a child protection issue taken very seriously here. And you know what happens to people who transgress forums rules that they don't agree with :-)
Simon
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I know. I have the custom blocks almost ready!!! New alpha coming out sometime this week with WORKING custom blocks! Then, I'll get to work on the @no-mod-programming
but please please please get it working before speeding it up for the Pi
Much more important for education in schools struggling with online or offline Scratch 2 than the relativlely small Pi Scratch users :-) (Says one of the biggest Scratch users on Pi)
@tim
It's Scratch forum rules not to post contact info - its a child protection issue taken very seriously here. And you know what happens to people who transgress forums rules that they don't agree with :-)
Simon
(days since 2000)block
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
New Alpha release!!! This one adds custom blocks (a bit) use the following for inputs right now: #Phew :-)
%s = string
%n = number
%b = boolean (not finished yet)
You can save and open projects made with these blocks. Enjoy!!! Once I finish the
(days since 2000)block, I will add a block creation dialog. Enjoy and download it here: https://goo.gl/VijH66
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- SimpleScratch
- Scratcher
500+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Custom blocks works but a bit flaky on my system when trying to use the arg block
Simon
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
program to check out.Can you put it on dropbox or google sites? Mediafire is blocked at my school Custom blocks don't quite work properly (or rather, they work the same as Scratch does, which is a bit buggy). Here's a
Hmm… I'm still workign out the kinks. This is still an alpha ;P
Custom blocks works but a bit flaky on my system when trying to use the arg block
Simon
Last edited by NoMod-Programming (Nov. 3, 2015 17:14:06)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- liam48D
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I don't currently own a dropbox account, so here is an image:
202e-202e-202e-202e-202e UNI-CODE~~~~~
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I'll fix the duplicate script bug I don't currently own a dropbox account, so here is an image:within a week once I add custom block DIALOGS. I don't get the first bug, though. what do you mean by changing the size???
Last edited by NoMod-Programming (Nov. 3, 2015 21:53:01)
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- Discussion Forums
- » Advanced Topics
- » Whiskers: Scratch 2.0 for Incompatible Devices