Discuss Scratch

Walrus227
Scratcher
54 posts

Help!!!

I have the source code and I'm trying to kind of make a scratch mod that adds an Obsolete category to scratch, and I loaded the Scratch Skin on and I get this:
key not found
I have added the category in rebuildCategorySelectors and it still won't work. Can somebody tell me how to fix this?
plasma26
Scratcher
62 posts

Help!!!

Try this tutorial.

plasma26
Scratcher
62 posts

Help!!!

Or I could do it for you if you want.

plasma26
Scratcher
62 posts

Help!!!

I did it for you. Here's the link.

Walrus227
Scratcher
54 posts

Help!!!

plasma26 wrote:

Or I could do it for you if you want.
Write instructions please?
plasma26
Scratcher
62 posts

Help!!!

Walrus227 wrote:

plasma26 wrote:

Or I could do it for you if you want.
Write instructions please?
Okay.
1. Load the Skin
- First, make sure you have the skin and it's in the scratch source code folder with the name ScratchSkin.
- turn fill screen off and open a workspace (world menu -> open -> workspace)
- type this code into it:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: ‘ScratchSkin’)
- select that text, right-click (on a mac alt-click) and click ‘do it’.
2. Adding categories
- edit the skin first: copy the files called control, controlPressed, controlOver and paste them with the names yourcategory, yourcategoryOver, yourcategoryPressed.
- use any graphics editing software to change the colour of the buttons (optional)
- reload the skin (see step 1)
- in the scratch browser (see shift-click-r in wiki), go to Scratch-UI-Panes, ScratchViewerMorph, –all–, rebuildCategorySelectors.
- you'll see a list with all of the existing category names. add yours.
Voila!

Walrus227
Scratcher
54 posts

Help!!!

plasma26 wrote:

Walrus227 wrote:

plasma26 wrote:

Or I could do it for you if you want.
Write instructions please?
Okay.
1. Load the Skin
- First, make sure you have the skin and it's in the scratch source code folder with the name ScratchSkin.
- turn fill screen off and open a workspace (world menu -> open -> workspace)
- type this code into it:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: ‘ScratchSkin’)
- select that text, right-click (on a mac alt-click) and click ‘do it’.
2. Adding categories
- edit the skin first: copy the files called control, controlPressed, controlOver and paste them with the names yourcategory, yourcategoryOver, yourcategoryPressed.
- use any graphics editing software to change the colour of the buttons (optional)
- reload the skin (see step 1)
- in the scratch browser (see shift-click-r in wiki), go to Scratch-UI-Panes, ScratchViewerMorph, –all–, rebuildCategorySelectors.
- you'll see a list with all of the existing category names. add yours.
Voila!
I know this! I got an error that says key not found ! How do I fix the key not found ?
nathanprocks
Scratcher
1000+ posts

Help!!!

Walrus227 wrote:

plasma26 wrote:

Walrus227 wrote:

plasma26 wrote:

Or I could do it for you if you want.
Write instructions please?
Okay.
1. Load the Skin
- First, make sure you have the skin and it's in the scratch source code folder with the name ScratchSkin.
- turn fill screen off and open a workspace (world menu -> open -> workspace)
- type this code into it:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: ‘ScratchSkin’)
- select that text, right-click (on a mac alt-click) and click ‘do it’.
2. Adding categories
- edit the skin first: copy the files called control, controlPressed, controlOver and paste them with the names yourcategory, yourcategoryOver, yourcategoryPressed.
- use any graphics editing software to change the colour of the buttons (optional)
- reload the skin (see step 1)
- in the scratch browser (see shift-click-r in wiki), go to Scratch-UI-Panes, ScratchViewerMorph, –all–, rebuildCategorySelectors.
- you'll see a list with all of the existing category names. add yours.
Voila!
I know this! I got an error that says key not found ! How do I fix the key not found ?
Did you change ‘yourcategory’ in the skin to the same name as the new category?


My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
Walrus227
Scratcher
54 posts

Help!!!

nathanprocks wrote:

Walrus227 wrote:

plasma26 wrote:

Walrus227 wrote:

plasma26 wrote:

Or I could do it for you if you want.
Write instructions please?
Okay.
1. Load the Skin
- First, make sure you have the skin and it's in the scratch source code folder with the name ScratchSkin.
- turn fill screen off and open a workspace (world menu -> open -> workspace)
- type this code into it:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: ‘ScratchSkin’)
- select that text, right-click (on a mac alt-click) and click ‘do it’.
2. Adding categories
- edit the skin first: copy the files called control, controlPressed, controlOver and paste them with the names yourcategory, yourcategoryOver, yourcategoryPressed.
- use any graphics editing software to change the colour of the buttons (optional)
- reload the skin (see step 1)
- in the scratch browser (see shift-click-r in wiki), go to Scratch-UI-Panes, ScratchViewerMorph, –all–, rebuildCategorySelectors.
- you'll see a list with all of the existing category names. add yours.
Voila!
I know this! I got an error that says key not found ! How do I fix the key not found ?
Did you change ‘yourcategory’ in the skin to the same name as the new category?
Yes. I have obsolete, obsoleteOver, and obsoletePressed as gifs in the skin.
Walrus227
Scratcher
54 posts

Help!!!

wait… I never did get why it says:
(add an even number or the layout will look weird!)
Walrus227
Scratcher
54 posts

Help!!!

Good New! I got past the key not found (I did a couple things (added the blocks and color)) but I've got another problem now:
message not understood: extent
So… can I get some help with that?
Walrus227
Scratcher
54 posts

Help!!!

Walrus227 wrote:

Good New! I got past the key not found (I did a couple things (added the blocks and color)) but I've got another problem now:
message not understood: extent
So… can I get some help with that?
for the colors I used colorizer
nathanprocks
Scratcher
1000+ posts

Help!!!

Walrus227 wrote:

wait… I never did get why it says:
(add an even number or the layout will look weird!)
If you have an odd number of categories you will have to go to rebuildCategorySelectors and change “(catList size // 2)” to “(catList size / 2) rounded”.
Also the instructions for adding categories posted before is copied from Modding Scratch VFAQ.


My browser / operating system: Macrosoft Winding XO, Internet Exploder 6.0, Angel Player ver.:1.2.5
;
Walrus227
Scratcher
54 posts

Help!!!

nathanprocks wrote:

Walrus227 wrote:

wait… I never did get why it says:
(add an even number or the layout will look weird!)
If you have an odd number of categories you will have to go to rebuildCategorySelectors and change “(catList size // 2)” to “(catList size / 2) rounded”.
Also the instructions for adding categories posted before is copied from Modding Scratch VFAQ.
Thanks for the tip! And I read the vfaq.

Powered by DjangoBB

Standard | Mobile