Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » .sbx not including extension information
- jrot
-
New Scratcher
7 posts
.sbx not including extension information
Hi,
My saved sbx files don't include my extension information - or scratchx isn't loading that information.
I.e., if I open an sbx file (either local or on github) then the extension and its blocks aren't loaded.
Sample sbx: https://github.com/jbaragry/mcpi-scratch/blob/master/scratchExamples/chat.sbx
How can I debug this?
I noticed a similar query last week which Thepuzzlegame fixed, but the post doesn't say how it was actually fixed.
thanks
Jason
My saved sbx files don't include my extension information - or scratchx isn't loading that information.
I.e., if I open an sbx file (either local or on github) then the extension and its blocks aren't loaded.
Sample sbx: https://github.com/jbaragry/mcpi-scratch/blob/master/scratchExamples/chat.sbx
How can I debug this?
I noticed a similar query last week which Thepuzzlegame fixed, but the post doesn't say how it was actually fixed.
thanks
Jason
- Mrcomputer1
-
Scratcher
500+ posts
.sbx not including extension information
It is not working for two reasons:
You need to move you extension to your gh-pages branch and then open the sbx and load the extension from gh-pages and then reupload to Github
- Extension must be hosted on Github Pages and use a Github Pages link
- Can't find the crossdomain.xml because it is looking for https://rawgit.com/crossdomain.xml not http://jbaragry.github.io/crossdomain.xml
You need to move you extension to your gh-pages branch and then open the sbx and load the extension from gh-pages and then reupload to Github
Last edited by Mrcomputer1 (Nov. 20, 2015 06:55:51)
- jrot
-
New Scratcher
7 posts
.sbx not including extension information
Thanks.
I have the same problem for locally saved sbx files.
Do I need to save everything to gh? Bit of a pain for local projects….
J
I have the same problem for locally saved sbx files.
Do I need to save everything to gh? Bit of a pain for local projects….
J
- Mrcomputer1
-
Scratcher
500+ posts
.sbx not including extension information
Thanks.I think for an sbx file to load the extension it must be on gh-pages
I have the same problem for locally saved sbx files.
Do I need to save everything to gh? Bit of a pain for local projects….
J
In the Scratch source code it says
if (!StringUtil.endsWith(URLUtil.getServerName(extObj.javascriptURL).toLowerCase(),'.github.io')) {
- jrot
-
New Scratcher
7 posts
.sbx not including extension information
Thanks.
Was hoping to keep my extension in the github project but see that I need to copy to the pages area or figure out symlinks
Was hoping to keep my extension in the github project but see that I need to copy to the pages area or figure out symlinks
- jrot
-
New Scratcher
7 posts
.sbx not including extension information
Solved: If anyone else is looking for a solution to this.
This post shows how you can checkout the extension from a github project to include in a gh-pages branch
http://nicolasgallagher.com/git-checkout-specific-files-from-another-branch/
J
This post shows how you can checkout the extension from a github project to include in a gh-pages branch
http://nicolasgallagher.com/git-checkout-specific-files-from-another-branch/
J
- Discussion Forums
- » Developing Scratch Extensions
-
» .sbx not including extension information

