forked from fredbcode/cabrio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·103 lines (78 loc) · 2.79 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
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
Version from "Livemamecab" https://github.com/fredbcode/livemamecab
- Fixed memory leaks in XML configuration functions by Pieter Hulshoff
- Improved handling of long game lists by Pieter Hulshoff
- Fix ffmpeg problem, should works with libavcodec53/54/55 fixed by f.dorin
- New option "video loop" for snap
- New option "video sound" for snap
- New option "theme sound" music theme onf/off
- New option "theme sound" volume (1 min -> 128 Max)
- New option direct switch to list
- New option hide buttons
- Save selection game at cabrio start
New options:
<video-loop>false/true</video-loop>
<video-sound>false/true</video-sound>
<theme-sound>false/true</theme-sound>
<music-volume>50</music-volume>
<hide-buttons>false/true</hide-buttons>
Put your music here /usr/share/cabrio/sounds/music.mp3
Option direct list:
Example: keyboard touch "a" to directly switch to the first list and "b" for the second (max 5 lists)
<event>
<name>list1</name>
<value>a</value>
<device>
<type>keyboard</type>
<id>0</id>
</device>
</event>
<event>
<name>list2</name>
<value>b</value>
<device>
<type>keyboard</type>
<id>0</id>
</device>
</event>
======
TODO: HELP NEEDED !
- Fix memory leak with xmlNodeGetContent (config.c) see valgrind --leak-check=full ./cabrio
======
Cabrio is an emulator front-end primarily designed for use with arcade
cabinets. It features a simple graphical interface which is easy to use
with limited controls (e.g. a joystick).
Installation
------------
You will need the following libraries and their headers/development packages:
* SDL
* SDL_image
* SDL_gfx
* SDL_mixer
* SDL_ttf
* glut
* libxml2
* ffmpeg
Compile the program by running 'make' in this directory. Install by running
'make install' (this will usually have to be done as root, but the location
can be edited in the Makefile).
See http://www.cabrio-fe.org/support/compile.html for more information.
Debian/Ubuntu:
apt-get install gcc make libc6-dev libavcodec-dev libavutil-dev libavformat-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libswscale-dev libxml2-dev zlib1g-dev
Configuration
-------------
Please see http://www.cabrio-fe.org/support/quickstart.html
License
-------
Copyright (c) 2009 - Steve Maddison <steve@cosam.org>
Distributed under the GNU General Public License (see the COPYING file
for details).
Credits
-------
Default background, "Star-Forming Region LH 95 in the Large Magellanic
Cloud": NASA, ESA, and the Hubble Heritage Team (STScI/AURA)-ESA/Hubble
Collaboration, Acknowledgment: D. Gouliermis (Max Planck Institute for
Astronomy, Heidelberg). http://hubblesite.org/
Default font "FreeSans.ttf" courtesy of the GNU FreeFont project:
http://www.gnu.org/software/freefont/
Music Theme: Happy Arcade Tune
Author: rezoner from http://opengameart.org