I'm working on a project with slayerrobe7 that will make collabs easier, but i need help: i need the encrypion key for SBs so i can easily edit them with the program, and still run it in scratch. Does anyone have this?
Offline
I'm thinking Advanced Topics or Questions About Scratch.
Offline
rabbit1131 wrote:
I'm thinking Advanced Topics or Questions About Scratch.
Advanced topics might be good, i'll request that it be moved.
Offline
I don't there's any encryption for SB files. It's more of just how the bytes are put to form the saved data... and there should be a Wiki about that.
Oh, as well as a couple AT threads about it
Offline
LS97 wrote:
I don't there's any encryption for SB files. It's more of just how the bytes are put to form the saved data... and there should be a Wiki about that.
Oh, as well as a couple AT threads about it
well, i want to know how i could convert that from "^^#@%^@" or something like that to "move [5] steps"
Offline
Offline
Hardmath123 wrote:
That's a bit outdated.
Offline
Doing what you want is kinda complicated. I made a little wiki collecting together all the information on the Scratch file format; it's similar to the link posted above, with some updates.
I have a Python library somewhere that should be able to do this (it still has a few quirks) -- I keep promising myself I'll upload it sometime...
Offline
I think i get it, i need to deserialize the .SB files. the problem is, I'm not working with squeak. Would it be possible to convert the objects to java?
Offline
i thought you could edit them using notepad rather easily - the only problem was that the scratch app wouldn't load the sb up again
TRocket need your help again
Last edited by muppetds (2012-02-17 15:29:34)
Offline
muppetds wrote:
i thought you could edit them using notepad rather easily
it's impossible to understand, although it is easy to edit.
Offline
samtwheels wrote:
muppetds wrote:
i thought you could edit them using notepad rather easily
it's impossible to understand, although it is easy to edit.
I remember there was a thread a while back about this
Offline
muppetds wrote:
samtwheels wrote:
muppetds wrote:
i thought you could edit them using notepad rather easily
it's impossible to understand, although it is easy to edit.
I remember there was a thread a while back about this
i remember that, but no one figured it out. it was started by scimonster.
Offline
samtwheels wrote:
muppetds wrote:
samtwheels wrote:
it's impossible to understand, although it is easy to edit.I remember there was a thread a while back about this
i remember that, but no one figured it out. it was started by scimonster.
Actually, the reason nobody figured it out was because the Scratch file is a mixture of ASCII and plain integer data. So Notepad and TextEdit try hard to decode the ASCII bit, and the plain int data is either shown as a special symbol, or hidden. Now when you edit and save in notepad or TextEdit, the hidden int bytes are omitted, and the file goes whacky in Scratch.
Offline