Discuss Scratch

TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

Well, I'm making an OS. And I'm wondering how I can use a Raspberry Pi or somethin' to run The project on, with no extra things, no scratch 2.0, no offline editor, nothing, just the project. How would I do that?
novice27b
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

How low level do you want to go? You could write an OS entitely from scratch using assembly or C, but that would be a huge ammount of effort. Your best option is to create a Linux From Scratch system, which only has the elements required to run a scratch project. Alternatively you could customise a Tinycore Linux distro.

Why do you want to do this? It sounds cool though, so I would be happy to help.

Edit: To clarify, when I say “from scratch”, I mean “from first principles”, not the Scratch programming language.

Last edited by novice27b (April 4, 2014 09:23:27)


i use arch btw
novice27b
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

This might be of interest: http://www.intestinate.com/pilfs/

i use arch btw
TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

So Linux from Scratch can run scratch projects?

novice27b wrote:

How low level do you want to go? You could write an OS entitely from scratch using assembly or C, but that would be a huge ammount of effort. Your best option is to create a Linux From Scratch system, which only has the elements required to run a scratch project. Alternatively you could customise a Tinycore Linux distro.

Why do you want to do this? It sounds cool though, so I would be happy to help.

Edit: To clarify, when I say “from scratch”, I mean “from first principles”, not the Scratch programming language.
CodyTechery
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

No, Linux from Scratch, nor any other operating system, cannot run Scratch by default. It would need to have Scratch installed; once that was done, it could. The easiest solution would be to use SUSE Studio (susestudio.com). It's all online, and they do the heavy lifting for you; just add the applications and change a few things, then let their servers build the system.
Flamekebab
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

TechZoid wrote:

Well, I'm making an OS. And I'm wondering how I can use a Raspberry Pi or somethin' to run The project on, with no extra things, no scratch 2.0, no offline editor, nothing, just the project. How would I do that?
The simple answer is, I'm sorry to say, one can't.
TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

Flamekebab wrote:

TechZoid wrote:

Well, I'm making an OS. And I'm wondering how I can use a Raspberry Pi or somethin' to run The project on, with no extra things, no scratch 2.0, no offline editor, nothing, just the project. How would I do that?
The simple answer is, I'm sorry to say, one can't.

It can. I've seen it happen
TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

How about if I converted the project to exe (I can do that) and then just run the exe with by typing in a command on a black screen
CodyTechery
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

Linux cannot run .exe files either.
TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

CodyTechery wrote:

Linux cannot run .exe files either.

Hm. Is there an exe converter to a file that linux can run?
TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

bump
WafflezOnAStick
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

TechZoid wrote:

CodyTechery wrote:

Linux cannot run .exe files either.

Hm. Is there an exe converter to a file that linux can run?
EXE stands for Windows EXEcutable Program. The executable file extension for Linux is .out, I believe.

Last edited by WafflezOnAStick (April 5, 2014 17:32:17)


Flamekebab
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

TechZoid wrote:

It can. I've seen it happen
Using Scratch to build an operating system? Or what?

TechZoid wrote:

How about if I converted the project to exe (I can do that) and then just run the exe with by typing in a command on a black screen
Then you'd be running a program within an operating system. Just because the screen is black doesn't mean there isn't an operating system running.

WafflezOnAStick wrote:

EXE stands for Windows EXEcutable Program. The executable file extension for Linux is .out, I believe.
There's no specific extension under *nix. Whether a file is executable or not is part of file permissions.

Last edited by Flamekebab (April 5, 2014 18:35:23)

CodyTechery
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

TechZoid wrote:

CodyTechery wrote:

Linux cannot run .exe files either.

Hm. Is there an exe converter to a file that linux can run?
It is impossible to convert one format of executable to another.
turkey3
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

1) there is not currently a Scratch to EXE compiler, but Snap will eventually read Scratch files, and then Snap can convert to EXE.
2) Scratch projects are made in a 480x360 resolution

novice27b
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

CodyTechery wrote:

No, Linux from Scratch, nor any other operating system, cannot run Scratch by default. It would need to have Scratch installed; once that was done, it could. The easiest solution would be to use SUSE Studio (susestudio.com). It's all online, and they do the heavy lifting for you; just add the applications and change a few things, then let their servers build the system.

Yes, but you can covert scratch projects to jar. Then all you need is the JRE. Much easier than writing your own OS, and it could be lightweight enough to run on a rpi

i use arch btw
novice27b
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

Flamekebab wrote:

TechZoid wrote:

Well, I'm making an OS. And I'm wondering how I can use a Raspberry Pi or somethin' to run The project on, with no extra things, no scratch 2.0, no offline editor, nothing, just the project. How would I do that?
The simple answer is, I'm sorry to say, one can't.

This is very possible to do, just quite difficult. I have written a very basic OS in assembly, which was capable of accepting a couple of typed commands. A simple OS like this could be written to interpret the scratch project files.

i use arch btw
Flamekebab
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

novice27b wrote:

This is very possible to do, just quite difficult. I have written a very basic OS in assembly, which was capable of accepting a couple of typed commands. A simple OS like this could be written to interpret the scratch project files.
So the OS would be written in assembly, not Scratch. Scratch requires some sort of OS environment to run in, it can't run on “bare metal”.
TechZoid
Scratcher
100+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

I would appreciate it if someone makes me a list of what I have to do
novice27b
Scratcher
1000+ posts

Real Scratch OS: Running Scratch Projects with no extra support.

Flamekebab wrote:

novice27b wrote:

This is very possible to do, just quite difficult. I have written a very basic OS in assembly, which was capable of accepting a couple of typed commands. A simple OS like this could be written to interpret the scratch project files.
So the OS would be written in assembly, not Scratch. Scratch requires some sort of OS environment to run in, it can't run on “bare metal”.

Yes. I think TechZoid is asking what he needs to do to create the simplest environment that scratch can run in.

i use arch btw

Powered by DjangoBB