-
Notifications
You must be signed in to change notification settings - Fork 16
/
README
71 lines (51 loc) · 2.16 KB
/
README
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
Freekick 3
==========
Freekick 3 is an open source soccer game.
License
=======
The Freekick 3 source code is licensed under GPLv3+. See LICENSE for more
details.
For the artwork licenses, see the file "licenses". Unless otherwise noted,
the artwork is licensed under Creative Commons Attribution-ShareAlike 3.0
(cc-by-sa-3.0) license. See http://creativecommons.org/licenses/by-sa/3.0/
for more details. For the license on DejaVu Sans font, see
http://dejavu-fonts.org/wiki/License.
Installation
============
- make sure you have the dependencies. These include the Boost C++
libraries, SDL, SDL_image and SDL_ttf, OpenGL and tinyxml. You need both
library binaries and header files.
- get the source using git (git clone
git://github.com/anttisalonen/freekick3.git).
- change to the cloned directory.
- fetch the git submodule by running: git submodule update --init
- to compile, run make.
- to run, use bin/freekick3 (there's no make install yet).
Playing
=======
Use mouse to control the kick direction and keyboard (w/a/s/d) to control
the run direction. See the in-game help for more information.
Teams
=====
Freekick 3 includes some made up teams. If you want to use more realistic
teams, you can either convert Sensible World of Soccer teams to Frekick 3
teams or use football-data-fetcher
(https://github.com/anttisalonen/football-data-fetcher) to fetch team
data from Wikipedia and convert that data to Freekick 3 teams.
To use Sensible World of Soccer teams (PC format), use the utility swos2fk
(compiled using make). Usage:
$ mkdir ~/.freekick/share/teams
$ bin/swos2fk ~/.freekick3/share/teams/ path/to/swos/PC/Data/TEAM.*
This will create the Freekick 3 teams in directory ~/.freekick3/share/teams.
To use the data from football-data-fetcher, you can use the script
wikifetcher under src/tools, which will convert the data to Freekick 3
teams. Usage:
$ cd src/tools/wikifetcher
$ python2 wikifetcher.py ordering.txt /path/to/fetcher/output \
~/.freekick3/share/teams
The fetcher output path is the directory with subdirectories like UEFA,
CONMEBOL etc.
Contact
=======
For any bug reports, feedback or questions: <ajsalonen at gmail dot com>
Antti Salonen