How To Run Source Code

The source code can be run on Windows, Linux/Unix, Mac OS X, OS/2 and many other operating systems. Make sure you have at least Python 2.5.x and PyGame 1.8 installed on your computer.

  1. First download the source code and unzip it to whatever directory.
  2. Then cruise over to that directory that you just unzipped to.
  3. In the planetumi/ folder, run the planetumi.py (or planetumi.pyw) script.

* I am getting alot of emails about Planet Umi freezing (mainly for Linux distros), this may be because your midi audio codec is not working. Go check if you can play midi files, if not, there are a few solutions to this problem:

  1. Be a lazyass: If you want to not bother with fixing your midi audio codec driver, you can turn off Music by going to planetumi/lib/config.py and setting MUSIC_ON = false
  2. Fix your midi driver: if you are running a debian based distro, you can type sudo apt-get install timidity to fix the problem. If it doesn’t work, there are forum posts from Ubuntu users who had similar problems with midi codecs

3 Responses to “How To Run Source Code”

paulina bauldivieso Says:

/ear guy, ive been trying to downlad this game for a long time and it does really look intresting, so im hopping its good.
i really wana play this game but wen i download it, it just goes to s file folder and not the actuall game like i want it to.
plese answer as soon as possible.
THANKS(:

Eddie Lee Says:

paulina, so you have python and pygame installed?
download the .zip file and then unzip the folder and goto planetumi/

then run planetumi.pyw script

email me at eddielee@ucla.edu if you still have problems

andrey Says:

i’ve got a bug.

Traceback (most recent call last):
File “planetumi.pyw”, line 712, in
main()
File “planetumi.pyw”, line 706, in main
game = Game()
File “planetumi.pyw”, line 80, in __init__
self.song = sound.Music(’magical.mid’)
File “lib/sound.py”, line 75, in __init__
pygame.mixer.music.load(os.path.join(’lib’, ‘audio’, file))
pygame.error: Unrecognized music format

What should i do?

Leave a Reply