Discuss Scratch

Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

Hello!

People have made cool creations with hacked blocks and other things the Scratch UI doesn't let you do.

I have written a tool called ScratchEdit in Python (A powerful programming language) to help you browse the items within the projects so you can hack blocks like:
Define Definitions (Drop Down Menu) (colour)

Definitions [List Of Sprites v] [#12a90b]

<key (key) pressed?>
Here is how it works:

Don't worry, it doesn't modify Scratch.exe or do any other crazy things you guys can come up with.
It directly opens .sb2 files in a data-explorer type GUI. A data-explorer GUI, will not display the scripts like Scratch does.

Please note that the tool only works in WINDOWS

1. Download Python 3.4.0 from Python Software Foundation.

2. Download ScratchEdit on GitHub

3. Open the ScratchEdit and go to File>Load select the file you want.

4. You will see elements of your project in the object explorer window.

Where are the sprites?
They are stored in the Sprites item.

How do I view an item?
Select it, then click “View Value>”

Where do I find the scripts?
Go inside the sprite you want, click on scripts and press “View Value>”

If you want to know how to do something, ask me in the forum.

Last edited by Dylan5797 (Sept. 20, 2015 16:03:48)


Ask_Pinkamena
Scratcher
51 posts

ScratchEdit BETA Release Forum

This is a very useful tool. I will most definitely be using it. (Glad to see some else uses python )
EDIT: Also is very useful that I have access to the source. I can add some tweaks (since I am lazy, probably not, but you know).

Last edited by Ask_Pinkamena (Jan. 26, 2015 07:54:42)



Since clans are apparently a thing, I propose the Gemini Faction. Just to be special.
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

Ask_Pinkamena wrote:

This is a very useful tool. I will most definitely be using it. (Glad to see some else uses python )
EDIT: Also is very useful that I have access to the source. I can add some tweaks (since I am lazy, probably not, but you know).
I'm happy that someone's using it!
I use it a lot. Hopefully it will work fine. I recommend not modifying regenerate_lb() because it is a root process. But if you have any tweaks you may want to give/suggest, you could post it if you have Google Drive .
Also:
I have made version 2.0 (It took a lot of rewriting functions) and I will be posting it soon…

Last edited by Dylan5797 (Jan. 28, 2015 00:30:04)


Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

2.0 Posted

Last edited by Dylan5797 (Sept. 20, 2015 16:04:32)


Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

Getting Ready to post 3.0 BIG UPDATES.
ALSO: This thread will soon be transferred.

3.0 Should be released by 3/20/15 or before.

CatsUnited
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

Can't you just go on the offline editor, make a block, save your project as a .zip file, open the zip, open the json, edit the json, turn it back to a sb2 and there! No need for any extra software!

bottom text
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

CatsUnited wrote:

Can't you just go on the offline editor, make a block, save your project as a .zip file, open the zip, open the json, edit the json, turn it back to a sb2 and there! No need for any extra software!
It is helpful to have a program like this to actually know what is going on in a project.

Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

I posted 3.0!
Just Note that a shortcut is made on your desktop so you have to click on it to access ScratchEdit

wizzwizz4
Scratcher
92 posts

ScratchEdit BETA Release Forum

Where's the source?
Maybe you could post it on GitHub like the Scratch team did with Scratch!

EDIT: Wow. It's a Python program. The source is with it. But GitHub is still a good idea, as other people can fix bugs you haven't noticed while you work on the new features.

Last edited by wizzwizz4 (July 5, 2015 16:17:01)


If anyone's interested, I've been working on ScratchEdit! If you want to help, click here for things to help with.

A long time ago, wizzwizz4 wrote:

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment

Look at A quest (at best). Follow wizzwizz2 and wizzwizz4. Also, check out the Scratch Team! Or, you could create a magic custom block! Accurate sums without rounding from Scratch, three-dimensional rendering and Wave Mechanics. Dodge flying shapes
Image in Progress
            .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

wizzwizz4 wrote:

Where's the source?
Maybe you could post it on GitHub like the Scratch team did with Scratch!

EDIT: Wow. It's a Python program. The source is with it. But GitHub is still a good idea, as other people can fix bugs you haven't noticed while you work on the new features.
Right now I'm using Google Drive. It works fine for me. I might transfer it later because I actually created a GitHub profile this morning

wizzwizz4
Scratcher
92 posts

ScratchEdit BETA Release Forum

Dylan5797 wrote:

Right now I'm using Google Drive. It works fine for me. I might transfer it later because I actually created a GitHub profile this morning
Great! Google Drive does work flawlessly for people with Google accounts, but it hasn't been tested as rigorously for people not using Google accounts, and currently some users (myself included ) have not been able to access it, causing the download link to link back to the page with the download link on it (i.e. not go anywhere). Maybe you can use GitHub for the project, and put stable(ish) releases on Google Drive, as well as a GitHub branch whenever you make a release.
Edit: When you do, please @mention me in a comment on the repo so I am notified (type @wizzwizz4, like you do on Scratch, and it will come out as @wizzwizz4 and I will get a notification). Don't put this in the description though, because I haven't (yet) helped with the project.

Last edited by wizzwizz4 (July 5, 2015 17:22:18)


If anyone's interested, I've been working on ScratchEdit! If you want to help, click here for things to help with.

A long time ago, wizzwizz4 wrote:

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment

Look at A quest (at best). Follow wizzwizz2 and wizzwizz4. Also, check out the Scratch Team! Or, you could create a magic custom block! Accurate sums without rounding from Scratch, three-dimensional rendering and Wave Mechanics. Dodge flying shapes
Image in Progress
            .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

wizzwizz4 wrote:

Dylan5797 wrote:

Right now I'm using Google Drive. It works fine for me. I might transfer it later because I actually created a GitHub profile this morning
Great! Google Drive does work flawlessly for people with Google accounts, but it hasn't been tested as rigorously for people not using Google accounts, and currently some users (myself included ) have not been able to access it, causing the download link to link back to the page with the download link on it (i.e. not go anywhere). Maybe you can use GitHub for the project, and put stable(ish) releases on Google Drive, as well as a GitHub branch whenever you make a release.
Edit: When you do, please @mention me in a comment on the repo so I am notified (type @wizzwizz4, like you do on Scratch, and it will come out as @wizzwizz4 and I will get a notification). Don't put this in the description though, because I haven't (yet) helped with the project.
Sorry I didn't get back to you in a while. I'm currently putting it on my repo so don't try to download it!

wizzwizz4
Scratcher
92 posts

ScratchEdit BETA Release Forum

Dylan5797 wrote:

Sorry I didn't get back to you in a while. I'm currently putting it on my repo so don't try to download it!
I've added a Wiki to your repo. Delete that if you don't want a wiki.

If anyone's interested, I've been working on ScratchEdit! If you want to help, click here for things to help with.

A long time ago, wizzwizz4 wrote:

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment

Look at A quest (at best). Follow wizzwizz2 and wizzwizz4. Also, check out the Scratch Team! Or, you could create a magic custom block! Accurate sums without rounding from Scratch, three-dimensional rendering and Wave Mechanics. Dodge flying shapes
Image in Progress
            .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

wizzwizz4 wrote:

Dylan5797 wrote:

Sorry I didn't get back to you in a while. I'm currently putting it on my repo so don't try to download it!
I've added a Wiki to your repo. Delete that if you don't want a wiki.
Nice!!! Thanks

wizzwizz4
Scratcher
92 posts

ScratchEdit BETA Release Forum

Dylan5797 wrote:

Nice!!! Thanks
Is the GitHub mirror ok for download now? I need to make instructions for the wiki! I can do that tomorrow.

Last edited by wizzwizz4 (July 7, 2015 18:49:21)


If anyone's interested, I've been working on ScratchEdit! If you want to help, click here for things to help with.

A long time ago, wizzwizz4 wrote:

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment

Look at A quest (at best). Follow wizzwizz2 and wizzwizz4. Also, check out the Scratch Team! Or, you could create a magic custom block! Accurate sums without rounding from Scratch, three-dimensional rendering and Wave Mechanics. Dodge flying shapes
Image in Progress
            .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

wizzwizz4 wrote:

Dylan5797 wrote:

Nice!!! Thanks
Is the GitHub mirror ok for download now? I need to make instructions for the wiki! I can do that tomorrow.
I'm still figuring GitHub out. And my internet can get so slow at times that it's unproductive. I'll let you know when it's up!

wizzwizz4
Scratcher
92 posts

ScratchEdit BETA Release Forum

Dylan5797 wrote:

I'm still figuring GitHub out. And my internet can get so slow at times that it's unproductive. I'll let you know when it's up!
I took a while to do that! Tip: Download GitHub for Windows (or, you know, Mac) or Git for Linux; clone the repo directly into the GitHub folder in My Documents (it will create a sub-folder and put the stuff in there) and then use your file explorer to manage the repository, pressing “commit” when you make a decent change (or a lot of minor ones) and syncing when you finish. Note: Syncing takes a while even on fast Wi-Fi (even on fast Ethernet!)

If anyone's interested, I've been working on ScratchEdit! If you want to help, click here for things to help with.

A long time ago, wizzwizz4 wrote:

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment

Look at A quest (at best). Follow wizzwizz2 and wizzwizz4. Also, check out the Scratch Team! Or, you could create a magic custom block! Accurate sums without rounding from Scratch, three-dimensional rendering and Wave Mechanics. Dodge flying shapes
Image in Progress
            .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

wizzwizz4 wrote:

Dylan5797 wrote:

I'm still figuring GitHub out. And my internet can get so slow at times that it's unproductive. I'll let you know when it's up!
I took a while to do that! Tip: Download GitHub for Windows (or, you know, Mac) or Git for Linux; clone the repo directly into the GitHub folder in My Documents (it will create a sub-folder and put the stuff in there) and then use your file explorer to manage the repository, pressing “commit” when you make a decent change (or a lot of minor ones) and syncing when you finish. Note: Syncing takes a while even on fast Wi-Fi (even on fast Ethernet!)
For some reason it doesn't work for me. I installed it a while ago and it doesn't seem to sync (at all) the bar doesn't even reach the end. It just dissappears. And as I said, my internet is horrible. I'm sorry about it being slow progress. Have you ran it yet? Or are you still waiting?

wizzwizz4
Scratcher
92 posts

ScratchEdit BETA Release Forum

Dylan5797 wrote:

For some reason it doesn't work for me. I installed it a while ago and it doesn't seem to sync (at all) the bar doesn't even reach the end. It just dissappears. And as I said, my internet is horrible. I'm sorry about it being slow progress. Have you ran it yet? Or are you still waiting?
That happens to me too! It takes a long time to sync, because it's sending each line separately (you try sending a webpage to a client a line at a time! So many handshakes!) but it does it eventually.
Oh, and my computer crashed part way through the install of ScratchEdit (well, werfault.exe prepared Python.exe for debugging after it failed to respond to my mouse movements for 0.8 seconds ) and now the installer thinks it's installed, but it's not really. How do I fix that?

If anyone's interested, I've been working on ScratchEdit! If you want to help, click here for things to help with.

A long time ago, wizzwizz4 wrote:

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment

Look at A quest (at best). Follow wizzwizz2 and wizzwizz4. Also, check out the Scratch Team! Or, you could create a magic custom block! Accurate sums without rounding from Scratch, three-dimensional rendering and Wave Mechanics. Dodge flying shapes
Image in Progress
            .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX ., -%HX$$%%%+;
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Dylan5797
Scratcher
1000+ posts

ScratchEdit BETA Release Forum

wizzwizz4 wrote:

Dylan5797 wrote:

For some reason it doesn't work for me. I installed it a while ago and it doesn't seem to sync (at all) the bar doesn't even reach the end. It just dissappears. And as I said, my internet is horrible. I'm sorry about it being slow progress. Have you ran it yet? Or are you still waiting?
That happens to me too! It takes a long time to sync, because it's sending each line separately (you try sending a webpage to a client a line at a time! So many handshakes!) but it does it eventually.
Oh, and my computer crashed part way through the install of ScratchEdit (well, werfault.exe prepared Python.exe for debugging after it failed to respond to my mouse movements for 0.8 seconds ) and now the installer thinks it's installed, but it's not really. How do I fix that?
Is there a shortcut on your desktop?
EDIT: Is there any text on the Python Console when you install?
EDIT#2: Right click on the ScratchEdit installer, and click: Edit with IDLE. Click on the run dropdown and click: “Run Module” And post the error message if there is one.

Last edited by Dylan5797 (July 9, 2015 19:41:54)


Powered by DjangoBB