I am trying to make a mod of scratch and I have added two new categories. Yet when I tell it to save image in user mode it comes up with:
key not found
Dictionary(Object)>>error;
Dictionary>>erroKeyNotFound
[ ] in ScratchFrameMorph class>>skinAt:
Dictionay>>at:ifAbsent:
ScratchFrameMorph class>>skinAt:ifAbsent
ScratchFrameMorph class>>skinAt:
[ ] in ScratchViewerMorph>>rebuildCategorySelectors
Array(SequenceableCollection)>>collect:
ScratchViewerMorph>>rebuildCategorySelectors
ScratchFrameMorph>>setLanguage:
Can someone please help, this is my first time modding scratch and I don't know much squeak.
Offline
It looks like your ScratchSkin might be broken. Try copying a new ScratchSkin folder in your mod's folder, add your category button images to the ScratchSkin folder, and load the skin in your mod.
Offline
Better yet than what nathan wrote above:
- download a fresh version of the Scratch Skin from the Scratch website
- navigate to the folder of your current skin, and copy all of the files in that folder
- navigate to the new skin that you just downloaded, and paste the files into it
- move the old skin's folder out of the way (maybe rename it to SkinBackup)
- move the new folder with the pasted images into where the old folder was
- reload the skin
- if it doesn't work, you still have the backup.
Offline
Thanks, I'd just about got it working again, added new blocks, categories and then once again error. Seems to have a problem with the categories 'physics' and/or 'presentation' because I managed to get a control1 and control2. Oh well, time to start again, again. And thanks LS97 for all the help.
Offline
LS97 wrote:
Better yet than what nathan wrote above:
- download a fresh version of the Scratch Skin from the Scratch website
- navigate to the folder of your current skin, and copy all of the files in that folder
- navigate to the new skin that you just downloaded, and paste the files into it
- move the old skin's folder out of the way (maybe rename it to SkinBackup)
- move the new folder with the pasted images into where the old folder was
- reload the skin
- if it doesn't work, you still have the backup.
I have never thought of that before.
Offline
nathanprocks wrote:
LS97 wrote:
Better yet than what nathan wrote above:
- download a fresh version of the Scratch Skin from the Scratch website
- navigate to the folder of your current skin, and copy all of the files in that folder
- navigate to the new skin that you just downloaded, and paste the files into it
- move the old skin's folder out of the way (maybe rename it to SkinBackup)
- move the new folder with the pasted images into where the old folder was
- reload the skin
- if it doesn't work, you still have the backup.I have never thought of that before.
We learn new stuff every day
Offline