Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch 2.0 Modding for Newbs
- csf30816
- Scratcher
500+ posts
Scratch 2.0 Modding for Newbs
Thanks, although I could not get the old way to work either. I getNo. It's an error with gradle building, which is the reason why I jumped through many hoops just to use ant. Gradle, at least for me, has been very unusable, and results in errors when trying to download files or build. Try using the old instructions to build it using “ant”, or if you need Ubuntu/Debian instructions, I can post some.either you have errors in your code or you need to use a different operating system. if you have any vmware/other operating systems try on that. it worked perfect on kubuntu (i didn't edit the SWF).I downloaded the Scratch SWF. Decompiled it, edited it, and recompiledWhat do you mean by you used a different way? Are you sure you compiled Scratch and used the compiled .swf? I was making my mod, but when I uploaded it to my site the login and join buttons are showing, and the blocks I added are not there Note: I used a different way of modding Scratch, that might be the problem.
Edit I tried using the way specified on the first page just now and I get a lot of errors, and it takes like 20 min to complete.FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'scratch-flash'.
> The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:662: The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:873: The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:881: The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:923: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Unable to locate tools.jar. Expected to find it in <path to java>\jre1.8.0_144\lib\tools.jar
...
BUILD FAILED
<path to scratch-flash>\build.xml:30: Problem: failed to create task or type mxmlc
Cause: the name is undefined.
...
insert my old sig here
- proffessor4
- Scratcher
100+ posts
Scratch 2.0 Modding for Newbs
try the new way again on linux or mac.Thanks, although I could not get the old way to work either. I getNo. It's an error with gradle building, which is the reason why I jumped through many hoops just to use ant. Gradle, at least for me, has been very unusable, and results in errors when trying to download files or build. Try using the old instructions to build it using “ant”, or if you need Ubuntu/Debian instructions, I can post some.either you have errors in your code or you need to use a different operating system. if you have any vmware/other operating systems try on that. it worked perfect on kubuntu (i didn't edit the SWF).I downloaded the Scratch SWF. Decompiled it, edited it, and recompiledWhat do you mean by you used a different way? Are you sure you compiled Scratch and used the compiled .swf? I was making my mod, but when I uploaded it to my site the login and join buttons are showing, and the blocks I added are not there Note: I used a different way of modding Scratch, that might be the problem.
Edit I tried using the way specified on the first page just now and I get a lot of errors, and it takes like 20 min to complete.FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'scratch-flash'.
> The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:662: The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:873: The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:881: The following error occurred while executing this line:
C:\Users\...\.gradle\gradleFx\sdks\670bbff5635fa69cd45fade3edcdc078efa72cd8\installer.xml:923: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failureAny Ideas? or Help?Unable to locate tools.jar. Expected to find it in <path to java>\jre1.8.0_144\lib\tools.jar
...
BUILD FAILED
<path to scratch-flash>\build.xml:30: Problem: failed to create task or type mxmlc
Cause: the name is undefined.
...
my best platformer
my github site
siri the chatbot is an NSA spy if nobody else is going to do it, why not be the first?
anyways, if you want some mild entertainment, try saving the internet (click this link for the forum that will help you)
- MegaApuTurkUltra
- Scratcher
1000+ posts
Scratch 2.0 Modding for Newbs
install JDK Thanks, although I could not get the old way to work either. I getAny Ideas? or Help?Unable to locate tools.jar. Expected to find it in <path to java>\jre1.8.0_144\lib\tools.jar
...
BUILD FAILED
<path to scratch-flash>\build.xml:30: Problem: failed to create task or type mxmlc
Cause: the name is undefined.
...
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- csf30816
- Scratcher
500+ posts
Scratch 2.0 Modding for Newbs
Thanks I installed JDK (a whooping 180MB) although this still happens:install JDK Thanks, although I could not get the old way to work either. I getAny Ideas? or Help?Unable to locate tools.jar. Expected to find it in <path to java>\jre1.8.0_144\lib\tools.jar
...
BUILD FAILED
<path to scratch-flash>\build.xml:30: Problem: failed to create task or type mxmlc
Cause: the name is undefined.
...
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\...>cd C:\Users\...\scratch-flash
C:\Users\...\scratch-flash>ant
Buildfile: C:\Users\...\scratch-flash\build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
clean:
info:
[echo] scratchFlashCommitID = 10a60fa-dirty
compile-10.2:
BUILD FAILED
C:\Users\...\scratch-flash\build.xml:29: Problem: failed to create task or type mxmlc
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Total time: 2 seconds
C:\Users\...\scratch-flash>
I think that it is because it can not find flexTasks.tasks but I do not really know for sure. Thanks for any/all help in advanced.
insert my old sig here
- proffessor4
- Scratcher
100+ posts
Scratch 2.0 Modding for Newbs
no. creating the plugin is adding funtionality, modding is completely rebuilding it. Is modding the same as creating a new plugin for Scratch ?
Is there any tutorial that shows how to create a simple plugin ?
making plugins for scratch requires a bunch of java, and i don't remember it. scratchX is meant for plugins, just click this link to go to the main page.
Last edited by proffessor4 (Aug. 25, 2017 14:14:44)
my best platformer
my github site
siri the chatbot is an NSA spy if nobody else is going to do it, why not be the first?
anyways, if you want some mild entertainment, try saving the internet (click this link for the forum that will help you)
- csf30816
- Scratcher
500+ posts
Scratch 2.0 Modding for Newbs
Actually making a Scratch Extension requires only a little bit JavaScript, and some JSON for the blocks. It is really quite simple. And you can learn how here. You can also find lot's of examples here.no. creating the plugin is adding funtionality, modding is completely rebuilding it. Is modding the same as creating a new plugin for Scratch ?
Is there any tutorial that shows how to create a simple plugin ?
making plugins for scratch requires a bunch of java, and i don't remember it. scratchX is meant for plugins, just click this link to go to the main page.
insert my old sig here
- ilovericebubbles
- Scratcher
100+ posts
Scratch 2.0 Modding for Newbs
How do you add an input type to scratch?
e.g. an input with a drop down that has all lists & variables
e.g. an input with a drop down that has all lists & variables
- Jonathan50
- Scratcher
1000+ posts
Scratch 2.0 Modding for Newbs
…That means you already have a folder called scratch-flash. You can just delete the folder, or if you just want to update it go cd scratch-flash and git pull Oh no its outdated! Oh no!
Not yet a Knight of the Mu Calculus.
- Fudspy
- Scratcher
2 posts
Scratch 2.0 Modding for Newbs
Check out my Project at
https://scratch.mit.edu/projects/187790436/
https://scratch.mit.edu/projects/187790436/
- Lukas_Gaming
- Scratcher
35 posts
Scratch 2.0 Modding for Newbs
If you want to advertise your project, go to the show and tell forum Check out my Project at
https://scratch.mit.edu/projects/187790436/
- Khanonymous
- New to Scratch
11 posts
Scratch 2.0 Modding for Newbs
Hi! I am a webpage and Processing.js programmer elsewhere, and I would like to make a Scratch-type emulation. I saw some source code provided in a different topic that for some inexplicable reason, I can't post in, and saw it looked remarkably similar to what I already have on the emulation. Without downloading anything, do you know a way to access the code that runs Scratch downloaded files?
- proffessor4
- Scratcher
100+ posts
Scratch 2.0 Modding for Newbs
if your talking about .sb2 files, then you have to download scratch Hi! I am a webpage and Processing.js programmer elsewhere, and I would like to make a Scratch-type emulation. I saw some source code provided in a different topic that for some inexplicable reason, I can't post in, and saw it looked remarkably similar to what I already have on the emulation. Without downloading anything, do you know a way to access the code that runs Scratch downloaded files?here.
if your talking about the scratch download, then you need adobe air or adobe flash.
my best platformer
my github site
siri the chatbot is an NSA spy if nobody else is going to do it, why not be the first?
anyways, if you want some mild entertainment, try saving the internet (click this link for the forum that will help you)
- landonwang
- Scratcher
72 posts
Scratch 2.0 Modding for Newbs
this forum is dead. also, DE WAY IS OVER THERwhen green flag clicked
say [Do Yu Know The Way?] for (2) secs
stop [all and press green flag v]
;
- Sheep_maker
- Scratcher
1000+ posts
Scratch 2.0 Modding for Newbs
No, Scratch extensions only add blocks; mods can do more. They aren't illegal, but the Doesn’t modding count as a scratch extension? And aren’t they illegal, or is modding entirety different.Terms of Use prevent you from sharing projects made with mods.
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- ajlogo
- New to Scratch
3 posts
Scratch 2.0 Modding for Newbs
Hello,
I've been successful in building (the Gradle way) the swf versions for Scratch.
I would like to be able to build the desktop/air/offline version, but can't find where to set the variable/flag/property to do it.
from the README.md:
“There are two versions of the Scratch 2.0 editor that can be built from this repository. ”
The two versions must be the 10.2 and 11.6 online/web/swf versions.
When building in the first group of build output is this line:
Offline Mode Enabled: false
The second group of build output has:
Target is:11.6
I've tried to make an Actionscript only air project in FlashBuilder, but I can't successfully install a newer AIRSDK in C:\Program Files (x86)\Adobe\Adobe Flash Builder x.x\eclipse\plugins\com.adobe.flash.compiler_x.x.x.x
Also tried FDT eclipse IDE but couldn't get the compiler arguments to work.
Any help would be appreciated.
Cheers,
Ajlogo
I've been successful in building (the Gradle way) the swf versions for Scratch.
I would like to be able to build the desktop/air/offline version, but can't find where to set the variable/flag/property to do it.
from the README.md:
“There are two versions of the Scratch 2.0 editor that can be built from this repository. ”
The two versions must be the 10.2 and 11.6 online/web/swf versions.
When building in the first group of build output is this line:
Offline Mode Enabled: false
The second group of build output has:
Target is:11.6
I've tried to make an Actionscript only air project in FlashBuilder, but I can't successfully install a newer AIRSDK in C:\Program Files (x86)\Adobe\Adobe Flash Builder x.x\eclipse\plugins\com.adobe.flash.compiler_x.x.x.x
Also tried FDT eclipse IDE but couldn't get the compiler arguments to work.
Any help would be appreciated.
Cheers,
Ajlogo
- infinitytec
- Scratcher
1000+ posts
Scratch 2.0 Modding for Newbs
for each [v v] in [10] {
define cool
when green flag clicked
point in direction ( The Future )
ask (join [I am from] (days since 2000)) and wait
if <(Cats still exist) = [True]> then
broadcast [Da future is safe!!! Weee!]
end
Please do not blockspam.
- LuckyLucky7
- Scratcher
1000+ posts
Scratch 2.0 Modding for Newbs
My browser / operating system: Windows NT 10.0, Chrome 66.0.3359.181, Flash 30.0 (release 0)
Whenever I try to compile Scratch, I put the following:
this error shows up:
What do I do?
Whenever I try to compile Scratch, I put the following:
gradlew.bat build
'gradlew.bat' is not recognized as an internal or external command, operable program or batch file.
- Jonathan50
- Scratcher
1000+ posts
Scratch 2.0 Modding for Newbs
You must be in the same folder as gradlew.bat. My browser / operating system: Windows NT 10.0, Chrome 66.0.3359.181, Flash 30.0 (release 0)
Whenever I try to compile Scratch, I put the following:this error shows up:gradlew.bat buildWhat do I do?'gradlew.bat' is not recognized as an internal or external command, operable program or batch file.
Not yet a Knight of the Mu Calculus.
- Discussion Forums
- » Advanced Topics
- » Scratch 2.0 Modding for Newbs