Revision as of 15:04, 3 May 2013 by Blob8108 (talk | contribs) (Blob8108 moved page Talk:Scratch File Format to Talk:Scratch File Format (1.4): (renaming as per "2.0 and 1.4 feature pages")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

V01 or 02?

Here it says the header has V01, but when I opened one, it had V02. :/
Scimonster (talk | contribs) 08:07, 22 March 2012 (UTC)

Hmm... the page is a bit outdated ('07). Let's let others chime in with their results.
Hardmath123 (talk | contribs) 08:19, 22 March 2012 (UTC)
Why don't you open one yourself? :P
BTW, it's not good to just copy and paste information found on other parts of the site. You might want to put it in your own words. :)
Scimonster (talk | contribs) 08:28, 22 March 2012 (UTC)
I can confirm it is definitely ScratchV02, as of Scratch 1.4. Updated the page to reflect this. :)
Blob8108 (talk | contribs) 11:19, 28 March 2012 (UTC)

scratchformat.wikispaces

Shall I copy over the information from the little wiki I made? Someone's linked it at the bottom :) — but I'm looking for a more permanent home for the information, as Wikispaces' syntax annoys me :P

— or is it too "technical" for this wiki?

If I do, would it be best to do them as subpages? — like Scratch File Format/User-class Objects, etc. (That is how subpages work, right?)
Blob8108 (talk | contribs) 11:12, 28 March 2012 (UTC)

I'm not sure. It seems rather advanced. :/
Scimonster (talk | contribs) 12:41, 28 March 2012 (UTC)
We have a full-fledged Squeak tutorial, and a super-abstract BYOB technicality section, so why not? I think it would be a great addition. Also, I like the subpage idea. We could have "see more" below each heading in the outline section.
Hardmath123 (talk | contribs) 14:33, 28 March 2012 (UTC)
Sounds cool! I'll have a go at copying it over and tidying it up, then. :)
Blob8108 (talk | contribs) 20:31, 28 March 2012 (UTC)

The operation has started! :) I've just done some tweaks here, for now -- I'll continue later... Also, a thought: is the part about constructing big-endian numbers relevant here? Especially as there are libraries like Construct which give the convenience of UBInt32("infoSize").build(1037), etc? Just a thought. :)
Blob8108 (talk | contribs) 09:45, 29 March 2012 (UTC) I don't know, many Scratchers may not know what it is may might get stuck there.
Hardmath123 (talk | contribs) 09:50, 29 March 2012 (UTC)

They could look it up, I guess? We can't explain /everything/, though. That's the problem. Where do you draw the line? Do we have to explain what bits and bytes are? How to read binary files into programming languages? That's what I meant by it being a rather technical description... :P
Another thought -- maybe we could have a separate article explaining some things/concepts? Or link to a good tutorial/explanation?
Blob8108 (talk | contribs) 09:54, 29 March 2012 (UTC)
True. I think the main page should be really low-level, explaining everything related including bits and bytes, and have more technical material in the subpages.
Hardmath123 (talk | contribs) 10:01, 29 March 2012 (UTC)
Ohkaaay... Should I move "Project File", "Sprite File" to their own subpages, then? That could work, I feel; have a broad discussion on the main page — kinda a summary, with links to references, libraries for doing it for you, and that sort of thing.
Blob8108 (talk | contribs) 10:05, 29 March 2012 (UTC)
...or would you rather I just moved the stuff somewhere else? I could add it to the wiki on Github for Kurt, instead :) I don't mind.
Blob8108 (talk | contribs) 10:11, 29 March 2012 (UTC)
I think it's a good idea to have the broad discussion on the front page along with links to Kurt, etc. Subpages should be more in-depth.
Hardmath123 (talk | contribs) 10:24, 29 March 2012 (UTC)


Okay, I moved Project File and Sprite File to their own subpages, and added "this is technical"-style warnings. The main page probably still needs some discussion on it, though; I'm just not sure what.

Your thoughts? :)

My next task is to fill out the Object_Table article, trying to soften down the technicalities a bit...
Blob8108 (talk | contribs) 09:57, 30 March 2012 (UTC)

I've been wondering...

How would one go about reading binary data file in Javascript or PHP? A starter of reading it would be very helpful, thanks. :)
ProgrammingFreak (talk | contribs) 14:57, 21 September 2012 (UTC)

For the file format structure itself: see Scratch File Format/Project File, followed by Object Table. As for reading binary values in those specific languages — I'm afraid I can't help you there! You can see kurt for example Python code, but I use a library (Construct, Python only afaik) to handle all the low-level binary stuff. I'm pretty sure MathWizz and nxIII have written their own JS players, though — ask them (:
Blob8108 (talk | contribs) 18:24, 21 September 2012 (UTC)
If you're looking for a library, a quick search found this binary parser library which might be helpful :)
Blob8108 (talk | contribs) 18:26, 21 September 2012 (UTC)
Thanks, man. I'll look at some of the things you linked. Mathwizz has, I know. And a couple of others. Thanks again. :3
ProgrammingFreak (talk | contribs) 18:27, 21 September 2012 (UTC)
Try asking on the forums, not the wiki. ;)
Scimonster (talk | contribs) 18:22, 22 September 2012 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.