[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Trolls Outta Luckland - 0.0.4





On Sat, Jan 2, 2010 at 8:58 AM, B W <stabbingfinger@xxxxxxxxx> wrote:
On Sat, Jan 2, 2010 at 8:27 AM, Michael George <mdgeorge@xxxxxxxxxxxxxx> wrote:
In 0.0.4:

ImportError: Bad magic number in lib/game_globals.pyc

$ cd /home/mdgeorge/tmp/trolls_outta_luckland
$ ./Trolls_Outta_Luckland.py

Gumm

Forget that. Looks like this is going to be a learning experience.

What version of Python are you using, Michael? Bet it's not 2.5.4. And I'll bet that lib/*.pyc need to be recompiled. Which is unfortunate, because I pre-compiled the many many many hitmasks so you wouldn't have to. Compiling those requires 2 GB of RAM and will kill Windows (and maybe Linux) systems that have a decent size paging file configured.

Doing some research. Meanwhile, if my hunch is right: I'll need to figure out how to set up a proper install that re-compiles the libs. Does anyone know of a way to compile huge .py with a tiny amount of RAM--say, less than 500 MB?

Gumm