M30W Programming Forum

M30W is a text-based version of Scratch

You are not logged in.

Announcement

This is the development forum for M30W (also known as Emerald, do not confuse with Emerald Programming Language).
Our Non-development forums are available here

M30W(Emerald) 0.3 is out! (Download) Requires Python 2.6 or higher.
Opal 0.3(A better command line M30W) is out! (Download) Requires Python 2.6 or higher.
M30W 0.3.6 GUI barebones (Download) Requires Python 2.6 or higher and wxPython
Diamond-2 RED2 GUI Barebones (Fancy M30W editor) s out! (Download) Requires .NET Framework 3.5 or higher, does not require Python
M30W++ GUI barebones (Java M30W) Alpha 1 is out! (Download) Requires Java.


Gershmer.net, our hosting, will close in February 2011. We have not fully decided what to do with our hosting after that, but we will tell you when we decide.

Adverts

Adverts

#1 2009-12-09 00:57:12

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Bulky

I would have replied to the dev forum post on I FINALLY DID IT! but I uh, can't post there.

The Emerald exe is majorly bulky for what it does. It's like a five meg file, that does five things.

It's not huge, it's just slow. on my 2.0 ghz dual core lappy.

I mean, it has 12 variables....

oh and I'm continuing work on CPPE. Just figuring out some of the small roadbumps in getting print to be more efficient.

I extracted the file and it said, "Extracting 996 files"

o_____ o


http://www.catb.org/esr/faqs/glider.png

Offline

 

2009-12-09 00:57:12

AdBot
Advertisements

#2 2009-12-09 01:29:41

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

cds562.  wrote:

I would have replied to the dev forum post on I FINALLY DID IT! but I uh, can't post there.

The Emerald exe is majorly bulky for what it does. It's like a five meg file, that does five things.

It's not huge, it's just slow. on my 2.0 ghz dual core lappy.

I mean, it has 12 variables....

oh and I'm continuing work on CPPE. Just figuring out some of the small roadbumps in getting print to be more efficient.

I extracted the file and it said, "Extracting 996 files"

o_____ o

Those 996 files are mostly pretty small. They are required to accompany an EXE of a Python Script.

In terms of installing it, it's a lot faster if you use http://www.gershmer.net/emeraldteam/emerald_setup.exe than http://www.gershmer.net/emeraldteam/Emerald-0.3b.zip .

The EXE file, while larger, is more efficient.


http://card.ly/images/vcard-green-small.png

Offline

 

#3 2009-12-09 03:26:51

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: Bulky

Why in the world is 1000 files needed for one stinken exe?? That is way over board.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#4 2009-12-09 16:07:56

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

totaly... what is that script anyway? Ask?


I am A M30Wr.
I always get the last word.

Offline

 

#5 2009-12-09 21:30:00

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

Magnie wrote:

Why in the world is 1000 files needed for one stinken exe?? That is way over board.

All the Tkinter files...


http://card.ly/images/vcard-green-small.png

Offline

 

#6 2009-12-09 22:56:29

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Bulky

what does Tkinter do exactly?

well, not excactly, but a vague understanding at least


http://www.catb.org/esr/faqs/glider.png

Offline

 

#7 2009-12-09 23:33:25

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

cds56 wrote:

what does Tkinter do exactly?

well, not excactly, but a vague understanding at least

Modules in Emerald:
-cPickle - File Saving
-Tkinter - GUI


http://card.ly/images/vcard-green-small.png

Offline

 

#8 2009-12-09 23:41:56

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Bulky

yep, just looked tKinter up.

it's much harder to get a gui in c++, which is probably why C++ programs don't need 1000 files.


http://www.catb.org/esr/faqs/glider.png

Offline

 

#9 2009-12-10 16:26:45

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

Well pickles should be gone soon, shouldn't it? And the tk-thing its whats needed for the current GUI, well, at the moment atleast.


I am A M30Wr.
I always get the last word.

Offline

 

#10 2009-12-10 23:15:43

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: Bulky

tkinter shouldn't have 1000 files, it should have like 10 or less. >.>


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#11 2009-12-10 23:50:12

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

Magnie wrote:

tkinter shouldn't have 1000 files, it should have like 10 or less. >.>

Hmm... I'll look into it.


http://card.ly/images/vcard-green-small.png

Offline

 

#12 2009-12-10 23:58:04

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

OK. The 900something files is correct, and can not be cut down.

Go to your installation path of Python. (On Windows C:\Python26)

Go to \tcl from there. The folders called tcl(Version #) and tk(Version #) include all the files needed for Tkinter.


http://card.ly/images/vcard-green-small.png

Offline

 

#13 2009-12-11 05:52:40

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: Bulky

Tell me for Ubuntu. ;)


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#14 2009-12-11 11:18:47

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Bulky

would there be a way to access the files without cPickle?
is there a way to manually open files, or alternatly, to make a GUI

I think either would cut down the size


http://www.catb.org/esr/faqs/glider.png

Offline

 

#15 2009-12-15 19:52:14

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

yeah probably...

pickle is for saving them, or is it for opening and saving? and why do we need to get rid of it?


I am A M30Wr.
I always get the last word.

Offline

 

#16 2009-12-15 19:53:52

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Bulky

because the emerald executable thing is 10mb!


http://www.catb.org/esr/faqs/glider.png

Offline

 

#17 2009-12-15 19:55:29

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

yeah... but i said why we need/dont need pickle.


I am A M30Wr.
I always get the last word.

Offline

 

#18 2009-12-15 22:15:21

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

markyparky56 wrote:

yeah... but i said why we need/dont need pickle.

Because cPickle doesn't save files in plain text, which we need it to do.


http://card.ly/images/vcard-green-small.png

Offline

 

#19 2009-12-16 02:37:34

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Bulky

We NEED cPickle to save in Plain text?
I thought it did. uh. Is there any active development on Emerald at this time?


http://www.catb.org/esr/faqs/glider.png

Offline

 

#20 2009-12-16 11:48:27

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

dont think so...


I am A M30Wr.
I always get the last word.

Offline

 

#21 2009-12-16 19:03:48

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: Bulky

We need to make our own saving and loading, and move from tkinter to PyGame.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#22 2009-12-16 19:43:39

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

isn't pygame for games? as the name implys, and i thought you said you knew how to do it?


I am A M30Wr.
I always get the last word.

Offline

 

#23 2009-12-16 20:52:26

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: Bulky

Magnie wrote:

tkinter to PyGame.

Why?


http://card.ly/images/vcard-green-small.png

Offline

 

#24 2009-12-16 21:26:49

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: Bulky

Gershmer wrote:

Magnie wrote:

tkinter to PyGame.

Why?

I think its because PyGame is smaller? Right or wrong?


I am A M30Wr.
I always get the last word.

Offline

 

#25 2009-12-17 00:47:44

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Bulky

Why else move?

I might be able to write the NEW saving and loading routines.
I would assume they'd be the same as C++ except easier, and requiring less googling.


http://www.catb.org/esr/faqs/glider.png

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting