Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Whiskers: Scratch 2.0 for Incompatible Devices
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Whiskers does not work with the latest Squeak for Linux (with Squeak 5.1 it just complains about the image and exits) while it works fine with Squeak 5.0, but Squeak 5.0 is only available for 32 bit intel and if you're on a 64-bit Debian/Ubuntu system you'll need to install all of these 32-bit libraries:
libxext6:i386
libuuid1:i386
libx11-6:i386
libgl1-mesa-glx:i386
libpulse0:i386 this one is required only if you want PulseAudio sound
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
The Raspberry Pi instructions are simple to adapt to work with any Debian or Ubuntu GNU/Linux system
Edit: Here's the Squeak 5.1 error:
It works fine if I do the exact same with Squeak 5.0
Edit: Here's the Squeak 5.1 error:
Using /home/me/Downloads/whiskers/squeak5.1/bin/squeak...
This interpreter (vers. 68021) cannot read image file (vers. 6521).
Press CR to quit...
Last edited by Jonathan50 (July 18, 2017 23:48:09)
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow. Wow! Whiskers is very good!
But the “define” block is horrible…
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
@InfinityTec: Maybe you should make the gray color a bit brighter, so it combines with the logo “light grey” color I made. I love how you added the vector cat at the bottom of the page, it is just so cute :3
EDIT: Also add the “Whiskers” tab to the main page, it just looks weird without the tab and you will be forced to put https://infinitytec.github.io/Whiskers-Website/index.html to open the Whiskers tab..
EDIT2: How the https:// prefix worked so it can open in discussion forums?
EDIT: Also add the “Whiskers” tab to the main page, it just looks weird without the tab and you will be forced to put https://infinitytec.github.io/Whiskers-Website/index.html to open the Whiskers tab..
EDIT2: How the https:// prefix worked so it can open in discussion forums?
Last edited by Penguin5664 (July 18, 2017 23:50:16)
- eribetra
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
He already responded to me. -_-Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow. Wow! Whiskers is very good!
But the “define” block is horrible…
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
You noticed what I said was based on NoMod-Programming reply!?He already responded to me. -_-Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow. Wow! Whiskers is very good!
But the “define” block is horrible…
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I'll see what I can do about porting Whiskers to Squeak 5.1. I've been wondering why my sound wasn't working on my Ubuntu system with Whiskers! Now I don't have to reboot to OS X to test out sound! Whiskers does not work with the latest Squeak for Linux (with Squeak 5.1 it just complains about the image and exits) while it works fine with Squeak 5.0, but Squeak 5.0 is only available for 32 bit intel and if you're on a 64-bit Debian/Ubuntu system you'll need to install all of these 32-bit libraries:libxext6:i386
libuuid1:i386
libx11-6:i386
libgl1-mesa-glx:i386
libpulse0:i386 this one is required only if you want PulseAudio sound
Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow. Wow! Whiskers is very good!
But the “define” block is horrible…
Yeah, I've got the colors fixed, so at least it won't look as horrible in the next version, but it'll just look like a purple hat block until I can find a good way to draw a filled arc like flash can.
- Penguin5664
- Scratcher
100+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Yay!! So maybe references like this?:Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow. Wow! Whiskers is very good!
But the “define” block is horrible…
Yeah, I've got the colors fixed, so at least it won't look as horrible in the next version, but it'll just look like a purple hat block until I can find a good way to draw a filled arc like flash can.
define -
define ----------
define ----------------
define --------------------
define ----------------------
define -----------------------
define ------------------------
EDIT: Forgot to close the tag please forgive me ;o;
Last edited by Penguin5664 (July 18, 2017 23:53:10)
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
The problem with references like that is that, if I use ScratchSkin to cache it, I'd have to add values for every possible font on a system up to a large length, making the image size very large. If I cache it in the image when it needs to render it, I'll eventually end up with a large image file, and the time for rendering each one will take some time. I think the way I *might* approach this problem could be by “snapping” the width every 5 or 10 pixels to minimize the amount of pre-rendered images to use, but that still needs caching for a large amount of sizes.Yay!! So maybe references like this?:Sorry man but NoMod-Programming explained before he was still working on the define hat, it's buggy and yeah. He got to draw an ellipse but that was slow. Wow! Whiskers is very good!
But the “define” block is horrible…
Yeah, I've got the colors fixed, so at least it won't look as horrible in the next version, but it'll just look like a purple hat block until I can find a good way to draw a filled arc like flash can.define -
define ----------
define ----------------
define --------------------
define ----------------------
define -----------------------
define ------------------------
EDIT: Forgot to close the tag please forgive me ;o;
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
You'll also have to pass the option -vm-sound-pulse to the Squeak VM.
- infinitytec
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I put an experimental Windows installer on the website, if anyone would like to try that out.
I probably will not always keep it up to date until Whiskers gets closer to completion.
I probably will not always keep it up to date until Whiskers gets closer to completion.
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Sounds cool! You could probably try making it fetch the latest image from the GitHub repository I put an experimental Windows installer on the website, if anyone would like to try that out.
I probably will not always keep it up to date until Whiskers gets closer to completion.
- infinitytec
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Yeah, I don't know how to do that.Sounds cool! You could probably try making it fetch the latest image from the GitHub repository I put an experimental Windows installer on the website, if anyone would like to try that out.
I probably will not always keep it up to date until Whiskers gets closer to completion.
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
What did you use to make the installer? You could probably just not bundle the image and then make the installer script download the file. Yeah, I don't know how to do that.
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Okay, I've tested this out on my own machine (a 64 bit ubuntu machine), and I see the error you're getting. I've uploaded a 64-bit version of alpha 0.9a5 as well as the regular version to github: Whiskers does not work with the latest Squeak for Linux (with Squeak 5.1 it just complains about the image and exits) while it works fine with Squeak 5.0, but Squeak 5.0 is only available for 32 bit intel and if you're on a 64-bit Debian/Ubuntu system you'll need to install all of these 32-bit libraries:https://github.com/NoMod-Programming/Whiskers/tree/master/Buildlibxext6:i386
libuuid1:i386
libx11-6:i386
libgl1-mesa-glx:i386
libpulse0:i386 this one is required only if you want PulseAudio sound
(Also, new version: 0.9a5)
I'll be on vacation during the next week, so I won't be able to write any code during that time. But when I get back, I'll get back to working on Whiskers!
Last edited by NoMod-Programming (July 19, 2017 02:12:00)
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
Thanks! It works great, but why shouldn't the image work independent of VM architecture?
Edit: Define block is now purple
Edit: Define block is now purple
Last edited by Jonathan50 (July 19, 2017 02:15:54)
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
They use different size pointers or something like that Thanks! It works great, but why shouldn't the image work independent of VM architecture?
Edit: Define block is now purple
- Jonathan50
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
…Yes, but the Smalltalk code shouldn't care. I'm pretty sure images are supposed to be portable They use different size pointers or something like that
- infinitytec
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I used Inno Setup.What did you use to make the installer? You could probably just not bundle the image and then make the installer script download the file. Yeah, I don't know how to do that.
- NoMod-Programming
- Scratcher
1000+ posts
Whiskers: Scratch 2.0 for Incompatible Devices
I'm sure they are supposed to be portable, but this says that they require a different VM…Yes, but the Smalltalk code shouldn't care. I'm pretty sure images are supposed to be portable They use different size pointers or something like that