File: INSTALL

package info (click to toggle)
magicor 1.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 24,272 kB
  • ctags: 672
  • sloc: python: 6,332; makefile: 75
file content (64 lines) | stat: -rw-r--r-- 2,558 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
(windows: use wordpad to read this file)
Installation for non windows OSes, GNU-oriented:

Requirements:
  - python >2.4
  - pygame >1.7.1
  - libsdl >1.2
  - SDL_mixer
  - SDL_image

  - GNU make (or equivalent, optional for proper installation)
  - rsync (optional for making dist target)

Additional requirements for the editor:
  - GTK 2.0
  - libglade2
  - PyGTK

Installation instructions for GNU/BSD (and similar):
  1. Edit the file 'Makefile', change the variables to suit your system.
  2. Type 'make install'.
  3. Spend the entire day playing Magicor. :-)


Windows installation & operation :
To play the game you need to have python and pygame installed.
To use the level editor you need to have aditional modules, see 'editor dependencies'

Install:
  unpack to the desired directory, by example d:\magicor
Play the game:
  doubleclick magicor.py in the directory where you unpacked
Level editing:
  doubleclick Magicor-LevelEditor.py
  note: resize of the main window will change aspect ratio 

Editor dependencies:
To run the level editor you need aditionally pyGTK, GTK 2.0 and libglade2.
For those that dont have them let me show how I settled this dependencies.
Keep in mind that I was on python 2.4, without any of the extra dependencies,
you may need to adjust if your starting point is other. 

So: 
Go 'pygtk on win32' http://www.pcpm.ucl.ac.be/~gustin/win32_ports/pygtk.html
There you have descriptions, instructions and direct download links  for variations ( python 2.3 and  2.4, pygtk 2.6 and 2.8 )

I chosed the 'pygtk 2.8 Python 2.4 (with pycairo support)' variation, downloaded the two related  files: pygtk-2.8.6-1.win32-py2.4.exe and pycairo-1.0.2-1.win32-py2.4.exe.

The dependencies section tells we need runtimes and sugest devel runtimes from 
'gladewin32 project'  http://gladewin32.sourceforge.net/
Well, at this page there are lots of variations, I chosed the Gtk+/Win32 Development Environment from  the 2.8.20 release, the file was gtk-dev-2.8.20-win32-1.exe
http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=103
(the devel included glade2)

To install all this stuff (order is significative):
  run gtk-dev-2.8.20-win32-1.exe , I let default values when ofered any adjustements
  run pygtk-2.8.6-1.win32-py2.4.exe
  run pycairo-1.0.2-1.win32-py2.4.exe

Done!!.
Notes:
.The page 'pygtk on win32' was down the first day, latter it come ok.
.At 'gladewin32 project' the last runtimes come with glade3. The editor was done with glade2, so  probably is better to stick with the one that I downloaded.