-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathINSTALL.txt
154 lines (115 loc) · 5.22 KB
/
INSTALL.txt
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Dependencies
To play you need python (>=2.5) ,pygame(>=1.7) (older version not tested) and
numpy (>=1.5).
If you use python 2.4 you must install python-elementtree.
Python 3 is not currently supported.
== Linux ==
Note: All commands are terminal commands, as this is the one tool that is universal to all
distributions. If you would like to use a GUI, consult your Distributions documentation
or search the forums: http://forum.freegamedev.net/viewforum.php?f=33
$ represents commands that should be run as normal user
# represents commands that should be run as root
A. Source Archive
1. Install Dependencies
Make sure to have python (>= 2.5 < 3.0) and pygame installed. For distribution-specific instructions
see relevant sections below.
2. Download and Unpack Archive
$ wget -c http://download.tuxfamily.org/usf/release/beta/ultimate-smash-friends-0.0.8.tar.gz
$ tar -xvzf ultimate-smash-friends-0.0.8.tar.gz
$ cd ulitmate-smash-friends
3. Install Ultimate Smash Friends (optional)*
a. Sytem-wide
# python2 setup.py --record install_files
b. User-Specific
$ python2 setup.py --record install_files --home=~
4. Run
a. If you installed as listed above:
$ ultimate-smash-friends
b. If you did not install:
$ ./ultimate-smash-friends
c. Alternatively, you may launch a game with:
$ python2 -m usf.main
5. Uninstall
a. If installed by using step 3 above:
# cat install_files | xargs rm -rf
b. If not, simply delete the ultimate-smash-friends folder
* We highly recommend that you use your distributions package manager to install USF or run locally,
but if there are no packages available for your distribution and you want to make the game available
to all users, this would be your best option.
B. Debian File
1. Install Dependencies
# apt-get update && apt-get install python-pygame python-numpy
2. Download Package
$ wget -c http://download.tuxfamily.org/usf/release/beta/ultimate-smash-friends_0.1.5-1_all.deb
3. Install Ultimate Smash Friends
# dpkg -i ultimate-smash-friends_0.1.5-1_all.deb
4. Run
$ ultimate-smash-friends
5. Uninstall
# apt-get remove ultimate-smash-friends
C. Arch Linux PKGBUILD
1. Download PKGBUILD
$ wget -c http://download.tuxfamily.org/usf/release/beta/PKGBUILD
2. Build and Install Ultimate Smash Friends Package*
$ makepkg -si
3. Run
$ ultimate-smash-friends
4. Uninstall
# pacman -Rsn usf-bzr
* The -s option will automatically fetch dependencies
== Windows ==
A. Source Archive
1. Install Dependencies
Python - http://python.org/download/ (version 2.6.5 recommended)
Pygame - http://pygame.org/download.shtml (version 1.9.1 for python 2.6 recommended)
2. Download and Unpack Archive
http://download.tuxfamily.org/usf/release/beta/ultimate-smash-friends-0.0.8.zip
Right-click and select 'extract here'
3. Install Ultimate Smash Friends (optional)*
** from a command prompt **
a. Sytem-wide
# python setup.py --record install_files
b. User-Specific
$ python setup.py --record install_files --home=~
4. Run
Double-click on ultimate-smash-friends.pyw
5. Uninstall
** from a command prompt **
a. If installed by using step 3 above:
# cat install_files | xargs rm -rf
b. If not, simply delete the ultimate-smash-friends folder
* We highly recommend that you use method B (below) to install USF or run locally,
but if there are no packages available for your distribution and you want to make the game available
to all users, this would be your best option.
B. Executibles
1. Install Dependencies
Python - http://python.org/download/ (version 2.6.5 recommended)
Pygame - http://pygame.org/download.shtml (version 1.9.1 for python 2.6 recommended)
2. Install Ultimate Smash Friends
http://usf.tuxfamily.org/wiki/Download#Windows (version 0.0.8 recommended)
3. Run
Double-click on ultimate-smash-friends.pyw (located in C:\Program Files\Ultimate Smash Friends)
4. Uninstall
Launch 'Add or Remove Programs' from 'Control Panel'
== Mac OS X ==
A. Source Archive
1. Install Dependencies
Python - http://python.org/download/ (version 2.6.6 recommended)
Pygame - http://pygame.org/download.shtml (version 1.9.1 for python 2.6 recommended)
Py2app - http://pypi.python.org/pypi/py2app/#downloads
NumPy - http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/numpy-1.5.1-py2.6-python.org-macosx10.3.dmg/download
2. Rename the main script
Py2app crash if the main script have no extension. In order to prevent this crash,
rename the file `ultimate-smash-friends' in `ultimate-smash-friends.py'.
3. Build Ultimate Smash Friends
sudo python setup.py py2app
4. Change the permissions
sudo chown -R <Your username>:staff dist/
5. Run
Double-click on the application located in the `dist' folder.
B. DMG Image
1. Install Ultimate Smash Friends
Open the .dmg image and drag the `Ultimate Smash Friends' application in the
`Applications' folder.
2. Run
Launch the program located in `/Applications/Ultimate Smash Friends'.