timrowledge
Posts: 1289
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Installing BYOB in Raspbian

Thu Jan 23, 2014 8:20 pm

Has anybody else tried this? It's not easy to work out what might be wrong with only two cases to consider?

It works fine on my Pi and not at all on Simon's. How about *you*?
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Installing BYOB in Raspbian

Fri Jan 24, 2014 8:14 am

I'll try and get some effort via twitter as well :)
Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Installing BYOB in Raspbian

Sun Feb 09, 2014 10:42 pm

Just tried this again on a clean install

I didn't bother with the desktop icons but I made sure all the files mentioned are in the right places and what I got was this
https://www.dropbox.com/s/5ppewhp3syqjr ... .37.41.jpg

when i just launched using

Code: Select all

sudo squeak /usr/share/scratch/BYOB-Dev-tpr.image
Does this give any clue?

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

timrowledge
Posts: 1289
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Installing BYOB in Raspbian

Mon Feb 10, 2014 6:21 pm

That is actually right; I evidently left it in an odd setup (can't think why, can't even blame booze) when zipping it up for you.
All you need to do is click on the yellow window near the top (says 'jens - empty ') to bring it to the front, then click inside that window to get the menu and choose 'enter' at which point it will go into the other project where BYOB is actually open.

Sorry about that. You can save yourself any further bother by clicking on the light grey background to get the World menu, then clicking 'save as...' to save the image file under whatever name you like, in that state.

I haven't had any time to even read much about BYOB but clicking around shows it does quite a lot of interesting stuff.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Installing BYOB in Raspbian

Mon Feb 10, 2014 9:45 pm

yippee!!!

Just one thing - how do I get it to save in full windowed mode and so it doesn't ask if I want to save the image everytime I close?
[EDIT] - Ignore - did the Shift-Click on Edit ans saved image for end user :) [EDIT}

Just need to re-package it all up for easy deployment :)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Installing BYOB in Raspbian

Mon Feb 10, 2014 11:42 pm

As before,I think I've managed to put the new one together OK
Try

Code: Select all

wget https://dl.dropbox.com/s/zgkq2jw9o9wbava/installBYOB.sh -O installBYOB.sh
followed by

Code: Select all

sudo bash installBYOB.sh
This will download BYOB, create a desktop icon to a script to run it :)

This is for Raspbian users only running as normal user pi :) (Not for ubergeeks)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

mob-i-l
Posts: 276
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Installing BYOB in Raspbian

Fri Mar 07, 2014 4:56 pm

The icon only works if one runs your script from the home folder ~. I run it from ~/Downloads and fixed it by copying the icon to ~.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

mob-i-l
Posts: 276
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Installing BYOB in Raspbian

Sun Mar 16, 2014 6:40 pm

I have discovered a newer development of BYOB called Scribble. Scribble has everything that BYOB has but can also draw shapes and text. BYOB in turn has everything that Scratch 1.4 has. I tested the files Scribble.image with Scribble.changes in most upgraded Raspbian but I got the same problem as one usually does with non-adjusted Squeak-images: a white screen and that Squeak hangs with the highest CPU-usage. This was due to that the image was made with an old Squeak-version in the earlier cases. It would be good if someone could fix this image or give a description of how to fix it.

Here is the Scribble website that also has the source-code: http://monofonik.github.io/scribble/

I guess a disadvantage with Scribble is that it has an even smaller community than BYOB. BYOB-programs can be converted to Snap, and I don't know if Scribble-programs that only uses BYOB-features can be automatically converted to Snap.

I did test Scribble in Ubuntu 10.04 LTS with Wine and with the native built-in older Squeak and it worked well in both environments.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Installing BYOB in Raspbian

Mon Mar 17, 2014 1:33 pm

Nice find - didn't know about Scribble. :)

I don't think it brings enough extra's to warrant much effort on getting it running on the Pi (unless its trivial for Tim do do of course)

BYOB bring enough oomph and facilities to keep anyone busy programming for more years than they will be a child :)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

timrowledge
Posts: 1289
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Installing BYOB in Raspbian

Mon Mar 17, 2014 9:58 pm

That's pretty neat. It *should* Just Work on Pi but some of the Scratch derived systems started from a Scratch release that had an outmoded primitive interface and need a fairly simple but tedious tweak.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

mob-i-l
Posts: 276
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Installing BYOB in Raspbian

Tue Mar 18, 2014 12:52 pm

timrowledge wrote:That's pretty neat. It *should* Just Work on Pi but some of the Scratch derived systems started from a Scratch release that had an outmoded primitive interface and need a fairly simple but tedious tweak.
Could one not develop a script that would automatically tweak an old Squeak-image so that it can run on systems with a modern Squeak-runtime such as Raspberry Pi. There are many Scratch-modifications: http://wiki.scratch.mit.edu/wiki/List_o ... ifications
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

mob-i-l
Posts: 276
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Installing BYOB in Raspbian

Sun May 24, 2015 3:09 pm

It seems as if the script installBYOB.sh has changed so that it now only downloads BYOB-Pi.image and not also BYOB.changes. Are all changes integrated into the new BYOB-Pi.image?
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

Return to “Scratch”