Discuss Scratch

SDFTDusername
Scratcher
42 posts

Guide to Modding Scratch 3.0

kccuber wrote:

SDFTDusername wrote:

i tried WSL and use sudo npm but it kept not working, cant even link the google closure library. i might try running linux in a virtual machine and modding it there
dont use npm with sudo lol

SDFTDusername wrote:

edit: figured out how to use npm without sudo in wsl and get the google closure library with npm install scratch-blocks –save-dev but it still shows the red block
yeah, i have no idea how to fix that too
well figured it out again by recloning scratch-blocks like what you did but it seems like its building but not linking

Scratch mod
https://scratchmod.netlify.app/ - the Scratch mod with many blocks and stuff
soon it will change into a TurboWarp mod with even more blocks and stuff

scroll down for more info!

plans:
189 new blocks
6 new features
4 useful changes
3 new extensions
50 new extension blocks

development:
0/2 ready up the mod: setup and test (0%)
0/189 new blocks done (0%)
0/6 new features done (0%)
0/4 useful changes done (0%)
0/3 new extensions done (0%)
0/50 new extension blocks done (0%)

total: 0/250 (0%)
kccuber
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

SDFTDusername wrote:

kccuber wrote:

SDFTDusername wrote:

i tried WSL and use sudo npm but it kept not working, cant even link the google closure library. i might try running linux in a virtual machine and modding it there
dont use npm with sudo lol

SDFTDusername wrote:

edit: figured out how to use npm without sudo in wsl and get the google closure library with npm install scratch-blocks –save-dev but it still shows the red block
yeah, i have no idea how to fix that too
well figured it out again by recloning scratch-blocks like what you did but it seems like its building but not linking
delete VM and then try linking


Made using Nord Theme & Inkscape
SDFTDusername
Scratcher
42 posts

Guide to Modding Scratch 3.0

kccuber wrote:

SDFTDusername wrote:

kccuber wrote:

SDFTDusername wrote:

i tried WSL and use sudo npm but it kept not working, cant even link the google closure library. i might try running linux in a virtual machine and modding it there
dont use npm with sudo lol

SDFTDusername wrote:

edit: figured out how to use npm without sudo in wsl and get the google closure library with npm install scratch-blocks –save-dev but it still shows the red block
yeah, i have no idea how to fix that too
well figured it out again by recloning scratch-blocks like what you did but it seems like its building but not linking
delete VM and then try linking
thank you so much it finally works now

Scratch mod
https://scratchmod.netlify.app/ - the Scratch mod with many blocks and stuff
soon it will change into a TurboWarp mod with even more blocks and stuff

scroll down for more info!

plans:
189 new blocks
6 new features
4 useful changes
3 new extensions
50 new extension blocks

development:
0/2 ready up the mod: setup and test (0%)
0/189 new blocks done (0%)
0/6 new features done (0%)
0/4 useful changes done (0%)
0/3 new extensions done (0%)
0/50 new extension blocks done (0%)

total: 0/250 (0%)
kccuber
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

SDFTDusername wrote:

kccuber wrote:

SDFTDusername wrote:

kccuber wrote:

SDFTDusername wrote:

i tried WSL and use sudo npm but it kept not working, cant even link the google closure library. i might try running linux in a virtual machine and modding it there
dont use npm with sudo lol

SDFTDusername wrote:

edit: figured out how to use npm without sudo in wsl and get the google closure library with npm install scratch-blocks –save-dev but it still shows the red block
yeah, i have no idea how to fix that too
well figured it out again by recloning scratch-blocks like what you did but it seems like its building but not linking
delete VM and then try linking
thank you so much it finally works now
but is the red block still there? if its gone then does clicking the now correctly looking block do anything?


Made using Nord Theme & Inkscape
SDFTDusername
Scratcher
42 posts

Guide to Modding Scratch 3.0

kccuber wrote:

SDFTDusername wrote:

kccuber wrote:

SDFTDusername wrote:

kccuber wrote:

SDFTDusername wrote:

i tried WSL and use sudo npm but it kept not working, cant even link the google closure library. i might try running linux in a virtual machine and modding it there
dont use npm with sudo lol

SDFTDusername wrote:

edit: figured out how to use npm without sudo in wsl and get the google closure library with npm install scratch-blocks –save-dev but it still shows the red block
yeah, i have no idea how to fix that too
well figured it out again by recloning scratch-blocks like what you did but it seems like its building but not linking
delete VM and then try linking
thank you so much it finally works now
but is the red block still there? if its gone then does clicking the now correctly looking block do anything?
yes everything works

Scratch mod
https://scratchmod.netlify.app/ - the Scratch mod with many blocks and stuff
soon it will change into a TurboWarp mod with even more blocks and stuff

scroll down for more info!

plans:
189 new blocks
6 new features
4 useful changes
3 new extensions
50 new extension blocks

development:
0/2 ready up the mod: setup and test (0%)
0/189 new blocks done (0%)
0/6 new features done (0%)
0/4 useful changes done (0%)
0/3 new extensions done (0%)
0/50 new extension blocks done (0%)

total: 0/250 (0%)
kccuber
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

SDFTDusername wrote:

yes everything works
does the cat move 100 steps when you click the block (or whatever action you gave your block)


Made using Nord Theme & Inkscape
ScratchcatandGobo
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Could I make one in ubuntu 22.04 JAMMY?

Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























kccuber
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

ScratchcatandGobo wrote:

Could I make one in ubuntu 22.04 JAMMY?
yep, you just need nodejs and python 2, i followed this tutorial on ubuntu WSL it should work for you too: https://www.how2shout.com/linux/how-to-install-python-2-7-on-ubuntu-20-04-lts/


Made using Nord Theme & Inkscape
ScratchcatandGobo
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

kccuber wrote:

ScratchcatandGobo wrote:

Could I make one in ubuntu 22.04 JAMMY?
yep, you just need nodejs and python 2, i followed this tutorial on ubuntu WSL it should work for you too: https://www.how2shout.com/linux/how-to-install-python-2-7-on-ubuntu-20-04-lts/
Will python 3.8 work?

Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























kccuber
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

ScratchcatandGobo wrote:

kccuber wrote:

ScratchcatandGobo wrote:

Could I make one in ubuntu 22.04 JAMMY?
yep, you just need nodejs and python 2, i followed this tutorial on ubuntu WSL it should work for you too: https://www.how2shout.com/linux/how-to-install-python-2-7-on-ubuntu-20-04-lts/
Will python 3.8 work?
no, the scratch-blocks build script only runs on python 2.x


Made using Nord Theme & Inkscape
ScratchcatandGobo
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

kccuber wrote:

ScratchcatandGobo wrote:

kccuber wrote:

ScratchcatandGobo wrote:

Could I make one in ubuntu 22.04 JAMMY?
yep, you just need nodejs and python 2, i followed this tutorial on ubuntu WSL it should work for you too: https://www.how2shout.com/linux/how-to-install-python-2-7-on-ubuntu-20-04-lts/
Will python 3.8 work?
no, the scratch-blocks build script only runs on python 2.x
oh okay -_- will 2.8 work then?

Last edited by ScratchcatandGobo (Dec. 29, 2021 17:59:03)


Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























ScratchcatandGobo
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

What just happend?
It says I don't have permission…

Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























kccuber
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

ScratchcatandGobo wrote:

oh okay -_- will 2.8 work then?
2.8 doesnt exist lol, 2.7.18 is last 2.X version

ScratchcatandGobo wrote:

What just happend?
It says I don't have permission…
did you install a fake python 2.8 virus


Made using Nord Theme & Inkscape
ScratchcatandGobo
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

kccuber wrote:

ScratchcatandGobo wrote:

oh okay -_- will 2.8 work then?
2.8 doesnt exist lol, 2.7.18 is last 2.X version

ScratchcatandGobo wrote:

What just happend?
It says I don't have permission…
did you install a fake python 2.8 virus
No I didn't.

Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























ScratchcatandGobo
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

PLEASE help me.

ZORIN OS wrote:

npm install
sh 1: python: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno EN0ENT

Last edited by ScratchcatandGobo (Dec. 31, 2021 16:23:25)


Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























gvbvdxx
Scratcher
100+ posts

Guide to Modding Scratch 3.0

$ npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient…
npm WARN old lockfile

Is This Normal??

Last edited by gvbvdxx (Dec. 31, 2021 18:41:04)


You don't need a fancy signature to become popular, you just need to do something that people like.


Fast links:
Gvbvdxx Mod 2
Gvbvdxx Mod (FIRST VERSION, DO NOT USE, OLD)
Current GitHub
First GitHub (DO NOT USE)
Pufferfish_Test
Scratcher
500+ posts

Guide to Modding Scratch 3.0

gvbvdxx wrote:

$ npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient…
npm WARN old lockfile

Is This Normal??
Yes. Anything saying ‘npm WARN’ can usually be safely ignored.

This is my signature, and appears below eeevvvveeerrrryyy post I write
Try out Ocular



Good evening. I am a gerbil. Are you a gerbil? I know I am. Gerbils are possibly the most important beings in the universe; they are super intelligent and they eat carrots so we don't have to.
If you are reading this, you're probably thinking one of 3 things:
  1. This dude's not a gerbil, he's a pufferfish/human/bison/whatever other organism/inanimate object you mistakenly believe I am.
  2. Why am I reading this????????
  3. I'm hungry
The first one is INCORRECT, and I'm going to have to ask you not to spread that false rumour.
The second one is a valid question, and one that has no satisfactory answer other than that you're really ,really, really bored.
As for the 3rd one - so am I. You're not alone.
Marc92020
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

what happens when this happens:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
npm ERR! code 9009
npm ERR! path C:\Users\-username-\scratch-blocks
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c python build.py && webpack

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\-username-\AppData\Local\npm-cache\_logs\2022-01-02T02_14_10_189Z-debug.log]

also this happens too:
        [./node_modules/minilog/lib/common/filter.js] 1.36 KiB {main} [built]
[./node_modules/minilog/lib/common/minilog.js] 1.55 KiB {main} [built]
[./node_modules/minilog/lib/web/array.js] 319 bytes {main} [built]
[./node_modules/minilog/lib/web/console.js] 925 bytes {main} [built]
[./node_modules/minilog/lib/web/index.js] 1.28 KiB {main} [built]
[./node_modules/minilog/lib/web/jquery_simple.js] 2.16 KiB {main} [built]
[./node_modules/minilog/lib/web/localstorage.js] 530 bytes {main} [built]
[./node_modules/scratch-vm/src/dispatch/shared-dispatch.js] 14.7 KiB {main} [built]
[./node_modules/scratch-vm/src/dispatch/worker-dispatch.js] 7.62 KiB {main} [built]
[./node_modules/scratch-vm/src/extension-support/argument-type.js] 686 bytes {main} [built]
[./node_modules/scratch-vm/src/extension-support/block-type.js] 1.02 KiB {main} [built]
[./node_modules/scratch-vm/src/extension-support/target-type.js] 308 bytes {main} [built]
[./node_modules/scratch-vm/src/util/log.js] 84 bytes {main} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {main} [built]
+ 5 hidden modules
i 「wdm」: Compiled successfully.
(with this part i cant run anymore commands)

Marc92020
i do stuff

image updates whenever i check
god286
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Marc92020 wrote:

(with this part i cant run anymore commands)
That's intentional, press Ctrl + C (or something on Windows) to quit it, and stop the server.

Marc92020 wrote:

what happens when this happens:
You need to install python 2.7

Last edited by god286 (Jan. 2, 2022 03:11:53)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
Marc92020
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

god286 wrote:

Marc92020 wrote:

(with this part i cant run anymore commands)
That's intentional, press Ctrl + C (or something on Windows) to quit it, and stop the server.
oh ok

god286 wrote:

Marc92020 wrote:

what happens when this happens:
You need to install python 2.7
the only version closest to python 2.7 that isnt in python 3x was python 2.5.4

Marc92020
i do stuff

image updates whenever i check

Powered by DjangoBB