Merge lp:wahcade into lp:~andy-balcombe/wahcade/0.99pre5
- main
- Merge into 0.99pre5
Proposed by
rdsanles
Status: | Needs review |
---|---|
Proposed branch: | lp:wahcade |
Merge into: | lp:~andy-balcombe/wahcade/0.99pre5 |
Diff against target: |
18656 lines (+7096/-2523) 67 files modified
.bzrignore (+8/-0) VERSION (+1/-1) bdist_debian.py (+16/-15) build_deb_package (+1/-0) config.dist/layouts/simple_1024x768/layout.lay (+551/-0) config.dist/layouts/simple_1024x768/main.svg (+111/-0) config.dist/layouts/simple_640x480/layout.lay (+551/-0) config.dist/layouts/simple_640x480/main.svg (+111/-0) config.dist/layouts/simple_800x600/layout.lay (+551/-0) config.dist/layouts/simple_800x600/main.svg (+111/-0) config.dist/wahcade.ini (+11/-9) constants.py (+7/-7) doc/CHANGELOG (+135/-55) doc/INI_FILES (+8/-6) doc/INSTALL (+6/-6) doc/LAYOUT_EDITOR (+27/-25) doc/README (+17/-13) doc/TODO (+2/-2) filters.py (+59/-44) glade/layout_editor.glade (+3/-0) glade/layout_editor.glade.bak (+2/-0) glade/layout_editor.glade.h (+1/-0) glade/wahcade_setup.glade (+107/-14) glade/wahcade_setup.glade.bak (+108/-15) glade/wahcade_setup.glade.h (+4/-0) glade2.py (+3/-7) gst_media.py (+85/-84) install (+6/-0) joystick.py (+40/-24) key_consts.py (+6/-8) layout_editor.py (+43/-43) layout_props.py (+13/-12) layout_scr_props.py (+3/-2) make_all (+9/-5) make_gettext (+2/-0) make_tarball (+1/-1) mamewah_ini.py (+7/-6) po/de.po (+310/-249) po/en_GB.po (+306/-247) po/es.po (+311/-249) po/fr.po (+298/-237) po/it.po (+1573/-0) po/messages.pot (+297/-237) po/sv.po (+298/-237) scrolled_list.py (+91/-106) setup.py (+6/-4) setup.py2exe.py (+2/-2) templates/mednafen-lynx.ini (+62/-0) templates/mednafen-pce-tg16.ini (+61/-0) templates/vectrex.ini (+63/-0) wahcade (+1/-1) wahcade-layout-editor (+1/-1) wahcade-layout-editor.py (+2/-2) wahcade-setup (+1/-1) wahcade-setup.py (+2/-3) wahcade.py (+19/-6) wahcade_files (+9/-0) wc_common.py (+59/-40) wc_setup.py (+174/-156) win_cpviewer.py (+28/-16) win_filter.py (+37/-32) win_history.py (+22/-16) win_list.py (+36/-36) win_main.py (+240/-190) win_message.py (+9/-3) win_options.py (+13/-11) win_scrsaver.py (+38/-37) |
To merge this branch: | bzr merge lp:wahcade |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Balcombe | Pending | ||
Review via email: mp+5504@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
lp:wahcade
updated
- 12. By Andy Balcombe <email address hidden>
-
nearly ready for 99pre8
- 13. By Andy Balcombe <email address hidden>
-
Fix #377827
- 14. By Andy Balcombe <email address hidden>
-
couple'o'fixes
- 15. By Andy Balcombe <email address hidden>
-
New music / movie options
- 16. By Andy Balcombe <email address hidden>
-
Italian translation
- 17. By Andy Balcombe <email address hidden>
-
Fix for 400054
- 18. By Andy Balcombe <email address hidden>
-
0.99pre8
- 19. By Andy Balcombe <email address hidden>
-
Some bug fixes
- 20. By Andy Balcombe <email address hidden>
-
Added scroll fix
- 21. By Andy Balcombe <email address hidden>
-
v1.0 pre1
- 22. By Andy Balcombe <email address hidden>
-
merged enrico-
magrella/ wahcade/ 20100413 - 23. By Andy Balcombe <email address hidden>
-
Fixed: #573073
- 24. By Andy Balcombe <email address hidden>
-
video playback rewrite, incomplete
- 25. By Andy Balcombe <email address hidden>
-
movie fix
Unmerged revisions
- 25. By Andy Balcombe <email address hidden>
-
movie fix
- 24. By Andy Balcombe <email address hidden>
-
video playback rewrite, incomplete
- 23. By Andy Balcombe <email address hidden>
-
Fixed: #573073
- 22. By Andy Balcombe <email address hidden>
-
merged enrico-
magrella/ wahcade/ 20100413 - 21. By Andy Balcombe <email address hidden>
-
v1.0 pre1
- 20. By Andy Balcombe <email address hidden>
-
Added scroll fix
- 19. By Andy Balcombe <email address hidden>
-
Some bug fixes
- 18. By Andy Balcombe <email address hidden>
-
0.99pre8
- 17. By Andy Balcombe <email address hidden>
-
Fix for 400054
- 16. By Andy Balcombe <email address hidden>
-
Italian translation
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.bzrignore' | |||
2 | --- .bzrignore 2009-01-07 17:51:46 +0000 | |||
3 | +++ .bzrignore 2011-03-03 21:06:42 +0000 | |||
4 | @@ -30,3 +30,11 @@ | |||
5 | 30 | .layout_editor.py.marks | 30 | .layout_editor.py.marks |
6 | 31 | .wc_common.py.marks | 31 | .wc_common.py.marks |
7 | 32 | .win_main.py.marks | 32 | .win_main.py.marks |
8 | 33 | .wc_setup.py.marks | ||
9 | 34 | glade/layout_editor.glade.bak | ||
10 | 35 | glade/layout_editor.gladep.bak | ||
11 | 36 | glade/wahcade_setup.glade.bak | ||
12 | 37 | glade/wahcade_setup.gladep.bak | ||
13 | 38 | make.log | ||
14 | 39 | .win_filter.py.marks | ||
15 | 40 | .filters.py.marks | ||
16 | 33 | 41 | ||
17 | === modified file 'VERSION' | |||
18 | --- VERSION 2008-11-30 10:26:19 +0000 | |||
19 | +++ VERSION 2011-03-03 21:06:42 +0000 | |||
20 | @@ -1,1 +1,1 @@ | |||
22 | 1 | 0.99pre5 | 1 | 1.0pre1 |
23 | 2 | 2 | ||
24 | === modified file 'bdist_debian.py' | |||
25 | --- bdist_debian.py 2008-11-30 15:09:04 +0000 | |||
26 | +++ bdist_debian.py 2011-03-03 21:06:42 +0000 | |||
27 | @@ -8,7 +8,8 @@ | |||
28 | 8 | # | 8 | # |
29 | 9 | # Ammended for Wah!Cade by: Andy Balcombe <wahcade@anti-particle.com> 24-MAR-2008 | 9 | # Ammended for Wah!Cade by: Andy Balcombe <wahcade@anti-particle.com> 24-MAR-2008 |
30 | 10 | 10 | ||
32 | 11 | import os, base64 | 11 | import os |
33 | 12 | import base64 | ||
34 | 12 | import hashlib | 13 | import hashlib |
35 | 13 | from distutils.core import Command, Distribution | 14 | from distutils.core import Command, Distribution |
36 | 14 | from distutils.dir_util import remove_tree | 15 | from distutils.dir_util import remove_tree |
37 | @@ -21,6 +22,7 @@ | |||
38 | 21 | 22 | ||
39 | 22 | 23 | ||
40 | 23 | class ControlFile(object): | 24 | class ControlFile(object): |
41 | 25 | |||
42 | 24 | def __init__(self, Installed_Size=0, Long_Description='', Description='', **kwargs): | 26 | def __init__(self, Installed_Size=0, Long_Description='', Description='', **kwargs): |
43 | 25 | self.options = kwargs | 27 | self.options = kwargs |
44 | 26 | self.description = Description | 28 | self.description = Description |
45 | @@ -36,7 +38,7 @@ | |||
46 | 36 | content = [] | 38 | content = [] |
47 | 37 | for o in order: | 39 | for o in order: |
48 | 38 | opt = o[2:] | 40 | opt = o[2:] |
50 | 39 | if self.options.has_key(opt): | 41 | if opt in self.options: |
51 | 40 | content.append('%s: %s' % (opt, self.options[opt])) | 42 | content.append('%s: %s' % (opt, self.options[opt])) |
52 | 41 | #content=['%s: %s' % (k, v) for k,v in self.options.iteritems()] | 43 | #content=['%s: %s' % (k, v) for k,v in self.options.iteritems()] |
53 | 42 | content.append('Installed-Size: %d' % self.installed_size) | 44 | content.append('Installed-Size: %d' % self.installed_size) |
54 | @@ -101,7 +103,7 @@ | |||
55 | 101 | md5sums_fn = './md5sums' | 103 | md5sums_fn = './md5sums' |
56 | 102 | data_fn = 'data' | 104 | data_fn = 'data' |
57 | 103 | tgz_ext = '.tar.gz' | 105 | tgz_ext = '.tar.gz' |
59 | 104 | 106 | ||
60 | 105 | # | 107 | # |
61 | 106 | md5 = '' | 108 | md5 = '' |
62 | 107 | # build everything locally | 109 | # build everything locally |
63 | @@ -121,7 +123,7 @@ | |||
64 | 121 | [m.update(l) for l in file(fname, 'r').readlines()] | 123 | [m.update(l) for l in file(fname, 'r').readlines()] |
65 | 122 | fname = fname.replace(build_dir, '')[1:] | 124 | fname = fname.replace(build_dir, '')[1:] |
66 | 123 | md5 += '%s %s\n' % (m.hexdigest(), fname) | 125 | md5 += '%s %s\n' % (m.hexdigest(), fname) |
68 | 124 | 126 | ||
69 | 125 | # make compressed tarball | 127 | # make compressed tarball |
70 | 126 | self.make_archive(os.path.join(dist_dir, data_fn), 'gztar', root_dir=build_dir) | 128 | self.make_archive(os.path.join(dist_dir, data_fn), 'gztar', root_dir=build_dir) |
71 | 127 | 129 | ||
72 | @@ -130,17 +132,17 @@ | |||
73 | 130 | 132 | ||
74 | 131 | # create control file contents | 133 | # create control file contents |
75 | 132 | ctl = ControlFile( | 134 | ctl = ControlFile( |
79 | 133 | Package = self.name, | 135 | Package = self.name, |
80 | 134 | Version = self.version, | 136 | Version = self.version, |
81 | 135 | Section = self.section, | 137 | Section = self.section, |
82 | 136 | Priority = self.priority, | 138 | Priority = self.priority, |
85 | 137 | Installed_Size = (installed_size / 1024) + 1, | 139 | Installed_Size = (installed_size / 1024) + 1, |
86 | 138 | Architecture = 'all', | 140 | Architecture = 'all', |
87 | 139 | Maintainer = self.maintainer, | 141 | Maintainer = self.maintainer, |
90 | 140 | Depends = self.depends, | 142 | Depends = self.depends, |
91 | 141 | Description = self.description, | 143 | Description = self.description, |
92 | 142 | Long_Description = self.long_description, | 144 | Long_Description = self.long_description, |
94 | 143 | Recommends = self.recommends, | 145 | Recommends = self.recommends, |
95 | 144 | Suggests = self.suggests).getContent() | 146 | Suggests = self.suggests).getContent() |
96 | 145 | 147 | ||
97 | 146 | # grab scripts | 148 | # grab scripts |
98 | @@ -154,7 +156,7 @@ | |||
99 | 154 | 156 | ||
100 | 155 | # write control file | 157 | # write control file |
101 | 156 | file(control_fn, 'wb').write(ctl) | 158 | file(control_fn, 'wb').write(ctl) |
103 | 157 | 159 | ||
104 | 158 | #write md5sums file | 160 | #write md5sums file |
105 | 159 | file(md5sums_fn, 'wb').write(md5) | 161 | file(md5sums_fn, 'wb').write(md5) |
106 | 160 | 162 | ||
107 | @@ -190,9 +192,8 @@ | |||
108 | 190 | # new.deb should not cause the same complaints | 192 | # new.deb should not cause the same complaints |
109 | 191 | #rm -rf tmp | 193 | #rm -rf tmp |
110 | 192 | """ % (package_filename) | 194 | """ % (package_filename) |
112 | 193 | 195 | ||
113 | 194 | #write the script & execute it | 196 | #write the script & execute it |
114 | 195 | file('fix_deb', 'w').write(fix_script) | 197 | file('fix_deb', 'w').write(fix_script) |
115 | 196 | os.chmod('fix_deb', 0755) | 198 | os.chmod('fix_deb', 0755) |
116 | 197 | os.system('./fix_deb') | 199 | os.system('./fix_deb') |
117 | 198 | |||
118 | 199 | 200 | ||
119 | === modified file 'build_deb_package' | |||
120 | --- build_deb_package 2008-11-30 15:09:04 +0000 | |||
121 | +++ build_deb_package 2011-03-03 21:06:42 +0000 | |||
122 | @@ -22,4 +22,5 @@ | |||
123 | 22 | sudo alien --to-rpm $SOURCE/dist/$NAME*$VERSION*.deb | 22 | sudo alien --to-rpm $SOURCE/dist/$NAME*$VERSION*.deb |
124 | 23 | cp -f $SOURCE/$NAME*$VERSION*.rpm $WWW/projects/$NAME | 23 | cp -f $SOURCE/$NAME*$VERSION*.rpm $WWW/projects/$NAME |
125 | 24 | mv -f $SOURCE/$NAME*$VERSION*.rpm $SOURCE/dist/rpms | 24 | mv -f $SOURCE/$NAME*$VERSION*.rpm $SOURCE/dist/rpms |
126 | 25 | mv $SOURCE/dist/$NAME*$VERSION*.deb $SOURCE/dist/debs | ||
127 | 25 | 26 | ||
128 | 26 | 27 | ||
129 | === added directory 'config.dist/layouts/simple_1024x768' | |||
130 | === added file 'config.dist/layouts/simple_1024x768/layout.lay' | |||
131 | --- config.dist/layouts/simple_1024x768/layout.lay 1970-01-01 00:00:00 +0000 | |||
132 | +++ config.dist/layouts/simple_1024x768/layout.lay 2011-03-03 21:06:42 +0000 | |||
133 | @@ -0,0 +1,551 @@ | |||
134 | 1 | 1024 | ||
135 | 2 | 768 | ||
136 | 3 | 0 | ||
137 | 4 | main.png | ||
138 | 5 | 1 | ||
139 | 6 | 5066061 | ||
140 | 7 | 16777215 | ||
141 | 8 | False | ||
142 | 9 | 0 | ||
143 | 10 | 8421504 | ||
144 | 11 | 16777215 | ||
145 | 12 | Sans | ||
146 | 13 | True | ||
147 | 14 | False | ||
148 | 15 | 9.75 | ||
149 | 16 | 2 | ||
150 | 17 | 342 | ||
151 | 18 | 0 | ||
152 | 19 | 340 | ||
153 | 20 | 36 | ||
154 | 21 | True | ||
155 | 22 | 1 | ||
156 | 23 | 0 | ||
157 | 24 | 16777215 | ||
158 | 25 | Arial | ||
159 | 26 | True | ||
160 | 27 | False | ||
161 | 28 | 16.0 | ||
162 | 29 | 2 | ||
163 | 30 | 112 | ||
164 | 31 | 21 | ||
165 | 32 | 400 | ||
166 | 33 | 30 | ||
167 | 34 | True | ||
168 | 35 | 1 | ||
169 | 36 | 0 | ||
170 | 37 | 16777215 | ||
171 | 38 | Arial | ||
172 | 39 | True | ||
173 | 40 | False | ||
174 | 41 | 16.0 | ||
175 | 42 | 2 | ||
176 | 43 | 512 | ||
177 | 44 | 21 | ||
178 | 45 | 400 | ||
179 | 46 | 30 | ||
180 | 47 | True | ||
181 | 48 | 1 | ||
182 | 49 | 0 | ||
183 | 50 | 16777215 | ||
184 | 51 | Arial | ||
185 | 52 | True | ||
186 | 53 | False | ||
187 | 54 | 16 | ||
188 | 55 | 2 | ||
189 | 56 | 150 | ||
190 | 57 | 106 | ||
191 | 58 | 724 | ||
192 | 59 | 518 | ||
193 | 60 | True | ||
194 | 61 | 1 | ||
195 | 62 | 0 | ||
196 | 63 | 255 | ||
197 | 64 | Sans | ||
198 | 65 | True | ||
199 | 66 | False | ||
200 | 67 | 9.75 | ||
201 | 68 | 2 | ||
202 | 69 | 0 | ||
203 | 70 | 767 | ||
204 | 71 | 510 | ||
205 | 72 | 20 | ||
206 | 73 | False | ||
207 | 74 | 1 | ||
208 | 75 | 8421504 | ||
209 | 76 | 16777215 | ||
210 | 77 | Sans | ||
211 | 78 | True | ||
212 | 79 | False | ||
213 | 80 | 9.75 | ||
214 | 81 | 2 | ||
215 | 82 | 540 | ||
216 | 83 | 231 | ||
217 | 84 | 270 | ||
218 | 85 | 205 | ||
219 | 86 | False | ||
220 | 87 | 1 | ||
221 | 88 | 8421504 | ||
222 | 89 | 16777215 | ||
223 | 90 | Sans | ||
224 | 91 | True | ||
225 | 92 | False | ||
226 | 93 | 9.75 | ||
227 | 94 | 2 | ||
228 | 95 | 328 | ||
229 | 96 | 40 | ||
230 | 97 | 320 | ||
231 | 98 | 277 | ||
232 | 99 | False | ||
233 | 100 | 1 | ||
234 | 101 | 8421504 | ||
235 | 102 | 16777215 | ||
236 | 103 | Sans | ||
237 | 104 | True | ||
238 | 105 | False | ||
239 | 106 | 9.75 | ||
240 | 107 | 2 | ||
241 | 108 | 336 | ||
242 | 109 | 40 | ||
243 | 110 | 320 | ||
244 | 111 | 277 | ||
245 | 112 | False | ||
246 | 113 | 1 | ||
247 | 114 | 8421504 | ||
248 | 115 | 16777215 | ||
249 | 116 | Sans | ||
250 | 117 | True | ||
251 | 118 | False | ||
252 | 119 | 9.75 | ||
253 | 120 | 2 | ||
254 | 121 | 344 | ||
255 | 122 | 40 | ||
256 | 123 | 320 | ||
257 | 124 | 277 | ||
258 | 125 | False | ||
259 | 126 | 1 | ||
260 | 127 | 8421504 | ||
261 | 128 | 16777215 | ||
262 | 129 | Sans | ||
263 | 130 | True | ||
264 | 131 | False | ||
265 | 132 | 9.75 | ||
266 | 133 | 2 | ||
267 | 134 | 352 | ||
268 | 135 | 40 | ||
269 | 136 | 320 | ||
270 | 137 | 277 | ||
271 | 138 | False | ||
272 | 139 | 1 | ||
273 | 140 | 8421504 | ||
274 | 141 | 16777215 | ||
275 | 142 | Sans | ||
276 | 143 | True | ||
277 | 144 | False | ||
278 | 145 | 9.75 | ||
279 | 146 | 2 | ||
280 | 147 | 360 | ||
281 | 148 | 40 | ||
282 | 149 | 320 | ||
283 | 150 | 277 | ||
284 | 151 | False | ||
285 | 152 | 1 | ||
286 | 153 | 8421504 | ||
287 | 154 | 16777215 | ||
288 | 155 | Sans | ||
289 | 156 | True | ||
290 | 157 | False | ||
291 | 158 | 9.75 | ||
292 | 159 | 2 | ||
293 | 160 | 368 | ||
294 | 161 | 40 | ||
295 | 162 | 320 | ||
296 | 163 | 277 | ||
297 | 164 | False | ||
298 | 165 | 1 | ||
299 | 166 | 8421504 | ||
300 | 167 | 16777215 | ||
301 | 168 | Sans | ||
302 | 169 | True | ||
303 | 170 | False | ||
304 | 171 | 9.75 | ||
305 | 172 | 2 | ||
306 | 173 | 376 | ||
307 | 174 | 40 | ||
308 | 175 | 320 | ||
309 | 176 | 277 | ||
310 | 177 | False | ||
311 | 178 | 1 | ||
312 | 179 | 8421504 | ||
313 | 180 | 16777215 | ||
314 | 181 | Sans | ||
315 | 182 | True | ||
316 | 183 | False | ||
317 | 184 | 9.75 | ||
318 | 185 | 2 | ||
319 | 186 | 384 | ||
320 | 187 | 40 | ||
321 | 188 | 320 | ||
322 | 189 | 277 | ||
323 | 190 | False | ||
324 | 191 | 1 | ||
325 | 192 | 8421504 | ||
326 | 193 | 16777215 | ||
327 | 194 | Sans | ||
328 | 195 | True | ||
329 | 196 | False | ||
330 | 197 | 9.75 | ||
331 | 198 | 2 | ||
332 | 199 | 392 | ||
333 | 200 | 40 | ||
334 | 201 | 320 | ||
335 | 202 | 277 | ||
336 | 203 | False | ||
337 | 204 | 1 | ||
338 | 205 | 0 | ||
339 | 206 | 13408512 | ||
340 | 207 | Sans | ||
341 | 208 | True | ||
342 | 209 | False | ||
343 | 210 | 9.75 | ||
344 | 211 | 2 | ||
345 | 212 | 514 | ||
346 | 213 | 602 | ||
347 | 214 | 510 | ||
348 | 215 | 40 | ||
349 | 216 | False | ||
350 | 217 | 1 | ||
351 | 218 | 0 | ||
352 | 219 | 16777215 | ||
353 | 220 | Sans | ||
354 | 221 | True | ||
355 | 222 | False | ||
356 | 223 | 9.75 | ||
357 | 224 | 2 | ||
358 | 225 | 514 | ||
359 | 226 | 643 | ||
360 | 227 | 510 | ||
361 | 228 | 20 | ||
362 | 229 | False | ||
363 | 230 | 1 | ||
364 | 231 | 0 | ||
365 | 232 | 16777215 | ||
366 | 233 | Sans | ||
367 | 234 | True | ||
368 | 235 | False | ||
369 | 236 | 9.75 | ||
370 | 237 | 2 | ||
371 | 238 | 514 | ||
372 | 239 | 664 | ||
373 | 240 | 510 | ||
374 | 241 | 20 | ||
375 | 242 | False | ||
376 | 243 | 1 | ||
377 | 244 | 0 | ||
378 | 245 | 16777215 | ||
379 | 246 | Sans | ||
380 | 247 | True | ||
381 | 248 | False | ||
382 | 249 | 9.75 | ||
383 | 250 | 2 | ||
384 | 251 | 514 | ||
385 | 252 | 685 | ||
386 | 253 | 510 | ||
387 | 254 | 20 | ||
388 | 255 | False | ||
389 | 256 | 1 | ||
390 | 257 | 0 | ||
391 | 258 | 16777215 | ||
392 | 259 | Sans | ||
393 | 260 | True | ||
394 | 261 | False | ||
395 | 262 | 9.75 | ||
396 | 263 | 2 | ||
397 | 264 | 514 | ||
398 | 265 | 706 | ||
399 | 266 | 510 | ||
400 | 267 | 20 | ||
401 | 268 | False | ||
402 | 269 | 1 | ||
403 | 270 | 0 | ||
404 | 271 | 16777215 | ||
405 | 272 | Sans | ||
406 | 273 | True | ||
407 | 274 | False | ||
408 | 275 | 9.75 | ||
409 | 276 | 2 | ||
410 | 277 | 514 | ||
411 | 278 | 727 | ||
412 | 279 | 510 | ||
413 | 280 | 20 | ||
414 | 281 | False | ||
415 | 282 | 1 | ||
416 | 283 | 0 | ||
417 | 284 | 16777215 | ||
418 | 285 | Sans | ||
419 | 286 | True | ||
420 | 287 | False | ||
421 | 288 | 9.75 | ||
422 | 289 | 2 | ||
423 | 290 | 514 | ||
424 | 291 | 748 | ||
425 | 292 | 510 | ||
426 | 293 | 20 | ||
427 | 294 | 305 | ||
428 | 295 | 330 | ||
429 | 296 | 3289650 | ||
430 | 297 | |||
431 | 298 | 1 | ||
432 | 299 | 10485760 | ||
433 | 300 | 16777215 | ||
434 | 301 | True | ||
435 | 302 | 1 | ||
436 | 303 | 3289650 | ||
437 | 304 | 255 | ||
438 | 305 | Sans | ||
439 | 306 | True | ||
440 | 307 | False | ||
441 | 308 | 9.75 | ||
442 | 309 | 2 | ||
443 | 310 | 0 | ||
444 | 311 | 5 | ||
445 | 312 | 305 | ||
446 | 313 | 20 | ||
447 | 314 | True | ||
448 | 315 | 1 | ||
449 | 316 | 3289650 | ||
450 | 317 | 65280 | ||
451 | 318 | Sans | ||
452 | 319 | True | ||
453 | 320 | False | ||
454 | 321 | 9.75 | ||
455 | 322 | 2 | ||
456 | 323 | 0 | ||
457 | 324 | 32 | ||
458 | 325 | 305 | ||
459 | 326 | 225 | ||
460 | 327 | True | ||
461 | 328 | 1 | ||
462 | 329 | 3289650 | ||
463 | 330 | 16777215 | ||
464 | 331 | Sans | ||
465 | 332 | True | ||
466 | 333 | False | ||
467 | 334 | 9.75 | ||
468 | 335 | 2 | ||
469 | 336 | 0 | ||
470 | 337 | 259 | ||
471 | 338 | 305 | ||
472 | 339 | 20 | ||
473 | 340 | True | ||
474 | 341 | 1 | ||
475 | 342 | 3289650 | ||
476 | 343 | 13408512 | ||
477 | 344 | Sans | ||
478 | 345 | True | ||
479 | 346 | False | ||
480 | 347 | 9.75 | ||
481 | 348 | 2 | ||
482 | 349 | 0 | ||
483 | 350 | 281 | ||
484 | 351 | 305 | ||
485 | 352 | 45 | ||
486 | 353 | 337 | ||
487 | 354 | 260 | ||
488 | 355 | 3289650 | ||
489 | 356 | |||
490 | 357 | True | ||
491 | 358 | 1 | ||
492 | 359 | 3289650 | ||
493 | 360 | 255 | ||
494 | 361 | Sans | ||
495 | 362 | True | ||
496 | 363 | False | ||
497 | 364 | 9.75 | ||
498 | 365 | 2 | ||
499 | 366 | 0 | ||
500 | 367 | 32 | ||
501 | 368 | 337 | ||
502 | 369 | 20 | ||
503 | 370 | True | ||
504 | 371 | 1 | ||
505 | 372 | 3289650 | ||
506 | 373 | 65280 | ||
507 | 374 | Sans | ||
508 | 375 | True | ||
509 | 376 | False | ||
510 | 377 | 9.75 | ||
511 | 378 | 2 | ||
512 | 379 | 0 | ||
513 | 380 | 80 | ||
514 | 381 | 337 | ||
515 | 382 | 113 | ||
516 | 383 | True | ||
517 | 384 | 1 | ||
518 | 385 | 3289650 | ||
519 | 386 | 13408512 | ||
520 | 387 | Sans | ||
521 | 388 | True | ||
522 | 389 | False | ||
523 | 390 | 9.75 | ||
524 | 391 | 2 | ||
525 | 392 | 0 | ||
526 | 393 | 200 | ||
527 | 394 | 337 | ||
528 | 395 | 40 | ||
529 | 396 | True | ||
530 | 397 | 0 | ||
531 | 398 | 8421504 | ||
532 | 399 | 16777215 | ||
533 | 400 | Sans | ||
534 | 401 | True | ||
535 | 402 | False | ||
536 | 403 | 9.75 | ||
537 | 404 | 2 | ||
538 | 405 | 0 | ||
539 | 406 | 0 | ||
540 | 407 | 1024 | ||
541 | 408 | 720 | ||
542 | 409 | False | ||
543 | 410 | 0 | ||
544 | 411 | 8421504 | ||
545 | 412 | 16777215 | ||
546 | 413 | Sans | ||
547 | 414 | True | ||
548 | 415 | False | ||
549 | 416 | 9.75 | ||
550 | 417 | 2 | ||
551 | 418 | 524 | ||
552 | 419 | 0 | ||
553 | 420 | 500 | ||
554 | 421 | 400 | ||
555 | 422 | False | ||
556 | 423 | 0 | ||
557 | 424 | 8421504 | ||
558 | 425 | 16777215 | ||
559 | 426 | Sans | ||
560 | 427 | True | ||
561 | 428 | False | ||
562 | 429 | 9.75 | ||
563 | 430 | 2 | ||
564 | 431 | 0 | ||
565 | 432 | 401 | ||
566 | 433 | 1024 | ||
567 | 434 | 87 | ||
568 | 435 | False | ||
569 | 436 | 0 | ||
570 | 437 | 8421504 | ||
571 | 438 | 16777215 | ||
572 | 439 | Sans | ||
573 | 440 | True | ||
574 | 441 | False | ||
575 | 442 | 9.75 | ||
576 | 443 | 2 | ||
577 | 444 | 30 | ||
578 | 445 | 0 | ||
579 | 446 | 640 | ||
580 | 447 | 430 | ||
581 | 448 | False | ||
582 | 449 | 0 | ||
583 | 450 | 8421504 | ||
584 | 451 | 16777215 | ||
585 | 452 | Sans | ||
586 | 453 | True | ||
587 | 454 | False | ||
588 | 455 | 9.75 | ||
589 | 456 | 2 | ||
590 | 457 | 40 | ||
591 | 458 | 0 | ||
592 | 459 | 640 | ||
593 | 460 | 430 | ||
594 | 461 | False | ||
595 | 462 | 0 | ||
596 | 463 | 8421504 | ||
597 | 464 | 16777215 | ||
598 | 465 | Sans | ||
599 | 466 | True | ||
600 | 467 | False | ||
601 | 468 | 9.75 | ||
602 | 469 | 2 | ||
603 | 470 | 50 | ||
604 | 471 | 0 | ||
605 | 472 | 640 | ||
606 | 473 | 430 | ||
607 | 474 | False | ||
608 | 475 | 0 | ||
609 | 476 | 8421504 | ||
610 | 477 | 16777215 | ||
611 | 478 | Sans | ||
612 | 479 | True | ||
613 | 480 | False | ||
614 | 481 | 9.75 | ||
615 | 482 | 2 | ||
616 | 483 | 60 | ||
617 | 484 | 0 | ||
618 | 485 | 640 | ||
619 | 486 | 430 | ||
620 | 487 | False | ||
621 | 488 | 0 | ||
622 | 489 | 8421504 | ||
623 | 490 | 16777215 | ||
624 | 491 | Sans | ||
625 | 492 | True | ||
626 | 493 | False | ||
627 | 494 | 9.75 | ||
628 | 495 | 2 | ||
629 | 496 | 70 | ||
630 | 497 | 0 | ||
631 | 498 | 640 | ||
632 | 499 | 430 | ||
633 | 500 | False | ||
634 | 501 | 0 | ||
635 | 502 | 8421504 | ||
636 | 503 | 16777215 | ||
637 | 504 | Sans | ||
638 | 505 | True | ||
639 | 506 | False | ||
640 | 507 | 9.75 | ||
641 | 508 | 2 | ||
642 | 509 | 80 | ||
643 | 510 | 0 | ||
644 | 511 | 640 | ||
645 | 512 | 430 | ||
646 | 513 | False | ||
647 | 514 | 0 | ||
648 | 515 | 8421504 | ||
649 | 516 | 16777215 | ||
650 | 517 | Sans | ||
651 | 518 | True | ||
652 | 519 | False | ||
653 | 520 | 9.75 | ||
654 | 521 | 2 | ||
655 | 522 | 90 | ||
656 | 523 | 0 | ||
657 | 524 | 640 | ||
658 | 525 | 430 | ||
659 | 526 | True | ||
660 | 527 | 1 | ||
661 | 528 | 0 | ||
662 | 529 | 13408512 | ||
663 | 530 | Sans | ||
664 | 531 | True | ||
665 | 532 | False | ||
666 | 533 | 9.75 | ||
667 | 534 | 2 | ||
668 | 535 | 0 | ||
669 | 536 | 726 | ||
670 | 537 | 1024 | ||
671 | 538 | 20 | ||
672 | 539 | True | ||
673 | 540 | 1 | ||
674 | 541 | 0 | ||
675 | 542 | 16777215 | ||
676 | 543 | Sans | ||
677 | 544 | True | ||
678 | 545 | False | ||
679 | 546 | 9.75 | ||
680 | 547 | 2 | ||
681 | 548 | 0 | ||
682 | 549 | 748 | ||
683 | 550 | 1024 | ||
684 | 551 | 20 | ||
685 | 0 | 552 | ||
686 | === added file 'config.dist/layouts/simple_1024x768/main.png' | |||
687 | 1 | Binary files config.dist/layouts/simple_1024x768/main.png 1970-01-01 00:00:00 +0000 and config.dist/layouts/simple_1024x768/main.png 2011-03-03 21:06:42 +0000 differ | 553 | Binary files config.dist/layouts/simple_1024x768/main.png 1970-01-01 00:00:00 +0000 and config.dist/layouts/simple_1024x768/main.png 2011-03-03 21:06:42 +0000 differ |
688 | === added file 'config.dist/layouts/simple_1024x768/main.svg' | |||
689 | --- config.dist/layouts/simple_1024x768/main.svg 1970-01-01 00:00:00 +0000 | |||
690 | +++ config.dist/layouts/simple_1024x768/main.svg 2011-03-03 21:06:42 +0000 | |||
691 | @@ -0,0 +1,111 @@ | |||
692 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
693 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
694 | 3 | <svg | ||
695 | 4 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
696 | 5 | xmlns:cc="http://creativecommons.org/ns#" | ||
697 | 6 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
698 | 7 | xmlns:svg="http://www.w3.org/2000/svg" | ||
699 | 8 | xmlns="http://www.w3.org/2000/svg" | ||
700 | 9 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
701 | 10 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
702 | 11 | width="1024" | ||
703 | 12 | height="768" | ||
704 | 13 | id="svg2882" | ||
705 | 14 | sodipodi:version="0.32" | ||
706 | 15 | inkscape:version="0.46" | ||
707 | 16 | version="1.0" | ||
708 | 17 | sodipodi:docname="Simple List.svg" | ||
709 | 18 | inkscape:output_extension="org.inkscape.output.svg.inkscape" | ||
710 | 19 | inkscape:export-filename="/home/richard/.wahcade/layouts/Simple_1024x768/Simple List.png" | ||
711 | 20 | inkscape:export-xdpi="90" | ||
712 | 21 | inkscape:export-ydpi="90"> | ||
713 | 22 | <defs | ||
714 | 23 | id="defs2884"> | ||
715 | 24 | <inkscape:perspective | ||
716 | 25 | sodipodi:type="inkscape:persp3d" | ||
717 | 26 | inkscape:vp_x="0 : 526.18109 : 1" | ||
718 | 27 | inkscape:vp_y="0 : 1000 : 0" | ||
719 | 28 | inkscape:vp_z="744.09448 : 526.18109 : 1" | ||
720 | 29 | inkscape:persp3d-origin="372.04724 : 350.78739 : 1" | ||
721 | 30 | id="perspective2890" /> | ||
722 | 31 | </defs> | ||
723 | 32 | <sodipodi:namedview | ||
724 | 33 | id="base" | ||
725 | 34 | pagecolor="#ffffff" | ||
726 | 35 | bordercolor="#666666" | ||
727 | 36 | borderopacity="1.0" | ||
728 | 37 | gridtolerance="10000" | ||
729 | 38 | guidetolerance="10" | ||
730 | 39 | objecttolerance="10" | ||
731 | 40 | inkscape:pageopacity="0.0" | ||
732 | 41 | inkscape:pageshadow="2" | ||
733 | 42 | inkscape:zoom="0.55827438" | ||
734 | 43 | inkscape:cx="278.37028" | ||
735 | 44 | inkscape:cy="735.94033" | ||
736 | 45 | inkscape:document-units="px" | ||
737 | 46 | inkscape:current-layer="layer1" | ||
738 | 47 | showgrid="false" | ||
739 | 48 | inkscape:showpageshadow="false" | ||
740 | 49 | showborder="true" | ||
741 | 50 | borderlayer="true" | ||
742 | 51 | inkscape:window-width="1024" | ||
743 | 52 | inkscape:window-height="702" | ||
744 | 53 | inkscape:window-x="0" | ||
745 | 54 | inkscape:window-y="24" | ||
746 | 55 | showguides="false" | ||
747 | 56 | inkscape:guide-bbox="true"> | ||
748 | 57 | <sodipodi:guide | ||
749 | 58 | orientation="1,0" | ||
750 | 59 | position="616.18447,386.90653" | ||
751 | 60 | id="guide3692" /> | ||
752 | 61 | <inkscape:grid | ||
753 | 62 | type="xygrid" | ||
754 | 63 | id="grid4014" | ||
755 | 64 | visible="true" | ||
756 | 65 | enabled="true" /> | ||
757 | 66 | </sodipodi:namedview> | ||
758 | 67 | <metadata | ||
759 | 68 | id="metadata2887"> | ||
760 | 69 | <rdf:RDF> | ||
761 | 70 | <cc:Work | ||
762 | 71 | rdf:about=""> | ||
763 | 72 | <dc:format>image/svg+xml</dc:format> | ||
764 | 73 | <dc:type | ||
765 | 74 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
766 | 75 | </cc:Work> | ||
767 | 76 | </rdf:RDF> | ||
768 | 77 | </metadata> | ||
769 | 78 | <g | ||
770 | 79 | inkscape:label="Layer 1" | ||
771 | 80 | inkscape:groupmode="layer" | ||
772 | 81 | id="layer1" | ||
773 | 82 | style="display:inline"> | ||
774 | 83 | <rect | ||
775 | 84 | style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:0.99000001;stroke-miterlimit:4.4000001;stroke-dasharray:0.99, 5.94;stroke-dashoffset:0" | ||
776 | 85 | id="rect2898" | ||
777 | 86 | width="1314.2858" | ||
778 | 87 | height="1062.8572" | ||
779 | 88 | x="-149.10706" | ||
780 | 89 | y="-205.07777" | ||
781 | 90 | ry="21.73378" /> | ||
782 | 91 | <text | ||
783 | 92 | xml:space="preserve" | ||
784 | 93 | style="font-size:100px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Technique BRK;-inkscape-font-specification:Technique BRK" | ||
785 | 94 | x="211.28438" | ||
786 | 95 | y="758" | ||
787 | 96 | id="text2892" | ||
788 | 97 | sodipodi:linespacing="100%"><tspan | ||
789 | 98 | sodipodi:role="line" | ||
790 | 99 | id="tspan2894" | ||
791 | 100 | x="211.28438" | ||
792 | 101 | y="758">Wah!Cade</tspan></text> | ||
793 | 102 | <rect | ||
794 | 103 | style="opacity:1;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1.70753038;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||
795 | 104 | id="rect2398" | ||
796 | 105 | width="810" | ||
797 | 106 | height="48.292469" | ||
798 | 107 | x="107" | ||
799 | 108 | y="12.853765" | ||
800 | 109 | ry="10.747403" /> | ||
801 | 110 | </g> | ||
802 | 111 | </svg> | ||
803 | 0 | 112 | ||
804 | === added directory 'config.dist/layouts/simple_640x480' | |||
805 | === added file 'config.dist/layouts/simple_640x480/layout.lay' | |||
806 | --- config.dist/layouts/simple_640x480/layout.lay 1970-01-01 00:00:00 +0000 | |||
807 | +++ config.dist/layouts/simple_640x480/layout.lay 2011-03-03 21:06:42 +0000 | |||
808 | @@ -0,0 +1,551 @@ | |||
809 | 1 | 640 | ||
810 | 2 | 480 | ||
811 | 3 | 0 | ||
812 | 4 | main.png | ||
813 | 5 | 1 | ||
814 | 6 | 5066061 | ||
815 | 7 | 16777215 | ||
816 | 8 | False | ||
817 | 9 | 0 | ||
818 | 10 | 8421504 | ||
819 | 11 | 16777215 | ||
820 | 12 | Sans | ||
821 | 13 | True | ||
822 | 14 | False | ||
823 | 15 | 9.75 | ||
824 | 16 | 2 | ||
825 | 17 | 342 | ||
826 | 18 | 0 | ||
827 | 19 | 340 | ||
828 | 20 | 36 | ||
829 | 21 | True | ||
830 | 22 | 1 | ||
831 | 23 | 0 | ||
832 | 24 | 16777215 | ||
833 | 25 | Arial | ||
834 | 26 | True | ||
835 | 27 | False | ||
836 | 28 | 16.0 | ||
837 | 29 | 2 | ||
838 | 30 | 30 | ||
839 | 31 | 19 | ||
840 | 32 | 280 | ||
841 | 33 | 30 | ||
842 | 34 | True | ||
843 | 35 | 1 | ||
844 | 36 | 0 | ||
845 | 37 | 16777215 | ||
846 | 38 | Arial | ||
847 | 39 | True | ||
848 | 40 | False | ||
849 | 41 | 16.0 | ||
850 | 42 | 2 | ||
851 | 43 | 328 | ||
852 | 44 | 19 | ||
853 | 45 | 280 | ||
854 | 46 | 30 | ||
855 | 47 | True | ||
856 | 48 | 1 | ||
857 | 49 | 0 | ||
858 | 50 | 16777215 | ||
859 | 51 | Arial | ||
860 | 52 | True | ||
861 | 53 | False | ||
862 | 54 | 16.0 | ||
863 | 55 | 2 | ||
864 | 56 | 24 | ||
865 | 57 | 62 | ||
866 | 58 | 589 | ||
867 | 59 | 314 | ||
868 | 60 | True | ||
869 | 61 | 1 | ||
870 | 62 | 0 | ||
871 | 63 | 255 | ||
872 | 64 | Sans | ||
873 | 65 | True | ||
874 | 66 | False | ||
875 | 67 | 9.75 | ||
876 | 68 | 2 | ||
877 | 69 | 0 | ||
878 | 70 | 767 | ||
879 | 71 | 510 | ||
880 | 72 | 20 | ||
881 | 73 | False | ||
882 | 74 | 1 | ||
883 | 75 | 8421504 | ||
884 | 76 | 16777215 | ||
885 | 77 | Sans | ||
886 | 78 | True | ||
887 | 79 | False | ||
888 | 80 | 9.75 | ||
889 | 81 | 2 | ||
890 | 82 | 540 | ||
891 | 83 | 231 | ||
892 | 84 | 270 | ||
893 | 85 | 205 | ||
894 | 86 | False | ||
895 | 87 | 1 | ||
896 | 88 | 8421504 | ||
897 | 89 | 16777215 | ||
898 | 90 | Sans | ||
899 | 91 | True | ||
900 | 92 | False | ||
901 | 93 | 9.75 | ||
902 | 94 | 2 | ||
903 | 95 | 328 | ||
904 | 96 | 40 | ||
905 | 97 | 320 | ||
906 | 98 | 277 | ||
907 | 99 | False | ||
908 | 100 | 1 | ||
909 | 101 | 8421504 | ||
910 | 102 | 16777215 | ||
911 | 103 | Sans | ||
912 | 104 | True | ||
913 | 105 | False | ||
914 | 106 | 9.75 | ||
915 | 107 | 2 | ||
916 | 108 | 336 | ||
917 | 109 | 40 | ||
918 | 110 | 320 | ||
919 | 111 | 277 | ||
920 | 112 | False | ||
921 | 113 | 1 | ||
922 | 114 | 8421504 | ||
923 | 115 | 16777215 | ||
924 | 116 | Sans | ||
925 | 117 | True | ||
926 | 118 | False | ||
927 | 119 | 9.75 | ||
928 | 120 | 2 | ||
929 | 121 | 344 | ||
930 | 122 | 40 | ||
931 | 123 | 320 | ||
932 | 124 | 277 | ||
933 | 125 | False | ||
934 | 126 | 1 | ||
935 | 127 | 8421504 | ||
936 | 128 | 16777215 | ||
937 | 129 | Sans | ||
938 | 130 | True | ||
939 | 131 | False | ||
940 | 132 | 9.75 | ||
941 | 133 | 2 | ||
942 | 134 | 352 | ||
943 | 135 | 40 | ||
944 | 136 | 320 | ||
945 | 137 | 277 | ||
946 | 138 | False | ||
947 | 139 | 1 | ||
948 | 140 | 8421504 | ||
949 | 141 | 16777215 | ||
950 | 142 | Sans | ||
951 | 143 | True | ||
952 | 144 | False | ||
953 | 145 | 9.75 | ||
954 | 146 | 2 | ||
955 | 147 | 360 | ||
956 | 148 | 40 | ||
957 | 149 | 320 | ||
958 | 150 | 277 | ||
959 | 151 | False | ||
960 | 152 | 1 | ||
961 | 153 | 8421504 | ||
962 | 154 | 16777215 | ||
963 | 155 | Sans | ||
964 | 156 | True | ||
965 | 157 | False | ||
966 | 158 | 9.75 | ||
967 | 159 | 2 | ||
968 | 160 | 368 | ||
969 | 161 | 40 | ||
970 | 162 | 320 | ||
971 | 163 | 277 | ||
972 | 164 | False | ||
973 | 165 | 1 | ||
974 | 166 | 8421504 | ||
975 | 167 | 16777215 | ||
976 | 168 | Sans | ||
977 | 169 | True | ||
978 | 170 | False | ||
979 | 171 | 9.75 | ||
980 | 172 | 2 | ||
981 | 173 | 376 | ||
982 | 174 | 40 | ||
983 | 175 | 320 | ||
984 | 176 | 277 | ||
985 | 177 | False | ||
986 | 178 | 1 | ||
987 | 179 | 8421504 | ||
988 | 180 | 16777215 | ||
989 | 181 | Sans | ||
990 | 182 | True | ||
991 | 183 | False | ||
992 | 184 | 9.75 | ||
993 | 185 | 2 | ||
994 | 186 | 384 | ||
995 | 187 | 40 | ||
996 | 188 | 320 | ||
997 | 189 | 277 | ||
998 | 190 | False | ||
999 | 191 | 1 | ||
1000 | 192 | 8421504 | ||
1001 | 193 | 16777215 | ||
1002 | 194 | Sans | ||
1003 | 195 | True | ||
1004 | 196 | False | ||
1005 | 197 | 9.75 | ||
1006 | 198 | 2 | ||
1007 | 199 | 392 | ||
1008 | 200 | 40 | ||
1009 | 201 | 320 | ||
1010 | 202 | 277 | ||
1011 | 203 | False | ||
1012 | 204 | 1 | ||
1013 | 205 | 0 | ||
1014 | 206 | 13408512 | ||
1015 | 207 | Sans | ||
1016 | 208 | True | ||
1017 | 209 | False | ||
1018 | 210 | 9.75 | ||
1019 | 211 | 2 | ||
1020 | 212 | 514 | ||
1021 | 213 | 602 | ||
1022 | 214 | 510 | ||
1023 | 215 | 40 | ||
1024 | 216 | False | ||
1025 | 217 | 1 | ||
1026 | 218 | 0 | ||
1027 | 219 | 16777215 | ||
1028 | 220 | Sans | ||
1029 | 221 | True | ||
1030 | 222 | False | ||
1031 | 223 | 9.75 | ||
1032 | 224 | 2 | ||
1033 | 225 | 514 | ||
1034 | 226 | 643 | ||
1035 | 227 | 510 | ||
1036 | 228 | 20 | ||
1037 | 229 | False | ||
1038 | 230 | 1 | ||
1039 | 231 | 0 | ||
1040 | 232 | 16777215 | ||
1041 | 233 | Sans | ||
1042 | 234 | True | ||
1043 | 235 | False | ||
1044 | 236 | 9.75 | ||
1045 | 237 | 2 | ||
1046 | 238 | 514 | ||
1047 | 239 | 664 | ||
1048 | 240 | 510 | ||
1049 | 241 | 20 | ||
1050 | 242 | False | ||
1051 | 243 | 1 | ||
1052 | 244 | 0 | ||
1053 | 245 | 16777215 | ||
1054 | 246 | Sans | ||
1055 | 247 | True | ||
1056 | 248 | False | ||
1057 | 249 | 9.75 | ||
1058 | 250 | 2 | ||
1059 | 251 | 514 | ||
1060 | 252 | 685 | ||
1061 | 253 | 510 | ||
1062 | 254 | 20 | ||
1063 | 255 | False | ||
1064 | 256 | 1 | ||
1065 | 257 | 0 | ||
1066 | 258 | 16777215 | ||
1067 | 259 | Sans | ||
1068 | 260 | True | ||
1069 | 261 | False | ||
1070 | 262 | 9.75 | ||
1071 | 263 | 2 | ||
1072 | 264 | 514 | ||
1073 | 265 | 706 | ||
1074 | 266 | 510 | ||
1075 | 267 | 20 | ||
1076 | 268 | False | ||
1077 | 269 | 1 | ||
1078 | 270 | 0 | ||
1079 | 271 | 16777215 | ||
1080 | 272 | Sans | ||
1081 | 273 | True | ||
1082 | 274 | False | ||
1083 | 275 | 9.75 | ||
1084 | 276 | 2 | ||
1085 | 277 | 514 | ||
1086 | 278 | 727 | ||
1087 | 279 | 510 | ||
1088 | 280 | 20 | ||
1089 | 281 | False | ||
1090 | 282 | 1 | ||
1091 | 283 | 0 | ||
1092 | 284 | 16777215 | ||
1093 | 285 | Sans | ||
1094 | 286 | True | ||
1095 | 287 | False | ||
1096 | 288 | 9.75 | ||
1097 | 289 | 2 | ||
1098 | 290 | 514 | ||
1099 | 291 | 748 | ||
1100 | 292 | 510 | ||
1101 | 293 | 20 | ||
1102 | 294 | 305 | ||
1103 | 295 | 330 | ||
1104 | 296 | 3289650 | ||
1105 | 297 | |||
1106 | 298 | 1 | ||
1107 | 299 | 10485760 | ||
1108 | 300 | 16777215 | ||
1109 | 301 | True | ||
1110 | 302 | 1 | ||
1111 | 303 | 3289650 | ||
1112 | 304 | 255 | ||
1113 | 305 | Sans | ||
1114 | 306 | True | ||
1115 | 307 | False | ||
1116 | 308 | 9.75 | ||
1117 | 309 | 2 | ||
1118 | 310 | 0 | ||
1119 | 311 | 5 | ||
1120 | 312 | 305 | ||
1121 | 313 | 20 | ||
1122 | 314 | True | ||
1123 | 315 | 1 | ||
1124 | 316 | 3289650 | ||
1125 | 317 | 65280 | ||
1126 | 318 | Sans | ||
1127 | 319 | True | ||
1128 | 320 | False | ||
1129 | 321 | 9.75 | ||
1130 | 322 | 2 | ||
1131 | 323 | 0 | ||
1132 | 324 | 32 | ||
1133 | 325 | 305 | ||
1134 | 326 | 225 | ||
1135 | 327 | True | ||
1136 | 328 | 1 | ||
1137 | 329 | 3289650 | ||
1138 | 330 | 16777215 | ||
1139 | 331 | Sans | ||
1140 | 332 | True | ||
1141 | 333 | False | ||
1142 | 334 | 9.75 | ||
1143 | 335 | 2 | ||
1144 | 336 | 0 | ||
1145 | 337 | 259 | ||
1146 | 338 | 305 | ||
1147 | 339 | 20 | ||
1148 | 340 | True | ||
1149 | 341 | 1 | ||
1150 | 342 | 3289650 | ||
1151 | 343 | 13408512 | ||
1152 | 344 | Sans | ||
1153 | 345 | True | ||
1154 | 346 | False | ||
1155 | 347 | 9.75 | ||
1156 | 348 | 2 | ||
1157 | 349 | 0 | ||
1158 | 350 | 281 | ||
1159 | 351 | 305 | ||
1160 | 352 | 45 | ||
1161 | 353 | 337 | ||
1162 | 354 | 260 | ||
1163 | 355 | 3289650 | ||
1164 | 356 | |||
1165 | 357 | True | ||
1166 | 358 | 1 | ||
1167 | 359 | 3289650 | ||
1168 | 360 | 255 | ||
1169 | 361 | Sans | ||
1170 | 362 | True | ||
1171 | 363 | False | ||
1172 | 364 | 9.75 | ||
1173 | 365 | 2 | ||
1174 | 366 | 0 | ||
1175 | 367 | 32 | ||
1176 | 368 | 337 | ||
1177 | 369 | 20 | ||
1178 | 370 | True | ||
1179 | 371 | 1 | ||
1180 | 372 | 3289650 | ||
1181 | 373 | 65280 | ||
1182 | 374 | Sans | ||
1183 | 375 | True | ||
1184 | 376 | False | ||
1185 | 377 | 9.75 | ||
1186 | 378 | 2 | ||
1187 | 379 | 0 | ||
1188 | 380 | 80 | ||
1189 | 381 | 337 | ||
1190 | 382 | 113 | ||
1191 | 383 | True | ||
1192 | 384 | 1 | ||
1193 | 385 | 3289650 | ||
1194 | 386 | 13408512 | ||
1195 | 387 | Sans | ||
1196 | 388 | True | ||
1197 | 389 | False | ||
1198 | 390 | 9.75 | ||
1199 | 391 | 2 | ||
1200 | 392 | 0 | ||
1201 | 393 | 200 | ||
1202 | 394 | 337 | ||
1203 | 395 | 40 | ||
1204 | 396 | True | ||
1205 | 397 | 0 | ||
1206 | 398 | 8421504 | ||
1207 | 399 | 16777215 | ||
1208 | 400 | Sans | ||
1209 | 401 | True | ||
1210 | 402 | False | ||
1211 | 403 | 9.75 | ||
1212 | 404 | 2 | ||
1213 | 405 | 0 | ||
1214 | 406 | 0 | ||
1215 | 407 | 1024 | ||
1216 | 408 | 720 | ||
1217 | 409 | False | ||
1218 | 410 | 0 | ||
1219 | 411 | 8421504 | ||
1220 | 412 | 16777215 | ||
1221 | 413 | Sans | ||
1222 | 414 | True | ||
1223 | 415 | False | ||
1224 | 416 | 9.75 | ||
1225 | 417 | 2 | ||
1226 | 418 | 524 | ||
1227 | 419 | 0 | ||
1228 | 420 | 500 | ||
1229 | 421 | 400 | ||
1230 | 422 | False | ||
1231 | 423 | 0 | ||
1232 | 424 | 8421504 | ||
1233 | 425 | 16777215 | ||
1234 | 426 | Sans | ||
1235 | 427 | True | ||
1236 | 428 | False | ||
1237 | 429 | 9.75 | ||
1238 | 430 | 2 | ||
1239 | 431 | 0 | ||
1240 | 432 | 401 | ||
1241 | 433 | 1024 | ||
1242 | 434 | 87 | ||
1243 | 435 | False | ||
1244 | 436 | 0 | ||
1245 | 437 | 8421504 | ||
1246 | 438 | 16777215 | ||
1247 | 439 | Sans | ||
1248 | 440 | True | ||
1249 | 441 | False | ||
1250 | 442 | 9.75 | ||
1251 | 443 | 2 | ||
1252 | 444 | 30 | ||
1253 | 445 | 0 | ||
1254 | 446 | 640 | ||
1255 | 447 | 430 | ||
1256 | 448 | False | ||
1257 | 449 | 0 | ||
1258 | 450 | 8421504 | ||
1259 | 451 | 16777215 | ||
1260 | 452 | Sans | ||
1261 | 453 | True | ||
1262 | 454 | False | ||
1263 | 455 | 9.75 | ||
1264 | 456 | 2 | ||
1265 | 457 | 40 | ||
1266 | 458 | 0 | ||
1267 | 459 | 640 | ||
1268 | 460 | 430 | ||
1269 | 461 | False | ||
1270 | 462 | 0 | ||
1271 | 463 | 8421504 | ||
1272 | 464 | 16777215 | ||
1273 | 465 | Sans | ||
1274 | 466 | True | ||
1275 | 467 | False | ||
1276 | 468 | 9.75 | ||
1277 | 469 | 2 | ||
1278 | 470 | 50 | ||
1279 | 471 | 0 | ||
1280 | 472 | 640 | ||
1281 | 473 | 430 | ||
1282 | 474 | False | ||
1283 | 475 | 0 | ||
1284 | 476 | 8421504 | ||
1285 | 477 | 16777215 | ||
1286 | 478 | Sans | ||
1287 | 479 | True | ||
1288 | 480 | False | ||
1289 | 481 | 9.75 | ||
1290 | 482 | 2 | ||
1291 | 483 | 60 | ||
1292 | 484 | 0 | ||
1293 | 485 | 640 | ||
1294 | 486 | 430 | ||
1295 | 487 | False | ||
1296 | 488 | 0 | ||
1297 | 489 | 8421504 | ||
1298 | 490 | 16777215 | ||
1299 | 491 | Sans | ||
1300 | 492 | True | ||
1301 | 493 | False | ||
1302 | 494 | 9.75 | ||
1303 | 495 | 2 | ||
1304 | 496 | 70 | ||
1305 | 497 | 0 | ||
1306 | 498 | 640 | ||
1307 | 499 | 430 | ||
1308 | 500 | False | ||
1309 | 501 | 0 | ||
1310 | 502 | 8421504 | ||
1311 | 503 | 16777215 | ||
1312 | 504 | Sans | ||
1313 | 505 | True | ||
1314 | 506 | False | ||
1315 | 507 | 9.75 | ||
1316 | 508 | 2 | ||
1317 | 509 | 80 | ||
1318 | 510 | 0 | ||
1319 | 511 | 640 | ||
1320 | 512 | 430 | ||
1321 | 513 | False | ||
1322 | 514 | 0 | ||
1323 | 515 | 8421504 | ||
1324 | 516 | 16777215 | ||
1325 | 517 | Sans | ||
1326 | 518 | True | ||
1327 | 519 | False | ||
1328 | 520 | 9.75 | ||
1329 | 521 | 2 | ||
1330 | 522 | 90 | ||
1331 | 523 | 0 | ||
1332 | 524 | 640 | ||
1333 | 525 | 430 | ||
1334 | 526 | True | ||
1335 | 527 | 1 | ||
1336 | 528 | 0 | ||
1337 | 529 | 13408512 | ||
1338 | 530 | Sans | ||
1339 | 531 | True | ||
1340 | 532 | False | ||
1341 | 533 | 9.75 | ||
1342 | 534 | 2 | ||
1343 | 535 | 0 | ||
1344 | 536 | 726 | ||
1345 | 537 | 1024 | ||
1346 | 538 | 20 | ||
1347 | 539 | True | ||
1348 | 540 | 1 | ||
1349 | 541 | 0 | ||
1350 | 542 | 16777215 | ||
1351 | 543 | Sans | ||
1352 | 544 | True | ||
1353 | 545 | False | ||
1354 | 546 | 9.75 | ||
1355 | 547 | 2 | ||
1356 | 548 | 0 | ||
1357 | 549 | 748 | ||
1358 | 550 | 1024 | ||
1359 | 551 | 20 | ||
1360 | 0 | 552 | ||
1361 | === added file 'config.dist/layouts/simple_640x480/main.png' | |||
1362 | 1 | Binary files config.dist/layouts/simple_640x480/main.png 1970-01-01 00:00:00 +0000 and config.dist/layouts/simple_640x480/main.png 2011-03-03 21:06:42 +0000 differ | 553 | Binary files config.dist/layouts/simple_640x480/main.png 1970-01-01 00:00:00 +0000 and config.dist/layouts/simple_640x480/main.png 2011-03-03 21:06:42 +0000 differ |
1363 | === added file 'config.dist/layouts/simple_640x480/main.svg' | |||
1364 | --- config.dist/layouts/simple_640x480/main.svg 1970-01-01 00:00:00 +0000 | |||
1365 | +++ config.dist/layouts/simple_640x480/main.svg 2011-03-03 21:06:42 +0000 | |||
1366 | @@ -0,0 +1,111 @@ | |||
1367 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
1368 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
1369 | 3 | <svg | ||
1370 | 4 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
1371 | 5 | xmlns:cc="http://creativecommons.org/ns#" | ||
1372 | 6 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
1373 | 7 | xmlns:svg="http://www.w3.org/2000/svg" | ||
1374 | 8 | xmlns="http://www.w3.org/2000/svg" | ||
1375 | 9 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
1376 | 10 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
1377 | 11 | width="640" | ||
1378 | 12 | height="480" | ||
1379 | 13 | id="svg2882" | ||
1380 | 14 | sodipodi:version="0.32" | ||
1381 | 15 | inkscape:version="0.46" | ||
1382 | 16 | version="1.0" | ||
1383 | 17 | sodipodi:docname="Simple List.svg" | ||
1384 | 18 | inkscape:output_extension="org.inkscape.output.svg.inkscape" | ||
1385 | 19 | inkscape:export-filename="/home/richard/.wahcade/layouts/Simple_1024x768/Simple List.png" | ||
1386 | 20 | inkscape:export-xdpi="90" | ||
1387 | 21 | inkscape:export-ydpi="90"> | ||
1388 | 22 | <defs | ||
1389 | 23 | id="defs2884"> | ||
1390 | 24 | <inkscape:perspective | ||
1391 | 25 | sodipodi:type="inkscape:persp3d" | ||
1392 | 26 | inkscape:vp_x="0 : 526.18109 : 1" | ||
1393 | 27 | inkscape:vp_y="0 : 1000 : 0" | ||
1394 | 28 | inkscape:vp_z="744.09448 : 526.18109 : 1" | ||
1395 | 29 | inkscape:persp3d-origin="372.04724 : 350.78739 : 1" | ||
1396 | 30 | id="perspective2890" /> | ||
1397 | 31 | </defs> | ||
1398 | 32 | <sodipodi:namedview | ||
1399 | 33 | id="base" | ||
1400 | 34 | pagecolor="#ffffff" | ||
1401 | 35 | bordercolor="#666666" | ||
1402 | 36 | borderopacity="1.0" | ||
1403 | 37 | gridtolerance="10000" | ||
1404 | 38 | guidetolerance="10" | ||
1405 | 39 | objecttolerance="10" | ||
1406 | 40 | inkscape:pageopacity="0.0" | ||
1407 | 41 | inkscape:pageshadow="2" | ||
1408 | 42 | inkscape:zoom="0.45725805" | ||
1409 | 43 | inkscape:cx="264.19102" | ||
1410 | 44 | inkscape:cy="91.737357" | ||
1411 | 45 | inkscape:document-units="px" | ||
1412 | 46 | inkscape:current-layer="layer1" | ||
1413 | 47 | showgrid="false" | ||
1414 | 48 | inkscape:showpageshadow="false" | ||
1415 | 49 | showborder="true" | ||
1416 | 50 | borderlayer="true" | ||
1417 | 51 | inkscape:window-width="1024" | ||
1418 | 52 | inkscape:window-height="702" | ||
1419 | 53 | inkscape:window-x="0" | ||
1420 | 54 | inkscape:window-y="24" | ||
1421 | 55 | showguides="false" | ||
1422 | 56 | inkscape:guide-bbox="true"> | ||
1423 | 57 | <sodipodi:guide | ||
1424 | 58 | orientation="1,0" | ||
1425 | 59 | position="616.18447,386.90653" | ||
1426 | 60 | id="guide3692" /> | ||
1427 | 61 | <inkscape:grid | ||
1428 | 62 | type="xygrid" | ||
1429 | 63 | id="grid4014" | ||
1430 | 64 | visible="true" | ||
1431 | 65 | enabled="true" /> | ||
1432 | 66 | </sodipodi:namedview> | ||
1433 | 67 | <metadata | ||
1434 | 68 | id="metadata2887"> | ||
1435 | 69 | <rdf:RDF> | ||
1436 | 70 | <cc:Work | ||
1437 | 71 | rdf:about=""> | ||
1438 | 72 | <dc:format>image/svg+xml</dc:format> | ||
1439 | 73 | <dc:type | ||
1440 | 74 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
1441 | 75 | </cc:Work> | ||
1442 | 76 | </rdf:RDF> | ||
1443 | 77 | </metadata> | ||
1444 | 78 | <g | ||
1445 | 79 | inkscape:label="Layer 1" | ||
1446 | 80 | inkscape:groupmode="layer" | ||
1447 | 81 | id="layer1" | ||
1448 | 82 | style="display:inline"> | ||
1449 | 83 | <rect | ||
1450 | 84 | style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:0.99000001;stroke-miterlimit:4.4000001;stroke-dasharray:0.99, 5.94;stroke-dashoffset:0" | ||
1451 | 85 | id="rect2898" | ||
1452 | 86 | width="1314.2858" | ||
1453 | 87 | height="1062.8572" | ||
1454 | 88 | x="-337.14288" | ||
1455 | 89 | y="-291.42859" | ||
1456 | 90 | ry="21.73378" /> | ||
1457 | 91 | <text | ||
1458 | 92 | xml:space="preserve" | ||
1459 | 93 | style="font-size:100px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Technique BRK;-inkscape-font-specification:Technique BRK" | ||
1460 | 94 | x="19.284374" | ||
1461 | 95 | y="470" | ||
1462 | 96 | id="text2892" | ||
1463 | 97 | sodipodi:linespacing="100%"><tspan | ||
1464 | 98 | sodipodi:role="line" | ||
1465 | 99 | id="tspan2894" | ||
1466 | 100 | x="19.284374" | ||
1467 | 101 | y="470">Wah!Cade</tspan></text> | ||
1468 | 102 | <rect | ||
1469 | 103 | style="opacity:1;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1.70753038;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||
1470 | 104 | id="rect2398" | ||
1471 | 105 | width="600" | ||
1472 | 106 | height="48.292469" | ||
1473 | 107 | x="20" | ||
1474 | 108 | y="10" | ||
1475 | 109 | ry="10.747403" /> | ||
1476 | 110 | </g> | ||
1477 | 111 | </svg> | ||
1478 | 0 | 112 | ||
1479 | === added directory 'config.dist/layouts/simple_800x600' | |||
1480 | === added file 'config.dist/layouts/simple_800x600/layout.lay' | |||
1481 | --- config.dist/layouts/simple_800x600/layout.lay 1970-01-01 00:00:00 +0000 | |||
1482 | +++ config.dist/layouts/simple_800x600/layout.lay 2011-03-03 21:06:42 +0000 | |||
1483 | @@ -0,0 +1,551 @@ | |||
1484 | 1 | 800 | ||
1485 | 2 | 600 | ||
1486 | 3 | 0 | ||
1487 | 4 | main.png | ||
1488 | 5 | 1 | ||
1489 | 6 | 5066061 | ||
1490 | 7 | 16777215 | ||
1491 | 8 | False | ||
1492 | 9 | 0 | ||
1493 | 10 | 8421504 | ||
1494 | 11 | 16777215 | ||
1495 | 12 | Sans | ||
1496 | 13 | True | ||
1497 | 14 | False | ||
1498 | 15 | 9.75 | ||
1499 | 16 | 2 | ||
1500 | 17 | 342 | ||
1501 | 18 | 0 | ||
1502 | 19 | 340 | ||
1503 | 20 | 36 | ||
1504 | 21 | True | ||
1505 | 22 | 1 | ||
1506 | 23 | 0 | ||
1507 | 24 | 16777215 | ||
1508 | 25 | Arial | ||
1509 | 26 | True | ||
1510 | 27 | False | ||
1511 | 28 | 16.0 | ||
1512 | 29 | 2 | ||
1513 | 30 | 25 | ||
1514 | 31 | 19 | ||
1515 | 32 | 370 | ||
1516 | 33 | 30 | ||
1517 | 34 | True | ||
1518 | 35 | 1 | ||
1519 | 36 | 0 | ||
1520 | 37 | 16777215 | ||
1521 | 38 | Arial | ||
1522 | 39 | True | ||
1523 | 40 | False | ||
1524 | 41 | 16.0 | ||
1525 | 42 | 2 | ||
1526 | 43 | 404 | ||
1527 | 44 | 19 | ||
1528 | 45 | 370 | ||
1529 | 46 | 30 | ||
1530 | 47 | True | ||
1531 | 48 | 1 | ||
1532 | 49 | 0 | ||
1533 | 50 | 16777215 | ||
1534 | 51 | Arial | ||
1535 | 52 | True | ||
1536 | 53 | False | ||
1537 | 54 | 16.0 | ||
1538 | 55 | 2 | ||
1539 | 56 | 26 | ||
1540 | 57 | 65 | ||
1541 | 58 | 749 | ||
1542 | 59 | 424 | ||
1543 | 60 | True | ||
1544 | 61 | 1 | ||
1545 | 62 | 0 | ||
1546 | 63 | 255 | ||
1547 | 64 | Sans | ||
1548 | 65 | True | ||
1549 | 66 | False | ||
1550 | 67 | 9.75 | ||
1551 | 68 | 2 | ||
1552 | 69 | 0 | ||
1553 | 70 | 767 | ||
1554 | 71 | 510 | ||
1555 | 72 | 20 | ||
1556 | 73 | False | ||
1557 | 74 | 1 | ||
1558 | 75 | 8421504 | ||
1559 | 76 | 16777215 | ||
1560 | 77 | Sans | ||
1561 | 78 | True | ||
1562 | 79 | False | ||
1563 | 80 | 9.75 | ||
1564 | 81 | 2 | ||
1565 | 82 | 540 | ||
1566 | 83 | 231 | ||
1567 | 84 | 270 | ||
1568 | 85 | 205 | ||
1569 | 86 | False | ||
1570 | 87 | 1 | ||
1571 | 88 | 8421504 | ||
1572 | 89 | 16777215 | ||
1573 | 90 | Sans | ||
1574 | 91 | True | ||
1575 | 92 | False | ||
1576 | 93 | 9.75 | ||
1577 | 94 | 2 | ||
1578 | 95 | 328 | ||
1579 | 96 | 40 | ||
1580 | 97 | 320 | ||
1581 | 98 | 277 | ||
1582 | 99 | False | ||
1583 | 100 | 1 | ||
1584 | 101 | 8421504 | ||
1585 | 102 | 16777215 | ||
1586 | 103 | Sans | ||
1587 | 104 | True | ||
1588 | 105 | False | ||
1589 | 106 | 9.75 | ||
1590 | 107 | 2 | ||
1591 | 108 | 336 | ||
1592 | 109 | 40 | ||
1593 | 110 | 320 | ||
1594 | 111 | 277 | ||
1595 | 112 | False | ||
1596 | 113 | 1 | ||
1597 | 114 | 8421504 | ||
1598 | 115 | 16777215 | ||
1599 | 116 | Sans | ||
1600 | 117 | True | ||
1601 | 118 | False | ||
1602 | 119 | 9.75 | ||
1603 | 120 | 2 | ||
1604 | 121 | 344 | ||
1605 | 122 | 40 | ||
1606 | 123 | 320 | ||
1607 | 124 | 277 | ||
1608 | 125 | False | ||
1609 | 126 | 1 | ||
1610 | 127 | 8421504 | ||
1611 | 128 | 16777215 | ||
1612 | 129 | Sans | ||
1613 | 130 | True | ||
1614 | 131 | False | ||
1615 | 132 | 9.75 | ||
1616 | 133 | 2 | ||
1617 | 134 | 352 | ||
1618 | 135 | 40 | ||
1619 | 136 | 320 | ||
1620 | 137 | 277 | ||
1621 | 138 | False | ||
1622 | 139 | 1 | ||
1623 | 140 | 8421504 | ||
1624 | 141 | 16777215 | ||
1625 | 142 | Sans | ||
1626 | 143 | True | ||
1627 | 144 | False | ||
1628 | 145 | 9.75 | ||
1629 | 146 | 2 | ||
1630 | 147 | 360 | ||
1631 | 148 | 40 | ||
1632 | 149 | 320 | ||
1633 | 150 | 277 | ||
1634 | 151 | False | ||
1635 | 152 | 1 | ||
1636 | 153 | 8421504 | ||
1637 | 154 | 16777215 | ||
1638 | 155 | Sans | ||
1639 | 156 | True | ||
1640 | 157 | False | ||
1641 | 158 | 9.75 | ||
1642 | 159 | 2 | ||
1643 | 160 | 368 | ||
1644 | 161 | 40 | ||
1645 | 162 | 320 | ||
1646 | 163 | 277 | ||
1647 | 164 | False | ||
1648 | 165 | 1 | ||
1649 | 166 | 8421504 | ||
1650 | 167 | 16777215 | ||
1651 | 168 | Sans | ||
1652 | 169 | True | ||
1653 | 170 | False | ||
1654 | 171 | 9.75 | ||
1655 | 172 | 2 | ||
1656 | 173 | 376 | ||
1657 | 174 | 40 | ||
1658 | 175 | 320 | ||
1659 | 176 | 277 | ||
1660 | 177 | False | ||
1661 | 178 | 1 | ||
1662 | 179 | 8421504 | ||
1663 | 180 | 16777215 | ||
1664 | 181 | Sans | ||
1665 | 182 | True | ||
1666 | 183 | False | ||
1667 | 184 | 9.75 | ||
1668 | 185 | 2 | ||
1669 | 186 | 384 | ||
1670 | 187 | 40 | ||
1671 | 188 | 320 | ||
1672 | 189 | 277 | ||
1673 | 190 | False | ||
1674 | 191 | 1 | ||
1675 | 192 | 8421504 | ||
1676 | 193 | 16777215 | ||
1677 | 194 | Sans | ||
1678 | 195 | True | ||
1679 | 196 | False | ||
1680 | 197 | 9.75 | ||
1681 | 198 | 2 | ||
1682 | 199 | 392 | ||
1683 | 200 | 40 | ||
1684 | 201 | 320 | ||
1685 | 202 | 277 | ||
1686 | 203 | False | ||
1687 | 204 | 1 | ||
1688 | 205 | 0 | ||
1689 | 206 | 13408512 | ||
1690 | 207 | Sans | ||
1691 | 208 | True | ||
1692 | 209 | False | ||
1693 | 210 | 9.75 | ||
1694 | 211 | 2 | ||
1695 | 212 | 514 | ||
1696 | 213 | 602 | ||
1697 | 214 | 510 | ||
1698 | 215 | 40 | ||
1699 | 216 | False | ||
1700 | 217 | 1 | ||
1701 | 218 | 0 | ||
1702 | 219 | 16777215 | ||
1703 | 220 | Sans | ||
1704 | 221 | True | ||
1705 | 222 | False | ||
1706 | 223 | 9.75 | ||
1707 | 224 | 2 | ||
1708 | 225 | 514 | ||
1709 | 226 | 643 | ||
1710 | 227 | 510 | ||
1711 | 228 | 20 | ||
1712 | 229 | False | ||
1713 | 230 | 1 | ||
1714 | 231 | 0 | ||
1715 | 232 | 16777215 | ||
1716 | 233 | Sans | ||
1717 | 234 | True | ||
1718 | 235 | False | ||
1719 | 236 | 9.75 | ||
1720 | 237 | 2 | ||
1721 | 238 | 514 | ||
1722 | 239 | 664 | ||
1723 | 240 | 510 | ||
1724 | 241 | 20 | ||
1725 | 242 | False | ||
1726 | 243 | 1 | ||
1727 | 244 | 0 | ||
1728 | 245 | 16777215 | ||
1729 | 246 | Sans | ||
1730 | 247 | True | ||
1731 | 248 | False | ||
1732 | 249 | 9.75 | ||
1733 | 250 | 2 | ||
1734 | 251 | 514 | ||
1735 | 252 | 685 | ||
1736 | 253 | 510 | ||
1737 | 254 | 20 | ||
1738 | 255 | False | ||
1739 | 256 | 1 | ||
1740 | 257 | 0 | ||
1741 | 258 | 16777215 | ||
1742 | 259 | Sans | ||
1743 | 260 | True | ||
1744 | 261 | False | ||
1745 | 262 | 9.75 | ||
1746 | 263 | 2 | ||
1747 | 264 | 514 | ||
1748 | 265 | 706 | ||
1749 | 266 | 510 | ||
1750 | 267 | 20 | ||
1751 | 268 | False | ||
1752 | 269 | 1 | ||
1753 | 270 | 0 | ||
1754 | 271 | 16777215 | ||
1755 | 272 | Sans | ||
1756 | 273 | True | ||
1757 | 274 | False | ||
1758 | 275 | 9.75 | ||
1759 | 276 | 2 | ||
1760 | 277 | 514 | ||
1761 | 278 | 727 | ||
1762 | 279 | 510 | ||
1763 | 280 | 20 | ||
1764 | 281 | False | ||
1765 | 282 | 1 | ||
1766 | 283 | 0 | ||
1767 | 284 | 16777215 | ||
1768 | 285 | Sans | ||
1769 | 286 | True | ||
1770 | 287 | False | ||
1771 | 288 | 9.75 | ||
1772 | 289 | 2 | ||
1773 | 290 | 514 | ||
1774 | 291 | 748 | ||
1775 | 292 | 510 | ||
1776 | 293 | 20 | ||
1777 | 294 | 305 | ||
1778 | 295 | 330 | ||
1779 | 296 | 3289650 | ||
1780 | 297 | |||
1781 | 298 | 1 | ||
1782 | 299 | 10485760 | ||
1783 | 300 | 16777215 | ||
1784 | 301 | True | ||
1785 | 302 | 1 | ||
1786 | 303 | 3289650 | ||
1787 | 304 | 255 | ||
1788 | 305 | Sans | ||
1789 | 306 | True | ||
1790 | 307 | False | ||
1791 | 308 | 9.75 | ||
1792 | 309 | 2 | ||
1793 | 310 | 0 | ||
1794 | 311 | 5 | ||
1795 | 312 | 305 | ||
1796 | 313 | 20 | ||
1797 | 314 | True | ||
1798 | 315 | 1 | ||
1799 | 316 | 3289650 | ||
1800 | 317 | 65280 | ||
1801 | 318 | Sans | ||
1802 | 319 | True | ||
1803 | 320 | False | ||
1804 | 321 | 9.75 | ||
1805 | 322 | 2 | ||
1806 | 323 | 0 | ||
1807 | 324 | 32 | ||
1808 | 325 | 305 | ||
1809 | 326 | 225 | ||
1810 | 327 | True | ||
1811 | 328 | 1 | ||
1812 | 329 | 3289650 | ||
1813 | 330 | 16777215 | ||
1814 | 331 | Sans | ||
1815 | 332 | True | ||
1816 | 333 | False | ||
1817 | 334 | 9.75 | ||
1818 | 335 | 2 | ||
1819 | 336 | 0 | ||
1820 | 337 | 259 | ||
1821 | 338 | 305 | ||
1822 | 339 | 20 | ||
1823 | 340 | True | ||
1824 | 341 | 1 | ||
1825 | 342 | 3289650 | ||
1826 | 343 | 13408512 | ||
1827 | 344 | Sans | ||
1828 | 345 | True | ||
1829 | 346 | False | ||
1830 | 347 | 9.75 | ||
1831 | 348 | 2 | ||
1832 | 349 | 0 | ||
1833 | 350 | 281 | ||
1834 | 351 | 305 | ||
1835 | 352 | 45 | ||
1836 | 353 | 337 | ||
1837 | 354 | 260 | ||
1838 | 355 | 3289650 | ||
1839 | 356 | |||
1840 | 357 | True | ||
1841 | 358 | 1 | ||
1842 | 359 | 3289650 | ||
1843 | 360 | 255 | ||
1844 | 361 | Sans | ||
1845 | 362 | True | ||
1846 | 363 | False | ||
1847 | 364 | 9.75 | ||
1848 | 365 | 2 | ||
1849 | 366 | 0 | ||
1850 | 367 | 32 | ||
1851 | 368 | 337 | ||
1852 | 369 | 20 | ||
1853 | 370 | True | ||
1854 | 371 | 1 | ||
1855 | 372 | 3289650 | ||
1856 | 373 | 65280 | ||
1857 | 374 | Sans | ||
1858 | 375 | True | ||
1859 | 376 | False | ||
1860 | 377 | 9.75 | ||
1861 | 378 | 2 | ||
1862 | 379 | 0 | ||
1863 | 380 | 80 | ||
1864 | 381 | 337 | ||
1865 | 382 | 113 | ||
1866 | 383 | True | ||
1867 | 384 | 1 | ||
1868 | 385 | 3289650 | ||
1869 | 386 | 13408512 | ||
1870 | 387 | Sans | ||
1871 | 388 | True | ||
1872 | 389 | False | ||
1873 | 390 | 9.75 | ||
1874 | 391 | 2 | ||
1875 | 392 | 0 | ||
1876 | 393 | 200 | ||
1877 | 394 | 337 | ||
1878 | 395 | 40 | ||
1879 | 396 | True | ||
1880 | 397 | 0 | ||
1881 | 398 | 8421504 | ||
1882 | 399 | 16777215 | ||
1883 | 400 | Sans | ||
1884 | 401 | True | ||
1885 | 402 | False | ||
1886 | 403 | 9.75 | ||
1887 | 404 | 2 | ||
1888 | 405 | 0 | ||
1889 | 406 | 0 | ||
1890 | 407 | 1024 | ||
1891 | 408 | 720 | ||
1892 | 409 | False | ||
1893 | 410 | 0 | ||
1894 | 411 | 8421504 | ||
1895 | 412 | 16777215 | ||
1896 | 413 | Sans | ||
1897 | 414 | True | ||
1898 | 415 | False | ||
1899 | 416 | 9.75 | ||
1900 | 417 | 2 | ||
1901 | 418 | 524 | ||
1902 | 419 | 0 | ||
1903 | 420 | 500 | ||
1904 | 421 | 400 | ||
1905 | 422 | False | ||
1906 | 423 | 0 | ||
1907 | 424 | 8421504 | ||
1908 | 425 | 16777215 | ||
1909 | 426 | Sans | ||
1910 | 427 | True | ||
1911 | 428 | False | ||
1912 | 429 | 9.75 | ||
1913 | 430 | 2 | ||
1914 | 431 | 0 | ||
1915 | 432 | 401 | ||
1916 | 433 | 1024 | ||
1917 | 434 | 87 | ||
1918 | 435 | False | ||
1919 | 436 | 0 | ||
1920 | 437 | 8421504 | ||
1921 | 438 | 16777215 | ||
1922 | 439 | Sans | ||
1923 | 440 | True | ||
1924 | 441 | False | ||
1925 | 442 | 9.75 | ||
1926 | 443 | 2 | ||
1927 | 444 | 30 | ||
1928 | 445 | 0 | ||
1929 | 446 | 640 | ||
1930 | 447 | 430 | ||
1931 | 448 | False | ||
1932 | 449 | 0 | ||
1933 | 450 | 8421504 | ||
1934 | 451 | 16777215 | ||
1935 | 452 | Sans | ||
1936 | 453 | True | ||
1937 | 454 | False | ||
1938 | 455 | 9.75 | ||
1939 | 456 | 2 | ||
1940 | 457 | 40 | ||
1941 | 458 | 0 | ||
1942 | 459 | 640 | ||
1943 | 460 | 430 | ||
1944 | 461 | False | ||
1945 | 462 | 0 | ||
1946 | 463 | 8421504 | ||
1947 | 464 | 16777215 | ||
1948 | 465 | Sans | ||
1949 | 466 | True | ||
1950 | 467 | False | ||
1951 | 468 | 9.75 | ||
1952 | 469 | 2 | ||
1953 | 470 | 50 | ||
1954 | 471 | 0 | ||
1955 | 472 | 640 | ||
1956 | 473 | 430 | ||
1957 | 474 | False | ||
1958 | 475 | 0 | ||
1959 | 476 | 8421504 | ||
1960 | 477 | 16777215 | ||
1961 | 478 | Sans | ||
1962 | 479 | True | ||
1963 | 480 | False | ||
1964 | 481 | 9.75 | ||
1965 | 482 | 2 | ||
1966 | 483 | 60 | ||
1967 | 484 | 0 | ||
1968 | 485 | 640 | ||
1969 | 486 | 430 | ||
1970 | 487 | False | ||
1971 | 488 | 0 | ||
1972 | 489 | 8421504 | ||
1973 | 490 | 16777215 | ||
1974 | 491 | Sans | ||
1975 | 492 | True | ||
1976 | 493 | False | ||
1977 | 494 | 9.75 | ||
1978 | 495 | 2 | ||
1979 | 496 | 70 | ||
1980 | 497 | 0 | ||
1981 | 498 | 640 | ||
1982 | 499 | 430 | ||
1983 | 500 | False | ||
1984 | 501 | 0 | ||
1985 | 502 | 8421504 | ||
1986 | 503 | 16777215 | ||
1987 | 504 | Sans | ||
1988 | 505 | True | ||
1989 | 506 | False | ||
1990 | 507 | 9.75 | ||
1991 | 508 | 2 | ||
1992 | 509 | 80 | ||
1993 | 510 | 0 | ||
1994 | 511 | 640 | ||
1995 | 512 | 430 | ||
1996 | 513 | False | ||
1997 | 514 | 0 | ||
1998 | 515 | 8421504 | ||
1999 | 516 | 16777215 | ||
2000 | 517 | Sans | ||
2001 | 518 | True | ||
2002 | 519 | False | ||
2003 | 520 | 9.75 | ||
2004 | 521 | 2 | ||
2005 | 522 | 90 | ||
2006 | 523 | 0 | ||
2007 | 524 | 640 | ||
2008 | 525 | 430 | ||
2009 | 526 | True | ||
2010 | 527 | 1 | ||
2011 | 528 | 0 | ||
2012 | 529 | 13408512 | ||
2013 | 530 | Sans | ||
2014 | 531 | True | ||
2015 | 532 | False | ||
2016 | 533 | 9.75 | ||
2017 | 534 | 2 | ||
2018 | 535 | 0 | ||
2019 | 536 | 726 | ||
2020 | 537 | 1024 | ||
2021 | 538 | 20 | ||
2022 | 539 | True | ||
2023 | 540 | 1 | ||
2024 | 541 | 0 | ||
2025 | 542 | 16777215 | ||
2026 | 543 | Sans | ||
2027 | 544 | True | ||
2028 | 545 | False | ||
2029 | 546 | 9.75 | ||
2030 | 547 | 2 | ||
2031 | 548 | 0 | ||
2032 | 549 | 748 | ||
2033 | 550 | 1024 | ||
2034 | 551 | 20 | ||
2035 | 0 | 552 | ||
2036 | === added file 'config.dist/layouts/simple_800x600/main.png' | |||
2037 | 1 | Binary files config.dist/layouts/simple_800x600/main.png 1970-01-01 00:00:00 +0000 and config.dist/layouts/simple_800x600/main.png 2011-03-03 21:06:42 +0000 differ | 553 | Binary files config.dist/layouts/simple_800x600/main.png 1970-01-01 00:00:00 +0000 and config.dist/layouts/simple_800x600/main.png 2011-03-03 21:06:42 +0000 differ |
2038 | === added file 'config.dist/layouts/simple_800x600/main.svg' | |||
2039 | --- config.dist/layouts/simple_800x600/main.svg 1970-01-01 00:00:00 +0000 | |||
2040 | +++ config.dist/layouts/simple_800x600/main.svg 2011-03-03 21:06:42 +0000 | |||
2041 | @@ -0,0 +1,111 @@ | |||
2042 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2043 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
2044 | 3 | <svg | ||
2045 | 4 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
2046 | 5 | xmlns:cc="http://creativecommons.org/ns#" | ||
2047 | 6 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
2048 | 7 | xmlns:svg="http://www.w3.org/2000/svg" | ||
2049 | 8 | xmlns="http://www.w3.org/2000/svg" | ||
2050 | 9 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
2051 | 10 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
2052 | 11 | width="800" | ||
2053 | 12 | height="600" | ||
2054 | 13 | id="svg2882" | ||
2055 | 14 | sodipodi:version="0.32" | ||
2056 | 15 | inkscape:version="0.46" | ||
2057 | 16 | version="1.0" | ||
2058 | 17 | sodipodi:docname="Simple List.svg" | ||
2059 | 18 | inkscape:output_extension="org.inkscape.output.svg.inkscape" | ||
2060 | 19 | inkscape:export-filename="/home/richard/.wahcade/layouts/Simple_1024x768/Simple List.png" | ||
2061 | 20 | inkscape:export-xdpi="90" | ||
2062 | 21 | inkscape:export-ydpi="90"> | ||
2063 | 22 | <defs | ||
2064 | 23 | id="defs2884"> | ||
2065 | 24 | <inkscape:perspective | ||
2066 | 25 | sodipodi:type="inkscape:persp3d" | ||
2067 | 26 | inkscape:vp_x="0 : 526.18109 : 1" | ||
2068 | 27 | inkscape:vp_y="0 : 1000 : 0" | ||
2069 | 28 | inkscape:vp_z="744.09448 : 526.18109 : 1" | ||
2070 | 29 | inkscape:persp3d-origin="372.04724 : 350.78739 : 1" | ||
2071 | 30 | id="perspective2890" /> | ||
2072 | 31 | </defs> | ||
2073 | 32 | <sodipodi:namedview | ||
2074 | 33 | id="base" | ||
2075 | 34 | pagecolor="#ffffff" | ||
2076 | 35 | bordercolor="#666666" | ||
2077 | 36 | borderopacity="1.0" | ||
2078 | 37 | gridtolerance="10000" | ||
2079 | 38 | guidetolerance="10" | ||
2080 | 39 | objecttolerance="10" | ||
2081 | 40 | inkscape:pageopacity="0.0" | ||
2082 | 41 | inkscape:pageshadow="2" | ||
2083 | 42 | inkscape:zoom="0.23758383" | ||
2084 | 43 | inkscape:cx="-69.308041" | ||
2085 | 44 | inkscape:cy="306.04419" | ||
2086 | 45 | inkscape:document-units="px" | ||
2087 | 46 | inkscape:current-layer="layer1" | ||
2088 | 47 | showgrid="false" | ||
2089 | 48 | inkscape:showpageshadow="false" | ||
2090 | 49 | showborder="true" | ||
2091 | 50 | borderlayer="true" | ||
2092 | 51 | inkscape:window-width="1024" | ||
2093 | 52 | inkscape:window-height="702" | ||
2094 | 53 | inkscape:window-x="0" | ||
2095 | 54 | inkscape:window-y="24" | ||
2096 | 55 | showguides="false" | ||
2097 | 56 | inkscape:guide-bbox="true"> | ||
2098 | 57 | <sodipodi:guide | ||
2099 | 58 | orientation="1,0" | ||
2100 | 59 | position="616.18447,386.90653" | ||
2101 | 60 | id="guide3692" /> | ||
2102 | 61 | <inkscape:grid | ||
2103 | 62 | type="xygrid" | ||
2104 | 63 | id="grid4014" | ||
2105 | 64 | visible="true" | ||
2106 | 65 | enabled="true" /> | ||
2107 | 66 | </sodipodi:namedview> | ||
2108 | 67 | <metadata | ||
2109 | 68 | id="metadata2887"> | ||
2110 | 69 | <rdf:RDF> | ||
2111 | 70 | <cc:Work | ||
2112 | 71 | rdf:about=""> | ||
2113 | 72 | <dc:format>image/svg+xml</dc:format> | ||
2114 | 73 | <dc:type | ||
2115 | 74 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
2116 | 75 | </cc:Work> | ||
2117 | 76 | </rdf:RDF> | ||
2118 | 77 | </metadata> | ||
2119 | 78 | <g | ||
2120 | 79 | inkscape:label="Layer 1" | ||
2121 | 80 | inkscape:groupmode="layer" | ||
2122 | 81 | id="layer1" | ||
2123 | 82 | style="display:inline"> | ||
2124 | 83 | <rect | ||
2125 | 84 | style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:0.99000001;stroke-miterlimit:4.4000001;stroke-dasharray:0.99, 5.94;stroke-dashoffset:0" | ||
2126 | 85 | id="rect2898" | ||
2127 | 86 | width="1314.2858" | ||
2128 | 87 | height="1062.8572" | ||
2129 | 88 | x="-257.14288" | ||
2130 | 89 | y="-231.42859" | ||
2131 | 90 | ry="21.73378" /> | ||
2132 | 91 | <text | ||
2133 | 92 | xml:space="preserve" | ||
2134 | 93 | style="font-size:100px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Technique BRK;-inkscape-font-specification:Technique BRK" | ||
2135 | 94 | x="99.284378" | ||
2136 | 95 | y="590" | ||
2137 | 96 | id="text2892" | ||
2138 | 97 | sodipodi:linespacing="100%"><tspan | ||
2139 | 98 | sodipodi:role="line" | ||
2140 | 99 | id="tspan2894" | ||
2141 | 100 | x="99.284378" | ||
2142 | 101 | y="590">Wah!Cade</tspan></text> | ||
2143 | 102 | <rect | ||
2144 | 103 | style="opacity:1;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1.70753038;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" | ||
2145 | 104 | id="rect2398" | ||
2146 | 105 | width="760" | ||
2147 | 106 | height="48.292469" | ||
2148 | 107 | x="20" | ||
2149 | 108 | y="10" | ||
2150 | 109 | ry="10.747403" /> | ||
2151 | 110 | </g> | ||
2152 | 111 | </svg> | ||
2153 | 0 | 112 | ||
2154 | === modified file 'config.dist/wahcade.ini' | |||
2155 | --- config.dist/wahcade.ini 2009-01-07 17:51:46 +0000 | |||
2156 | +++ config.dist/wahcade.ini 2011-03-03 21:06:42 +0000 | |||
2157 | @@ -1,9 +1,11 @@ | |||
2158 | 1 | ### wahcade.ini (wahcade v0.99) ### | 1 | ### wahcade.ini (wahcade v0.99) ### |
2159 | 2 | 2 | ||
2161 | 3 | ### Addtionnal Wah!Cade Options ### | 3 | ### Addtional Wah!Cade Options (not used by MameWAH) ### |
2162 | 4 | fullscreen 1 | 4 | fullscreen 1 |
2163 | 5 | setup_window_size 400x200 | 5 | setup_window_size 400x200 |
2164 | 6 | layout_orientation 0 | 6 | layout_orientation 0 |
2165 | 7 | show_list_arrows 0 | ||
2166 | 8 | shuffle_music 0 | ||
2167 | 7 | 9 | ||
2168 | 8 | ### (Global) Screen-Saver Options ### | 10 | ### (Global) Screen-Saver Options ### |
2169 | 9 | delay 300 | 11 | delay 300 |
2170 | @@ -12,13 +14,13 @@ | |||
2171 | 12 | ### Audio Options ### | 14 | ### Audio Options ### |
2172 | 13 | enable_sounds 0 | 15 | enable_sounds 0 |
2173 | 14 | sound_volume 100 | 16 | sound_volume 100 |
2175 | 15 | music_path | 17 | music_path |
2176 | 16 | enable_music 0 | 18 | enable_music 0 |
2177 | 17 | music_volume 70 | 19 | music_volume 70 |
2178 | 18 | 20 | ||
2179 | 19 | ### Movie Options ### | 21 | ### Movie Options ### |
2182 | 20 | intro_movie_file | 22 | intro_movie_file |
2183 | 21 | exit_movie_file | 23 | exit_movie_file |
2184 | 22 | keep_movie_preview_aspect game_aspect | 24 | keep_movie_preview_aspect game_aspect |
2185 | 23 | delay_before_movie_preview 7 | 25 | delay_before_movie_preview 7 |
2186 | 24 | music_movie_mix mute_movies | 26 | music_movie_mix mute_movies |
2187 | @@ -35,14 +37,14 @@ | |||
2188 | 35 | safe_mode 0 | 37 | safe_mode 0 |
2189 | 36 | show_cursor 0 | 38 | show_cursor 0 |
2190 | 37 | keyboard_led_states -,-,- | 39 | keyboard_led_states -,-,- |
2193 | 38 | winipac_file | 40 | winipac_file |
2194 | 39 | mamewah_ipc_file | 41 | mamewah_ipc_file |
2195 | 40 | lcd_com_port 1 | 42 | lcd_com_port 1 |
2197 | 41 | lcd_settings | 43 | lcd_settings |
2198 | 42 | exit_action choice | 44 | exit_action choice |
2200 | 43 | app_to_run_on_exit | 45 | app_to_run_on_exit |
2201 | 44 | 46 | ||
2202 | 45 | ### Settings used by MAMEWAH ### | 47 | ### Settings used by MAMEWAH ### |
2203 | 46 | current_emulator mame | 48 | current_emulator mame |
2204 | 47 | locked 0 | 49 | locked 0 |
2206 | 48 | last_ipc | 50 | last_ipc |
2207 | 49 | 51 | ||
2208 | === modified file 'constants.py' | |||
2209 | --- constants.py 2009-01-07 17:51:46 +0000 | |||
2210 | +++ constants.py 2011-03-03 21:06:42 +0000 | |||
2211 | @@ -4,7 +4,7 @@ | |||
2212 | 4 | # Application: wah!cade | 4 | # Application: wah!cade |
2213 | 5 | # File: constants.py | 5 | # File: constants.py |
2214 | 6 | # Description: constants file | 6 | # Description: constants file |
2216 | 7 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 7 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
2217 | 8 | ### | 8 | ### |
2218 | 9 | # | 9 | # |
2219 | 10 | # This program is free software; you can redistribute it and/or modify | 10 | # This program is free software; you can redistribute it and/or modify |
2220 | @@ -30,8 +30,9 @@ | |||
2221 | 30 | #application constants | 30 | #application constants |
2222 | 31 | APP_NAME = 'wahcade' | 31 | APP_NAME = 'wahcade' |
2223 | 32 | APP_PATH = os.path.abspath(os.getcwd()) | 32 | APP_PATH = os.path.abspath(os.getcwd()) |
2226 | 33 | VERSION = '0.99pre5' | 33 | CONFIG_DIR = os.path.expanduser('~/.wahcade') |
2227 | 34 | VERSION_NAME = "Themed Indeed" | 34 | VERSION = '1.0pre1' |
2228 | 35 | VERSION_NAME = "Here we are" | ||
2229 | 35 | LAYOUT_GLADE_FILE = os.path.join(APP_PATH, 'glade', 'layout_editor.glade') | 36 | LAYOUT_GLADE_FILE = os.path.join(APP_PATH, 'glade', 'layout_editor.glade') |
2230 | 36 | SETUP_GLADE_FILE = os.path.join(APP_PATH, 'glade', 'wahcade_setup.glade') | 37 | SETUP_GLADE_FILE = os.path.join(APP_PATH, 'glade', 'wahcade_setup.glade') |
2231 | 37 | LOCALE_DIR = os.path.join(APP_PATH, 'locale') | 38 | LOCALE_DIR = os.path.join(APP_PATH, 'locale') |
2232 | @@ -49,9 +50,9 @@ | |||
2233 | 49 | MAME_INI_FILES = ['mame', 'xmame', 'sdlmame', 'advmame', 'mame32', 'mameosx'] | 50 | MAME_INI_FILES = ['mame', 'xmame', 'sdlmame', 'advmame', 'mame32', 'mameosx'] |
2234 | 50 | 51 | ||
2235 | 51 | #file types | 52 | #file types |
2239 | 52 | IMAGE_FILETYPES= ['png', 'jpg', 'jpeg', 'bmp', 'gif'] | 53 | IMAGE_FILETYPES= ['jpg', 'jpeg', 'png', 'bmp', 'gif'] |
2240 | 53 | MOVIE_FILETYPES= ['avi', 'mpg', 'ogg', 'ogv'] | 54 | MOVIE_FILETYPES= ['avi', 'mpg', 'mpeg', 'ogg', 'ogv', 'mp4', 'mov', 'wmv', 'flv', 'mkv'] |
2241 | 54 | MUSIC_FILESPEC = '*.ogg;*.oga;*.mp3;*.flac' | 55 | MUSIC_FILESPEC = '*.ogg;*.oga;*.mp3;*.flac;*.mid' |
2242 | 55 | 56 | ||
2243 | 56 | #maximum number of lists per emulator | 57 | #maximum number of lists per emulator |
2244 | 57 | MAX_LISTS = 100 | 58 | MAX_LISTS = 100 |
2245 | @@ -79,4 +80,3 @@ | |||
2246 | 79 | FTR_CLONES_NO = 0 | 80 | FTR_CLONES_NO = 0 |
2247 | 80 | FTR_CLONES_YES = 1 | 81 | FTR_CLONES_YES = 1 |
2248 | 81 | FTR_CLONES_BETTER = 2 | 82 | FTR_CLONES_BETTER = 2 |
2249 | 82 | |||
2250 | 83 | 83 | ||
2251 | === modified file 'doc/CHANGELOG' | |||
2252 | --- doc/CHANGELOG 2009-01-11 16:29:58 +0000 | |||
2253 | +++ doc/CHANGELOG 2011-03-03 21:06:42 +0000 | |||
2254 | @@ -1,13 +1,93 @@ | |||
2255 | 1 | Wah!Cade CHANGELOG | 1 | Wah!Cade CHANGELOG |
2256 | 2 | ================== | 2 | ================== |
2257 | 3 | 03.Mar.02011 - Movie fix done? Maybe? | ||
2258 | 4 | 07.Jan.02011 - Movie fix nearly completed. | ||
2259 | 5 | - Fixed "updatetotalgames()" bug when adding game ot list manually. | ||
2260 | 6 | 01.Oct.02010 - Added fix to remove_current_game. Thanks to Enrico Magrella. | ||
2261 | 7 | 27.May.02010 - Tweaked scrolled list row calcs. Thanks to sairuk for pointers. | ||
2262 | 8 | - Tweaked start / stop timer code. | ||
2263 | 9 | 09.May.02010 - Fixed #573073: setup crashes with sdlmame 0.137u3. Added | ||
2264 | 10 | "keyboard" to list of controller types. Thanks to iamlost. | ||
2265 | 11 | 22.Apr.02010 - Merged Wahcade Setup list changes from Enrico Magrella. | ||
2266 | 12 | 02.Apr.02010 - Made "scroll-fix" the default. Use "--old-key-handler" option to | ||
2267 | 13 | revert to old keyboard event handling method. | ||
2268 | 14 | 01.Apr.02010 - Added extra movie file types. Thanks to Vítor Baptista. | ||
2269 | 15 | 03.Feb.02010 - Added "--scroll-fix" workaround option to try and improve | ||
2270 | 16 | scrolling performance on systems that seem to have broken | ||
2271 | 17 | key-press / key-release events (e.g. ubuntu 9.10). | ||
2272 | 18 | - Requried minimum pygtk version is now 2.12. | ||
2273 | 19 | - Fixed bug in history viewer (caused by #376142). | ||
2274 | 20 | 01.Feb.02010 - Removed unneccessary gtk.glade dependency for most files. | ||
2275 | 21 | - Made config dir easier to change (now in constants.py). | ||
2276 | 22 | 21.Jan.02010 - Removed old gtk.Toolips() call. | ||
2277 | 23 | - Increased default height of wahcade-setup to 400 pixels. | ||
2278 | 24 | - Fixed video playback issue reported by alain40. | ||
2279 | 25 | 11.Jan.02010 - Changed filters.py to fix #376142. Thanks to Jason Carter for | ||
2280 | 26 | supplying the fix. | ||
2281 | 27 | 24.Dec.02009 - Adding midi files to music filespec. | ||
2282 | 28 | 19.Jul.02009 - Released 0.99pre8 "Could it be?". | ||
2283 | 29 | - Fixed empty game description which could appear in lists. | ||
2284 | 30 | - Fixed #400054: Missing games in filters. Thanks to 3vi1 for | ||
2285 | 31 | reporting this. | ||
2286 | 32 | 06.Jul.02009 - Added Italian translation. Thanks to Diego Pierotto. | ||
2287 | 33 | 28.Jun.02009 - Stoped music playing during intro / exit movies (reported by | ||
2288 | 34 | Pinball Wizard). | ||
2289 | 35 | - Added shuffle option for music playlists. | ||
2290 | 36 | - Use music_movie_mix in wahcade.ini (merge / mute_movie settings). | ||
2291 | 37 | 15.Jun.02009 - Fixed problem with cpviewler layout images. Thanks to the Pinball | ||
2292 | 38 | Wizard for spotting this. | ||
2293 | 39 | 10.Jun.02009 - Hopefully fixed bug #382247. Thanks to hamelg. | ||
2294 | 40 | 09.Jun.02009 - Fixed background image bug reported in the forums by dirkomatic. | ||
2295 | 41 | Please see the LAYOUT_EDITOR document for more information | ||
2296 | 42 | on how background images are selected. | ||
2297 | 43 | 19.May.02009 - Fixed small bug when writing ctrlr .ini file (missing " chars). | ||
2298 | 44 | - Fixed #377827: Launching emulator with alternative command-line | ||
2299 | 45 | options doesn't always work. Thanks to Jason Carter. | ||
2300 | 46 | 17.May.02009 - Added "no-pygame" option to disable all joystick use. | ||
2301 | 47 | This can be used in combination with --no-gstreamer to definitely | ||
2302 | 48 | stop Wah!Cade grabbing the sound device. | ||
2303 | 49 | - Added "simple" layouts from battlecat. | ||
2304 | 50 | - Fixed #318606: IndexError: list index out of range. | ||
2305 | 51 | 14.Apr.02009 - Pressing Escape key should close Property dialogs on Layout | ||
2306 | 52 | Editor. | ||
2307 | 53 | - Added mednafen-pce-tg16.ini template from battlecat. | ||
2308 | 54 | - Renamed mednafen.ini to madnafe-lynx.ini. | ||
2309 | 55 | 30.Mar.02009 - Released 0.99pre7 "Dizzy". | ||
2310 | 56 | 28.Mar.02009 - Fixed #350088: UnboundLocalError. | ||
2311 | 57 | - Added some debug text to get some more info on #318921. | ||
2312 | 58 | 27.Mar.02009 - Released 0.99pre6 "Flumped". | ||
2313 | 59 | 26.Mar.02009 - Added "no-gstreamer" option to disable all music / video. | ||
2314 | 60 | 16.Mar.02009 - Yet another attempt at fixing #318921 (joystick looping). | ||
2315 | 61 | 15.Mar.02009 - Another attempt at fixing #318921 (joystick looping). | ||
2316 | 62 | 02.Mar.02009 - Fix for #318877 (launch game with invalid external app). | ||
2317 | 63 | - Added mednafen (Zombie) and Vectrex (battlecat) templates. | ||
2318 | 64 | - Added new wahcade.ini option ("show_list_arrows"). Set to 1 to | ||
2319 | 65 | show scroll up/down arrows in Games, Options and History Lists. | ||
2320 | 66 | - Set delay_before_movie_preview to 0 to disable movie playback. | ||
2321 | 67 | 26.Feb.02009 - Formatted code according to (most) PEP8 standards. | ||
2322 | 68 | - Fixed bug that stopped Mame XML / Catver info from populating in | ||
2323 | 69 | Setup Editor. | ||
2324 | 70 | 05.Feb.02009 - Another tweak to scrolled_list.py (setattr). | ||
2325 | 71 | 04.Feb.02009 - Fixed potential bug in Setup Editor where mame settings might not | ||
2326 | 72 | get saved. | ||
2327 | 73 | - Partially fixed #324750 (controls.ini error). | ||
2328 | 74 | 03.Feb.02009 - New simpler version of Scrolled list - hopefully this will be | ||
2329 | 75 | faster. | ||
2330 | 76 | 27.Jan.02009 - Added functions to set busy / normal mouse cursor. | ||
2331 | 77 | - Possible fix for #318921 (joystick looping). | ||
2332 | 78 | 25.Jan.02009 - Fixed #318606 (bug when emulator exe does not exist). | ||
2333 | 79 | - Message window can now wait for a key press to continue. | ||
2334 | 80 | 19.Jan.02009 - Joystick test label now updates properly in Setup Editor. | ||
2335 | 81 | 16.Jan.02009 - Fixes for #317750 and #316668 (crashes on startup). | ||
2336 | 82 | - Released 0.99pre5.1 "Fixed Indeed". | ||
2337 | 3 | 11.Jan.02009 - Released 0.99pre5 "Themed Indeed". | 83 | 11.Jan.02009 - Released 0.99pre5 "Themed Indeed". |
2338 | 4 | 10.Jan.02009 - Fixed a few problems with list editor. | 84 | 10.Jan.02009 - Fixed a few problems with list editor. |
2339 | 5 | - List editor will now attempt to create a list if empty (#0 only). | 85 | - List editor will now attempt to create a list if empty (#0 only). |
2340 | 6 | - Added Daphne template from Gabesword. | 86 | - Added Daphne template from Gabesword. |
2341 | 7 | 04.Jan.02009 - Fixed Layout Editor screen sizing. | 87 | 04.Jan.02009 - Fixed Layout Editor screen sizing. |
2342 | 8 | 24.Dec.02008 - More rotation / layout rework. | 88 | 24.Dec.02008 - More rotation / layout rework. |
2345 | 9 | 23.Dec.02008 - Reworked rotation code. | 89 | 23.Dec.02008 - Reworked rotation code. |
2346 | 10 | 22.Dec.02008 - Fixed default layouts in Layout Editor. | 90 | 22.Dec.02008 - Fixed default layouts in Layout Editor. |
2347 | 11 | - Disabled Layout Drop down in Layout Editor as it keeps getting | 91 | - Disabled Layout Drop down in Layout Editor as it keeps getting |
2348 | 12 | the focus when it shouldn't. | 92 | the focus when it shouldn't. |
2349 | 13 | - Created a retro 90deg rotated theme. | 93 | - Created a retro 90deg rotated theme. |
2350 | @@ -21,7 +101,7 @@ | |||
2351 | 21 | - Fixed #308973: History Viewer Traceback Crash. | 101 | - Fixed #308973: History Viewer Traceback Crash. |
2352 | 22 | Thanks to battlecat for reporting this one. | 102 | Thanks to battlecat for reporting this one. |
2353 | 23 | 07.Dec.02008 - Finished "one window" changes. | 103 | 07.Dec.02008 - Finished "one window" changes. |
2355 | 24 | 05.Dec.02008 - Started change to use just "one window". Should fix lots of the | 104 | 05.Dec.02008 - Started change to use just "one window". Should fix lots of the |
2356 | 25 | focus problems. This should also fix the message window display. | 105 | focus problems. This should also fix the message window display. |
2357 | 26 | 30.Nov.02008 - Checked code into launchpad. | 106 | 30.Nov.02008 - Checked code into launchpad. |
2358 | 27 | - Fixed layout directory naming bug in setup.py. | 107 | - Fixed layout directory naming bug in setup.py. |
2359 | @@ -30,7 +110,7 @@ | |||
2360 | 30 | Thanks to blokeinlondon for reporting this. | 110 | Thanks to blokeinlondon for reporting this. |
2361 | 31 | 26.Nov.02008 - Fixed #301492: Screensaver - changes window type. | 111 | 26.Nov.02008 - Fixed #301492: Screensaver - changes window type. |
2362 | 32 | Thanks to spudgunman for reporting this. | 112 | Thanks to spudgunman for reporting this. |
2364 | 33 | 25.Nov.02008 - Wah!Cade bugs now on launchpad. | 113 | 25.Nov.02008 - Wah!Cade bugs now on launchpad. |
2365 | 34 | 23.Nov.02008 - Started re-theming work. Big thanks to everyone involved. | 114 | 23.Nov.02008 - Started re-theming work. Big thanks to everyone involved. |
2366 | 35 | - Added wahcade to launchpad (not the code yet). | 115 | - Added wahcade to launchpad (not the code yet). |
2367 | 36 | - Tried to fix "video / movie bug" reported by netfire. | 116 | - Tried to fix "video / movie bug" reported by netfire. |
2368 | @@ -39,7 +119,7 @@ | |||
2369 | 39 | by spudgunman. | 119 | by spudgunman. |
2370 | 40 | - Updated default control panel viewer layout. | 120 | - Updated default control panel viewer layout. |
2371 | 41 | 28.Oct.02008 - Added various Exit... keyboard shortcuts. | 121 | 28.Oct.02008 - Added various Exit... keyboard shortcuts. |
2373 | 42 | - Added hugo, mess (atari 800) emulator templates by Zombie. | 122 | - Added hugo, mess (atari 800) emulator templates by Zombie. |
2374 | 43 | 19.Oct.02008 - Added per list background images. See LAYOUT_EDITOR doc for more | 123 | 19.Oct.02008 - Added per list background images. See LAYOUT_EDITOR doc for more |
2375 | 44 | information. | 124 | information. |
2376 | 45 | - Fixed permssions in config.dist dir. This is probably causing | 125 | - Fixed permssions in config.dist dir. This is probably causing |
2377 | @@ -49,7 +129,7 @@ | |||
2378 | 49 | [clone_of], [display_type], [screen_type], [category]). | 129 | [clone_of], [display_type], [screen_type], [category]). |
2379 | 50 | - Better search for logo image for mame emulators. | 130 | - Better search for logo image for mame emulators. |
2380 | 51 | 15.Oct.02008 - Fixed current_list bug in mame .ini template files. Spotted by | 131 | 15.Oct.02008 - Fixed current_list bug in mame .ini template files. Spotted by |
2382 | 52 | bagleemo, msdin2002 and spudgunman. | 132 | bagleemo, msdin2002 and spudgunman. |
2383 | 53 | - Fixed missing PIL library warning message. Spotted by emarcellus. | 133 | - Fixed missing PIL library warning message. Spotted by emarcellus. |
2384 | 54 | 13.Oct.02008 - Fixed "play music" error reported by Dave Baer. | 134 | 13.Oct.02008 - Fixed "play music" error reported by Dave Baer. |
2385 | 55 | 17.Sep.02008 - Stop game video from playing before playing exit movie. Reported | 135 | 17.Sep.02008 - Stop game video from playing before playing exit movie. Reported |
2386 | @@ -58,10 +138,10 @@ | |||
2387 | 58 | - Some fixes to keep the wahcade main window above desktop panels. | 138 | - Some fixes to keep the wahcade main window above desktop panels. |
2388 | 59 | - Added nestopia template from rbrohman. | 139 | - Added nestopia template from rbrohman. |
2389 | 60 | - Added sdlmame template. | 140 | - Added sdlmame template. |
2391 | 61 | 12.Sep.02008 - Added [autorotate] patches from Martin Kalitis. | 141 | 12.Sep.02008 - Added [autorotate] patches from Martin Kalitis. |
2392 | 62 | - Command line options for external apps are now parsed properly. | 142 | - Command line options for external apps are now parsed properly. |
2393 | 63 | Thanks to zerojay for reporting this one. | 143 | Thanks to zerojay for reporting this one. |
2395 | 64 | 27.Aug.02008 - Sort key list in Setup Editor. | 144 | 27.Aug.02008 - Sort key list in Setup Editor. |
2396 | 65 | 26.Aug.02008 - More work on the rotation patch. | 145 | 26.Aug.02008 - More work on the rotation patch. |
2397 | 66 | 24.Aug.02008 - Merged Martin Kalitis' excellent layout rotation patches. | 146 | 24.Aug.02008 - Merged Martin Kalitis' excellent layout rotation patches. |
2398 | 67 | - Try and handle errors from gstreamer video object creation. | 147 | - Try and handle errors from gstreamer video object creation. |
2399 | @@ -74,7 +154,7 @@ | |||
2400 | 74 | and http://localarcade.com/screenshotarchive for letting us | 154 | and http://localarcade.com/screenshotarchive for letting us |
2401 | 75 | include these. | 155 | include these. |
2402 | 76 | - Background should now display on layout load in Layout Editor. | 156 | - Background should now display on layout load in Layout Editor. |
2404 | 77 | 27.Jun.02008 - Any new .ini config options should now be added to file | 157 | 27.Jun.02008 - Any new .ini config options should now be added to file |
2405 | 78 | automatically. | 158 | automatically. |
2406 | 79 | 24.Jun.02008 - Remember window size in Setup Editor. | 159 | 24.Jun.02008 - Remember window size in Setup Editor. |
2407 | 80 | 22.Jun.02008 - Fixed typo in gstreamer version check. Should play stuff again. | 160 | 22.Jun.02008 - Fixed typo in gstreamer version check. Should play stuff again. |
2408 | @@ -82,8 +162,8 @@ | |||
2409 | 82 | 04.Jun.02008 - Added updated Spanish (es) translation from Nicolás Álvarez. | 162 | 04.Jun.02008 - Added updated Spanish (es) translation from Nicolás Álvarez. |
2410 | 83 | 26.May.02008 - Added Full Screen option for Layout Editor (battlecat). | 163 | 26.May.02008 - Added Full Screen option for Layout Editor (battlecat). |
2411 | 84 | - Fixed volume sliders in Setup Editor (battlecat). | 164 | - Fixed volume sliders in Setup Editor (battlecat). |
2414 | 85 | 25.May.02008 - "Add emulator" list (Setup Editor) now sorted in alphabetical | 165 | 25.May.02008 - "Add emulator" list (Setup Editor) now sorted in alphabetical |
2415 | 86 | order. No longer prompted for a save filename unless one already | 166 | order. No longer prompted for a save filename unless one already |
2416 | 87 | exists (battlecat). | 167 | exists (battlecat). |
2417 | 88 | - Fixed problem where wahcade woulnd't always pick a layout file | 168 | - Fixed problem where wahcade woulnd't always pick a layout file |
2418 | 89 | to use. | 169 | to use. |
2419 | @@ -91,27 +171,27 @@ | |||
2420 | 91 | 04.May.02008 - Released 0.27 "Fixed?". | 171 | 04.May.02008 - Released 0.27 "Fixed?". |
2421 | 92 | - Fixed deb build script. Problem was caused by using "ar" to | 172 | - Fixed deb build script. Problem was caused by using "ar" to |
2422 | 93 | build deb files. | 173 | build deb files. |
2424 | 94 | 08.Apr.02008 - Added histview files to setup.py. Well spotted by battlecat. | 174 | 08.Apr.02008 - Added histview files to setup.py. Well spotted by battlecat. |
2425 | 95 | 03.Apr.02008 - Added md5sum file to bdist_debian.py. | 175 | 03.Apr.02008 - Added md5sum file to bdist_debian.py. |
2426 | 96 | 31.Mar.02008 - Released 0.26 "Splat!". | 176 | 31.Mar.02008 - Released 0.26 "Splat!". |
2427 | 97 | 30.Mar.02008 - Added "save as" dialog to Add Emulator option in Setup Editor. | 177 | 30.Mar.02008 - Added "save as" dialog to Add Emulator option in Setup Editor. |
2428 | 98 | - Check that current emulator exists when starting up. | 178 | - Check that current emulator exists when starting up. |
2430 | 99 | - Added list of possible mame ini filenames to constants.py. | 179 | - Added list of possible mame ini filenames to constants.py. |
2431 | 100 | Required because we treat the mame emulator differently to others. | 180 | Required because we treat the mame emulator differently to others. |
2432 | 101 | - Enable / disable mame only stuff as required in Setup Editor. | 181 | - Enable / disable mame only stuff as required in Setup Editor. |
2433 | 102 | 29.Mar.02008 - Create an empty list file when it doesn't already exist. | 182 | 29.Mar.02008 - Create an empty list file when it doesn't already exist. |
2434 | 103 | - Fixed empty options list bug. | 183 | - Fixed empty options list bug. |
2435 | 104 | 28.Mar.02008 - Added some more template ini files. Thanks to battlecat, | 184 | 28.Mar.02008 - Added some more template ini files. Thanks to battlecat, |
2436 | 105 | KillsTheWeak and robbforce. | 185 | KillsTheWeak and robbforce. |
2438 | 106 | - Now picks random artwork from dir matching rom names. Thanks to | 186 | - Now picks random artwork from dir matching rom names. Thanks to |
2439 | 107 | Hioushi (http://www.anti-particle.com/forum/viewtopic.php?t=169). | 187 | Hioushi (http://www.anti-particle.com/forum/viewtopic.php?t=169). |
2441 | 108 | 24.Mar.02008 - Rewrote deb package builder to use setup.py and deb script from | 188 | 24.Mar.02008 - Rewrote deb package builder to use setup.py and deb script from |
2442 | 109 | http://home.cfl.rr.com/genecash/nokia/making_packages.html | 189 | http://home.cfl.rr.com/genecash/nokia/making_packages.html |
2443 | 110 | 22.Mar.02008 - Fixed About dialog bug in deb package. Thanks to battlecat. | 190 | 22.Mar.02008 - Fixed About dialog bug in deb package. Thanks to battlecat. |
2445 | 111 | 10.Mar.02008 - Fixed drwVideo bug where gstreamer import fails. Thanks to | 191 | 10.Mar.02008 - Fixed drwVideo bug where gstreamer import fails. Thanks to |
2446 | 112 | stealth for reporting this. | 192 | stealth for reporting this. |
2447 | 113 | - Removed win32 checks for gstreamer. | 193 | - Removed win32 checks for gstreamer. |
2449 | 114 | 17.Feb.02008 - Released 0.25 "Yikes!". | 194 | 17.Feb.02008 - Released 0.25 "Yikes!". |
2450 | 115 | 13.Feb.02008 - Added better error handling for gstreamer music object creation. | 195 | 13.Feb.02008 - Added better error handling for gstreamer music object creation. |
2451 | 116 | Thanks to bonzo for help with this one. | 196 | Thanks to bonzo for help with this one. |
2452 | 117 | 03.Feb.02008 - Stopped game movies playing during intro / exit movies playback. | 197 | 03.Feb.02008 - Stopped game movies playing during intro / exit movies playback. |
2453 | @@ -126,12 +206,12 @@ | |||
2454 | 126 | 13.Jan.02008 - Added a couple of bug fixes from nellistc (scroll and cpviewer). | 206 | 13.Jan.02008 - Added a couple of bug fixes from nellistc (scroll and cpviewer). |
2455 | 127 | - Fixed movie player screen saver. | 207 | - Fixed movie player screen saver. |
2456 | 128 | - Added intro movie playback. | 208 | - Added intro movie playback. |
2458 | 129 | 27.Dec.02007 - Re-worked joystick support in the Setup Editor. | 209 | 27.Dec.02007 - Re-worked joystick support in the Setup Editor. |
2459 | 130 | 21.Dec.02007 - Added zerodiv's excellent joystick patch. This requires pygame. | 210 | 21.Dec.02007 - Added zerodiv's excellent joystick patch. This requires pygame. |
2460 | 131 | 16.Dec.02007 - Added better mouse support to Setup Editor keys dialog. | 211 | 16.Dec.02007 - Added better mouse support to Setup Editor keys dialog. |
2461 | 132 | 10.Dec.02007 - Added Game List Editor. | 212 | 10.Dec.02007 - Added Game List Editor. |
2462 | 133 | 08.Dec.02007 - Improved mouse support. | 213 | 08.Dec.02007 - Improved mouse support. |
2464 | 134 | - Tweaked shutdown stuff to be more like MameWAH. Added reboot | 214 | - Tweaked shutdown stuff to be more like MameWAH. Added reboot |
2465 | 135 | option too. | 215 | option too. |
2466 | 136 | 05.Dec.02007 - Added nellistc's shutdown patch. | 216 | 05.Dec.02007 - Added nellistc's shutdown patch. |
2467 | 137 | 03.Dec.02007 - Got trackball / spinner scrolling roughly implemented. | 217 | 03.Dec.02007 - Got trackball / spinner scrolling roughly implemented. |
2468 | @@ -140,10 +220,10 @@ | |||
2469 | 140 | to "Most Played" or "Longest Played" types. | 220 | to "Most Played" or "Longest Played" types. |
2470 | 141 | 19.Oct.02007 - Released 0.23 "Wet Your Whistle". | 221 | 19.Oct.02007 - Released 0.23 "Wet Your Whistle". |
2471 | 142 | 14.Oct.02007 - Added some template .ini files for the MESS emulator - cheers to | 222 | 14.Oct.02007 - Added some template .ini files for the MESS emulator - cheers to |
2473 | 143 | SeTTleR. The run_mess.sh script should be in the wahcade's | 223 | SeTTleR. The run_mess.sh script should be in the wahcade's |
2474 | 144 | doc/samples directory. | 224 | doc/samples directory. |
2475 | 145 | 13.Oct.02007 - Finished off music stuff. | 225 | 13.Oct.02007 - Finished off music stuff. |
2477 | 146 | - Added rotation for History Viewer. | 226 | - Added rotation for History Viewer. |
2478 | 147 | 10.Oct.02007 - Finished up the new template system in the Setup Editor. | 227 | 10.Oct.02007 - Finished up the new template system in the Setup Editor. |
2479 | 148 | - Added next / previous music track keys. More music tidy-up. | 228 | - Added next / previous music track keys. More music tidy-up. |
2480 | 149 | - Added support for vertical layouts. (Text & Lists can be rotated). | 229 | - Added support for vertical layouts. (Text & Lists can be rotated). |
2481 | @@ -154,11 +234,11 @@ | |||
2482 | 154 | - Added drop-down list of layouts in the Layout Editor. | 234 | - Added drop-down list of layouts in the Layout Editor. |
2483 | 155 | 18.Sep.02007 - Implemented Logo images in layouts. And check for list specific | 235 | 18.Sep.02007 - Implemented Logo images in layouts. And check for list specific |
2484 | 156 | background images too. Thanks to captbaritone for spotting this. | 236 | background images too. Thanks to captbaritone for spotting this. |
2486 | 157 | 06.Sep.02007 - Added music config to Setup Editor. | 237 | 06.Sep.02007 - Added music config to Setup Editor. |
2487 | 158 | - Added another patch (change to emulator dir) from Sylvain Faveau. | 238 | - Added another patch (change to emulator dir) from Sylvain Faveau. |
2491 | 159 | 04.Sep.02007 - Fixed bug in layout editor height props. Cheers to 3NF for | 239 | 04.Sep.02007 - Fixed bug in layout editor height props. Cheers to 3NF for |
2492 | 160 | spotting this one. | 240 | spotting this one. |
2493 | 161 | 22.Aug.02007 - Started to add music browsing / playback. | 241 | 22.Aug.02007 - Started to add music browsing / playback. |
2494 | 162 | 21.Aug.02007 - Lots of messing around with file encoding stuff in filters.py. | 242 | 21.Aug.02007 - Lots of messing around with file encoding stuff in filters.py. |
2495 | 163 | - Fixed mameinfo.xml generation in Setup Editor. | 243 | - Fixed mameinfo.xml generation in Setup Editor. |
2496 | 164 | 15.Aug.02007 - Impmenting new emulator tempate system in Setup Editor. | 244 | 15.Aug.02007 - Impmenting new emulator tempate system in Setup Editor. |
2497 | @@ -167,23 +247,23 @@ | |||
2498 | 167 | 08.Aug.02007 - Released 0.22 "Viva Viet Vegas". | 247 | 08.Aug.02007 - Released 0.22 "Viva Viet Vegas". |
2499 | 168 | - Tidied up gst video initialisation. | 248 | - Tidied up gst video initialisation. |
2500 | 169 | 07.Aug.02007 - Updated a few of the docs / quick start guide. | 249 | 07.Aug.02007 - Updated a few of the docs / quick start guide. |
2502 | 170 | 01.Aug.02007 - Added generate XML file button for mame in Setup Editor. | 250 | 01.Aug.02007 - Added generate XML file button for mame in Setup Editor. |
2503 | 171 | 30.Jul.02007 - Fixed start up bug (image not displayed) in Layout Editor. | 251 | 30.Jul.02007 - Fixed start up bug (image not displayed) in Layout Editor. |
2504 | 172 | - Fixed missing image bug when emulators are switched. Cheers to | 252 | - Fixed missing image bug when emulators are switched. Cheers to |
2505 | 173 | SeTTleR and ztomiccomputers for spotting this one. | 253 | SeTTleR and ztomiccomputers for spotting this one. |
2506 | 174 | - Added German (de) translation - huge thanks to SeTTleR. | 254 | - Added German (de) translation - huge thanks to SeTTleR. |
2507 | 175 | 29.Jul.02007 - Finished off CPViewer bindings stuff. | 255 | 29.Jul.02007 - Finished off CPViewer bindings stuff. |
2509 | 176 | 27.Jul.02007 - Store fullscreen setting in wahcade.ini file. Added fullscreen | 256 | 27.Jul.02007 - Store fullscreen setting in wahcade.ini file. Added fullscreen |
2510 | 177 | option to Setup Editor. | 257 | option to Setup Editor. |
2512 | 178 | - Cleaned up debian packing script. | 258 | - Cleaned up debian packing script. |
2513 | 179 | 25.Jul.02007 - Build proper debian / ubuntu package with dependencies. RPM too. | 259 | 25.Jul.02007 - Build proper debian / ubuntu package with dependencies. RPM too. |
2514 | 180 | 23.Jul.02007 - Expanded CPViewer bindings. | 260 | 23.Jul.02007 - Expanded CPViewer bindings. |
2516 | 181 | 15.Jul.02007 - Display correct menu headings in options dialog. | 261 | 15.Jul.02007 - Display correct menu headings in options dialog. |
2517 | 182 | 08.Jun.02007 - Optimized gstreamer video widget a bit. | 262 | 08.Jun.02007 - Optimized gstreamer video widget a bit. |
2518 | 183 | 06.Jun.02007 - Replaced mplayer video widget with gstreamer one. | 263 | 06.Jun.02007 - Replaced mplayer video widget with gstreamer one. |
2519 | 184 | - Changed Movie Volume checkbox in Setup Editor to a sliding scale. | 264 | - Changed Movie Volume checkbox in Setup Editor to a sliding scale. |
2520 | 185 | 02.Jun.02007 - Released 0.21 "Ten Toes Hanging". | 265 | 02.Jun.02007 - Released 0.21 "Ten Toes Hanging". |
2522 | 186 | 01.Jun.02007 - Added progress bar to "please wait..." dialog on Setup Filters. | 266 | 01.Jun.02007 - Added progress bar to "please wait..." dialog on Setup Filters. |
2523 | 187 | 30.May.02007 - Added NMS file support (Thanks to lowlight for suggesting this). | 267 | 30.May.02007 - Added NMS file support (Thanks to lowlight for suggesting this). |
2524 | 188 | 28.May.02007 - Added Delete Emulator & Delete Emu List options to Setup Editor. | 268 | 28.May.02007 - Added Delete Emulator & Delete Emu List options to Setup Editor. |
2525 | 189 | 26.May.02007 - Fixed config file copying bug. Should be able to delete files | 269 | 26.May.02007 - Fixed config file copying bug. Should be able to delete files |
2526 | @@ -210,7 +290,7 @@ | |||
2527 | 210 | 17.Apr.02007 - Big thanks for Sylvain Faveau for the French translation. | 290 | 17.Apr.02007 - Big thanks for Sylvain Faveau for the French translation. |
2528 | 211 | 08.Apr.02007 - Fixed screen saver bug in Setup Editor - it should now recognize | 291 | 08.Apr.02007 - Fixed screen saver bug in Setup Editor - it should now recognize |
2529 | 212 | the launch_scr option. | 292 | the launch_scr option. |
2531 | 213 | 29.Mar.02007 - Spanish translation - Huge thanks to Nicolás Álvarez. | 293 | 29.Mar.02007 - Spanish translation - Huge thanks to Nicolás Álvarez. |
2532 | 214 | 17.Mar.02007 - Released 0.19 "Nose Furnace". | 294 | 17.Mar.02007 - Released 0.19 "Nose Furnace". |
2533 | 215 | 16.Mar.02007 - Fixed layout bug that left dots on the screen. | 295 | 16.Mar.02007 - Fixed layout bug that left dots on the screen. |
2534 | 216 | 13.Mar.02007 - Added external screen saver function (set "saver_type" in | 296 | 13.Mar.02007 - Added external screen saver function (set "saver_type" in |
2535 | @@ -223,25 +303,25 @@ | |||
2536 | 223 | 16.Feb.02007 - Fixed another filename matching bug. | 303 | 16.Feb.02007 - Fixed another filename matching bug. |
2537 | 224 | 15.Feb.02007 - Changing Emulator List name in Setup Editor now updates the drop | 304 | 15.Feb.02007 - Changing Emulator List name in Setup Editor now updates the drop |
2538 | 225 | down list selection. | 305 | down list selection. |
2540 | 226 | 24.Jan.02007 - Fixed bug which let a game be added to a list multiple times. | 306 | 24.Jan.02007 - Fixed bug which let a game be added to a list multiple times. |
2541 | 227 | - Cleaned up rom filename detection code (Thanks to Relayer for | 307 | - Cleaned up rom filename detection code (Thanks to Relayer for |
2542 | 228 | reporting this bug). | 308 | reporting this bug). |
2544 | 229 | 24.Jan.02007 - Added setup filters to Setup Editor (mame only). | 309 | 24.Jan.02007 - Added setup filters to Setup Editor (mame only). |
2545 | 230 | 20.Jan.02007 - Huge thanks to Daniel Nylander for providing the Swedish (sv) | 310 | 20.Jan.02007 - Huge thanks to Daniel Nylander for providing the Swedish (sv) |
2548 | 231 | translation. | 311 | translation. |
2549 | 232 | 18.Jan.02007 - Hopefully fixed multiple screensaver timer bug. | 312 | 18.Jan.02007 - Hopefully fixed multiple screensaver timer bug. |
2550 | 233 | 15.Jan.02007 - Added support for per-list layouts (<emu-name>-?.lay). | 313 | 15.Jan.02007 - Added support for per-list layouts (<emu-name>-?.lay). |
2552 | 234 | - Seemed to actually have fixed the "black video window" bug. | 314 | - Seemed to actually have fixed the "black video window" bug. |
2553 | 235 | 12.Jan.02007 - Released 0.17 "Jelly Result". | 315 | 12.Jan.02007 - Released 0.17 "Jelly Result". |
2554 | 236 | 09.Jan.02007 - Added a couple of reset options to the Setup Editor. | 316 | 09.Jan.02007 - Added a couple of reset options to the Setup Editor. |
2555 | 237 | - Made filters work with Mame versions > 0.106. | 317 | - Made filters work with Mame versions > 0.106. |
2556 | 238 | 08.Jan.02007 - Fixed "missing image" lookups - they should now work as advertised. | 318 | 08.Jan.02007 - Fixed "missing image" lookups - they should now work as advertised. |
2558 | 239 | - Made sure Game List is "on top" of other widgets. | 319 | - Made sure Game List is "on top" of other widgets. |
2559 | 240 | Cheers again to robbforce for reporting these out. | 320 | Cheers again to robbforce for reporting these out. |
2560 | 241 | 21.Dec.02006 - Released 0.16 "Avalon". | 321 | 21.Dec.02006 - Released 0.16 "Avalon". |
2561 | 242 | 16.Dec.02006 - Added Auto Launch Apps option to Setup Editor (Emulator tab). | 322 | 16.Dec.02006 - Added Auto Launch Apps option to Setup Editor (Emulator tab). |
2562 | 243 | - Added Wrap List option to Setup Editor (Wah!Cade tab). | 323 | - Added Wrap List option to Setup Editor (Wah!Cade tab). |
2564 | 244 | - History Viewer heading now shows Game Title instead of Rom Name. | 324 | - History Viewer heading now shows Game Title instead of Rom Name. |
2565 | 245 | 14.Dec.02006 - Implemented background colours on Main & History Viewer layouts. | 325 | 14.Dec.02006 - Implemented background colours on Main & History Viewer layouts. |
2566 | 246 | You might need to tidy up your layouts in the editor! | 326 | You might need to tidy up your layouts in the editor! |
2567 | 247 | 13.Dec.02006 - Fixed setting window width & height in the Setup Editor. | 327 | 13.Dec.02006 - Fixed setting window width & height in the Setup Editor. |
2568 | @@ -251,8 +331,8 @@ | |||
2569 | 251 | updated with any missing files. | 331 | updated with any missing files. |
2570 | 252 | 10.Dec.02006 - Added label alignment to layouts. | 332 | 10.Dec.02006 - Added label alignment to layouts. |
2571 | 253 | - History Viewer now has it's own layout file. | 333 | - History Viewer now has it's own layout file. |
2574 | 254 | 06.Dec.02006 - Don't expand paths that start with "~/" when saving .ini files. | 334 | 06.Dec.02006 - Don't expand paths that start with "~/" when saving .ini files. |
2575 | 255 | 04.Dec.02006 - Default startup to fullscreen mode (this matches MameWAH). To | 335 | 04.Dec.02006 - Default startup to fullscreen mode (this matches MameWAH). To |
2576 | 256 | start in windowed mode use the "-w" commandline option. | 336 | start in windowed mode use the "-w" commandline option. |
2577 | 257 | 30.Nov.02006 - The wahcade.ini "wrap_list" setting now works. | 337 | 30.Nov.02006 - The wahcade.ini "wrap_list" setting now works. |
2578 | 258 | - Rewrote scolled list row font size calcs. | 338 | - Rewrote scolled list row font size calcs. |
2579 | @@ -270,11 +350,11 @@ | |||
2580 | 270 | 27.Nov.02006 - Values of spinner widgets should now save properly in the Setup | 350 | 27.Nov.02006 - Values of spinner widgets should now save properly in the Setup |
2581 | 271 | Editor (Cheers to Buks again). | 351 | Editor (Cheers to Buks again). |
2582 | 272 | 26.Nov.02006 - File -> Quit show now work in Layout Editor (Cheers Buks). | 352 | 26.Nov.02006 - File -> Quit show now work in Layout Editor (Cheers Buks). |
2584 | 273 | 25.Nov.02006 - Updated setup.py (for building a windows version with py2exe). | 353 | 25.Nov.02006 - Updated setup.py (for building a windows version with py2exe). |
2585 | 274 | - Fixed bug where the current game was not saved to ini file when | 354 | - Fixed bug where the current game was not saved to ini file when |
2586 | 275 | using mouse. | 355 | using mouse. |
2589 | 276 | 23.Nov.02006 - Fixed some bugs (some browse buttons not working) in the Setup | 356 | 23.Nov.02006 - Fixed some bugs (some browse buttons not working) in the Setup |
2590 | 277 | Editor (cheers to Buks for spotting them). The "Keys" tab now | 357 | Editor (cheers to Buks for spotting them). The "Keys" tab now |
2591 | 278 | saves any changes made too! | 358 | saves any changes made too! |
2592 | 279 | 22.Nov.02006 - Improved locale settings a bit (improving non-ascii unicode text). | 359 | 22.Nov.02006 - Improved locale settings a bit (improving non-ascii unicode text). |
2593 | 280 | - Fixed "IndexError: list index out of range bug" in scrolled_list.py. | 360 | - Fixed "IndexError: list index out of range bug" in scrolled_list.py. |
2594 | @@ -284,34 +364,34 @@ | |||
2595 | 284 | "remove game from list", "select emulator" and "select game list" | 364 | "remove game from list", "select emulator" and "select game list" |
2596 | 285 | now work. | 365 | now work. |
2597 | 286 | 19.Nov.02006 - Currently selected game now saved again. | 366 | 19.Nov.02006 - Currently selected game now saved again. |
2600 | 287 | - When jumping to next / previous game list, check for "cycle_list" | 367 | - When jumping to next / previous game list, check for "cycle_list" |
2601 | 288 | setting in relevant .ini files. Also added this feature to | 368 | setting in relevant .ini files. Also added this feature to |
2602 | 289 | Wahcade Setup. | 369 | Wahcade Setup. |
2603 | 290 | - Updated keyboard & mouse handling. | 370 | - Updated keyboard & mouse handling. |
2604 | 291 | 18.Nov.02006 - Fixed warning error when elementtree package is missing. | 371 | 18.Nov.02006 - Fixed warning error when elementtree package is missing. |
2605 | 292 | 17.Nov.02006 - (Hopefully) modified Wah!Cade so it can be internationalized. | 372 | 17.Nov.02006 - (Hopefully) modified Wah!Cade so it can be internationalized. |
2606 | 293 | 15.Nov.02006 - Added Wah!Cade icon to windows. | 373 | 15.Nov.02006 - Added Wah!Cade icon to windows. |
2608 | 294 | - Closing About... Dialog now uses the Launch_Game & Exit keys as | 374 | - Closing About... Dialog now uses the Launch_Game & Exit keys as |
2609 | 295 | they are defined in the ~/.wahcade/ctrl/default.ini file. | 375 | they are defined in the ~/.wahcade/ctrl/default.ini file. |
2610 | 296 | 14.Nov.02006 - Added multiple selection feature to Layout Editor. | 376 | 14.Nov.02006 - Added multiple selection feature to Layout Editor. |
2612 | 297 | - Added option to Layout Editor view menu to keep property dialogs | 377 | - Added option to Layout Editor view menu to keep property dialogs |
2613 | 298 | "on top". | 378 | "on top". |
2614 | 299 | - Fixed setup.py so it should now be possible to build a windows .exe | 379 | - Fixed setup.py so it should now be possible to build a windows .exe |
2615 | 300 | using py2exe. | 380 | using py2exe. |
2617 | 301 | 13.Nov.02006 - Emulator output is now sent to ~/.wahcade/emulator.log unless | 381 | 13.Nov.02006 - Emulator output is now sent to ~/.wahcade/emulator.log unless |
2618 | 302 | debug mode is on. | 382 | debug mode is on. |
2619 | 303 | 09.Nov.02006 - Added check for python version on startup (must be at least 2.4.0). | 383 | 09.Nov.02006 - Added check for python version on startup (must be at least 2.4.0). |
2624 | 304 | 08.Nov.02006 - Reworked scrolling lists, so the mouse can now be used if "mouse = 1" | 384 | 08.Nov.02006 - Reworked scrolling lists, so the mouse can now be used if "mouse = 1" |
2625 | 305 | in ~/.wahcade/ctrlr/default.ini file. | 385 | in ~/.wahcade/ctrlr/default.ini file. |
2626 | 306 | - Mouse scroll wheel (up / down) is now detected - use MOUSE_SCROLLUP | 386 | - Mouse scroll wheel (up / down) is now detected - use MOUSE_SCROLLUP |
2627 | 307 | and MOUSE_SCROLLDOWN in the ~/.wahcade/ctrlr/default.ini file. | 387 | and MOUSE_SCROLLDOWN in the ~/.wahcade/ctrlr/default.ini file. |
2628 | 308 | 30.Oct.02006 - Released 0.14 "Dead Man". | 388 | 30.Oct.02006 - Released 0.14 "Dead Man". |
2629 | 309 | - Fixed Key Press Dialog display bug. | 389 | - Fixed Key Press Dialog display bug. |
2630 | 310 | - Fixed .deb package bug which stopped default layouts being included. | 390 | - Fixed .deb package bug which stopped default layouts being included. |
2631 | 311 | 25.Oct.02006 - Layout Editor now quits with a useful error message when no config | 391 | 25.Oct.02006 - Layout Editor now quits with a useful error message when no config |
2632 | 312 | files are found. | 392 | files are found. |
2633 | 313 | - Better defaults for the CPViewer config. | 393 | - Better defaults for the CPViewer config. |
2635 | 314 | 24.Oct.02006 - Fixed save on exit bug in Setup & Layout Editors. | 394 | 24.Oct.02006 - Fixed save on exit bug in Setup & Layout Editors. |
2636 | 315 | - Fixed *huge* bug in mamewah_ini.py that meant no previously empty | 395 | - Fixed *huge* bug in mamewah_ini.py that meant no previously empty |
2637 | 316 | options could be updated. | 396 | options could be updated. |
2638 | 317 | - Now makes seconds attempt to populate list with games if none | 397 | - Now makes seconds attempt to populate list with games if none |
2639 | @@ -322,8 +402,8 @@ | |||
2640 | 322 | - Released 0.13.2 "Oh Dear". | 402 | - Released 0.13.2 "Oh Dear". |
2641 | 323 | 17.Oct.02006 - Quit menu in wahcade-setup & save while quitting now work properly. | 403 | 17.Oct.02006 - Quit menu in wahcade-setup & save while quitting now work properly. |
2642 | 324 | Thanks to Aaron Greenspan for these. | 404 | Thanks to Aaron Greenspan for these. |
2645 | 325 | 13.Oct.02006 - Ooops. Added a doc file for wahcade-setup. | 405 | 13.Oct.02006 - Ooops. Added a doc file for wahcade-setup. |
2646 | 326 | - Included the templates directory in the tarball. | 406 | - Included the templates directory in the tarball. |
2647 | 327 | - Hopefully fixed the dreaded sys.path[0] error. | 407 | - Hopefully fixed the dreaded sys.path[0] error. |
2648 | 328 | - Released 0.13.1 "Errr". | 408 | - Released 0.13.1 "Errr". |
2649 | 329 | 11.Oct.02006 - Released 0.13 "Gimme Danger". | 409 | 11.Oct.02006 - Released 0.13 "Gimme Danger". |
2650 | 330 | 410 | ||
2651 | === modified file 'doc/INI_FILES' | |||
2652 | --- doc/INI_FILES 2008-11-30 10:26:19 +0000 | |||
2653 | +++ doc/INI_FILES 2011-03-03 21:06:42 +0000 | |||
2654 | @@ -12,6 +12,8 @@ | |||
2655 | 12 | fullscreen 0 #fullscreen display (0=no, 1=yes) | 12 | fullscreen 0 #fullscreen display (0=no, 1=yes) |
2656 | 13 | setup_window_size 400x200 #size of Setup Editor window (width x height) | 13 | setup_window_size 400x200 #size of Setup Editor window (width x height) |
2657 | 14 | layout_orientation 0 #orientation of current layout (0,90,180,270 degrees). | 14 | layout_orientation 0 #orientation of current layout (0,90,180,270 degrees). |
2658 | 15 | show_list_arrows 0 #show scroll up/down arrows in games, options and history lists (0=no, 1=yes) | ||
2659 | 16 | shuffle_music 0 #shuffle music playlist when loaded (0=no, 1=yes) | ||
2660 | 15 | 17 | ||
2661 | 16 | ### (Global) Screen-Saver Options ### | 18 | ### (Global) Screen-Saver Options ### |
2662 | 17 | delay 300 #screen saver delay in seconds (0 to disable) | 19 | delay 300 #screen saver delay in seconds (0 to disable) |
2663 | @@ -28,8 +30,8 @@ | |||
2664 | 28 | intro_movie_file #intro movie filename | 30 | intro_movie_file #intro movie filename |
2665 | 29 | exit_movie_file #exit movie filename | 31 | exit_movie_file #exit movie filename |
2666 | 30 | keep_movie_preview_aspect game_aspect #N/A | 32 | keep_movie_preview_aspect game_aspect #N/A |
2669 | 31 | delay_before_movie_preview 7 #movie delay in seconds | 33 | delay_before_movie_preview 7 #movie delay in seconds (0 to disable ALL movie playback) |
2670 | 32 | music_movie_mix mute_movies #mute_movies / merge / pause_music | 34 | music_movie_mix mute_movies #mute_movies / merge |
2671 | 33 | movie_volume 100 #movie volume (0-100%) | 35 | movie_volume 100 #movie volume (0-100%) |
2672 | 34 | 36 | ||
2673 | 35 | ### Misc Options ### | 37 | ### Misc Options ### |
2674 | @@ -146,7 +148,7 @@ | |||
2675 | 146 | list_title Favourites #title of your choice | 148 | list_title Favourites #title of your choice |
2676 | 147 | 149 | ||
2677 | 148 | ### Games List Settings ### | 150 | ### Games List Settings ### |
2679 | 149 | cycle_list 1 #include this list when changing to next / previous lists | 151 | cycle_list 1 #include this list when changing to next / previous lists |
2680 | 150 | list_type normal #the type of list: normal / most_played / longest_played | 152 | list_type normal #the type of list: normal / most_played / longest_played |
2681 | 151 | display_clone_info 0 #N/A | 153 | display_clone_info 0 #N/A |
2682 | 152 | max_favorites 0 #N/A | 154 | max_favorites 0 #N/A |
2683 | @@ -163,9 +165,9 @@ | |||
2684 | 163 | Notes: | 165 | Notes: |
2685 | 164 | ------ | 166 | ------ |
2686 | 165 | * for information on configuring the keyboard, mouse & joystick see the KEYS document. | 167 | * for information on configuring the keyboard, mouse & joystick see the KEYS document. |
2688 | 166 | * emu_name-0.ini does not have the list_type, display_clone_info or max_favorites | 168 | * emu_name-0.ini does not have the list_type, display_clone_info or max_favorites |
2689 | 167 | settings, as these properties for the main list are fixed. | 169 | settings, as these properties for the main list are fixed. |
2691 | 168 | 170 | ||
2692 | 169 | * commandline_format flags: | 171 | * commandline_format flags: |
2693 | 170 | As well as regular switches etc., the following strings can be used, which Wah!Cade will replace | 172 | As well as regular switches etc., the following strings can be used, which Wah!Cade will replace |
2694 | 171 | with information on the currently selected game when the application is launched: | 173 | with information on the currently selected game when the application is launched: |
2695 | @@ -174,7 +176,7 @@ | |||
2696 | 174 | [romext] is replaced by rom_extension (exluding the '.') | 176 | [romext] is replaced by rom_extension (exluding the '.') |
2697 | 175 | [autorotate] will rotate the game to match the current layouts rotation (Mame only) | 177 | [autorotate] will rotate the game to match the current layouts rotation (Mame only) |
2698 | 176 | [year] is replaced by rom year | 178 | [year] is replaced by rom year |
2700 | 177 | [manufacturer] is replaced by rom manufacturer | 179 | [manufacturer] is replaced by rom manufacturer |
2701 | 178 | [clone_of] is replaced by "parent" rom name | 180 | [clone_of] is replaced by "parent" rom name |
2702 | 179 | [display_type] is replaced by display type | 181 | [display_type] is replaced by display type |
2703 | 180 | [screen_type] is replaced by screen type | 182 | [screen_type] is replaced by screen type |
2704 | 181 | 183 | ||
2705 | === modified file 'doc/INSTALL' | |||
2706 | --- doc/INSTALL 2009-01-07 17:51:46 +0000 | |||
2707 | +++ doc/INSTALL 2011-03-03 21:06:42 +0000 | |||
2708 | @@ -4,8 +4,8 @@ | |||
2709 | 4 | Wah!Cade Requirements | 4 | Wah!Cade Requirements |
2710 | 5 | ===================== | 5 | ===================== |
2711 | 6 | To run wah!cade you'll need: | 6 | To run wah!cade you'll need: |
2714 | 7 | * python >= 2.4 (http://www.python.org) | 7 | * python >= 2.4 (http://www.python.org) |
2715 | 8 | * pygtk2 >= 2.8 (http://www.pygtk.org) | 8 | * pygtk2 >= 2.12 (http://www.pygtk.org) |
2716 | 9 | * chardet >= 1.0 (http://chardet.feedparser.org) | 9 | * chardet >= 1.0 (http://chardet.feedparser.org) |
2717 | 10 | * elementtree / celementtree (http://effbot.org/zone/element-index.htm) | 10 | * elementtree / celementtree (http://effbot.org/zone/element-index.htm) |
2718 | 11 | elementree is not required for python >= 2.5 as it's included by default | 11 | elementree is not required for python >= 2.5 as it's included by default |
2719 | @@ -20,11 +20,11 @@ | |||
2720 | 20 | 20 | ||
2721 | 21 | Installation Notes | 21 | Installation Notes |
2722 | 22 | ================== | 22 | ================== |
2724 | 23 | Either download and install the Debian / RPM packages, or get the source code | 23 | Either download and install the Debian / RPM packages, or get the source code |
2725 | 24 | and: | 24 | and: |
2726 | 25 | 25 | ||
2727 | 26 | Method 1) | 26 | Method 1) |
2729 | 27 | Extract the contents of the tarball into a suitable directory within | 27 | Extract the contents of the tarball into a suitable directory within |
2730 | 28 | your home directory and then see the Quick Start Guide on the website and | 28 | your home directory and then see the Quick Start Guide on the website and |
2731 | 29 | the README file for information on initial setup & configuration, etc. | 29 | the README file for information on initial setup & configuration, etc. |
2732 | 30 | 30 | ||
2733 | @@ -34,12 +34,12 @@ | |||
2734 | 34 | ./install | 34 | ./install |
2735 | 35 | this should install wahcade in the /usr/local/share/wahcade directory. | 35 | this should install wahcade in the /usr/local/share/wahcade directory. |
2736 | 36 | 36 | ||
2738 | 37 | The default config files are stored in wahcade/config.dist. When Wah!Cade is | 37 | The default config files are stored in wahcade/config.dist. When Wah!Cade is |
2739 | 38 | first run these are copied into the users ~/.wahcade directory. | 38 | first run these are copied into the users ~/.wahcade directory. |
2740 | 39 | 39 | ||
2741 | 40 | 40 | ||
2742 | 41 | ================================================= | 41 | ================================================= |
2744 | 42 | Wah!Cade is Copyright (c) 2005-2009 Andy Balcombe | 42 | Wah!Cade is Copyright (c) 2005-2010 Andy Balcombe |
2745 | 43 | email: wahcade at anti-particle dot com | 43 | email: wahcade at anti-particle dot com |
2746 | 44 | ================================================= | 44 | ================================================= |
2747 | 45 | 45 | ||
2748 | 46 | 46 | ||
2749 | === modified file 'doc/LAYOUT_EDITOR' | |||
2750 | --- doc/LAYOUT_EDITOR 2009-01-07 17:51:46 +0000 | |||
2751 | +++ doc/LAYOUT_EDITOR 2011-03-03 21:06:42 +0000 | |||
2752 | @@ -1,6 +1,6 @@ | |||
2753 | 1 | Wah!Cade Layout Editor | 1 | Wah!Cade Layout Editor |
2754 | 2 | ====================== | 2 | ====================== |
2756 | 3 | The layout editor supports modifying the Main, Options, Message, Screen Saver | 3 | The layout editor supports modifying the Main, Options, Message, Screen Saver |
2757 | 4 | and the Control Panel Viewer windows. | 4 | and the Control Panel Viewer windows. |
2758 | 5 | 5 | ||
2759 | 6 | 6 | ||
2760 | @@ -17,12 +17,12 @@ | |||
2761 | 17 | The current layout files are loaded by default. | 17 | The current layout files are loaded by default. |
2762 | 18 | 18 | ||
2763 | 19 | The various settings for the currently selected item can be changed using | 19 | The various settings for the currently selected item can be changed using |
2767 | 20 | the Item Properties window (Ctrl + P). | 20 | the Item Properties window (Ctrl + P). |
2768 | 21 | 21 | ||
2769 | 22 | 22 | ||
2770 | 23 | Keyboard: | 23 | Keyboard: |
2771 | 24 | ========= | 24 | ========= |
2773 | 25 | Cursor Keys: Change the position of selected items. | 25 | Cursor Keys: Change the position of selected items. |
2774 | 26 | Shift + Cursor Keys: Change the size of selected items. | 26 | Shift + Cursor Keys: Change the size of selected items. |
2775 | 27 | 27 | ||
2776 | 28 | 28 | ||
2777 | @@ -37,7 +37,7 @@ | |||
2778 | 37 | 37 | ||
2779 | 38 | Layout Notes: | 38 | Layout Notes: |
2780 | 39 | ============= | 39 | ============= |
2782 | 40 | Wah!Cade will check for the following layout and image files in the order | 40 | Wah!Cade will check for the following layout and image files in the order |
2783 | 41 | specified below. If a given file does not exist, then Wah!Cade will check for | 41 | specified below. If a given file does not exist, then Wah!Cade will check for |
2784 | 42 | the next one in the hierarchy. | 42 | the next one in the hierarchy. |
2785 | 43 | 43 | ||
2786 | @@ -55,23 +55,25 @@ | |||
2787 | 55 | ~/.wahcade/layouts/ | 55 | ~/.wahcade/layouts/ |
2788 | 56 | classic_640x480/layout.lay default Wah!Cade layout | 56 | classic_640x480/layout.lay default Wah!Cade layout |
2789 | 57 | 57 | ||
2791 | 58 | 58 | ||
2792 | 59 | Background Images | 59 | Background Images |
2793 | 60 | ----------------- | 60 | ----------------- |
2794 | 61 | Note: This will only work if no image is specified in the layout file. | ||
2795 | 62 | |||
2796 | 61 | <emu_name>-?-main.??? emulator & custom list specific main backgound image | 63 | <emu_name>-?-main.??? emulator & custom list specific main backgound image |
2800 | 62 | <emu_name>-main.??? emulator specific main backgound image | 64 | <emu_name>-main.??? emulator specific main backgound image |
2801 | 63 | main.??? general layout main backgound image | 65 | main.??? general layout main backgound image |
2802 | 64 | 66 | ||
2803 | 65 | <emu_name>-?-options.??? emulator & custom list specific options menu backgound image | 67 | <emu_name>-?-options.??? emulator & custom list specific options menu backgound image |
2807 | 66 | <emu_name>-options.??? emulator specific options menu backgound image | 68 | <emu_name>-options.??? emulator specific options menu backgound image |
2808 | 67 | options.??? general layout options menu backgound image | 69 | options.??? general layout options menu backgound image |
2809 | 68 | 70 | ||
2810 | 69 | <emu_name>-?-message.??? emulator & custom list specific message box backgound image | 71 | <emu_name>-?-message.??? emulator & custom list specific message box backgound image |
2816 | 70 | <emu_name>-message.??? emulator specific message box backgound image | 72 | <emu_name>-message.??? emulator specific message box backgound image |
2817 | 71 | message.??? general layout message box backgound image | 73 | message.??? general layout message box backgound image |
2818 | 72 | 74 | ||
2819 | 73 | 75 | ||
2820 | 74 | Artwork Images | 76 | Artwork Images |
2821 | 75 | -------------- | 77 | -------------- |
2822 | 76 | <game_rom_name>.??? game name | 78 | <game_rom_name>.??? game name |
2823 | 77 | <game_clone_name>.??? "clone of" game name | 79 | <game_clone_name>.??? "clone of" game name |
2824 | @@ -82,15 +84,15 @@ | |||
2825 | 82 | art?.??? artwork specific 'no pic' image | 84 | art?.??? artwork specific 'no pic' image |
2826 | 83 | art.??? general layout 'no pic' image | 85 | art.??? general layout 'no pic' image |
2827 | 84 | ~/.wahcade/pixmaps/empty.png default 'no pic' image | 86 | ~/.wahcade/pixmaps/empty.png default 'no pic' image |
2830 | 85 | 87 | ||
2831 | 86 | 88 | ||
2832 | 87 | Main Logo Images | 89 | Main Logo Images |
2833 | 88 | ---------------- | 90 | ---------------- |
2834 | 89 | <emu_name>-?-logo.??? emulator & custom list specific logo image | 91 | <emu_name>-?-logo.??? emulator & custom list specific logo image |
2835 | 90 | <emu_name>-logo.??? emulator specific logo image | 92 | <emu_name>-logo.??? emulator specific logo image |
2836 | 91 | <emu_name>logo.??? emulator specific logo image | 93 | <emu_name>logo.??? emulator specific logo image |
2837 | 92 | logo.??? general layout logo image | 94 | logo.??? general layout logo image |
2839 | 93 | (logo images must be in same dir as layout | 95 | (logo images must be in same dir as layout |
2840 | 94 | files) | 96 | files) |
2841 | 95 | 97 | ||
2842 | 96 | Movie Files | 98 | Movie Files |
2843 | @@ -105,15 +107,15 @@ | |||
2844 | 105 | ### may be: avi or mpg | 107 | ### may be: avi or mpg |
2845 | 106 | <emu_name> is the emulator name, e.g. mame, zsnes, etc. | 108 | <emu_name> is the emulator name, e.g. mame, zsnes, etc. |
2846 | 107 | <rotation> is layouts rotation angle (0, 90, 180, 270) | 109 | <rotation> is layouts rotation angle (0, 90, 180, 270) |
2849 | 108 | 110 | ||
2850 | 109 | 111 | ||
2851 | 110 | Notes: | 112 | Notes: |
2852 | 111 | ====== | 113 | ====== |
2854 | 112 | * Any fonts that a layout requires should be installed first | 114 | * Any fonts that a layout requires should be installed first |
2855 | 113 | (e.g. copy the font files into your ~/.fonts directory). | 115 | (e.g. copy the font files into your ~/.fonts directory). |
2856 | 114 | 116 | ||
2857 | 115 | ================================================= | 117 | ================================================= |
2859 | 116 | Wah!Cade is Copyright (c) 2005-2009 Andy Balcombe | 118 | Wah!Cade is Copyright (c) 2005-2010 Andy Balcombe |
2860 | 117 | email: wahcade at anti-particle dot com | 119 | email: wahcade at anti-particle dot com |
2861 | 118 | ================================================= | 120 | ================================================= |
2862 | 119 | 121 | ||
2863 | 120 | 122 | ||
2864 | === modified file 'doc/README' | |||
2865 | --- doc/README 2009-01-07 17:51:46 +0000 | |||
2866 | +++ doc/README 2011-03-03 21:06:42 +0000 | |||
2867 | @@ -51,13 +51,13 @@ | |||
2868 | 51 | ================ | 51 | ================ |
2869 | 52 | to run Wah!Cade: | 52 | to run Wah!Cade: |
2870 | 53 | wahcade | 53 | wahcade |
2872 | 54 | 54 | ||
2873 | 55 | to run the Layout Editor: | 55 | to run the Layout Editor: |
2874 | 56 | wahcade-layout-editor | 56 | wahcade-layout-editor |
2876 | 57 | 57 | ||
2877 | 58 | to run the Setup Editor: | 58 | to run the Setup Editor: |
2878 | 59 | wahcade-setup | 59 | wahcade-setup |
2880 | 60 | 60 | ||
2881 | 61 | or, if you're running from the source directory: | 61 | or, if you're running from the source directory: |
2882 | 62 | cd /path/to/wahcade | 62 | cd /path/to/wahcade |
2883 | 63 | ./wahcade.py | 63 | ./wahcade.py |
2884 | @@ -70,7 +70,9 @@ | |||
2885 | 70 | -w, --window Set windowed mode | 70 | -w, --window Set windowed mode |
2886 | 71 | -f, --full-screen Set fullscreen mode | 71 | -f, --full-screen Set fullscreen mode |
2887 | 72 | -d, --debug Set debug mode (disables pysco) | 72 | -d, --debug Set debug mode (disables pysco) |
2889 | 73 | 73 | --no-gstreamer Set to disable all gstreamer use (music / video playback) | |
2890 | 74 | --no-pygame Set to disable all pygame use (joysticks) | ||
2891 | 75 | --old-key-handler Set to revert to old keyboard event handling | ||
2892 | 74 | * you need to change your desktop resolution to match your chosen layout if you | 76 | * you need to change your desktop resolution to match your chosen layout if you |
2893 | 75 | want full-screen wah!cade to look right. | 77 | want full-screen wah!cade to look right. |
2894 | 76 | 78 | ||
2895 | @@ -82,30 +84,32 @@ | |||
2896 | 82 | and for letting me include some of the default MameWAH config files and layouts | 84 | and for letting me include some of the default MameWAH config files and layouts |
2897 | 83 | in the wah!cade package. | 85 | in the wah!cade package. |
2898 | 84 | * Buks & battlecat for artwork, testing & suggestions. | 86 | * Buks & battlecat for artwork, testing & suggestions. |
2901 | 85 | * Robbforce for the Arch-Linux port, FreeBSD news, bug reports and suggestions. | 87 | * Robbforce for the Arch-Linux port, FreeBSD news, bug reports and suggestions. |
2902 | 86 | * Sylvan Faveau, Settler, Mike Crawford, Mike Schwartz, nellistic, 3NF, | 88 | * Sylvan Faveau, Settler, Mike Crawford, Mike Schwartz, nellistic, 3NF, |
2903 | 87 | Bob Clough, Jim Merullo, Jose Herran & more for patches, bug reports and patience. | 89 | Bob Clough, Jim Merullo, Jose Herran & more for patches, bug reports and patience. |
2904 | 88 | * The translators: SeTTleR, Nicolás Álvarez. Sylvan Faveau and Daniel Nylander. | 90 | * The translators: SeTTleR, Nicolás Álvarez. Sylvan Faveau and Daniel Nylander. |
2905 | 89 | * all the M.A.M.E. developers (http://www.mame.net/) | 91 | * all the M.A.M.E. developers (http://www.mame.net/) |
2906 | 90 | * all the x.mame developers (http://x.mame.net/) | 92 | * all the x.mame developers (http://x.mame.net/) |
2907 | 93 | * everyone from the forums who have helped out with bug reporting, | ||
2908 | 94 | feature suggestions and more. | ||
2909 | 91 | 95 | ||
2910 | 92 | 96 | ||
2911 | 93 | Supported OS | 97 | Supported OS |
2912 | 94 | ============ | 98 | ============ |
2917 | 95 | Wah!Cade has been tested on: | 99 | Wah!Cade is developed on: |
2918 | 96 | * Ubuntu "Hardy Heron" 8.04 / xmame 0.106 / sdlmame 0.125 | 100 | * Ubuntu "Karmic Koala" 9.10 / sdlmame 0.132 |
2919 | 97 | I've also had reports of it working on Arch, Debian (etch), Gentoo, FreeBSD, | 101 | I've also had reports of it working on Arch, Debian (etch), Gentoo, FreeBSD, |
2920 | 98 | Mac OS X and Windows. YMMV. | 102 | Mac OS X, Windows and even the PS3. YMMV. |
2921 | 99 | 103 | ||
2922 | 100 | Comments | 104 | Comments |
2923 | 101 | ======== | 105 | ======== |
2926 | 102 | Check the Wah!Cade Forums: | 106 | Check the Wah!Cade Forums: |
2927 | 103 | http://www.anti-particle.com/forum/index.php | 107 | http://www.anti-particle.com/forum |
2928 | 104 | If you have any bug reports, suggestions, features, patches or comments then | 108 | If you have any bug reports, suggestions, features, patches or comments then |
2929 | 105 | please contact me at the address below... | 109 | please contact me at the address below... |
2930 | 106 | 110 | ||
2931 | 107 | ================================================= | 111 | ================================================= |
2933 | 108 | Wah!Cade is Copyright (c) 2005-2009 Andy Balcombe | 112 | Wah!Cade is Copyright (c) 2005-2010 Andy Balcombe |
2934 | 109 | email: wahcade at anti-particle dot com | 113 | email: wahcade at anti-particle dot com |
2935 | 110 | ================================================= | 114 | ================================================= |
2936 | 111 | 115 | ||
2937 | 112 | 116 | ||
2938 | === modified file 'doc/TODO' | |||
2939 | --- doc/TODO 2009-01-07 17:51:46 +0000 | |||
2940 | +++ doc/TODO 2011-03-03 21:06:42 +0000 | |||
2941 | @@ -7,7 +7,7 @@ | |||
2942 | 7 | --------- | 7 | --------- |
2943 | 8 | * Rotate video if necessary | 8 | * Rotate video if necessary |
2944 | 9 | * Detect keyboard & mouse events when mouse pointer is over a video window | 9 | * Detect keyboard & mouse events when mouse pointer is over a video window |
2946 | 10 | * Add Nelistc's LIRC patch | 10 | * Add Nelistc's LIRC patch (if I can find it!) |
2947 | 11 | * Add various EXIT..., OP_MENU_HIDE actions | 11 | * Add various EXIT..., OP_MENU_HIDE actions |
2948 | 12 | 12 | ||
2949 | 13 | 13 | ||
2950 | @@ -26,7 +26,7 @@ | |||
2951 | 26 | Postby spudgunman on 24 Oct 2008 07:01 am | 26 | Postby spudgunman on 24 Oct 2008 07:01 am |
2952 | 27 | could I put in a feature request for recursive directory searching option for ROM directory | 27 | could I put in a feature request for recursive directory searching option for ROM directory |
2953 | 28 | for instance I have roms like: | 28 | for instance I have roms like: |
2955 | 29 | 29 | ||
2956 | 30 | SNES | 30 | SNES |
2957 | 31 | ../USA | 31 | ../USA |
2958 | 32 | ../Japan | 32 | ../Japan |
2959 | 33 | 33 | ||
2960 | === modified file 'filters.py' | |||
2961 | --- filters.py 2009-01-07 17:51:46 +0000 | |||
2962 | +++ filters.py 2011-03-03 21:06:42 +0000 | |||
2963 | @@ -5,7 +5,7 @@ | |||
2964 | 5 | # Application: wah!cade | 5 | # Application: wah!cade |
2965 | 6 | # File: filters.py | 6 | # File: filters.py |
2966 | 7 | # Description: routines to read / write mamewah filters and lists | 7 | # Description: routines to read / write mamewah filters and lists |
2968 | 8 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 8 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
2969 | 9 | ### | 9 | ### |
2970 | 10 | # | 10 | # |
2971 | 11 | # This program is free software; you can redistribute it and/or modify | 11 | # This program is free software; you can redistribute it and/or modify |
2972 | @@ -86,8 +86,8 @@ | |||
2973 | 86 | 'dial': u'Spinner (or 360\xb0 Wheel)', | 86 | 'dial': u'Spinner (or 360\xb0 Wheel)', |
2974 | 87 | 'trackball': u'Trackball', | 87 | 'trackball': u'Trackball', |
2975 | 88 | 'pedal': u'Pedal', | 88 | 'pedal': u'Pedal', |
2978 | 89 | '': u'None' | 89 | 'keyboard': u'Keyboard', |
2979 | 90 | } | 90 | '': u'None'} |
2980 | 91 | 91 | ||
2981 | 92 | 92 | ||
2982 | 93 | def get_file_encoding(filename): | 93 | def get_file_encoding(filename): |
2983 | @@ -99,11 +99,12 @@ | |||
2984 | 99 | detector.feed(line) | 99 | detector.feed(line) |
2985 | 100 | i += 1 | 100 | i += 1 |
2986 | 101 | #done or hit max lines (it takes ages to read a large file) | 101 | #done or hit max lines (it takes ages to read a large file) |
2988 | 102 | if detector.done or i >= 2000: | 102 | if detector.done or i >= 2000: |
2989 | 103 | break | 103 | break |
2990 | 104 | detector.close() | 104 | detector.close() |
2991 | 105 | return detector.result | 105 | return detector.result |
2993 | 106 | 106 | ||
2994 | 107 | |||
2995 | 107 | def open_file(filename, filemode='r'): | 108 | def open_file(filename, filemode='r'): |
2996 | 108 | """opens given filename, and autodetects the encoding""" | 109 | """opens given filename, and autodetects the encoding""" |
2997 | 109 | #detect encoding | 110 | #detect encoding |
2998 | @@ -112,12 +113,13 @@ | |||
2999 | 112 | except: | 113 | except: |
3000 | 113 | file_enc = sys.getdefaultencoding() | 114 | file_enc = sys.getdefaultencoding() |
3001 | 114 | #use utf8 instead of ascii | 115 | #use utf8 instead of ascii |
3003 | 115 | if file_enc.lower() == 'ascii': | 116 | if file_enc.lower() == 'ascii': |
3004 | 116 | file_enc = 'utf8' | 117 | file_enc = 'utf8' |
3005 | 117 | #open file using correct encoding | 118 | #open file using correct encoding |
3007 | 118 | f = codecs.open(filename, mode=filemode, encoding=file_enc) | 119 | f = codecs.open(filename, mode=filemode, encoding=file_enc) |
3008 | 119 | return f, file_enc | 120 | return f, file_enc |
3010 | 120 | 121 | ||
3011 | 122 | |||
3012 | 121 | def get_dat_game_item(dat_filename): | 123 | def get_dat_game_item(dat_filename): |
3013 | 122 | """read dat file""" | 124 | """read dat file""" |
3014 | 123 | #get category info | 125 | #get category info |
3015 | @@ -165,27 +167,27 @@ | |||
3016 | 165 | l = value[2:-2].split() | 167 | l = value[2:-2].split() |
3017 | 166 | for i in range(0, len(l) - 1, 2): | 168 | for i in range(0, len(l) - 1, 2): |
3018 | 167 | vid[l[i]] = l[i+1] | 169 | vid[l[i]] = l[i+1] |
3020 | 168 | if vid.has_key('screen'): | 170 | if 'screen' in vid: |
3021 | 169 | d['display_type'] = vid['screen'] | 171 | d['display_type'] = vid['screen'] |
3023 | 170 | if vid.has_key('orientation'): | 172 | if 'orientation' in vid: |
3024 | 171 | d['screen_type'] = vid['orientation'] | 173 | d['screen_type'] = vid['orientation'] |
3025 | 172 | elif key == '\tdriver': | 174 | elif key == '\tdriver': |
3026 | 173 | driver = {} | 175 | driver = {} |
3027 | 174 | l = value[2:-2].split() | 176 | l = value[2:-2].split() |
3028 | 175 | for i in range(0, len(l) - 1, 2): | 177 | for i in range(0, len(l) - 1, 2): |
3029 | 176 | driver[l[i]] = l[i+1] | 178 | driver[l[i]] = l[i+1] |
3031 | 177 | if driver.has_key('status'): | 179 | if 'status' in driver: |
3032 | 178 | d['driver_status'] = driver['status'] | 180 | d['driver_status'] = driver['status'] |
3034 | 179 | if driver.has_key('color'): | 181 | if 'color' in driver: |
3035 | 180 | d['colour_status'] = driver['color'] | 182 | d['colour_status'] = driver['color'] |
3037 | 181 | if driver.has_key('sound'): | 183 | if 'sound' in driver: |
3038 | 182 | d['sound_status'] = driver['sound'] | 184 | d['sound_status'] = driver['sound'] |
3039 | 183 | elif key == '\tinput': | 185 | elif key == '\tinput': |
3040 | 184 | ctrl = {} | 186 | ctrl = {} |
3041 | 185 | l = value[2:-2].split() | 187 | l = value[2:-2].split() |
3042 | 186 | for i in range(0, len(l) - 1, 2): | 188 | for i in range(0, len(l) - 1, 2): |
3043 | 187 | ctrl[l[i]] = l[i+1] | 189 | ctrl[l[i]] = l[i+1] |
3045 | 188 | if ctrl.has_key('control'): | 190 | if 'control' in ctrl: |
3046 | 189 | d['controller_type'] = _controllers[ctrl['control']] | 191 | d['controller_type'] = _controllers[ctrl['control']] |
3047 | 190 | #get category | 192 | #get category |
3048 | 191 | try: | 193 | try: |
3049 | @@ -200,6 +202,7 @@ | |||
3050 | 200 | #done | 202 | #done |
3051 | 201 | f.close() | 203 | f.close() |
3052 | 202 | 204 | ||
3053 | 205 | |||
3054 | 203 | def get_xml_game_item(xml_filename): | 206 | def get_xml_game_item(xml_filename): |
3055 | 204 | """get game bits""" | 207 | """get game bits""" |
3056 | 205 | #get category info | 208 | #get category info |
3057 | @@ -208,7 +211,7 @@ | |||
3058 | 208 | for event, mame_element in ET.iterparse(xml_filename, events=('start', 'end')): | 211 | for event, mame_element in ET.iterparse(xml_filename, events=('start', 'end')): |
3059 | 209 | #get mame version element | 212 | #get mame version element |
3060 | 210 | if mame_element.tag == 'mame': | 213 | if mame_element.tag == 'mame': |
3062 | 211 | if not mame_element.attrib.has_key('build'): | 214 | if 'build' not in mame_element.attrib: |
3063 | 212 | mame_version = '0.000' | 215 | mame_version = '0.000' |
3064 | 213 | else: | 216 | else: |
3065 | 214 | spc_pos = mame_element.attrib['build'].find(' ') | 217 | spc_pos = mame_element.attrib['build'].find(' ') |
3066 | @@ -248,14 +251,14 @@ | |||
3067 | 248 | manu = game_element.findtext('manufacturer') or '' | 251 | manu = game_element.findtext('manufacturer') or '' |
3068 | 249 | desc = game_element.findtext('description') or '' | 252 | desc = game_element.findtext('description') or '' |
3069 | 250 | #create dict | 253 | #create dict |
3071 | 251 | d['rom_name'] = game_element.attrib['name'].upper() | 254 | d['rom_name'] = game_element.attrib['name']#.upper() |
3072 | 252 | d['game_name'] = desc | 255 | d['game_name'] = desc |
3073 | 253 | d['year'] = year | 256 | d['year'] = year |
3074 | 254 | d['manufacturer'] = manu.title() | 257 | d['manufacturer'] = manu.title() |
3075 | 255 | if 'cloneof' in game_element.keys(): | 258 | if 'cloneof' in game_element.keys(): |
3077 | 256 | d['clone_of'] = game_element.attrib['cloneof'].upper() | 259 | d['clone_of'] = game_element.attrib['cloneof']#.upper() |
3078 | 257 | if 'romof' in game_element.keys(): | 260 | if 'romof' in game_element.keys(): |
3080 | 258 | d['rom_of'] = game_element.attrib['romof'].upper() | 261 | d['rom_of'] = game_element.attrib['romof']#.upper() |
3081 | 259 | if vid is not None: | 262 | if vid is not None: |
3082 | 260 | if mame_version > '0.106': | 263 | if mame_version > '0.106': |
3083 | 261 | d['display_type'] = vid.attrib['type'].title() | 264 | d['display_type'] = vid.attrib['type'].title() |
3084 | @@ -279,9 +282,12 @@ | |||
3085 | 279 | except (ConfigParser.NoOptionError, ConfigParser.NoSectionError): | 282 | except (ConfigParser.NoOptionError, ConfigParser.NoSectionError): |
3086 | 280 | d['category'] = 'Unknown' | 283 | d['category'] = 'Unknown' |
3087 | 281 | #done | 284 | #done |
3088 | 285 | #if d['rom_name'] == 'ASTEROID': | ||
3089 | 286 | # print "game=",d | ||
3090 | 282 | yield d | 287 | yield d |
3091 | 283 | game_element.clear() # won't need this any more | 288 | game_element.clear() # won't need this any more |
3092 | 284 | 289 | ||
3093 | 290 | |||
3094 | 285 | def get_catver_ini(category_file): | 291 | def get_catver_ini(category_file): |
3095 | 286 | """load catver.ini file""" | 292 | """load catver.ini file""" |
3096 | 287 | if not os.path.exists(category_file): | 293 | if not os.path.exists(category_file): |
3097 | @@ -290,6 +296,7 @@ | |||
3098 | 290 | catver.read(category_file) | 296 | catver.read(category_file) |
3099 | 291 | return catver | 297 | return catver |
3100 | 292 | 298 | ||
3101 | 299 | |||
3102 | 293 | def create_initial_filter(info_filename, filter_filename, list_filename, emu_ini, pgb_pulse=None): | 300 | def create_initial_filter(info_filename, filter_filename, list_filename, emu_ini, pgb_pulse=None): |
3103 | 294 | """create a new mamewah .ftr & .lst file""" | 301 | """create a new mamewah .ftr & .lst file""" |
3104 | 295 | pulse_cnt = 0 | 302 | pulse_cnt = 0 |
3105 | @@ -330,7 +337,7 @@ | |||
3106 | 330 | 'category': ''} | 337 | 'category': ''} |
3107 | 331 | for rom_filename in roms: | 338 | for rom_filename in roms: |
3108 | 332 | rom_name = os.path.splitext(os.path.basename(rom_filename))[0] | 339 | rom_name = os.path.splitext(os.path.basename(rom_filename))[0] |
3110 | 333 | if nms_entries.has_key(rom_name): | 340 | if rom_name in nms_entries: |
3111 | 334 | game_name = nms_entries[rom_name] | 341 | game_name = nms_entries[rom_name] |
3112 | 335 | else: | 342 | else: |
3113 | 336 | game_name = rom_name | 343 | game_name = rom_name |
3114 | @@ -389,10 +396,10 @@ | |||
3115 | 389 | except StopIteration: | 396 | except StopIteration: |
3116 | 390 | break | 397 | break |
3117 | 391 | #for each key in sections | 398 | #for each key in sections |
3122 | 392 | for key in _sections[1:]: | 399 | for k in _sections[1:]: |
3123 | 393 | if gd.has_key(key): | 400 | if k in gd: |
3124 | 394 | if gd[key] not in mwfilter[key]: | 401 | if gd[k] not in mwfilter[k]: |
3125 | 395 | mwfilter[key].append(gd[key]) | 402 | mwfilter[k].append(gd[k]) |
3126 | 396 | #done list file | 403 | #done list file |
3127 | 397 | f.close() | 404 | f.close() |
3128 | 398 | #write filter file | 405 | #write filter file |
3129 | @@ -412,6 +419,7 @@ | |||
3130 | 412 | f.write('\n') | 419 | f.write('\n') |
3131 | 413 | f.close() | 420 | f.close() |
3132 | 414 | 421 | ||
3133 | 422 | |||
3134 | 415 | def read_filter(filter_file): | 423 | def read_filter(filter_file): |
3135 | 416 | """read a mamewah .ftr file""" | 424 | """read a mamewah .ftr file""" |
3136 | 417 | #init | 425 | #init |
3137 | @@ -455,6 +463,7 @@ | |||
3138 | 455 | f.close() | 463 | f.close() |
3139 | 456 | return d | 464 | return d |
3140 | 457 | 465 | ||
3141 | 466 | |||
3142 | 458 | def write_filter(filter_spec, filter_filename): | 467 | def write_filter(filter_spec, filter_filename): |
3143 | 459 | """write a filter file from a given spec""" | 468 | """write a filter file from a given spec""" |
3144 | 460 | f, file_enc = open_file(filter_filename, 'w') | 469 | f, file_enc = open_file(filter_filename, 'w') |
3145 | @@ -464,12 +473,13 @@ | |||
3146 | 464 | for key in _sections[1:]: | 473 | for key in _sections[1:]: |
3147 | 465 | l = filter_spec[key].items() | 474 | l = filter_spec[key].items() |
3148 | 466 | l.sort() | 475 | l.sort() |
3150 | 467 | for item, value in l: | 476 | for item, value in l: |
3151 | 468 | f.write('%s\n%s\n' % (item, str(value))) | 477 | f.write('%s\n%s\n' % (item, str(value))) |
3152 | 469 | f.write('\n') | 478 | f.write('\n') |
3153 | 470 | #done | 479 | #done |
3154 | 471 | f.close() | 480 | f.close() |
3155 | 472 | 481 | ||
3156 | 482 | |||
3157 | 473 | def create_filtered_list(original_list_filename, filter_spec, list_filename): | 483 | def create_filtered_list(original_list_filename, filter_spec, list_filename): |
3158 | 474 | """create a mamewah .lst file from <emu>-0.lst and the given spec""" | 484 | """create a mamewah .lst file from <emu>-0.lst and the given spec""" |
3159 | 475 | #open empty list file | 485 | #open empty list file |
3160 | @@ -480,6 +490,8 @@ | |||
3161 | 480 | #for each item in iterator | 490 | #for each item in iterator |
3162 | 481 | for game_item in all_games: | 491 | for game_item in all_games: |
3163 | 482 | gd = get_game_dict(game_item) | 492 | gd = get_game_dict(game_item) |
3164 | 493 | #if gd['rom_name'] == 'ASTEROID': | ||
3165 | 494 | # print "cfl: game=",gd | ||
3166 | 483 | #match filter conditions | 495 | #match filter conditions |
3167 | 484 | matched = True | 496 | matched = True |
3168 | 485 | #check filter type section | 497 | #check filter type section |
3169 | @@ -500,20 +512,25 @@ | |||
3170 | 500 | if matched: | 512 | if matched: |
3171 | 501 | #for each section | 513 | #for each section |
3172 | 502 | for section in _sections[1:]: | 514 | for section in _sections[1:]: |
3174 | 503 | if filter_spec.has_key(section) and gd.has_key(section): | 515 | if section in filter_spec and section in gd: |
3175 | 504 | #if spec and current game have same section | 516 | #if spec and current game have same section |
3177 | 505 | if filter_spec[section].has_key(gd[section]): | 517 | if gd[section] in filter_spec[section]: |
3178 | 506 | if not filter_spec[section][gd[section]]: | 518 | if not filter_spec[section][gd[section]]: |
3179 | 507 | #don't match if spec entry for game not set (i.e. False) | 519 | #don't match if spec entry for game not set (i.e. False) |
3180 | 508 | matched = False | 520 | matched = False |
3183 | 509 | if gd[section] is None or gd[section] == '': | 521 | #if gd[section] is None or gd[section] == '': |
3184 | 510 | matched = False | 522 | # if gd['rom_name'] == 'ASTEROID': |
3185 | 523 | # print "cfl: not matched (is none)" | ||
3186 | 524 | # matched = False | ||
3187 | 525 | #if gd['rom_name'] == 'ASTEROID': | ||
3188 | 526 | # print "cfl: matched=",matched | ||
3189 | 511 | if matched: | 527 | if matched: |
3190 | 512 | #write output | 528 | #write output |
3191 | 513 | add_game_to_filtered_list(gd, f) | 529 | add_game_to_filtered_list(gd, f) |
3192 | 514 | #done, close file | 530 | #done, close file |
3193 | 515 | f.close() | 531 | f.close() |
3194 | 516 | 532 | ||
3195 | 533 | |||
3196 | 517 | def read_filtered_list(list_filename): | 534 | def read_filtered_list(list_filename): |
3197 | 518 | """read a mamewah .lst file""" | 535 | """read a mamewah .lst file""" |
3198 | 519 | l = [] | 536 | l = [] |
3199 | @@ -538,6 +555,7 @@ | |||
3200 | 538 | #done | 555 | #done |
3201 | 539 | return l, len(l) | 556 | return l, len(l) |
3202 | 540 | 557 | ||
3203 | 558 | |||
3204 | 541 | def add_game_to_filtered_list(gd, file_obj=None, list_filename=None): | 559 | def add_game_to_filtered_list(gd, file_obj=None, list_filename=None): |
3205 | 542 | """add game info in given dictionary to specified file or .lst file""" | 560 | """add game info in given dictionary to specified file or .lst file""" |
3206 | 543 | if list_filename is not None: | 561 | if list_filename is not None: |
3207 | @@ -557,13 +575,13 @@ | |||
3208 | 557 | '%s\n' % gd['driver_status'], | 575 | '%s\n' % gd['driver_status'], |
3209 | 558 | '%s\n' % gd['colour_status'], | 576 | '%s\n' % gd['colour_status'], |
3210 | 559 | '%s\n' % gd['sound_status'], | 577 | '%s\n' % gd['sound_status'], |
3213 | 560 | '%s\n' % gd['category'] | 578 | '%s\n' % gd['category']]) |
3212 | 561 | ]) | ||
3214 | 562 | #done | 579 | #done |
3215 | 563 | if list_filename is not None: | 580 | if list_filename is not None: |
3216 | 564 | file_obj.close() | 581 | file_obj.close() |
3217 | 565 | 582 | ||
3219 | 566 | def write_filtered_list(list_filename , list_items): | 583 | |
3220 | 584 | def write_filtered_list(list_filename, list_items): | ||
3221 | 567 | """write the given list items into the specified .lst file""" | 585 | """write the given list items into the specified .lst file""" |
3222 | 568 | #f= codecs.open(list_filename, mode='w', encoding='utf-8') | 586 | #f= codecs.open(list_filename, mode='w', encoding='utf-8') |
3223 | 569 | f, file_enc = open_file(list_filename, 'w') | 587 | f, file_enc = open_file(list_filename, 'w') |
3224 | @@ -581,11 +599,11 @@ | |||
3225 | 581 | '%s\n' % game_info[GL_DRIVER_STATUS], | 599 | '%s\n' % game_info[GL_DRIVER_STATUS], |
3226 | 582 | '%s\n' % game_info[GL_COLOUR_STATUS], | 600 | '%s\n' % game_info[GL_COLOUR_STATUS], |
3227 | 583 | '%s\n' % game_info[GL_SOUND_STATUS], | 601 | '%s\n' % game_info[GL_SOUND_STATUS], |
3230 | 584 | '%s\n' % game_info[GL_CATEGORY] | 602 | '%s\n' % game_info[GL_CATEGORY]]) |
3229 | 585 | ]) | ||
3231 | 586 | #done | 603 | #done |
3232 | 587 | f.close() | 604 | f.close() |
3233 | 588 | 605 | ||
3234 | 606 | |||
3235 | 589 | def read_fav_list(favlist_filename): | 607 | def read_fav_list(favlist_filename): |
3236 | 590 | """reads a .fav list""" | 608 | """reads a .fav list""" |
3237 | 591 | d = {} | 609 | d = {} |
3238 | @@ -607,6 +625,7 @@ | |||
3239 | 607 | #done | 625 | #done |
3240 | 608 | return d | 626 | return d |
3241 | 609 | 627 | ||
3242 | 628 | |||
3243 | 610 | def write_fav_list(favlist_filename, favs): | 629 | def write_fav_list(favlist_filename, favs): |
3244 | 611 | """writes a .fav list""" | 630 | """writes a .fav list""" |
3245 | 612 | f, file_enc = open_file(favlist_filename, 'w') | 631 | f, file_enc = open_file(favlist_filename, 'w') |
3246 | @@ -615,10 +634,10 @@ | |||
3247 | 615 | '%s\n' % fav_key, | 634 | '%s\n' % fav_key, |
3248 | 616 | '%s\n' % favs[fav_key][FAV_GAME_NAME], | 635 | '%s\n' % favs[fav_key][FAV_GAME_NAME], |
3249 | 617 | '%s\n' % favs[fav_key][FAV_TIMES_PLAYED], | 636 | '%s\n' % favs[fav_key][FAV_TIMES_PLAYED], |
3252 | 618 | '%s\n' % favs[fav_key][FAV_MINS_PLAYED] | 637 | '%s\n' % favs[fav_key][FAV_MINS_PLAYED]]) |
3251 | 619 | ]) | ||
3253 | 620 | f.close() | 638 | f.close() |
3254 | 621 | 639 | ||
3255 | 640 | |||
3256 | 622 | def get_game_dict(game_item): | 641 | def get_game_dict(game_item): |
3257 | 623 | """return dictionary of info for given game item""" | 642 | """return dictionary of info for given game item""" |
3258 | 624 | gd = { | 643 | gd = { |
3259 | @@ -634,15 +653,15 @@ | |||
3260 | 634 | 'driver_status': game_item[GL_DRIVER_STATUS], | 653 | 'driver_status': game_item[GL_DRIVER_STATUS], |
3261 | 635 | 'colour_status': game_item[GL_COLOUR_STATUS], | 654 | 'colour_status': game_item[GL_COLOUR_STATUS], |
3262 | 636 | 'sound_status': game_item[GL_SOUND_STATUS], | 655 | 'sound_status': game_item[GL_SOUND_STATUS], |
3265 | 637 | 'category': game_item[GL_CATEGORY] | 656 | 'category': game_item[GL_CATEGORY]} |
3264 | 638 | } | ||
3266 | 639 | return gd | 657 | return gd |
3267 | 640 | 658 | ||
3268 | 659 | |||
3269 | 641 | def read_nms_file(nms_filename): | 660 | def read_nms_file(nms_filename): |
3270 | 642 | """returns a dictionary created from a nms formatted file""" | 661 | """returns a dictionary created from a nms formatted file""" |
3271 | 643 | d = {} | 662 | d = {} |
3272 | 644 | if nms_filename == '': | 663 | if nms_filename == '': |
3274 | 645 | return d | 664 | return d |
3275 | 646 | #read file | 665 | #read file |
3276 | 647 | try: | 666 | try: |
3277 | 648 | f, file_enc = open_file(nms_filename, 'r') | 667 | f, file_enc = open_file(nms_filename, 'r') |
3278 | @@ -659,7 +678,8 @@ | |||
3279 | 659 | d[r[1]] = r[0] | 678 | d[r[1]] = r[0] |
3280 | 660 | #done | 679 | #done |
3281 | 661 | return d | 680 | return d |
3283 | 662 | 681 | ||
3284 | 682 | |||
3285 | 663 | def walk_dir(root, recurse=False, pattern='*', return_folders=False): | 683 | def walk_dir(root, recurse=False, pattern='*', return_folders=False): |
3286 | 664 | # initialize | 684 | # initialize |
3287 | 665 | result = [] | 685 | result = [] |
3288 | @@ -696,18 +716,13 @@ | |||
3289 | 696 | import time | 716 | import time |
3290 | 697 | from mamewah_ini import MameWahIni | 717 | from mamewah_ini import MameWahIni |
3291 | 698 | #set vars | 718 | #set vars |
3292 | 699 | #CONFIG_DIR = os.path.join(sys.path[0], 'config') | ||
3293 | 700 | CONFIG_DIR = os.path.expanduser('~/.wahcade') | ||
3294 | 701 | cdir = sys.path[0] | 719 | cdir = sys.path[0] |
3295 | 702 | #_mameinfo_file = os.path.join(cdir, 'mameinfo111.xml') | 720 | #_mameinfo_file = os.path.join(cdir, 'mameinfo111.xml') |
3296 | 703 | _catver_ini = os.path.join(cdir, 'catver2.ini') | 721 | _catver_ini = os.path.join(cdir, 'catver2.ini') |
3297 | 704 | |||
3298 | 705 | #set to unicode encoding | 722 | #set to unicode encoding |
3299 | 706 | try: | 723 | try: |
3300 | 707 | sys.setappdefaultencoding('utf-8') | 724 | sys.setappdefaultencoding('utf-8') |
3301 | 708 | except AttributeError: | 725 | except AttributeError: |
3302 | 709 | pass | 726 | pass |
3303 | 710 | |||
3304 | 711 | #test nms feed | 727 | #test nms feed |
3305 | 712 | print read_nms_file(os.path.expanduser('~/emulators/pc/pc_games.nms')) | 728 | print read_nms_file(os.path.expanduser('~/emulators/pc/pc_games.nms')) |
3306 | 713 | |||
3307 | 714 | 729 | ||
3308 | === modified file 'glade/layout_editor.glade' | |||
3309 | --- glade/layout_editor.glade 2009-01-11 16:29:58 +0000 | |||
3310 | +++ glade/layout_editor.glade 2011-03-03 21:06:42 +0000 | |||
3311 | @@ -729,6 +729,7 @@ | |||
3312 | 729 | <property name="relief">GTK_RELIEF_NORMAL</property> | 729 | <property name="relief">GTK_RELIEF_NORMAL</property> |
3313 | 730 | <property name="focus_on_click">True</property> | 730 | <property name="focus_on_click">True</property> |
3314 | 731 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Wed, 28 Jun 2006 09:06:53 GMT"/> | 731 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Wed, 28 Jun 2006 09:06:53 GMT"/> |
3315 | 732 | <accelerator key="Escape" modifiers="0" signal="clicked"/> | ||
3316 | 732 | </widget> | 733 | </widget> |
3317 | 733 | </child> | 734 | </child> |
3318 | 734 | </widget> | 735 | </widget> |
3319 | @@ -1595,6 +1596,7 @@ | |||
3320 | 1595 | <child> | 1596 | <child> |
3321 | 1596 | <widget class="GtkCheckButton" id="chkBackgroundImage"> | 1597 | <widget class="GtkCheckButton" id="chkBackgroundImage"> |
3322 | 1597 | <property name="visible">True</property> | 1598 | <property name="visible">True</property> |
3323 | 1599 | <property name="tooltip" translatable="yes">Leave unchecked for Wah!Cade to auto-detect background images.</property> | ||
3324 | 1598 | <property name="can_focus">True</property> | 1600 | <property name="can_focus">True</property> |
3325 | 1599 | <property name="label" translatable="yes">Background Image</property> | 1601 | <property name="label" translatable="yes">Background Image</property> |
3326 | 1600 | <property name="use_underline">True</property> | 1602 | <property name="use_underline">True</property> |
3327 | @@ -1789,6 +1791,7 @@ | |||
3328 | 1789 | <property name="relief">GTK_RELIEF_NORMAL</property> | 1791 | <property name="relief">GTK_RELIEF_NORMAL</property> |
3329 | 1790 | <property name="focus_on_click">True</property> | 1792 | <property name="focus_on_click">True</property> |
3330 | 1791 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Tue, 04 Jul 2006 08:23:41 GMT"/> | 1793 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Tue, 04 Jul 2006 08:23:41 GMT"/> |
3331 | 1794 | <accelerator key="Escape" modifiers="0" signal="clicked"/> | ||
3332 | 1792 | </widget> | 1795 | </widget> |
3333 | 1793 | </child> | 1796 | </child> |
3334 | 1794 | </widget> | 1797 | </widget> |
3335 | 1795 | 1798 | ||
3336 | === modified file 'glade/layout_editor.glade.bak' | |||
3337 | --- glade/layout_editor.glade.bak 2009-01-11 16:29:58 +0000 | |||
3338 | +++ glade/layout_editor.glade.bak 2011-03-03 21:06:42 +0000 | |||
3339 | @@ -729,6 +729,7 @@ | |||
3340 | 729 | <property name="relief">GTK_RELIEF_NORMAL</property> | 729 | <property name="relief">GTK_RELIEF_NORMAL</property> |
3341 | 730 | <property name="focus_on_click">True</property> | 730 | <property name="focus_on_click">True</property> |
3342 | 731 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Wed, 28 Jun 2006 09:06:53 GMT"/> | 731 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Wed, 28 Jun 2006 09:06:53 GMT"/> |
3343 | 732 | <accelerator key="Escape" modifiers="0" signal="clicked"/> | ||
3344 | 732 | </widget> | 733 | </widget> |
3345 | 733 | </child> | 734 | </child> |
3346 | 734 | </widget> | 735 | </widget> |
3347 | @@ -1789,6 +1790,7 @@ | |||
3348 | 1789 | <property name="relief">GTK_RELIEF_NORMAL</property> | 1790 | <property name="relief">GTK_RELIEF_NORMAL</property> |
3349 | 1790 | <property name="focus_on_click">True</property> | 1791 | <property name="focus_on_click">True</property> |
3350 | 1791 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Tue, 04 Jul 2006 08:23:41 GMT"/> | 1792 | <signal name="clicked" handler="on_btnClose_clicked" last_modification_time="Tue, 04 Jul 2006 08:23:41 GMT"/> |
3351 | 1793 | <accelerator key="Escape" modifiers="0" signal="clicked"/> | ||
3352 | 1792 | </widget> | 1794 | </widget> |
3353 | 1793 | </child> | 1795 | </child> |
3354 | 1794 | </widget> | 1796 | </widget> |
3355 | 1795 | 1797 | ||
3356 | === modified file 'glade/layout_editor.glade.h' | |||
3357 | --- glade/layout_editor.glade.h 2008-11-30 10:26:19 +0000 | |||
3358 | +++ glade/layout_editor.glade.h 2011-03-03 21:06:42 +0000 | |||
3359 | @@ -24,6 +24,7 @@ | |||
3360 | 24 | char *s = N_("Item _Properties"); | 24 | char *s = N_("Item _Properties"); |
3361 | 25 | char *s = N_("Layout"); | 25 | char *s = N_("Layout"); |
3362 | 26 | char *s = N_("Layout Properties"); | 26 | char *s = N_("Layout Properties"); |
3363 | 27 | char *s = N_("Leave unchecked for Wah!Cade to auto-detect background images."); | ||
3364 | 27 | char *s = N_("Left"); | 28 | char *s = N_("Left"); |
3365 | 28 | char *s = N_("M_essage Window"); | 29 | char *s = N_("M_essage Window"); |
3366 | 29 | char *s = N_("Main Window"); | 30 | char *s = N_("Main Window"); |
3367 | 30 | 31 | ||
3368 | === modified file 'glade/wahcade_setup.glade' | |||
3369 | --- glade/wahcade_setup.glade 2009-01-11 16:29:58 +0000 | |||
3370 | +++ glade/wahcade_setup.glade 2011-03-03 21:06:42 +0000 | |||
3371 | @@ -259,7 +259,7 @@ | |||
3372 | 259 | <widget class="GtkTable" id="tblWCMovies"> | 259 | <widget class="GtkTable" id="tblWCMovies"> |
3373 | 260 | <property name="border_width">5</property> | 260 | <property name="border_width">5</property> |
3374 | 261 | <property name="visible">True</property> | 261 | <property name="visible">True</property> |
3376 | 262 | <property name="n_rows">4</property> | 262 | <property name="n_rows">5</property> |
3377 | 263 | <property name="n_columns">2</property> | 263 | <property name="n_columns">2</property> |
3378 | 264 | <property name="homogeneous">False</property> | 264 | <property name="homogeneous">False</property> |
3379 | 265 | <property name="row_spacing">0</property> | 265 | <property name="row_spacing">0</property> |
3380 | @@ -299,7 +299,7 @@ | |||
3381 | 299 | <property name="can_focus">True</property> | 299 | <property name="can_focus">True</property> |
3382 | 300 | <property name="climb_rate">1</property> | 300 | <property name="climb_rate">1</property> |
3383 | 301 | <property name="digits">0</property> | 301 | <property name="digits">0</property> |
3385 | 302 | <property name="numeric">False</property> | 302 | <property name="numeric">True</property> |
3386 | 303 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> | 303 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> |
3387 | 304 | <property name="snap_to_ticks">False</property> | 304 | <property name="snap_to_ticks">False</property> |
3388 | 305 | <property name="wrap">False</property> | 305 | <property name="wrap">False</property> |
3389 | @@ -386,8 +386,8 @@ | |||
3390 | 386 | <packing> | 386 | <packing> |
3391 | 387 | <property name="left_attach">0</property> | 387 | <property name="left_attach">0</property> |
3392 | 388 | <property name="right_attach">1</property> | 388 | <property name="right_attach">1</property> |
3395 | 389 | <property name="top_attach">2</property> | 389 | <property name="top_attach">3</property> |
3396 | 390 | <property name="bottom_attach">3</property> | 390 | <property name="bottom_attach">4</property> |
3397 | 391 | <property name="x_options">fill</property> | 391 | <property name="x_options">fill</property> |
3398 | 392 | <property name="y_options"></property> | 392 | <property name="y_options"></property> |
3399 | 393 | </packing> | 393 | </packing> |
3400 | @@ -414,8 +414,8 @@ | |||
3401 | 414 | <packing> | 414 | <packing> |
3402 | 415 | <property name="left_attach">0</property> | 415 | <property name="left_attach">0</property> |
3403 | 416 | <property name="right_attach">1</property> | 416 | <property name="right_attach">1</property> |
3406 | 417 | <property name="top_attach">3</property> | 417 | <property name="top_attach">4</property> |
3407 | 418 | <property name="bottom_attach">4</property> | 418 | <property name="bottom_attach">5</property> |
3408 | 419 | <property name="x_options">fill</property> | 419 | <property name="x_options">fill</property> |
3409 | 420 | <property name="y_options"></property> | 420 | <property name="y_options"></property> |
3410 | 421 | </packing> | 421 | </packing> |
3411 | @@ -479,8 +479,8 @@ | |||
3412 | 479 | <packing> | 479 | <packing> |
3413 | 480 | <property name="left_attach">1</property> | 480 | <property name="left_attach">1</property> |
3414 | 481 | <property name="right_attach">2</property> | 481 | <property name="right_attach">2</property> |
3417 | 482 | <property name="top_attach">2</property> | 482 | <property name="top_attach">3</property> |
3418 | 483 | <property name="bottom_attach">3</property> | 483 | <property name="bottom_attach">4</property> |
3419 | 484 | <property name="x_options">fill</property> | 484 | <property name="x_options">fill</property> |
3420 | 485 | <property name="y_options">fill</property> | 485 | <property name="y_options">fill</property> |
3421 | 486 | </packing> | 486 | </packing> |
3422 | @@ -544,8 +544,54 @@ | |||
3423 | 544 | <packing> | 544 | <packing> |
3424 | 545 | <property name="left_attach">1</property> | 545 | <property name="left_attach">1</property> |
3425 | 546 | <property name="right_attach">2</property> | 546 | <property name="right_attach">2</property> |
3428 | 547 | <property name="top_attach">3</property> | 547 | <property name="top_attach">4</property> |
3429 | 548 | <property name="bottom_attach">4</property> | 548 | <property name="bottom_attach">5</property> |
3430 | 549 | <property name="x_options">fill</property> | ||
3431 | 550 | <property name="y_options">fill</property> | ||
3432 | 551 | </packing> | ||
3433 | 552 | </child> | ||
3434 | 553 | |||
3435 | 554 | <child> | ||
3436 | 555 | <widget class="GtkLabel" id="label107"> | ||
3437 | 556 | <property name="visible">True</property> | ||
3438 | 557 | <property name="label" translatable="yes">Music / Movie Mix</property> | ||
3439 | 558 | <property name="use_underline">False</property> | ||
3440 | 559 | <property name="use_markup">False</property> | ||
3441 | 560 | <property name="justify">GTK_JUSTIFY_RIGHT</property> | ||
3442 | 561 | <property name="wrap">False</property> | ||
3443 | 562 | <property name="selectable">False</property> | ||
3444 | 563 | <property name="xalign">1</property> | ||
3445 | 564 | <property name="yalign">0.5</property> | ||
3446 | 565 | <property name="xpad">4</property> | ||
3447 | 566 | <property name="ypad">0</property> | ||
3448 | 567 | <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> | ||
3449 | 568 | <property name="width_chars">-1</property> | ||
3450 | 569 | <property name="single_line_mode">False</property> | ||
3451 | 570 | <property name="angle">0</property> | ||
3452 | 571 | </widget> | ||
3453 | 572 | <packing> | ||
3454 | 573 | <property name="left_attach">0</property> | ||
3455 | 574 | <property name="right_attach">1</property> | ||
3456 | 575 | <property name="top_attach">2</property> | ||
3457 | 576 | <property name="bottom_attach">3</property> | ||
3458 | 577 | <property name="x_options">fill</property> | ||
3459 | 578 | <property name="y_options"></property> | ||
3460 | 579 | </packing> | ||
3461 | 580 | </child> | ||
3462 | 581 | |||
3463 | 582 | <child> | ||
3464 | 583 | <widget class="GtkComboBox" id="cboWCMovieMix"> | ||
3465 | 584 | <property name="visible">True</property> | ||
3466 | 585 | <property name="items" translatable="yes"></property> | ||
3467 | 586 | <property name="add_tearoffs">False</property> | ||
3468 | 587 | <property name="focus_on_click">True</property> | ||
3469 | 588 | <signal name="changed" handler="on_Setup_changed" last_modification_time="Sun, 28 Jun 2009 16:49:44 GMT"/> | ||
3470 | 589 | </widget> | ||
3471 | 590 | <packing> | ||
3472 | 591 | <property name="left_attach">1</property> | ||
3473 | 592 | <property name="right_attach">2</property> | ||
3474 | 593 | <property name="top_attach">2</property> | ||
3475 | 594 | <property name="bottom_attach">3</property> | ||
3476 | 549 | <property name="x_options">fill</property> | 595 | <property name="x_options">fill</property> |
3477 | 550 | <property name="y_options">fill</property> | 596 | <property name="y_options">fill</property> |
3478 | 551 | </packing> | 597 | </packing> |
3479 | @@ -597,7 +643,7 @@ | |||
3480 | 597 | <widget class="GtkTable" id="tblWCMisc"> | 643 | <widget class="GtkTable" id="tblWCMisc"> |
3481 | 598 | <property name="border_width">5</property> | 644 | <property name="border_width">5</property> |
3482 | 599 | <property name="visible">True</property> | 645 | <property name="visible">True</property> |
3484 | 600 | <property name="n_rows">3</property> | 646 | <property name="n_rows">4</property> |
3485 | 601 | <property name="n_columns">2</property> | 647 | <property name="n_columns">2</property> |
3486 | 602 | <property name="homogeneous">False</property> | 648 | <property name="homogeneous">False</property> |
3487 | 603 | <property name="row_spacing">0</property> | 649 | <property name="row_spacing">0</property> |
3488 | @@ -673,6 +719,30 @@ | |||
3489 | 673 | <property name="y_options"></property> | 719 | <property name="y_options"></property> |
3490 | 674 | </packing> | 720 | </packing> |
3491 | 675 | </child> | 721 | </child> |
3492 | 722 | |||
3493 | 723 | <child> | ||
3494 | 724 | <widget class="GtkCheckButton" id="chkWCListArrows"> | ||
3495 | 725 | <property name="visible">True</property> | ||
3496 | 726 | <property name="tooltip" translatable="yes">Show scroll up / down arrows in Games, Options and History Viewer lists.</property> | ||
3497 | 727 | <property name="can_focus">True</property> | ||
3498 | 728 | <property name="label" translatable="yes">Display Scroll Arrows in Lists</property> | ||
3499 | 729 | <property name="use_underline">True</property> | ||
3500 | 730 | <property name="relief">GTK_RELIEF_NORMAL</property> | ||
3501 | 731 | <property name="focus_on_click">True</property> | ||
3502 | 732 | <property name="active">False</property> | ||
3503 | 733 | <property name="inconsistent">False</property> | ||
3504 | 734 | <property name="draw_indicator">True</property> | ||
3505 | 735 | <signal name="toggled" handler="on_Setup_changed" last_modification_time="Tue, 24 Oct 2006 16:09:06 GMT"/> | ||
3506 | 736 | </widget> | ||
3507 | 737 | <packing> | ||
3508 | 738 | <property name="left_attach">0</property> | ||
3509 | 739 | <property name="right_attach">2</property> | ||
3510 | 740 | <property name="top_attach">3</property> | ||
3511 | 741 | <property name="bottom_attach">4</property> | ||
3512 | 742 | <property name="x_options">fill</property> | ||
3513 | 743 | <property name="y_options"></property> | ||
3514 | 744 | </packing> | ||
3515 | 745 | </child> | ||
3516 | 676 | </widget> | 746 | </widget> |
3517 | 677 | </child> | 747 | </child> |
3518 | 678 | 748 | ||
3519 | @@ -761,7 +831,7 @@ | |||
3520 | 761 | <property name="can_focus">True</property> | 831 | <property name="can_focus">True</property> |
3521 | 762 | <property name="climb_rate">1</property> | 832 | <property name="climb_rate">1</property> |
3522 | 763 | <property name="digits">0</property> | 833 | <property name="digits">0</property> |
3524 | 764 | <property name="numeric">False</property> | 834 | <property name="numeric">True</property> |
3525 | 765 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> | 835 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> |
3526 | 766 | <property name="snap_to_ticks">False</property> | 836 | <property name="snap_to_ticks">False</property> |
3527 | 767 | <property name="wrap">False</property> | 837 | <property name="wrap">False</property> |
3528 | @@ -812,7 +882,7 @@ | |||
3529 | 812 | <property name="can_focus">True</property> | 882 | <property name="can_focus">True</property> |
3530 | 813 | <property name="climb_rate">1</property> | 883 | <property name="climb_rate">1</property> |
3531 | 814 | <property name="digits">0</property> | 884 | <property name="digits">0</property> |
3533 | 815 | <property name="numeric">False</property> | 885 | <property name="numeric">True</property> |
3534 | 816 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> | 886 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> |
3535 | 817 | <property name="snap_to_ticks">False</property> | 887 | <property name="snap_to_ticks">False</property> |
3536 | 818 | <property name="wrap">False</property> | 888 | <property name="wrap">False</property> |
3537 | @@ -898,7 +968,7 @@ | |||
3538 | 898 | <widget class="GtkTable" id="tblWCMusic"> | 968 | <widget class="GtkTable" id="tblWCMusic"> |
3539 | 899 | <property name="border_width">5</property> | 969 | <property name="border_width">5</property> |
3540 | 900 | <property name="visible">True</property> | 970 | <property name="visible">True</property> |
3542 | 901 | <property name="n_rows">2</property> | 971 | <property name="n_rows">3</property> |
3543 | 902 | <property name="n_columns">2</property> | 972 | <property name="n_columns">2</property> |
3544 | 903 | <property name="homogeneous">False</property> | 973 | <property name="homogeneous">False</property> |
3545 | 904 | <property name="row_spacing">0</property> | 974 | <property name="row_spacing">0</property> |
3546 | @@ -1039,6 +1109,29 @@ | |||
3547 | 1039 | <property name="y_options"></property> | 1109 | <property name="y_options"></property> |
3548 | 1040 | </packing> | 1110 | </packing> |
3549 | 1041 | </child> | 1111 | </child> |
3550 | 1112 | |||
3551 | 1113 | <child> | ||
3552 | 1114 | <widget class="GtkCheckButton" id="chkWCMusicShuffle"> | ||
3553 | 1115 | <property name="visible">True</property> | ||
3554 | 1116 | <property name="can_focus">True</property> | ||
3555 | 1117 | <property name="label" translatable="yes">Shuffle Playlist</property> | ||
3556 | 1118 | <property name="use_underline">True</property> | ||
3557 | 1119 | <property name="relief">GTK_RELIEF_NORMAL</property> | ||
3558 | 1120 | <property name="focus_on_click">True</property> | ||
3559 | 1121 | <property name="active">False</property> | ||
3560 | 1122 | <property name="inconsistent">False</property> | ||
3561 | 1123 | <property name="draw_indicator">True</property> | ||
3562 | 1124 | <signal name="toggled" handler="on_Setup_changed" last_modification_time="Mon, 01 Oct 2007 16:48:46 GMT"/> | ||
3563 | 1125 | </widget> | ||
3564 | 1126 | <packing> | ||
3565 | 1127 | <property name="left_attach">0</property> | ||
3566 | 1128 | <property name="right_attach">2</property> | ||
3567 | 1129 | <property name="top_attach">2</property> | ||
3568 | 1130 | <property name="bottom_attach">3</property> | ||
3569 | 1131 | <property name="x_options">fill</property> | ||
3570 | 1132 | <property name="y_options"></property> | ||
3571 | 1133 | </packing> | ||
3572 | 1134 | </child> | ||
3573 | 1042 | </widget> | 1135 | </widget> |
3574 | 1043 | </child> | 1136 | </child> |
3575 | 1044 | 1137 | ||
3576 | 1045 | 1138 | ||
3577 | === modified file 'glade/wahcade_setup.glade.bak' | |||
3578 | --- glade/wahcade_setup.glade.bak 2009-01-11 16:29:58 +0000 | |||
3579 | +++ glade/wahcade_setup.glade.bak 2011-03-03 21:06:42 +0000 | |||
3580 | @@ -259,7 +259,7 @@ | |||
3581 | 259 | <widget class="GtkTable" id="tblWCMovies"> | 259 | <widget class="GtkTable" id="tblWCMovies"> |
3582 | 260 | <property name="border_width">5</property> | 260 | <property name="border_width">5</property> |
3583 | 261 | <property name="visible">True</property> | 261 | <property name="visible">True</property> |
3585 | 262 | <property name="n_rows">4</property> | 262 | <property name="n_rows">5</property> |
3586 | 263 | <property name="n_columns">2</property> | 263 | <property name="n_columns">2</property> |
3587 | 264 | <property name="homogeneous">False</property> | 264 | <property name="homogeneous">False</property> |
3588 | 265 | <property name="row_spacing">0</property> | 265 | <property name="row_spacing">0</property> |
3589 | @@ -299,7 +299,7 @@ | |||
3590 | 299 | <property name="can_focus">True</property> | 299 | <property name="can_focus">True</property> |
3591 | 300 | <property name="climb_rate">1</property> | 300 | <property name="climb_rate">1</property> |
3592 | 301 | <property name="digits">0</property> | 301 | <property name="digits">0</property> |
3594 | 302 | <property name="numeric">False</property> | 302 | <property name="numeric">True</property> |
3595 | 303 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> | 303 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> |
3596 | 304 | <property name="snap_to_ticks">False</property> | 304 | <property name="snap_to_ticks">False</property> |
3597 | 305 | <property name="wrap">False</property> | 305 | <property name="wrap">False</property> |
3598 | @@ -386,8 +386,8 @@ | |||
3599 | 386 | <packing> | 386 | <packing> |
3600 | 387 | <property name="left_attach">0</property> | 387 | <property name="left_attach">0</property> |
3601 | 388 | <property name="right_attach">1</property> | 388 | <property name="right_attach">1</property> |
3604 | 389 | <property name="top_attach">2</property> | 389 | <property name="top_attach">3</property> |
3605 | 390 | <property name="bottom_attach">3</property> | 390 | <property name="bottom_attach">4</property> |
3606 | 391 | <property name="x_options">fill</property> | 391 | <property name="x_options">fill</property> |
3607 | 392 | <property name="y_options"></property> | 392 | <property name="y_options"></property> |
3608 | 393 | </packing> | 393 | </packing> |
3609 | @@ -414,8 +414,8 @@ | |||
3610 | 414 | <packing> | 414 | <packing> |
3611 | 415 | <property name="left_attach">0</property> | 415 | <property name="left_attach">0</property> |
3612 | 416 | <property name="right_attach">1</property> | 416 | <property name="right_attach">1</property> |
3615 | 417 | <property name="top_attach">3</property> | 417 | <property name="top_attach">4</property> |
3616 | 418 | <property name="bottom_attach">4</property> | 418 | <property name="bottom_attach">5</property> |
3617 | 419 | <property name="x_options">fill</property> | 419 | <property name="x_options">fill</property> |
3618 | 420 | <property name="y_options"></property> | 420 | <property name="y_options"></property> |
3619 | 421 | </packing> | 421 | </packing> |
3620 | @@ -479,8 +479,8 @@ | |||
3621 | 479 | <packing> | 479 | <packing> |
3622 | 480 | <property name="left_attach">1</property> | 480 | <property name="left_attach">1</property> |
3623 | 481 | <property name="right_attach">2</property> | 481 | <property name="right_attach">2</property> |
3626 | 482 | <property name="top_attach">2</property> | 482 | <property name="top_attach">3</property> |
3627 | 483 | <property name="bottom_attach">3</property> | 483 | <property name="bottom_attach">4</property> |
3628 | 484 | <property name="x_options">fill</property> | 484 | <property name="x_options">fill</property> |
3629 | 485 | <property name="y_options">fill</property> | 485 | <property name="y_options">fill</property> |
3630 | 486 | </packing> | 486 | </packing> |
3631 | @@ -544,8 +544,54 @@ | |||
3632 | 544 | <packing> | 544 | <packing> |
3633 | 545 | <property name="left_attach">1</property> | 545 | <property name="left_attach">1</property> |
3634 | 546 | <property name="right_attach">2</property> | 546 | <property name="right_attach">2</property> |
3637 | 547 | <property name="top_attach">3</property> | 547 | <property name="top_attach">4</property> |
3638 | 548 | <property name="bottom_attach">4</property> | 548 | <property name="bottom_attach">5</property> |
3639 | 549 | <property name="x_options">fill</property> | ||
3640 | 550 | <property name="y_options">fill</property> | ||
3641 | 551 | </packing> | ||
3642 | 552 | </child> | ||
3643 | 553 | |||
3644 | 554 | <child> | ||
3645 | 555 | <widget class="GtkLabel" id="label107"> | ||
3646 | 556 | <property name="visible">True</property> | ||
3647 | 557 | <property name="label" translatable="yes">Music / Movie Mix</property> | ||
3648 | 558 | <property name="use_underline">False</property> | ||
3649 | 559 | <property name="use_markup">False</property> | ||
3650 | 560 | <property name="justify">GTK_JUSTIFY_RIGHT</property> | ||
3651 | 561 | <property name="wrap">False</property> | ||
3652 | 562 | <property name="selectable">False</property> | ||
3653 | 563 | <property name="xalign">1</property> | ||
3654 | 564 | <property name="yalign">0.5</property> | ||
3655 | 565 | <property name="xpad">4</property> | ||
3656 | 566 | <property name="ypad">0</property> | ||
3657 | 567 | <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> | ||
3658 | 568 | <property name="width_chars">-1</property> | ||
3659 | 569 | <property name="single_line_mode">False</property> | ||
3660 | 570 | <property name="angle">0</property> | ||
3661 | 571 | </widget> | ||
3662 | 572 | <packing> | ||
3663 | 573 | <property name="left_attach">0</property> | ||
3664 | 574 | <property name="right_attach">1</property> | ||
3665 | 575 | <property name="top_attach">2</property> | ||
3666 | 576 | <property name="bottom_attach">3</property> | ||
3667 | 577 | <property name="x_options">fill</property> | ||
3668 | 578 | <property name="y_options"></property> | ||
3669 | 579 | </packing> | ||
3670 | 580 | </child> | ||
3671 | 581 | |||
3672 | 582 | <child> | ||
3673 | 583 | <widget class="GtkComboBox" id="cboWCMovieMix"> | ||
3674 | 584 | <property name="visible">True</property> | ||
3675 | 585 | <property name="items" translatable="yes"></property> | ||
3676 | 586 | <property name="add_tearoffs">False</property> | ||
3677 | 587 | <property name="focus_on_click">True</property> | ||
3678 | 588 | <signal name="changed" handler="on_setup_changed" last_modification_time="Sun, 28 Jun 2009 16:48:17 GMT"/> | ||
3679 | 589 | </widget> | ||
3680 | 590 | <packing> | ||
3681 | 591 | <property name="left_attach">1</property> | ||
3682 | 592 | <property name="right_attach">2</property> | ||
3683 | 593 | <property name="top_attach">2</property> | ||
3684 | 594 | <property name="bottom_attach">3</property> | ||
3685 | 549 | <property name="x_options">fill</property> | 595 | <property name="x_options">fill</property> |
3686 | 550 | <property name="y_options">fill</property> | 596 | <property name="y_options">fill</property> |
3687 | 551 | </packing> | 597 | </packing> |
3688 | @@ -597,7 +643,7 @@ | |||
3689 | 597 | <widget class="GtkTable" id="tblWCMisc"> | 643 | <widget class="GtkTable" id="tblWCMisc"> |
3690 | 598 | <property name="border_width">5</property> | 644 | <property name="border_width">5</property> |
3691 | 599 | <property name="visible">True</property> | 645 | <property name="visible">True</property> |
3693 | 600 | <property name="n_rows">3</property> | 646 | <property name="n_rows">4</property> |
3694 | 601 | <property name="n_columns">2</property> | 647 | <property name="n_columns">2</property> |
3695 | 602 | <property name="homogeneous">False</property> | 648 | <property name="homogeneous">False</property> |
3696 | 603 | <property name="row_spacing">0</property> | 649 | <property name="row_spacing">0</property> |
3697 | @@ -673,6 +719,30 @@ | |||
3698 | 673 | <property name="y_options"></property> | 719 | <property name="y_options"></property> |
3699 | 674 | </packing> | 720 | </packing> |
3700 | 675 | </child> | 721 | </child> |
3701 | 722 | |||
3702 | 723 | <child> | ||
3703 | 724 | <widget class="GtkCheckButton" id="chkWCListArrows"> | ||
3704 | 725 | <property name="visible">True</property> | ||
3705 | 726 | <property name="tooltip" translatable="yes">Show scroll up / down arrows in Games, Options and History Viewer lists.</property> | ||
3706 | 727 | <property name="can_focus">True</property> | ||
3707 | 728 | <property name="label" translatable="yes">Display Scroll Arrows in Lists</property> | ||
3708 | 729 | <property name="use_underline">True</property> | ||
3709 | 730 | <property name="relief">GTK_RELIEF_NORMAL</property> | ||
3710 | 731 | <property name="focus_on_click">True</property> | ||
3711 | 732 | <property name="active">False</property> | ||
3712 | 733 | <property name="inconsistent">False</property> | ||
3713 | 734 | <property name="draw_indicator">True</property> | ||
3714 | 735 | <signal name="toggled" handler="on_Setup_changed" last_modification_time="Tue, 24 Oct 2006 16:09:06 GMT"/> | ||
3715 | 736 | </widget> | ||
3716 | 737 | <packing> | ||
3717 | 738 | <property name="left_attach">0</property> | ||
3718 | 739 | <property name="right_attach">2</property> | ||
3719 | 740 | <property name="top_attach">3</property> | ||
3720 | 741 | <property name="bottom_attach">4</property> | ||
3721 | 742 | <property name="x_options">fill</property> | ||
3722 | 743 | <property name="y_options"></property> | ||
3723 | 744 | </packing> | ||
3724 | 745 | </child> | ||
3725 | 676 | </widget> | 746 | </widget> |
3726 | 677 | </child> | 747 | </child> |
3727 | 678 | 748 | ||
3728 | @@ -761,7 +831,7 @@ | |||
3729 | 761 | <property name="can_focus">True</property> | 831 | <property name="can_focus">True</property> |
3730 | 762 | <property name="climb_rate">1</property> | 832 | <property name="climb_rate">1</property> |
3731 | 763 | <property name="digits">0</property> | 833 | <property name="digits">0</property> |
3733 | 764 | <property name="numeric">False</property> | 834 | <property name="numeric">True</property> |
3734 | 765 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> | 835 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> |
3735 | 766 | <property name="snap_to_ticks">False</property> | 836 | <property name="snap_to_ticks">False</property> |
3736 | 767 | <property name="wrap">False</property> | 837 | <property name="wrap">False</property> |
3737 | @@ -812,7 +882,7 @@ | |||
3738 | 812 | <property name="can_focus">True</property> | 882 | <property name="can_focus">True</property> |
3739 | 813 | <property name="climb_rate">1</property> | 883 | <property name="climb_rate">1</property> |
3740 | 814 | <property name="digits">0</property> | 884 | <property name="digits">0</property> |
3742 | 815 | <property name="numeric">False</property> | 885 | <property name="numeric">True</property> |
3743 | 816 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> | 886 | <property name="update_policy">GTK_UPDATE_ALWAYS</property> |
3744 | 817 | <property name="snap_to_ticks">False</property> | 887 | <property name="snap_to_ticks">False</property> |
3745 | 818 | <property name="wrap">False</property> | 888 | <property name="wrap">False</property> |
3746 | @@ -898,7 +968,7 @@ | |||
3747 | 898 | <widget class="GtkTable" id="tblWCMusic"> | 968 | <widget class="GtkTable" id="tblWCMusic"> |
3748 | 899 | <property name="border_width">5</property> | 969 | <property name="border_width">5</property> |
3749 | 900 | <property name="visible">True</property> | 970 | <property name="visible">True</property> |
3751 | 901 | <property name="n_rows">2</property> | 971 | <property name="n_rows">3</property> |
3752 | 902 | <property name="n_columns">2</property> | 972 | <property name="n_columns">2</property> |
3753 | 903 | <property name="homogeneous">False</property> | 973 | <property name="homogeneous">False</property> |
3754 | 904 | <property name="row_spacing">0</property> | 974 | <property name="row_spacing">0</property> |
3755 | @@ -1039,6 +1109,29 @@ | |||
3756 | 1039 | <property name="y_options"></property> | 1109 | <property name="y_options"></property> |
3757 | 1040 | </packing> | 1110 | </packing> |
3758 | 1041 | </child> | 1111 | </child> |
3759 | 1112 | |||
3760 | 1113 | <child> | ||
3761 | 1114 | <widget class="GtkCheckButton" id="chkWCMusicShuffle"> | ||
3762 | 1115 | <property name="visible">True</property> | ||
3763 | 1116 | <property name="can_focus">True</property> | ||
3764 | 1117 | <property name="label" translatable="yes">Shuffle Playlist</property> | ||
3765 | 1118 | <property name="use_underline">True</property> | ||
3766 | 1119 | <property name="relief">GTK_RELIEF_NORMAL</property> | ||
3767 | 1120 | <property name="focus_on_click">True</property> | ||
3768 | 1121 | <property name="active">False</property> | ||
3769 | 1122 | <property name="inconsistent">False</property> | ||
3770 | 1123 | <property name="draw_indicator">True</property> | ||
3771 | 1124 | <signal name="toggled" handler="on_Setup_changed" last_modification_time="Mon, 01 Oct 2007 16:48:46 GMT"/> | ||
3772 | 1125 | </widget> | ||
3773 | 1126 | <packing> | ||
3774 | 1127 | <property name="left_attach">0</property> | ||
3775 | 1128 | <property name="right_attach">2</property> | ||
3776 | 1129 | <property name="top_attach">2</property> | ||
3777 | 1130 | <property name="bottom_attach">3</property> | ||
3778 | 1131 | <property name="x_options">fill</property> | ||
3779 | 1132 | <property name="y_options"></property> | ||
3780 | 1133 | </packing> | ||
3781 | 1134 | </child> | ||
3782 | 1042 | </widget> | 1135 | </widget> |
3783 | 1043 | </child> | 1136 | </child> |
3784 | 1044 | 1137 | ||
3785 | @@ -6315,7 +6408,7 @@ | |||
3786 | 6315 | <property name="visible">True</property> | 6408 | <property name="visible">True</property> |
3787 | 6316 | <property name="add_tearoffs">False</property> | 6409 | <property name="add_tearoffs">False</property> |
3788 | 6317 | <property name="focus_on_click">True</property> | 6410 | <property name="focus_on_click">True</property> |
3790 | 6318 | <signal name="changed" handler="on_cboLists_changed" last_modification_time="Wed, 24 Jan 2007 17:53:43 GMT"/> | 6411 | <signal name="changed" handler="on_cboList_changed" last_modification_time="Sat, 10 Jan 2009 16:07:36 GMT"/> |
3791 | 6319 | </widget> | 6412 | </widget> |
3792 | 6320 | <packing> | 6413 | <packing> |
3793 | 6321 | <property name="padding">0</property> | 6414 | <property name="padding">0</property> |
3794 | 6322 | 6415 | ||
3795 | === modified file 'glade/wahcade_setup.glade.h' | |||
3796 | --- glade/wahcade_setup.glade.h 2008-11-30 10:26:19 +0000 | |||
3797 | +++ glade/wahcade_setup.glade.h 2011-03-03 21:06:42 +0000 | |||
3798 | @@ -82,6 +82,7 @@ | |||
3799 | 82 | char *s = N_("Directory for artwork that will be used in the layouts Artwork4 image.\n" | 82 | char *s = N_("Directory for artwork that will be used in the layouts Artwork4 image.\n" |
3800 | 83 | "(also see Wah!Cade Layout Editor)"); | 83 | "(also see Wah!Cade Layout Editor)"); |
3801 | 84 | char *s = N_("Display Mouse Cursor"); | 84 | char *s = N_("Display Mouse Cursor"); |
3802 | 85 | char *s = N_("Display Scroll Arrows in Lists"); | ||
3803 | 85 | char *s = N_("Edit Game List"); | 86 | char *s = N_("Edit Game List"); |
3804 | 86 | char *s = N_("Edit List"); | 87 | char *s = N_("Edit List"); |
3805 | 87 | char *s = N_("Emulators"); | 88 | char *s = N_("Emulators"); |
3806 | @@ -121,6 +122,7 @@ | |||
3807 | 121 | char *s = N_("Movie Directory"); | 122 | char *s = N_("Movie Directory"); |
3808 | 122 | char *s = N_("Movies"); | 123 | char *s = N_("Movies"); |
3809 | 123 | char *s = N_("Music"); | 124 | char *s = N_("Music"); |
3810 | 125 | char *s = N_("Music / Movie Mix"); | ||
3811 | 124 | char *s = N_("NMS File"); | 126 | char *s = N_("NMS File"); |
3812 | 125 | char *s = N_("Number of seconds before Screen Saver starts"); | 127 | char *s = N_("Number of seconds before Screen Saver starts"); |
3813 | 126 | char *s = N_("Number of seconds to display Screen Saver image / movie"); | 128 | char *s = N_("Number of seconds to display Screen Saver image / movie"); |
3814 | @@ -148,6 +150,8 @@ | |||
3815 | 148 | char *s = N_("Set Intro Movie"); | 150 | char *s = N_("Set Intro Movie"); |
3816 | 149 | char *s = N_("Set XML / Data File"); | 151 | char *s = N_("Set XML / Data File"); |
3817 | 150 | char *s = N_("Setup Filters..."); | 152 | char *s = N_("Setup Filters..."); |
3818 | 153 | char *s = N_("Show scroll up / down arrows in Games, Options and History Viewer lists."); | ||
3819 | 154 | char *s = N_("Shuffle Playlist"); | ||
3820 | 151 | char *s = N_("Start Wah!Cade in fullscreen mode"); | 155 | char *s = N_("Start Wah!Cade in fullscreen mode"); |
3821 | 152 | char *s = N_("The Control Panel Viewer layout file location (.lay)"); | 156 | char *s = N_("The Control Panel Viewer layout file location (.lay)"); |
3822 | 153 | char *s = N_("The background image (if any) for the history viewer window."); | 157 | char *s = N_("The background image (if any) for the history viewer window."); |
3823 | 154 | 158 | ||
3824 | === modified file 'glade2.py' | |||
3825 | --- glade2.py 2008-11-30 10:26:19 +0000 | |||
3826 | +++ glade2.py 2011-03-03 21:06:42 +0000 | |||
3827 | @@ -27,7 +27,7 @@ | |||
3828 | 27 | #not win32, ensure version 2 of pygtk is imported | 27 | #not win32, ensure version 2 of pygtk is imported |
3829 | 28 | pygtk.require('2.0') | 28 | pygtk.require('2.0') |
3830 | 29 | import gtk | 29 | import gtk |
3832 | 30 | assert gtk.pygtk_version >= (2,6,0), 'pygtk should be >= 2.6.0' | 30 | assert gtk.pygtk_version >= (2, 12, 0), 'pygtk should be >= 2.12.0' |
3833 | 31 | import gtk.glade | 31 | import gtk.glade |
3834 | 32 | import gobject | 32 | import gobject |
3835 | 33 | import pango | 33 | import pango |
3836 | @@ -39,6 +39,7 @@ | |||
3837 | 39 | glade_filename : name of .glade filename | 39 | glade_filename : name of .glade filename |
3838 | 40 | window_name : name of window / dialog / menu to be created | 40 | window_name : name of window / dialog / menu to be created |
3839 | 41 | """ | 41 | """ |
3840 | 42 | |||
3841 | 42 | def __init__(self, glade_filename, window_name, app_name=None): | 43 | def __init__(self, glade_filename, window_name, app_name=None): |
3842 | 43 | #load glade file | 44 | #load glade file |
3843 | 44 | if app_name: | 45 | if app_name: |
3844 | @@ -155,10 +156,6 @@ | |||
3845 | 155 | None | 156 | None |
3846 | 156 | 'text') | 157 | 'text') |
3847 | 157 | """ | 158 | """ |
3848 | 158 | #check gtk version | ||
3849 | 159 | if gtk.pygtk_version < (2,5,0): | ||
3850 | 160 | print "pygtk>=2.5.0 required for iconview" | ||
3851 | 161 | return None, None | ||
3852 | 162 | #create the ListStore and IconView objects | 159 | #create the ListStore and IconView objects |
3853 | 163 | ls = gtk.ListStore(*column_types) | 160 | ls = gtk.ListStore(*column_types) |
3854 | 164 | ivw = gtk.IconView(ls) | 161 | ivw = gtk.IconView(ls) |
3855 | @@ -217,7 +214,7 @@ | |||
3856 | 217 | cboe.set_text_column(0) | 214 | cboe.set_text_column(0) |
3857 | 218 | #populate with text? | 215 | #populate with text? |
3858 | 219 | if initial_text: | 216 | if initial_text: |
3860 | 220 | ls.append((initial_text,)) | 217 | ls.append((initial_text, )) |
3861 | 221 | cboe.child.set_text(initial_text) | 218 | cboe.child.set_text(initial_text) |
3862 | 222 | 219 | ||
3863 | 223 | def setup_menu(self, mnu_items, mnu_pixmaps, activate_cb): | 220 | def setup_menu(self, mnu_items, mnu_pixmaps, activate_cb): |
3864 | @@ -273,4 +270,3 @@ | |||
3865 | 273 | 270 | ||
3866 | 274 | #map getitem to getattr | 271 | #map getitem to getattr |
3867 | 275 | __getitem__ = __getattr__ | 272 | __getitem__ = __getattr__ |
3868 | 276 | |||
3869 | 277 | 273 | ||
3870 | === modified file 'gst_media.py' | |||
3871 | --- gst_media.py 2009-01-07 17:51:46 +0000 | |||
3872 | +++ gst_media.py 2011-03-03 21:06:42 +0000 | |||
3873 | @@ -5,7 +5,7 @@ | |||
3874 | 5 | # Application: wah!cade | 5 | # Application: wah!cade |
3875 | 6 | # File: gst_video.py | 6 | # File: gst_video.py |
3876 | 7 | # Description: gstreamer video widget | 7 | # Description: gstreamer video widget |
3878 | 8 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 8 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
3879 | 9 | # Taken from gstreamer docs example code | 9 | # Taken from gstreamer docs example code |
3880 | 10 | ### | 10 | ### |
3881 | 11 | # | 11 | # |
3882 | @@ -26,46 +26,46 @@ | |||
3883 | 26 | import os | 26 | import os |
3884 | 27 | import urllib | 27 | import urllib |
3885 | 28 | import fnmatch | 28 | import fnmatch |
3886 | 29 | import random | ||
3887 | 30 | import sys | ||
3888 | 29 | 31 | ||
3889 | 30 | import pygtk | 32 | import pygtk |
3890 | 31 | pygtk.require('2.0') | 33 | pygtk.require('2.0') |
3892 | 32 | import gobject | 34 | #import gobject |
3893 | 33 | import pygst | 35 | import pygst |
3894 | 34 | pygst.require('0.10') | 36 | pygst.require('0.10') |
3895 | 35 | import gst | 37 | import gst |
3896 | 36 | import gst.interfaces | ||
3897 | 37 | import gtk | 38 | import gtk |
3898 | 38 | 39 | ||
3899 | 40 | |||
3900 | 39 | class GstPlayer: | 41 | class GstPlayer: |
3901 | 42 | |||
3902 | 40 | def __init__(self, videowidget): | 43 | def __init__(self, videowidget): |
3903 | 41 | """initialise player class""" | 44 | """initialise player class""" |
3904 | 45 | print "GstPlayer.__init__" | ||
3905 | 42 | self.playing = False | 46 | self.playing = False |
3908 | 43 | self.player = gst.element_factory_make("playbin", "player") | 47 | self.player = gst.element_factory_make('playbin2') |
3909 | 44 | self.videowidget = videowidget | 48 | #self.imagesink = gst.element_factory_make('xvimagesink') |
3910 | 49 | #self.imagesink.set_property('force-aspect-ratio', False) | ||
3911 | 50 | #self.player.set_property('video-sink', self.imagesink) | ||
3912 | 51 | if videowidget: | ||
3913 | 52 | self.media_type = 'video' | ||
3914 | 53 | self.videowidget = videowidget | ||
3915 | 54 | else: | ||
3916 | 55 | self.media_type = 'music' | ||
3917 | 45 | self.on_eos = False | 56 | self.on_eos = False |
3918 | 46 | # | ||
3919 | 47 | bus = self.player.get_bus() | 57 | bus = self.player.get_bus() |
3920 | 58 | bus.add_signal_watch() | ||
3921 | 48 | bus.enable_sync_message_emission() | 59 | bus.enable_sync_message_emission() |
3923 | 49 | bus.add_signal_watch() | 60 | bus.connect('message', self.on_message) |
3924 | 50 | bus.connect('sync-message::element', self.on_sync_message) | 61 | bus.connect('sync-message::element', self.on_sync_message) |
3925 | 51 | bus.connect('message', self.on_message) | ||
3926 | 52 | 62 | ||
3927 | 53 | def on_sync_message(self, bus, message): | ||
3928 | 54 | """message from player?""" | ||
3929 | 55 | if message.structure is None: | ||
3930 | 56 | return | ||
3931 | 57 | if message.structure.get_name() == 'prepare-xwindow-id': | ||
3932 | 58 | self.videowidget.set_sink(message.src) | ||
3933 | 59 | #message.src.set_property('force-aspect-ratio', True) | ||
3934 | 60 | #self.player.set_property('volume', 0) | ||
3935 | 61 | #print "vol=", self.player.get_property('volume') | ||
3936 | 62 | |||
3937 | 63 | def on_message(self, bus, message): | 63 | def on_message(self, bus, message): |
3938 | 64 | """message from player?""" | 64 | """message from player?""" |
3939 | 65 | t = message.type | 65 | t = message.type |
3940 | 66 | if t == gst.MESSAGE_ERROR: | 66 | if t == gst.MESSAGE_ERROR: |
3941 | 67 | err, debug = message.parse_error() | 67 | err, debug = message.parse_error() |
3943 | 68 | print "Error: %s" % err, debug | 68 | #print "GST Error: %s" % err, debug |
3944 | 69 | if self.on_eos: | 69 | if self.on_eos: |
3945 | 70 | self.on_eos() | 70 | self.on_eos() |
3946 | 71 | self.playing = False | 71 | self.playing = False |
3947 | @@ -74,9 +74,26 @@ | |||
3948 | 74 | self.on_eos() | 74 | self.on_eos() |
3949 | 75 | self.playing = False | 75 | self.playing = False |
3950 | 76 | 76 | ||
3951 | 77 | def on_sync_message(self, bus, message): | ||
3952 | 78 | """ """ | ||
3953 | 79 | if message.structure is None: | ||
3954 | 80 | return | ||
3955 | 81 | message_name = message.structure.get_name() | ||
3956 | 82 | #print "on_sync_message: ", message_name | ||
3957 | 83 | if message_name == "prepare-xwindow-id": | ||
3958 | 84 | # Assign the viewport | ||
3959 | 85 | self.imagesink = message.src | ||
3960 | 86 | self.imagesink.set_property('force-aspect-ratio', False) | ||
3961 | 87 | self.imagesink.set_xwindow_id(self.videowidget.window.xid) | ||
3962 | 88 | #self.imagesink = gst.element_factory_make('xvimagesink') | ||
3963 | 89 | #self.imagesink.set_property('force-aspect-ratio', False) | ||
3964 | 90 | self.player.set_property('video-sink', self.imagesink) | ||
3965 | 91 | |||
3966 | 77 | def set_location(self, location): | 92 | def set_location(self, location): |
3967 | 78 | """set filename""" | 93 | """set filename""" |
3968 | 79 | self.player.set_property('uri', location) | 94 | self.player.set_property('uri', location) |
3969 | 95 | #if self.media_type == 'video': | ||
3970 | 96 | # self.imagesink.set_xwindow_id(self.videowidget.window_xid) | ||
3971 | 80 | 97 | ||
3972 | 81 | def query_position(self): | 98 | def query_position(self): |
3973 | 82 | """Returns a (position, duration) tuple""" | 99 | """Returns a (position, duration) tuple""" |
3974 | @@ -120,7 +137,7 @@ | |||
3975 | 120 | gst.info("playing player") | 137 | gst.info("playing player") |
3976 | 121 | self.player.set_state(gst.STATE_PLAYING) | 138 | self.player.set_state(gst.STATE_PLAYING) |
3977 | 122 | self.playing = True | 139 | self.playing = True |
3979 | 123 | 140 | ||
3980 | 124 | def stop(self): | 141 | def stop(self): |
3981 | 125 | """stop playing""" | 142 | """stop playing""" |
3982 | 126 | self.player.set_state(gst.STATE_NULL) | 143 | self.player.set_state(gst.STATE_NULL) |
3983 | @@ -133,60 +150,35 @@ | |||
3984 | 133 | def is_playing(self): | 150 | def is_playing(self): |
3985 | 134 | """is file playing""" | 151 | """is file playing""" |
3986 | 135 | return self.playing | 152 | return self.playing |
3988 | 136 | 153 | ||
3989 | 137 | def set_volume(self, volume_level): | 154 | def set_volume(self, volume_level): |
3990 | 138 | """set the volume level""" | 155 | """set the volume level""" |
3991 | 139 | self.player.set_property('volume', volume_level) | 156 | self.player.set_property('volume', volume_level) |
3992 | 140 | gst.info("changed volume to [%s]" % volume_level) | 157 | gst.info("changed volume to [%s]" % volume_level) |
3993 | 141 | 158 | ||
3995 | 142 | 159 | ||
3996 | 143 | class VideoWidget(gtk.DrawingArea): | 160 | class VideoWidget(gtk.DrawingArea): |
3997 | 161 | |||
3998 | 144 | def __init__(self): | 162 | def __init__(self): |
3999 | 145 | """initialise video widget""" | 163 | """initialise video widget""" |
4000 | 164 | print "VideoWidget.__init__" | ||
4001 | 146 | gtk.DrawingArea.__init__(self) | 165 | gtk.DrawingArea.__init__(self) |
4037 | 147 | self.imagesink = None | 166 | self.connect('realize', self.on_realize) |
4038 | 148 | self.unset_flags(gtk.DOUBLE_BUFFERED) | 167 | |
4039 | 149 | #print "events=", self.event | 168 | def on_realize(self, sender): |
4040 | 150 | #self.add_events( | 169 | """video widget realized""" |
4041 | 151 | # gtk.gdk.POINTER_MOTION_MASK | | 170 | print "VideoWidget.on_realize" |
4042 | 152 | # gtk.gdk.SCROLL_MASK | | 171 | self.window_xid = self.window.xid |
4043 | 153 | # gtk.gdk.BUTTON_RELEASE_MASK | | 172 | |
4044 | 154 | # gtk.gdk.KEY_PRESS | | 173 | |
4010 | 155 | # gtk.gdk.KEY_RELEASE) | ||
4011 | 156 | #self.set_flags(gtk.CAN_FOCUS) | ||
4012 | 157 | #self.set_flags(gtk.HAS_FOCUS) | ||
4013 | 158 | #self.set_flags(gtk.CAN_DEFAULT) | ||
4014 | 159 | #self.set_flags(gtk.HAS_DEFAULT) | ||
4015 | 160 | #self.connect('key-press-event', self.test_key) | ||
4016 | 161 | #self.set_property('can-focus', True) | ||
4017 | 162 | |||
4018 | 163 | #def test_key(self, widget, event, *args): | ||
4019 | 164 | # print "event=", event | ||
4020 | 165 | |||
4021 | 166 | def do_expose_event(self, event): | ||
4022 | 167 | """expose""" | ||
4023 | 168 | #print "gst event=",event | ||
4024 | 169 | if self.imagesink: | ||
4025 | 170 | self.imagesink.expose() | ||
4026 | 171 | return False | ||
4027 | 172 | else: | ||
4028 | 173 | return True | ||
4029 | 174 | |||
4030 | 175 | def set_sink(self, sink): | ||
4031 | 176 | """set sink""" | ||
4032 | 177 | assert self.window.xid | ||
4033 | 178 | self.imagesink = sink | ||
4034 | 179 | self.imagesink.set_xwindow_id(self.window.xid) | ||
4035 | 180 | |||
4036 | 181 | |||
4045 | 182 | class GstVideo: | 174 | class GstVideo: |
4046 | 175 | |||
4047 | 183 | def __init__(self, videowidget): | 176 | def __init__(self, videowidget): |
4048 | 184 | """initialise video widget""" | 177 | """initialise video widget""" |
4050 | 185 | #self.vid_filename = '' | 178 | print "GstVideo.__init__" |
4051 | 186 | self.videowidget = videowidget | 179 | self.videowidget = videowidget |
4052 | 187 | self.player = GstPlayer(self.videowidget) | 180 | self.player = GstPlayer(self.videowidget) |
4053 | 188 | self.player.on_eos = lambda *x: self.on_eos() | 181 | self.player.on_eos = lambda *x: self.on_eos() |
4054 | 189 | #self.loop_video = True | ||
4055 | 190 | self.vid_finished_cb = None | 182 | self.vid_finished_cb = None |
4056 | 191 | self.update_id = -1 | 183 | self.update_id = -1 |
4057 | 192 | self.changed_id = -1 | 184 | self.changed_id = -1 |
4058 | @@ -203,7 +195,7 @@ | |||
4059 | 203 | else: | 195 | else: |
4060 | 204 | #finished | 196 | #finished |
4061 | 205 | self.vid_finished_cb() | 197 | self.vid_finished_cb() |
4063 | 206 | 198 | ||
4064 | 207 | def play(self, vid_filename, vid_finished_cb=None): | 199 | def play(self, vid_filename, vid_finished_cb=None): |
4065 | 208 | """play given video file""" | 200 | """play given video file""" |
4066 | 209 | self.vid_finished_cb = vid_finished_cb | 201 | self.vid_finished_cb = vid_finished_cb |
4067 | @@ -215,18 +207,20 @@ | |||
4068 | 215 | self.player.stop() | 207 | self.player.stop() |
4069 | 216 | if self.vid_finished_cb: | 208 | if self.vid_finished_cb: |
4070 | 217 | self.vid_finished_cb() | 209 | self.vid_finished_cb() |
4072 | 218 | 210 | ||
4073 | 219 | def close(self): | 211 | def close(self): |
4074 | 220 | """close""" | 212 | """close""" |
4075 | 221 | pass | 213 | pass |
4077 | 222 | 214 | ||
4078 | 223 | def set_volume(self, volume_level): | 215 | def set_volume(self, volume_level): |
4079 | 224 | """change volume level""" | 216 | """change volume level""" |
4080 | 225 | self.player.set_volume((volume_level / 100.0)) | 217 | self.player.set_volume((volume_level / 100.0)) |
4081 | 226 | 218 | ||
4082 | 227 | 219 | ||
4083 | 228 | class MusicPlayer: | 220 | class MusicPlayer: |
4084 | 221 | |||
4085 | 229 | def __init__(self): | 222 | def __init__(self): |
4086 | 223 | """initialise""" | ||
4087 | 230 | self.player = GstPlayer(None) | 224 | self.player = GstPlayer(None) |
4088 | 231 | self.player.on_eos = self.on_eos | 225 | self.player.on_eos = self.on_eos |
4089 | 232 | self.current_track = -1 | 226 | self.current_track = -1 |
4090 | @@ -234,16 +228,17 @@ | |||
4091 | 234 | self.tracks = [] | 228 | self.tracks = [] |
4092 | 235 | 229 | ||
4093 | 236 | def get_uris_from_pls(self, uri): | 230 | def get_uris_from_pls(self, uri): |
4094 | 231 | """return list of tracks from playlist""" | ||
4095 | 237 | uris = [] | 232 | uris = [] |
4096 | 238 | lines = open(uri).readlines() | 233 | lines = open(uri).readlines() |
4097 | 239 | # = content.splitlines() | 234 | # = content.splitlines() |
4098 | 240 | for line in lines: | 235 | for line in lines: |
4099 | 241 | if line.lower().startswith("file") and line.find("=") != -1: | 236 | if line.lower().startswith("file") and line.find("=") != -1: |
4102 | 242 | uris.append(line[line.find("=") + 1:].strip()) | 237 | uris.append(line[line.find("=") + 1:].strip()) |
4103 | 243 | uris = [self.pls_rebuild_uri(uri,u) for u in uris] | 238 | uris = [self.pls_rebuild_uri(uri, u) for u in uris] |
4104 | 244 | return uris | 239 | return uris |
4107 | 245 | 240 | ||
4108 | 246 | def pls_rebuild_uri(self, base_uri,uri): | 241 | def pls_rebuild_uri(self, base_uri, uri): |
4109 | 247 | base_uri = base_uri[:base_uri.rfind("/")] | 242 | base_uri = base_uri[:base_uri.rfind("/")] |
4110 | 248 | if uri.find("://") != -1: | 243 | if uri.find("://") != -1: |
4111 | 249 | return uri | 244 | return uri |
4112 | @@ -251,32 +246,34 @@ | |||
4113 | 251 | return "file://%s" % urllib.quote(uri) | 246 | return "file://%s" % urllib.quote(uri) |
4114 | 252 | else: | 247 | else: |
4115 | 253 | return "%s/%s" % (base_uri, urllib.quote(uri)) | 248 | return "%s/%s" % (base_uri, urllib.quote(uri)) |
4117 | 254 | 249 | ||
4118 | 255 | def on_eos(self): | 250 | def on_eos(self): |
4120 | 256 | #print "end of track" | 251 | """end of track""" |
4121 | 257 | self.next_track() | 252 | self.next_track() |
4123 | 258 | 253 | ||
4124 | 259 | def load_file(self, location, play=True): | 254 | def load_file(self, location, play=True): |
4125 | 260 | """load individual track""" | 255 | """load individual track""" |
4126 | 261 | self.tracks = [location] | 256 | self.tracks = [location] |
4127 | 262 | self.current_track = -1 | 257 | self.current_track = -1 |
4128 | 263 | if play: | 258 | if play: |
4129 | 264 | self.next_track() | 259 | self.next_track() |
4132 | 265 | 260 | ||
4133 | 266 | def load_playlist(self, playlist, play=True): | 261 | def load_playlist(self, playlist, play=True, shuffle=False): |
4134 | 267 | """load playlist""" | 262 | """load playlist""" |
4135 | 268 | self.tracks = playlist | 263 | self.tracks = playlist |
4136 | 264 | if shuffle: | ||
4137 | 265 | random.shuffle(self.tracks) | ||
4138 | 269 | self.current_track = -1 | 266 | self.current_track = -1 |
4139 | 270 | if play: | 267 | if play: |
4140 | 271 | self.next_track() | 268 | self.next_track() |
4142 | 272 | 269 | ||
4143 | 273 | def load_playlist_file(self, playlist_file, play=True): | 270 | def load_playlist_file(self, playlist_file, play=True): |
4144 | 274 | """load playlist""" | 271 | """load playlist""" |
4145 | 275 | self.tracks = self.get_uris_from_pls(playlist_file) | 272 | self.tracks = self.get_uris_from_pls(playlist_file) |
4146 | 276 | self.current_track = -1 | 273 | self.current_track = -1 |
4147 | 277 | if play: | 274 | if play: |
4148 | 278 | self.next_track() | 275 | self.next_track() |
4150 | 279 | 276 | ||
4151 | 280 | def next_track(self): | 277 | def next_track(self): |
4152 | 281 | """goto next track in playlist""" | 278 | """goto next track in playlist""" |
4153 | 282 | self.current_track += 1 | 279 | self.current_track += 1 |
4154 | @@ -285,11 +282,11 @@ | |||
4155 | 285 | #print "self.current_track=", self.current_track + 1 | 282 | #print "self.current_track=", self.current_track + 1 |
4156 | 286 | #print "setting track to: ", self.tracks[self.current_track] | 283 | #print "setting track to: ", self.tracks[self.current_track] |
4157 | 287 | self.player.stop() | 284 | self.player.stop() |
4159 | 288 | if len(self.tracks) > 0: | 285 | if len(self.tracks) > 0: |
4160 | 289 | self.player.set_location('file://%s' % self.tracks[self.current_track]) | 286 | self.player.set_location('file://%s' % self.tracks[self.current_track]) |
4161 | 290 | self.player.seek(0L) | 287 | self.player.seek(0L) |
4162 | 291 | self.player.play() | 288 | self.player.play() |
4164 | 292 | 289 | ||
4165 | 293 | def previous_track(self): | 290 | def previous_track(self): |
4166 | 294 | """goto previous track in playlist""" | 291 | """goto previous track in playlist""" |
4167 | 295 | self.current_track -= 1 | 292 | self.current_track -= 1 |
4168 | @@ -302,15 +299,19 @@ | |||
4169 | 302 | self.player.set_location('file://%s' % self.tracks[self.current_track]) | 299 | self.player.set_location('file://%s' % self.tracks[self.current_track]) |
4170 | 303 | self.player.seek(0L) | 300 | self.player.seek(0L) |
4171 | 304 | self.player.play() | 301 | self.player.play() |
4173 | 305 | 302 | ||
4174 | 306 | def play(self): | 303 | def play(self): |
4175 | 307 | """pause""" | 304 | """pause""" |
4176 | 308 | self.player.play() | 305 | self.player.play() |
4178 | 309 | 306 | ||
4179 | 310 | def pause(self): | 307 | def pause(self): |
4180 | 311 | """pause""" | 308 | """pause""" |
4181 | 312 | self.player.pause() | 309 | self.player.pause() |
4183 | 313 | 310 | ||
4184 | 311 | def stop(self): | ||
4185 | 312 | """pause""" | ||
4186 | 313 | self.player.stop() | ||
4187 | 314 | |||
4188 | 314 | def play_toggle(self): | 315 | def play_toggle(self): |
4189 | 315 | """play / pause""" | 316 | """play / pause""" |
4190 | 316 | if self.player.is_playing(): | 317 | if self.player.is_playing(): |
4191 | @@ -321,7 +322,7 @@ | |||
4192 | 321 | def set_volume(self, volume_level): | 322 | def set_volume(self, volume_level): |
4193 | 322 | """change volume level""" | 323 | """change volume level""" |
4194 | 323 | self.player.set_volume((volume_level / 100.0)) | 324 | self.player.set_volume((volume_level / 100.0)) |
4196 | 324 | 325 | ||
4197 | 325 | def set_directory(self, music_dir, filespec): | 326 | def set_directory(self, music_dir, filespec): |
4198 | 326 | """set player to given dir & load files in it""" | 327 | """set player to given dir & load files in it""" |
4199 | 327 | self.current_dir = music_dir | 328 | self.current_dir = music_dir |
4200 | @@ -329,13 +330,14 @@ | |||
4201 | 329 | if os.path.exists(self.current_dir): | 330 | if os.path.exists(self.current_dir): |
4202 | 330 | self.first_dir_matched = False | 331 | self.first_dir_matched = False |
4203 | 331 | first_tracks = self.get_first_music_tracks( | 332 | first_tracks = self.get_first_music_tracks( |
4206 | 332 | root = self.current_dir, | 333 | root = self.current_dir, |
4207 | 333 | recurse = True, | 334 | recurse = True, |
4208 | 334 | pattern = filespec) | 335 | pattern = filespec) |
4209 | 335 | first_tracks.sort() | 336 | first_tracks.sort() |
4210 | 336 | return first_tracks | 337 | return first_tracks |
4213 | 337 | 338 | ||
4214 | 338 | def get_first_music_tracks(self, root, recurse=False, pattern='*'): | 339 | def get_first_music_tracks(self, root, recurse=False, pattern='*'): |
4215 | 340 | """get list of music tracks""" | ||
4216 | 339 | #initialize | 341 | #initialize |
4217 | 340 | result = [] | 342 | result = [] |
4218 | 341 | #must have at least root folder | 343 | #must have at least root folder |
4219 | @@ -362,4 +364,3 @@ | |||
4220 | 362 | if os.path.isdir(fullname) and not os.path.islink(fullname): | 364 | if os.path.isdir(fullname) and not os.path.islink(fullname): |
4221 | 363 | result += self.get_first_music_tracks(fullname, recurse, pattern) | 365 | result += self.get_first_music_tracks(fullname, recurse, pattern) |
4222 | 364 | return result | 366 | return result |
4223 | 365 | |||
4224 | 366 | 367 | ||
4225 | === modified file 'install' | |||
4226 | --- install 2009-01-07 17:51:46 +0000 | |||
4227 | +++ install 2011-03-03 21:06:42 +0000 | |||
4228 | @@ -48,6 +48,9 @@ | |||
4229 | 48 | install --directory $DESTDIR/config.dist/layouts/retro_white_1024x768 | 48 | install --directory $DESTDIR/config.dist/layouts/retro_white_1024x768 |
4230 | 49 | install --directory $DESTDIR/config.dist/layouts/retro_cpviewer | 49 | install --directory $DESTDIR/config.dist/layouts/retro_cpviewer |
4231 | 50 | install --directory $DESTDIR/config.dist/layouts/retro_histview | 50 | install --directory $DESTDIR/config.dist/layouts/retro_histview |
4232 | 51 | install --directory $DESTDIR/config.dist/layouts/simple_640x480 | ||
4233 | 52 | install --directory $DESTDIR/config.dist/layouts/simple_800x600 | ||
4234 | 53 | install --directory $DESTDIR/config.dist/layouts/simple_1024x768 | ||
4235 | 51 | install --directory $DESTDIR/doc | 54 | install --directory $DESTDIR/doc |
4236 | 52 | install --directory $DESTDIR/doc/file_formats | 55 | install --directory $DESTDIR/doc/file_formats |
4237 | 53 | install --directory $DESTDIR/doc/xmame | 56 | install --directory $DESTDIR/doc/xmame |
4238 | @@ -84,6 +87,9 @@ | |||
4239 | 84 | install --mode=644 config.dist/layouts/retro_white_640x480/* $DESTDIR/config.dist/layouts/retro_white_640x480 | 87 | install --mode=644 config.dist/layouts/retro_white_640x480/* $DESTDIR/config.dist/layouts/retro_white_640x480 |
4240 | 85 | install --mode=644 config.dist/layouts/retro_white_800x600/* $DESTDIR/config.dist/layouts/retro_white_800x600 | 88 | install --mode=644 config.dist/layouts/retro_white_800x600/* $DESTDIR/config.dist/layouts/retro_white_800x600 |
4241 | 86 | install --mode=644 config.dist/layouts/retro_white_1024x768/* $DESTDIR/config.dist/layouts/retro_white_1024x768 | 89 | install --mode=644 config.dist/layouts/retro_white_1024x768/* $DESTDIR/config.dist/layouts/retro_white_1024x768 |
4242 | 90 | install --mode=644 config.dist/layouts/simple_640x480/* $DESTDIR/config.dist/layouts/simple_640x480 | ||
4243 | 91 | install --mode=644 config.dist/layouts/simple_800x600/* $DESTDIR/config.dist/layouts/simple_800x600 | ||
4244 | 92 | install --mode=644 config.dist/layouts/simple_1024x768/* $DESTDIR/config.dist/layouts/simple_1024x768 | ||
4245 | 87 | install --mode=644 config.dist/layouts/retro_cpviewer/* $DESTDIR/config.dist/layouts/retro_cpviewer | 93 | install --mode=644 config.dist/layouts/retro_cpviewer/* $DESTDIR/config.dist/layouts/retro_cpviewer |
4246 | 88 | install --mode=644 config.dist/layouts/retro_histview/* $DESTDIR/config.dist/layouts/retro_histview | 94 | install --mode=644 config.dist/layouts/retro_histview/* $DESTDIR/config.dist/layouts/retro_histview |
4247 | 89 | install --mode=644 doc/* $DESTDIR/doc | 95 | install --mode=644 doc/* $DESTDIR/doc |
4248 | 90 | 96 | ||
4249 | === modified file 'joystick.py' | |||
4250 | --- joystick.py 2008-11-30 10:26:19 +0000 | |||
4251 | +++ joystick.py 2011-03-03 21:06:42 +0000 | |||
4252 | @@ -29,21 +29,24 @@ | |||
4253 | 29 | import pygame | 29 | import pygame |
4254 | 30 | pygame_imported = True | 30 | pygame_imported = True |
4255 | 31 | except ImportError: | 31 | except ImportError: |
4259 | 32 | print _('Warning: pygame module not found. Joysticks not supported') | 32 | print _('Warning: pygame module not found. Joysticks not supported') |
4260 | 33 | 33 | ||
4261 | 34 | class joystick: | 34 | |
4262 | 35 | class Joystick: | ||
4263 | 35 | """pygame joystick class""" | 36 | """pygame joystick class""" |
4265 | 36 | def __init__(self): | 37 | |
4266 | 38 | def __init__(self, debug=False): | ||
4267 | 37 | """initialise""" | 39 | """initialise""" |
4268 | 40 | self.debug = debug | ||
4269 | 38 | self.state = {} | 41 | self.state = {} |
4270 | 39 | self.devices = {} | 42 | self.devices = {} |
4271 | 40 | self.ctrls = {} | 43 | self.ctrls = {} |
4272 | 41 | if pygame_imported: | 44 | if pygame_imported: |
4273 | 42 | pygame.init() | 45 | pygame.init() |
4276 | 43 | pygame.joystick.init() | 46 | pygame.mixer.quit() |
4277 | 44 | 47 | ||
4278 | 45 | def use_ini_controls(self, ctrlr_ini): | 48 | def use_ini_controls(self, ctrlr_ini): |
4280 | 46 | """read controller ini file""" | 49 | """read controller ini file""" |
4281 | 47 | if not pygame_imported: | 50 | if not pygame_imported: |
4282 | 48 | return | 51 | return |
4283 | 49 | for mw_keys in ctrlr_ini.ini_dict.itervalues(): | 52 | for mw_keys in ctrlr_ini.ini_dict.itervalues(): |
4284 | @@ -52,7 +55,7 @@ | |||
4285 | 52 | if mw_key[:3] == "JOY": | 55 | if mw_key[:3] == "JOY": |
4286 | 53 | self.state[mw_key] = 0 | 56 | self.state[mw_key] = 0 |
4287 | 54 | (dev_num, control) = mw_key.split("_", 1) | 57 | (dev_num, control) = mw_key.split("_", 1) |
4289 | 55 | dev_num = dev_num[3:] | 58 | dev_num = dev_num[3:] |
4290 | 56 | self.devices[int(dev_num) - 1] = None | 59 | self.devices[int(dev_num) - 1] = None |
4291 | 57 | # | 60 | # |
4292 | 58 | num_joysticks = pygame.joystick.get_count() | 61 | num_joysticks = pygame.joystick.get_count() |
4293 | @@ -60,7 +63,7 @@ | |||
4294 | 60 | if dev_num < num_joysticks: | 63 | if dev_num < num_joysticks: |
4295 | 61 | self.devices[dev_num] = pygame.joystick.Joystick(dev_num) | 64 | self.devices[dev_num] = pygame.joystick.Joystick(dev_num) |
4296 | 62 | self.devices[dev_num].init() | 65 | self.devices[dev_num].init() |
4298 | 63 | 66 | ||
4299 | 64 | def use_all_controls(self): | 67 | def use_all_controls(self): |
4300 | 65 | """which joysticks""" | 68 | """which joysticks""" |
4301 | 66 | if not pygame_imported: | 69 | if not pygame_imported: |
4302 | @@ -72,9 +75,10 @@ | |||
4303 | 72 | num_buttons = self.devices[dev_num].get_numbuttons() | 75 | num_buttons = self.devices[dev_num].get_numbuttons() |
4304 | 73 | for button_num in range(num_buttons): | 76 | for button_num in range(num_buttons): |
4305 | 74 | mw_key = "JOY%s_BUTTON%s" % (dev_num + 1, button_num) | 77 | mw_key = "JOY%s_BUTTON%s" % (dev_num + 1, button_num) |
4307 | 75 | ctrl_name = _('Joystick %s Button %s') % (dev_num + 1, button_num) | 78 | ctrl_name = _('Joystick %s Button %s') % ( |
4308 | 79 | dev_num + 1, button_num) | ||
4309 | 76 | self.state[mw_key] = 0 | 80 | self.state[mw_key] = 0 |
4311 | 77 | self.ctrls[ctrl_name] = mw_key | 81 | self.ctrls[ctrl_name] = mw_key |
4312 | 78 | if self.devices[dev_num].get_numaxes() > 2: | 82 | if self.devices[dev_num].get_numaxes() > 2: |
4313 | 79 | mw_key = "JOY%s_" % (dev_num + 1) | 83 | mw_key = "JOY%s_" % (dev_num + 1) |
4314 | 80 | ctrl_name = _('Joystick %s ') % (dev_num + 1) | 84 | ctrl_name = _('Joystick %s ') % (dev_num + 1) |
4315 | @@ -86,27 +90,27 @@ | |||
4316 | 86 | self.ctrls[ctrl_name + _('Down')] = mw_key + "DOWN" | 90 | self.ctrls[ctrl_name + _('Down')] = mw_key + "DOWN" |
4317 | 87 | self.ctrls[ctrl_name + _('Left')] = mw_key + "LEFT" | 91 | self.ctrls[ctrl_name + _('Left')] = mw_key + "LEFT" |
4318 | 88 | self.ctrls[ctrl_name + _('Right')] = mw_key + "RIGHT" | 92 | self.ctrls[ctrl_name + _('Right')] = mw_key + "RIGHT" |
4321 | 89 | 93 | ||
4322 | 90 | def poll(self, event_cb, initial_repeat_delay=40): | 94 | def poll(self, event_cb, initial_repeat_delay=10): |
4323 | 91 | """poll for joystick events""" | 95 | """poll for joystick events""" |
4324 | 92 | if not pygame_imported: | 96 | if not pygame_imported: |
4327 | 93 | return 0 | 97 | return False |
4328 | 94 | repeat_delay = 4 | 98 | repeat_delay = 1 |
4329 | 95 | # give pygame a chance to do its magic with the joystick | 99 | # give pygame a chance to do its magic with the joystick |
4330 | 96 | pygame.event.pump() | 100 | pygame.event.pump() |
4331 | 97 | # end polling if no joysticks are found | 101 | # end polling if no joysticks are found |
4332 | 98 | num_joysticks = pygame.joystick.get_count() | 102 | num_joysticks = pygame.joystick.get_count() |
4333 | 99 | if num_joysticks == 0: | 103 | if num_joysticks == 0: |
4335 | 100 | return 0 | 104 | return False |
4336 | 101 | # get the focused window or return | 105 | # get the focused window or return |
4337 | 102 | active_window = None | 106 | active_window = None |
4338 | 103 | windows = gtk.window_list_toplevels() | 107 | windows = gtk.window_list_toplevels() |
4339 | 104 | for window in windows: | 108 | for window in windows: |
4340 | 105 | if window.is_active(): | 109 | if window.is_active(): |
4341 | 106 | active_window = window | 110 | active_window = window |
4345 | 107 | if active_window == None: | 111 | if active_window == None: |
4346 | 108 | return 1 | 112 | return True |
4347 | 109 | # check if any of our defined controlls were pressed | 113 | # check if any of our defined controls were pressed |
4348 | 110 | mw_key_events = [] | 114 | mw_key_events = [] |
4349 | 111 | for mw_key in self.state.iterkeys(): | 115 | for mw_key in self.state.iterkeys(): |
4350 | 112 | (dev_num, joy_type) = (mw_key.split("_", 1)) | 116 | (dev_num, joy_type) = (mw_key.split("_", 1)) |
4351 | @@ -122,6 +126,7 @@ | |||
4352 | 122 | elif self.state[mw_key] > 0: | 126 | elif self.state[mw_key] > 0: |
4353 | 123 | self.state[mw_key] = 0 | 127 | self.state[mw_key] = 0 |
4354 | 124 | mw_key_events.append(mw_key) | 128 | mw_key_events.append(mw_key) |
4355 | 129 | #break #one event should be enough | ||
4356 | 125 | elif joy_type in ["LEFT", "RIGHT", "UP", "DOWN"]: | 130 | elif joy_type in ["LEFT", "RIGHT", "UP", "DOWN"]: |
4357 | 126 | if joy_type in ["LEFT", "RIGHT"]: | 131 | if joy_type in ["LEFT", "RIGHT"]: |
4358 | 127 | axis_num = 0 | 132 | axis_num = 0 |
4359 | @@ -142,20 +147,31 @@ | |||
4360 | 142 | elif self.state[mw_key] > 0: | 147 | elif self.state[mw_key] > 0: |
4361 | 143 | self.state[mw_key] = 0 | 148 | self.state[mw_key] = 0 |
4362 | 144 | mw_key_events.append(mw_key) | 149 | mw_key_events.append(mw_key) |
4363 | 150 | #break #one event should be enough | ||
4364 | 145 | # send fake key-press events | 151 | # send fake key-press events |
4366 | 146 | for mw_key in mw_key_events: | 152 | if len(mw_key_events) > 0: |
4367 | 153 | #print "mw_key_events=",mw_key_events | ||
4368 | 154 | mw_key = mw_key_events[0] | ||
4369 | 155 | #print "mw_key=",mw_key, self.state[mw_key] | ||
4370 | 156 | #for mw_key in mw_key_events: | ||
4371 | 157 | #print "mw_key=",mw_key, self.state[mw_key] | ||
4372 | 147 | if self.state[mw_key] == 0: | 158 | if self.state[mw_key] == 0: |
4373 | 148 | e = gtk.gdk.Event(gtk.gdk.KEY_RELEASE) | 159 | e = gtk.gdk.Event(gtk.gdk.KEY_RELEASE) |
4374 | 149 | if active_window.window: | 160 | if active_window.window: |
4375 | 150 | e.window = active_window.window | 161 | e.window = active_window.window |
4376 | 162 | if self.debug: | ||
4377 | 163 | print "joystick: key-release: raising: ", mw_key | ||
4378 | 151 | event_cb(active_window, e, "JOYSTICK", mw_key) | 164 | event_cb(active_window, e, "JOYSTICK", mw_key) |
4380 | 152 | elif (self.state[mw_key] == 1 or | 165 | elif (self.state[mw_key] == 1 or |
4381 | 153 | self.state[mw_key] == initial_repeat_delay or | 166 | self.state[mw_key] == initial_repeat_delay or |
4383 | 154 | (self.state[mw_key] > initial_repeat_delay and | 167 | (self.state[mw_key] > initial_repeat_delay and |
4384 | 155 | (self.state[mw_key] - initial_repeat_delay) % repeat_delay == 0)): | 168 | (self.state[mw_key] - initial_repeat_delay) % repeat_delay == 0)): |
4385 | 156 | e = gtk.gdk.Event(gtk.gdk.KEY_PRESS) | 169 | e = gtk.gdk.Event(gtk.gdk.KEY_PRESS) |
4386 | 157 | if active_window.window: | 170 | if active_window.window: |
4387 | 158 | e.window = active_window.window | 171 | e.window = active_window.window |
4388 | 172 | if self.debug: | ||
4389 | 173 | print "joystick: key-press: raising: ", mw_key | ||
4390 | 159 | event_cb(active_window, e, "JOYSTICK", mw_key) | 174 | event_cb(active_window, e, "JOYSTICK", mw_key) |
4393 | 160 | return 1 | 175 | #try clearing event queue |
4394 | 161 | 176 | pygame.event.clear() | |
4395 | 177 | return True | ||
4396 | 162 | 178 | ||
4397 | === modified file 'key_consts.py' | |||
4398 | --- key_consts.py 2009-01-07 17:51:46 +0000 | |||
4399 | +++ key_consts.py 2011-03-03 21:06:42 +0000 | |||
4400 | @@ -4,7 +4,7 @@ | |||
4401 | 4 | # Application: wah!cade | 4 | # Application: wah!cade |
4402 | 5 | # File: key_consts.py | 5 | # File: key_consts.py |
4403 | 6 | # Description: keyboard constants file | 6 | # Description: keyboard constants file |
4405 | 7 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 7 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
4406 | 8 | ### | 8 | ### |
4407 | 9 | # | 9 | # |
4408 | 10 | # This program is free software; you can redistribute it and/or modify | 10 | # This program is free software; you can redistribute it and/or modify |
4409 | @@ -80,7 +80,7 @@ | |||
4410 | 80 | 'delete': ['DIK_DELETE'], | 80 | 'delete': ['DIK_DELETE'], |
4411 | 81 | 'end': ['DIK_END'], | 81 | 'end': ['DIK_END'], |
4412 | 82 | 'pause': ['DIK_PAUSE'], | 82 | 'pause': ['DIK_PAUSE'], |
4414 | 83 | 83 | ||
4415 | 84 | #function keys | 84 | #function keys |
4416 | 85 | 'f1': ['DIK_F1'], | 85 | 'f1': ['DIK_F1'], |
4417 | 86 | 'f2': ['DIK_F2'], | 86 | 'f2': ['DIK_F2'], |
4418 | @@ -120,7 +120,7 @@ | |||
4419 | 120 | 'kp_decimal': ['DIK_NUMPADPERIOD', 'DIK_DECIMAL'], | 120 | 'kp_decimal': ['DIK_NUMPADPERIOD', 'DIK_DECIMAL'], |
4420 | 121 | 'kp_enter': ['DIK_NUMPADENTER'], | 121 | 'kp_enter': ['DIK_NUMPADENTER'], |
4421 | 122 | 122 | ||
4423 | 123 | #punctuation | 123 | #punctuation |
4424 | 124 | 'grave': ['DIK_GRAVE'], | 124 | 'grave': ['DIK_GRAVE'], |
4425 | 125 | 'backslash': ['DIK_BACKSLASH'], | 125 | 'backslash': ['DIK_BACKSLASH'], |
4426 | 126 | 'minus': ['DIK_MINUS'], | 126 | 'minus': ['DIK_MINUS'], |
4427 | @@ -133,7 +133,7 @@ | |||
4428 | 133 | 'period': ['DIK_PERIOD'], | 133 | 'period': ['DIK_PERIOD'], |
4429 | 134 | 'slash': ['DIK_SLASH'], | 134 | 'slash': ['DIK_SLASH'], |
4430 | 135 | 'space': ['DIK_SPACE'], | 135 | 'space': ['DIK_SPACE'], |
4432 | 136 | 136 | ||
4433 | 137 | #modifier keys | 137 | #modifier keys |
4434 | 138 | 'escape': ['DIK_ESCAPE'], | 138 | 'escape': ['DIK_ESCAPE'], |
4435 | 139 | 'shift_l': ['DIK_LSHIFT'], | 139 | 'shift_l': ['DIK_LSHIFT'], |
4436 | @@ -148,10 +148,8 @@ | |||
4437 | 148 | 'caps_lock': ['DIK_CAPSLOCK'], | 148 | 'caps_lock': ['DIK_CAPSLOCK'], |
4438 | 149 | 'num_lock': ['DIK_NUMLOCK'], | 149 | 'num_lock': ['DIK_NUMLOCK'], |
4439 | 150 | 'scroll_lock': ['DIK_SCROLL'], | 150 | 'scroll_lock': ['DIK_SCROLL'], |
4441 | 151 | 151 | ||
4442 | 152 | #keys not recognized in GTK | 152 | #keys not recognized in GTK |
4443 | 153 | 'voidsymbol': ['DIK_CAPITOL'], | 153 | 'voidsymbol': ['DIK_CAPITOL'], |
4444 | 154 | 'unknown': ['DIK_APPS'], | 154 | 'unknown': ['DIK_APPS'], |
4448 | 155 | 'unknown': ['DIK_SYSRQ'] | 155 | 'unknown': ['DIK_SYSRQ']} |
4446 | 156 | } | ||
4447 | 157 | |||
4449 | 158 | 156 | ||
4450 | === modified file 'layout_editor.py' | |||
4451 | --- layout_editor.py 2009-01-11 16:29:58 +0000 | |||
4452 | +++ layout_editor.py 2011-03-03 21:06:42 +0000 | |||
4453 | @@ -5,7 +5,7 @@ | |||
4454 | 5 | # Application: wah!cade | 5 | # Application: wah!cade |
4455 | 6 | # File: layout_editor.py | 6 | # File: layout_editor.py |
4456 | 7 | # Description: Wah!Cade Layout Editor | 7 | # Description: Wah!Cade Layout Editor |
4458 | 8 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 8 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
4459 | 9 | ### | 9 | ### |
4460 | 10 | # | 10 | # |
4461 | 11 | # This program is free software; you can redistribute it and/or modify | 11 | # This program is free software; you can redistribute it and/or modify |
4462 | @@ -54,8 +54,10 @@ | |||
4463 | 54 | from mamewah_ini import MameWahIni | 54 | from mamewah_ini import MameWahIni |
4464 | 55 | _ = gettext.gettext | 55 | _ = gettext.gettext |
4465 | 56 | 56 | ||
4466 | 57 | |||
4467 | 57 | class WinLayout(GladeSupport, WahCade): | 58 | class WinLayout(GladeSupport, WahCade): |
4468 | 58 | """Layout Editor Main Window""" | 59 | """Layout Editor Main Window""" |
4469 | 60 | |||
4470 | 59 | def __init__(self, glade_filename, window_name, config_opts, config_args): | 61 | def __init__(self, glade_filename, window_name, config_opts, config_args): |
4471 | 60 | """build the window""" | 62 | """build the window""" |
4472 | 61 | self.title = 'Wah!Cade Layout Editor' | 63 | self.title = 'Wah!Cade Layout Editor' |
4473 | @@ -71,7 +73,7 @@ | |||
4474 | 71 | self.config_dir = os.path.join(APP_PATH, 'config') | 73 | self.config_dir = os.path.join(APP_PATH, 'config') |
4475 | 72 | else: | 74 | else: |
4476 | 73 | #got with the default config location | 75 | #got with the default config location |
4478 | 74 | self.config_dir = os.path.expanduser('~/.wahcade') | 76 | self.config_dir = CONFIG_DIR |
4479 | 75 | if not os.path.exists(self.config_dir): | 77 | if not os.path.exists(self.config_dir): |
4480 | 76 | sys.exit(_('No Wah!Cade config files found. Run wahcade or wahcade-setup first.')) | 78 | sys.exit(_('No Wah!Cade config files found. Run wahcade or wahcade-setup first.')) |
4481 | 77 | self.fixdMain = gtk.Fixed() | 79 | self.fixdMain = gtk.Fixed() |
4482 | @@ -143,7 +145,7 @@ | |||
4483 | 143 | hist_widgets[widget_name] = evb | 145 | hist_widgets[widget_name] = evb |
4484 | 144 | self.fixdHist.put(evb, 100, 10 + (i * 30)) | 146 | self.fixdHist.put(evb, 100, 10 + (i * 30)) |
4485 | 145 | #fixed pos widgets | 147 | #fixed pos widgets |
4487 | 146 | self._fixed_widgets = [self.fixdMain, self.fixdOpt, self.fixdMsg, | 148 | self._fixed_widgets = [self.fixdMain, self.fixdOpt, self.fixdMsg, |
4488 | 147 | self.fixdScr, self.fixdCpv, self.fixdHist] | 149 | self.fixdScr, self.fixdCpv, self.fixdHist] |
4489 | 148 | for fixd in self._fixed_widgets: | 150 | for fixd in self._fixed_widgets: |
4490 | 149 | fixd.connect('expose-event', self.on_fixd_expose_event) | 151 | fixd.connect('expose-event', self.on_fixd_expose_event) |
4491 | @@ -237,9 +239,9 @@ | |||
4492 | 237 | self.hist_widgets = hist_widgets | 239 | self.hist_widgets = hist_widgets |
4493 | 238 | #setup view menu / toolbar | 240 | #setup view menu / toolbar |
4494 | 239 | self.view_updating = True | 241 | self.view_updating = True |
4496 | 240 | self.view_menu = [self.mnuVMain, self.mnuVOpt, self.mnuVMsg, self.mnuVScr, | 242 | self.view_menu = [self.mnuVMain, self.mnuVOpt, self.mnuVMsg, self.mnuVScr, |
4497 | 241 | self.mnuVCpv, self.mnuVHist] | 243 | self.mnuVCpv, self.mnuVHist] |
4499 | 242 | self.view_trb = [self.trbMain, self.trbOpt, self.trbMsg, self.trbScr, | 244 | self.view_trb = [self.trbMain, self.trbOpt, self.trbMsg, self.trbScr, |
4500 | 243 | self.trbCpv, self.trbHist] | 245 | self.trbCpv, self.trbHist] |
4501 | 244 | for mnu in self.view_menu[1:]: | 246 | for mnu in self.view_menu[1:]: |
4502 | 245 | mnu.set_active(False) | 247 | mnu.set_active(False) |
4503 | @@ -259,7 +261,7 @@ | |||
4504 | 259 | cpviewer_ini = MameWahIni(os.path.join(self.config_dir, 'cpviewer.ini'), 'default', '0.10') | 261 | cpviewer_ini = MameWahIni(os.path.join(self.config_dir, 'cpviewer.ini'), 'default', '0.10') |
4505 | 260 | histview_ini = MameWahIni(os.path.join(self.config_dir, 'histview.ini'), 'default', '0.16') | 262 | histview_ini = MameWahIni(os.path.join(self.config_dir, 'histview.ini'), 'default', '0.16') |
4506 | 261 | #setup layout combo | 263 | #setup layout combo |
4508 | 262 | self.layouts = [] | 264 | self.layouts = [] |
4509 | 263 | layout_files = glob.glob(os.path.join(self.config_dir, 'layouts', wahcade_ini.get('layout'), '*.lay')) | 265 | layout_files = glob.glob(os.path.join(self.config_dir, 'layouts', wahcade_ini.get('layout'), '*.lay')) |
4510 | 264 | for layout_file in layout_files: | 266 | for layout_file in layout_files: |
4511 | 265 | self.layouts.append( | 267 | self.layouts.append( |
4512 | @@ -268,7 +270,7 @@ | |||
4513 | 268 | self.layouts.sort() | 270 | self.layouts.sort() |
4514 | 269 | #setup layout combo | 271 | #setup layout combo |
4515 | 270 | l = ['%s.lay' % (l[0]) for l in self.layouts] | 272 | l = ['%s.lay' % (l[0]) for l in self.layouts] |
4517 | 271 | self.setup_combo_box(self.cboLayout, l) | 273 | self.setup_combo_box(self.cboLayout, l) |
4518 | 272 | #load layout | 274 | #load layout |
4519 | 273 | layout_file = os.path.join(self.config_dir, 'layouts', wahcade_ini.get('layout'), 'layout.lay') | 275 | layout_file = os.path.join(self.config_dir, 'layouts', wahcade_ini.get('layout'), 'layout.lay') |
4520 | 274 | if not os.path.isfile(layout_file): | 276 | if not os.path.isfile(layout_file): |
4521 | @@ -280,7 +282,7 @@ | |||
4522 | 280 | pass | 282 | pass |
4523 | 281 | if not os.path.exists(layout_file): | 283 | if not os.path.exists(layout_file): |
4524 | 282 | layout_file = os.path.join(self.config_dir, 'layouts', 'classic_640x480', 'layout.lay') | 284 | layout_file = os.path.join(self.config_dir, 'layouts', 'classic_640x480', 'layout.lay') |
4526 | 283 | idx = [self.layouts.index(l) for l in self.layouts if l[1] == layout_file] | 285 | idx = [self.layouts.index(l) for l in self.layouts if l[1] == layout_file] |
4527 | 284 | if idx != []: | 286 | if idx != []: |
4528 | 285 | self.cboLayout.set_active(idx[0]) | 287 | self.cboLayout.set_active(idx[0]) |
4529 | 286 | else: | 288 | else: |
4530 | @@ -329,7 +331,7 @@ | |||
4531 | 329 | #exit gtk loop | 331 | #exit gtk loop |
4532 | 330 | gtk.main_quit() | 332 | gtk.main_quit() |
4533 | 331 | return False | 333 | return False |
4535 | 332 | 334 | ||
4536 | 333 | def on_winMain_key_press(self, widget, event, *args): | 335 | def on_winMain_key_press(self, widget, event, *args): |
4537 | 334 | """key pressed - move selected widget""" | 336 | """key pressed - move selected widget""" |
4538 | 335 | if self.selected_widgets == []: | 337 | if self.selected_widgets == []: |
4539 | @@ -423,7 +425,7 @@ | |||
4540 | 423 | _('Save CP Viewer Layout'), | 425 | _('Save CP Viewer Layout'), |
4541 | 424 | self.save_cpviewer_file) | 426 | self.save_cpviewer_file) |
4542 | 425 | self.set_window_title() | 427 | self.set_window_title() |
4544 | 426 | 428 | ||
4545 | 427 | def on_mnuFSaveHistAs_activate(self, *args): | 429 | def on_mnuFSaveHistAs_activate(self, *args): |
4546 | 428 | """save history viewer layout file as""" | 430 | """save history viewer layout file as""" |
4547 | 429 | self.save_layout_dialog( | 431 | self.save_layout_dialog( |
4548 | @@ -431,24 +433,24 @@ | |||
4549 | 431 | _('Save History Viewer Layout'), | 433 | _('Save History Viewer Layout'), |
4550 | 432 | self.save_histview_file) | 434 | self.save_histview_file) |
4551 | 433 | self.set_window_title() | 435 | self.set_window_title() |
4553 | 434 | 436 | ||
4554 | 435 | def on_mnuFQuit_activate(self, *args): | 437 | def on_mnuFQuit_activate(self, *args): |
4555 | 436 | """quit""" | 438 | """quit""" |
4556 | 437 | self.on_winMain_delete_event() | 439 | self.on_winMain_delete_event() |
4558 | 438 | 440 | ||
4559 | 439 | def on_mnuESelectAllVisible_activate(self, *args): | 441 | def on_mnuESelectAllVisible_activate(self, *args): |
4560 | 440 | """select all visible widgets""" | 442 | """select all visible widgets""" |
4561 | 441 | for widget in self.fixd.get_children(): | 443 | for widget in self.fixd.get_children(): |
4562 | 442 | if self.dLayout[widget]['visible']: | 444 | if self.dLayout[widget]['visible']: |
4563 | 443 | self.select_widget(widget) | 445 | self.select_widget(widget) |
4564 | 444 | self.selected_widgets.append(widget) | 446 | self.selected_widgets.append(widget) |
4566 | 445 | 447 | ||
4567 | 446 | def on_mnuESelectAll_activate(self, *args): | 448 | def on_mnuESelectAll_activate(self, *args): |
4568 | 447 | """select all widgets""" | 449 | """select all widgets""" |
4569 | 448 | for widget in self.fixd.get_children(): | 450 | for widget in self.fixd.get_children(): |
4570 | 449 | self.select_widget(widget) | 451 | self.select_widget(widget) |
4571 | 450 | self.selected_widgets.append(widget) | 452 | self.selected_widgets.append(widget) |
4573 | 451 | 453 | ||
4574 | 452 | def on_cboLayout_changed(self, cbo, *args): | 454 | def on_cboLayout_changed(self, cbo, *args): |
4575 | 453 | """change layout""" | 455 | """change layout""" |
4576 | 454 | self.load_layout_file(self.layouts[cbo.get_active()][1]) | 456 | self.load_layout_file(self.layouts[cbo.get_active()][1]) |
4577 | @@ -668,7 +670,7 @@ | |||
4578 | 668 | gc = fixed.style.light_gc[gtk.STATE_NORMAL] | 670 | gc = fixed.style.light_gc[gtk.STATE_NORMAL] |
4579 | 669 | window.draw_rectangle(gc, False, 0, 0, w, h) | 671 | window.draw_rectangle(gc, False, 0, 0, w, h) |
4580 | 670 | return False | 672 | return False |
4582 | 671 | 673 | ||
4583 | 672 | def _make_label(self, widget_name): | 674 | def _make_label(self, widget_name): |
4584 | 673 | """create a label (inside an event box)""" | 675 | """create a label (inside an event box)""" |
4585 | 674 | evb = gtk.EventBox() | 676 | evb = gtk.EventBox() |
4586 | @@ -726,7 +728,7 @@ | |||
4587 | 726 | ftr.add_pattern('*.lay') | 728 | ftr.add_pattern('*.lay') |
4588 | 727 | dlg.add_filter(ftr) | 729 | dlg.add_filter(ftr) |
4589 | 728 | dlg.set_filter(ftr) | 730 | dlg.set_filter(ftr) |
4591 | 729 | if gtk.check_version(2,8,0) is None: | 731 | if gtk.check_version(2, 8, 0) is None: |
4592 | 730 | try: | 732 | try: |
4593 | 731 | dlg.set_do_overwrite_confirmation(True) | 733 | dlg.set_do_overwrite_confirmation(True) |
4594 | 732 | except AttributeError: | 734 | except AttributeError: |
4595 | @@ -807,27 +809,27 @@ | |||
4596 | 807 | main_bg_col = gtk.gdk.color_parse(self.get_colour(int(lines[3]))) | 809 | main_bg_col = gtk.gdk.color_parse(self.get_colour(int(lines[3]))) |
4597 | 808 | self.viewport.modify_bg(gtk.STATE_NORMAL, main_bg_col) | 810 | self.viewport.modify_bg(gtk.STATE_NORMAL, main_bg_col) |
4598 | 809 | self.dLayout[self.fixdMain]['image'] = lines[4] | 811 | self.dLayout[self.fixdMain]['image'] = lines[4] |
4604 | 810 | img_path = self.get_path(lines[4]) | 812 | img_file = self.get_path(lines[4]) |
4605 | 811 | if not os.path.dirname(img_path): | 813 | if not os.path.dirname(img_file): |
4606 | 812 | img_path = os.path.join(layout_path, img_path) | 814 | img_file = os.path.join(layout_path, img_file) |
4607 | 813 | #print "img=",img_path, os.path.isfile(img_path) | 815 | #print "img=",img_file, os.path.isfile(img_file) |
4608 | 814 | self.dLayout[self.fixdMain]['use_image'] = os.path.isfile(img_path) | 816 | self.dLayout[self.fixdMain]['use_image'] = os.path.isfile(img_file) |
4609 | 815 | #options window | 817 | #options window |
4610 | 816 | self.dLayout[self.fixdOpt]['background-col'] = self.get_colour(int(lines[296])) | 818 | self.dLayout[self.fixdOpt]['background-col'] = self.get_colour(int(lines[296])) |
4611 | 817 | opt_bg_col = gtk.gdk.color_parse(self.get_colour(int(lines[296]))) | 819 | opt_bg_col = gtk.gdk.color_parse(self.get_colour(int(lines[296]))) |
4612 | 818 | self.dLayout[self.fixdOpt]['image'] = lines[297] | 820 | self.dLayout[self.fixdOpt]['image'] = lines[297] |
4617 | 819 | img_path = self.get_path(lines[297]) | 821 | img_file = self.get_path(lines[297]) |
4618 | 820 | if not os.path.dirname(img_path): | 822 | if not os.path.dirname(img_file): |
4619 | 821 | img_path = os.path.join(layout_path, img_path) | 823 | img_file = os.path.join(layout_path, img_file) |
4620 | 822 | self.dLayout[self.fixdOpt]['use_image'] = os.path.isfile(img_path) | 824 | self.dLayout[self.fixdOpt]['use_image'] = os.path.isfile(img_file) |
4621 | 823 | #message window | 825 | #message window |
4622 | 824 | self.dLayout[self.fixdMsg]['background-col'] = self.get_colour(int(lines[355])) | 826 | self.dLayout[self.fixdMsg]['background-col'] = self.get_colour(int(lines[355])) |
4623 | 825 | msg_bg_col = gtk.gdk.color_parse(self.get_colour(int(lines[355]))) | 827 | msg_bg_col = gtk.gdk.color_parse(self.get_colour(int(lines[355]))) |
4624 | 826 | self.dLayout[self.fixdMsg]['image'] = lines[356] | 828 | self.dLayout[self.fixdMsg]['image'] = lines[356] |
4629 | 827 | img_path = self.get_path(lines[356]) | 829 | img_file = self.get_path(lines[356]) |
4630 | 828 | if not os.path.dirname(img_path): | 830 | if not os.path.dirname(img_file): |
4631 | 829 | img_path = os.path.join(layout_path, img_path) | 831 | img_file = os.path.join(layout_path, img_file) |
4632 | 830 | self.dLayout[self.fixdMsg]['use_image'] = os.path.isfile(img_path) | 832 | self.dLayout[self.fixdMsg]['use_image'] = os.path.isfile(img_file) |
4633 | 831 | #screen saver window | 833 | #screen saver window |
4634 | 832 | self.dLayout[self.fixdScr]['background-col'] = self.dLayout[self.fixdMain]['background-col'] | 834 | self.dLayout[self.fixdScr]['background-col'] = self.dLayout[self.fixdMain]['background-col'] |
4635 | 833 | self.dLayout[self.fixdScr]['image'] = '' | 835 | self.dLayout[self.fixdScr]['image'] = '' |
4636 | @@ -933,7 +935,7 @@ | |||
4637 | 933 | lines[offset + 7] = ' %s' % d['font-size'] | 935 | lines[offset + 7] = ' %s' % d['font-size'] |
4638 | 934 | align_rot = '%s' % d['text-align'] | 936 | align_rot = '%s' % d['text-align'] |
4639 | 935 | if d['text-rotation'] != 0: | 937 | if d['text-rotation'] != 0: |
4641 | 936 | align_rot = '%s;%s' % (align_rot, d['text-rotation']) | 938 | align_rot = '%s;%s' % (align_rot, d['text-rotation']) |
4642 | 937 | lines[offset + 8] = ' %s' % align_rot | 939 | lines[offset + 8] = ' %s' % align_rot |
4643 | 938 | lines[offset + 9] = ' %s' % d['x'] | 940 | lines[offset + 9] = ' %s' % d['x'] |
4644 | 939 | lines[offset + 10] = ' %s' % d['y'] | 941 | lines[offset + 10] = ' %s' % d['y'] |
4645 | @@ -952,7 +954,7 @@ | |||
4646 | 952 | open(fname, 'w').writelines(lines[1:]) | 954 | open(fname, 'w').writelines(lines[1:]) |
4647 | 953 | #reset altered flag | 955 | #reset altered flag |
4648 | 954 | self.layout_altered = False | 956 | self.layout_altered = False |
4650 | 955 | 957 | ||
4651 | 956 | def init_cpviewer_widgets(self): | 958 | def init_cpviewer_widgets(self): |
4652 | 957 | """set cpviewer widgets to sensible defaults""" | 959 | """set cpviewer widgets to sensible defaults""" |
4653 | 958 | for widget in self._cpv_widgets: | 960 | for widget in self._cpv_widgets: |
4654 | @@ -962,9 +964,9 @@ | |||
4655 | 962 | d['font-bold'] = False | 964 | d['font-bold'] = False |
4656 | 963 | d['font-italic'] = False | 965 | d['font-italic'] = False |
4657 | 964 | d['font-size'] = 10 | 966 | d['font-size'] = 10 |
4659 | 965 | d['transparent'] = True | 967 | d['transparent'] = True |
4660 | 966 | d['text-col'] = '#FF0000' | 968 | d['text-col'] = '#FF0000' |
4662 | 967 | d['background-col'] = '#FFFFFF' | 969 | d['background-col'] = '#FFFFFF' |
4663 | 968 | d['visible'] = False | 970 | d['visible'] = False |
4664 | 969 | d['text-align'] = 2 | 971 | d['text-align'] = 2 |
4665 | 970 | d['width'] = 100 | 972 | d['width'] = 100 |
4666 | @@ -1020,7 +1022,7 @@ | |||
4667 | 1020 | #visible? | 1022 | #visible? |
4668 | 1021 | d['visible'] = (ctrl_element.find('Visible').text == 'True') | 1023 | d['visible'] = (ctrl_element.find('Visible').text == 'True') |
4669 | 1022 | evb.set_property('visible', d['visible']) | 1024 | evb.set_property('visible', d['visible']) |
4671 | 1023 | #alignment | 1025 | #alignment |
4672 | 1024 | if ctrl_element.find('TextAlign').text == 'MiddleLeft': | 1026 | if ctrl_element.find('TextAlign').text == 'MiddleLeft': |
4673 | 1025 | align = 0.0 | 1027 | align = 0.0 |
4674 | 1026 | text_align = 0 | 1028 | text_align = 0 |
4675 | @@ -1046,7 +1048,7 @@ | |||
4676 | 1046 | self.fixdCpv.move(evb, d['x'], d['y']) | 1048 | self.fixdCpv.move(evb, d['x'], d['y']) |
4677 | 1047 | #save widget settings | 1049 | #save widget settings |
4678 | 1048 | self.dLayout[evb] = d | 1050 | self.dLayout[evb] = d |
4680 | 1049 | elif ctrl_element.tag == 'MainForm': | 1051 | elif ctrl_element.tag == 'MainForm': |
4681 | 1050 | #setup background, etc | 1052 | #setup background, etc |
4682 | 1051 | cpv_width = int(ctrl_element.find('Width').text) | 1053 | cpv_width = int(ctrl_element.find('Width').text) |
4683 | 1052 | cpv_height = int(ctrl_element.find('Height').text) | 1054 | cpv_height = int(ctrl_element.find('Height').text) |
4684 | @@ -1061,7 +1063,7 @@ | |||
4685 | 1061 | self.dLayout[self.fixdCpv] = { | 1063 | self.dLayout[self.fixdCpv] = { |
4686 | 1062 | 'name': 'C.P. Viewer', | 1064 | 'name': 'C.P. Viewer', |
4687 | 1063 | 'width': cpv_width, 'height': cpv_height, | 1065 | 'width': cpv_width, 'height': cpv_height, |
4689 | 1064 | 'background-col': back_col, | 1066 | 'background-col': back_col, |
4690 | 1065 | 'image': cpv_img, | 1067 | 'image': cpv_img, |
4691 | 1066 | 'use_image': os.path.isfile(self.get_path(cpv_img))} | 1068 | 'use_image': os.path.isfile(self.get_path(cpv_img))} |
4692 | 1067 | #done | 1069 | #done |
4693 | @@ -1083,7 +1085,7 @@ | |||
4694 | 1083 | e.tail = i | 1085 | e.tail = i |
4695 | 1084 | if level and (not elem.tail or not elem.tail.strip()): | 1086 | if level and (not elem.tail or not elem.tail.strip()): |
4696 | 1085 | elem.tail = i | 1087 | elem.tail = i |
4698 | 1086 | 1088 | ||
4699 | 1087 | def save_cpviewer_file(self, cpviewer_filename=None): | 1089 | def save_cpviewer_file(self, cpviewer_filename=None): |
4700 | 1088 | """save the cpviewer layout file""" | 1090 | """save the cpviewer layout file""" |
4701 | 1089 | xml_elements = { | 1091 | xml_elements = { |
4702 | @@ -1100,8 +1102,7 @@ | |||
4703 | 1100 | 'background-col': 'BackColor', | 1102 | 'background-col': 'BackColor', |
4704 | 1101 | 'text-align': 'TextAlign', | 1103 | 'text-align': 'TextAlign', |
4705 | 1102 | 'text-rotation': 'TextRotation', | 1104 | 'text-rotation': 'TextRotation', |
4708 | 1103 | 'transparent': 'Transparent' | 1105 | 'transparent': 'Transparent'} |
4707 | 1104 | } | ||
4709 | 1105 | #set filename | 1106 | #set filename |
4710 | 1106 | if cpviewer_filename: | 1107 | if cpviewer_filename: |
4711 | 1107 | self.cpviewer_filename = cpviewer_filename | 1108 | self.cpviewer_filename = cpviewer_filename |
4712 | @@ -1111,7 +1112,7 @@ | |||
4713 | 1111 | for cpv_widget in self._cpv_widgets: | 1112 | for cpv_widget in self._cpv_widgets: |
4714 | 1112 | widget_ele = ET.SubElement(cpv_ele, cpv_widget) | 1113 | widget_ele = ET.SubElement(cpv_ele, cpv_widget) |
4715 | 1113 | for k, v in self.dLayout[self.cpv_widgets[cpv_widget]].items(): | 1114 | for k, v in self.dLayout[self.cpv_widgets[cpv_widget]].items(): |
4717 | 1114 | if xml_elements.has_key(k): | 1115 | if k in xml_elements: |
4718 | 1115 | sub_ele = ET.SubElement(widget_ele, xml_elements[k]) | 1116 | sub_ele = ET.SubElement(widget_ele, xml_elements[k]) |
4719 | 1116 | if k in ['text-col', 'background-col']: | 1117 | if k in ['text-col', 'background-col']: |
4720 | 1117 | sub_ele.text = str(self.reverse_get_colour(v)) | 1118 | sub_ele.text = str(self.reverse_get_colour(v)) |
4721 | @@ -1144,7 +1145,7 @@ | |||
4722 | 1144 | tree.write(self.cpviewer_filename) | 1145 | tree.write(self.cpviewer_filename) |
4723 | 1145 | #reset altered flag | 1146 | #reset altered flag |
4724 | 1146 | self.cpviewer_altered = False | 1147 | self.cpviewer_altered = False |
4726 | 1147 | 1148 | ||
4727 | 1148 | def load_histview_file(self, histview_filename): | 1149 | def load_histview_file(self, histview_filename): |
4728 | 1149 | """load history viewer layout file""" | 1150 | """load history viewer layout file""" |
4729 | 1150 | #read file & strip any crap | 1151 | #read file & strip any crap |
4730 | @@ -1245,7 +1246,7 @@ | |||
4731 | 1245 | lines[offset + 7] = ' %s' % d['font-size'] | 1246 | lines[offset + 7] = ' %s' % d['font-size'] |
4732 | 1246 | align_rot = '%s' % d['text-align'] | 1247 | align_rot = '%s' % d['text-align'] |
4733 | 1247 | if d['text-rotation'] != 0: | 1248 | if d['text-rotation'] != 0: |
4735 | 1248 | align_rot = '%s;%s' % (align_rot, d['text-rotation']) | 1249 | align_rot = '%s;%s' % (align_rot, d['text-rotation']) |
4736 | 1249 | lines[offset + 8] = ' %s' % align_rot | 1250 | lines[offset + 8] = ' %s' % align_rot |
4737 | 1250 | lines[offset + 9] = ' %s' % d['x'] | 1251 | lines[offset + 9] = ' %s' % d['x'] |
4738 | 1251 | lines[offset + 10] = ' %s' % d['y'] | 1252 | lines[offset + 10] = ' %s' % d['y'] |
4739 | @@ -1270,4 +1271,3 @@ | |||
4740 | 1270 | self.winMain.set_title('%s - %s' % (self.title, self.histview_filename)) | 1271 | self.winMain.set_title('%s - %s' % (self.title, self.histview_filename)) |
4741 | 1271 | else: | 1272 | else: |
4742 | 1272 | self.winMain.set_title('%s -%s' % (self.title, self.layout_filename)) | 1273 | self.winMain.set_title('%s -%s' % (self.title, self.layout_filename)) |
4743 | 1273 | |||
4744 | 1274 | 1274 | ||
4745 | === modified file 'layout_props.py' | |||
4746 | --- layout_props.py 2009-01-07 17:51:46 +0000 | |||
4747 | +++ layout_props.py 2011-03-03 21:06:42 +0000 | |||
4748 | @@ -5,7 +5,7 @@ | |||
4749 | 5 | # Application: wah!cade | 5 | # Application: wah!cade |
4750 | 6 | # File: layout_props.py | 6 | # File: layout_props.py |
4751 | 7 | # Description: Wah!Cade Layout Properties Dialog | 7 | # Description: Wah!Cade Layout Properties Dialog |
4753 | 8 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 8 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
4754 | 9 | ### | 9 | ### |
4755 | 10 | # | 10 | # |
4756 | 11 | # This program is free software; you can redistribute it and/or modify | 11 | # This program is free software; you can redistribute it and/or modify |
4757 | @@ -25,8 +25,10 @@ | |||
4758 | 25 | from constants import * | 25 | from constants import * |
4759 | 26 | from glade2 import * | 26 | from glade2 import * |
4760 | 27 | 27 | ||
4761 | 28 | |||
4762 | 28 | class DlgProps(GladeSupport): | 29 | class DlgProps(GladeSupport): |
4763 | 29 | """Layout Editor Item Properties Dialog""" | 30 | """Layout Editor Item Properties Dialog""" |
4764 | 31 | |||
4765 | 30 | def __init__(self, glade_filename, window_name, app): | 32 | def __init__(self, glade_filename, window_name, app): |
4766 | 31 | """build the window""" | 33 | """build the window""" |
4767 | 32 | GladeSupport.__init__(self, glade_filename, window_name) | 34 | GladeSupport.__init__(self, glade_filename, window_name) |
4768 | @@ -35,7 +37,7 @@ | |||
4769 | 35 | self.widget_list = [] | 37 | self.widget_list = [] |
4770 | 36 | self.name_idx = -1 | 38 | self.name_idx = -1 |
4771 | 37 | self.updating = False | 39 | self.updating = False |
4773 | 38 | 40 | ||
4774 | 39 | def populate_names(self, widget_list): | 41 | def populate_names(self, widget_list): |
4775 | 40 | #pop names | 42 | #pop names |
4776 | 41 | self.widget_list = widget_list | 43 | self.widget_list = widget_list |
4777 | @@ -89,7 +91,7 @@ | |||
4778 | 89 | if self.chkTransparent.get_active(): | 91 | if self.chkTransparent.get_active(): |
4779 | 90 | clr = self.WinLayout.dLayout[self.WinLayout.fixd]['background-col'] | 92 | clr = self.WinLayout.dLayout[self.WinLayout.fixd]['background-col'] |
4780 | 91 | else: | 93 | else: |
4782 | 92 | clr = self.WinLayout.dLayout[widget]['background-col'] | 94 | clr = self.WinLayout.dLayout[widget]['background-col'] |
4783 | 93 | widget.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(clr)) | 95 | widget.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(clr)) |
4784 | 94 | self.WinLayout.set_layout_altered(widget) | 96 | self.WinLayout.set_layout_altered(widget) |
4785 | 95 | 97 | ||
4786 | @@ -101,7 +103,7 @@ | |||
4787 | 101 | self.WinLayout.dLayout[widget]['x'] = x | 103 | self.WinLayout.dLayout[widget]['x'] = x |
4788 | 102 | self.WinLayout.fixd.move(widget, x, self.WinLayout.dLayout[widget]['y']) | 104 | self.WinLayout.fixd.move(widget, x, self.WinLayout.dLayout[widget]['y']) |
4789 | 103 | self.WinLayout.set_layout_altered(widget) | 105 | self.WinLayout.set_layout_altered(widget) |
4791 | 104 | 106 | ||
4792 | 105 | def on_spnY_changed(self, *args): | 107 | def on_spnY_changed(self, *args): |
4793 | 106 | """change widget Y pos""" | 108 | """change widget Y pos""" |
4794 | 107 | if not self.updating: | 109 | if not self.updating: |
4795 | @@ -181,7 +183,7 @@ | |||
4796 | 181 | self.WinLayout.dLayout[widget]['text-align'] = text_align | 183 | self.WinLayout.dLayout[widget]['text-align'] = text_align |
4797 | 182 | widget.child.set_property('xalign', xalign) | 184 | widget.child.set_property('xalign', xalign) |
4798 | 183 | self.WinLayout.set_layout_altered(widget) | 185 | self.WinLayout.set_layout_altered(widget) |
4800 | 184 | 186 | ||
4801 | 185 | def on_cboRotation_changed(self, cbo, *args): | 187 | def on_cboRotation_changed(self, cbo, *args): |
4802 | 186 | """text / image rotation""" | 188 | """text / image rotation""" |
4803 | 187 | if not self.updating: | 189 | if not self.updating: |
4804 | @@ -203,27 +205,27 @@ | |||
4805 | 203 | self.WinLayout.dLayout[widget]['font-size'] = int(pfd.get_size() / pango.SCALE) | 205 | self.WinLayout.dLayout[widget]['font-size'] = int(pfd.get_size() / pango.SCALE) |
4806 | 204 | widget.child.modify_font(pfd) | 206 | widget.child.modify_font(pfd) |
4807 | 205 | self.WinLayout.set_layout_altered(widget) | 207 | self.WinLayout.set_layout_altered(widget) |
4809 | 206 | 208 | ||
4810 | 207 | def on_btnArtworkDir_clicked(self, *args): | 209 | def on_btnArtworkDir_clicked(self, *args): |
4811 | 208 | """select artwork dir dialog""" | 210 | """select artwork dir dialog""" |
4812 | 209 | pass | 211 | pass |
4814 | 210 | 212 | ||
4815 | 211 | def on_txeArtworkDir_changed(self, *args): | 213 | def on_txeArtworkDir_changed(self, *args): |
4816 | 212 | """set artwork dir""" | 214 | """set artwork dir""" |
4817 | 213 | pass | 215 | pass |
4819 | 214 | 216 | ||
4820 | 215 | def on_chkPlaysMovies_toggled(self, *args): | 217 | def on_chkPlaysMovies_toggled(self, *args): |
4821 | 216 | """play movies""" | 218 | """play movies""" |
4822 | 217 | pass | 219 | pass |
4824 | 218 | 220 | ||
4825 | 219 | def on_btnMovieDir_clicked(self, *args): | 221 | def on_btnMovieDir_clicked(self, *args): |
4826 | 220 | """select movie dir dialog""" | 222 | """select movie dir dialog""" |
4827 | 221 | pass | 223 | pass |
4829 | 222 | 224 | ||
4830 | 223 | def on_txeMovieDir_changed(self, *args): | 225 | def on_txeMovieDir_changed(self, *args): |
4831 | 224 | """set movie dir""" | 226 | """set movie dir""" |
4832 | 225 | pass | 227 | pass |
4834 | 226 | 228 | ||
4835 | 227 | def set_properties(self, widget, widget_props): | 229 | def set_properties(self, widget, widget_props): |
4836 | 228 | """set props for given widget""" | 230 | """set props for given widget""" |
4837 | 229 | self.name_idx = self.widget_list.index(widget.get_name()) | 231 | self.name_idx = self.widget_list.index(widget.get_name()) |
4838 | @@ -261,4 +263,3 @@ | |||
4839 | 261 | self.lblSelected.set_sensitive(False) | 263 | self.lblSelected.set_sensitive(False) |
4840 | 262 | self.clrSelected.set_sensitive(False) | 264 | self.clrSelected.set_sensitive(False) |
4841 | 263 | self.updating = False | 265 | self.updating = False |
4842 | 264 | |||
4843 | 265 | 266 | ||
4844 | === modified file 'layout_scr_props.py' | |||
4845 | --- layout_scr_props.py 2009-01-07 17:51:46 +0000 | |||
4846 | +++ layout_scr_props.py 2011-03-03 21:06:42 +0000 | |||
4847 | @@ -5,7 +5,7 @@ | |||
4848 | 5 | # Application: wah!cade | 5 | # Application: wah!cade |
4849 | 6 | # File: layout_scr_props.py | 6 | # File: layout_scr_props.py |
4850 | 7 | # Description: Wah!Cade Layout Screen Properties Dialog | 7 | # Description: Wah!Cade Layout Screen Properties Dialog |
4852 | 8 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 8 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
4853 | 9 | ### | 9 | ### |
4854 | 10 | # | 10 | # |
4855 | 11 | # This program is free software; you can redistribute it and/or modify | 11 | # This program is free software; you can redistribute it and/or modify |
4856 | @@ -25,8 +25,10 @@ | |||
4857 | 25 | from constants import * | 25 | from constants import * |
4858 | 26 | from glade2 import * | 26 | from glade2 import * |
4859 | 27 | 27 | ||
4860 | 28 | |||
4861 | 28 | class DlgScreenProps(GladeSupport): | 29 | class DlgScreenProps(GladeSupport): |
4862 | 29 | """Screen Properties Dialog""" | 30 | """Screen Properties Dialog""" |
4863 | 31 | |||
4864 | 30 | def __init__(self, glade_filename, window_name, app): | 32 | def __init__(self, glade_filename, window_name, app): |
4865 | 31 | """build the window""" | 33 | """build the window""" |
4866 | 32 | GladeSupport.__init__(self, glade_filename, window_name) | 34 | GladeSupport.__init__(self, glade_filename, window_name) |
4867 | @@ -152,4 +154,3 @@ | |||
4868 | 152 | self.txeBackgroundImage.set_sensitive(False) | 154 | self.txeBackgroundImage.set_sensitive(False) |
4869 | 153 | self.btnBackgroundImage.set_sensitive(False) | 155 | self.btnBackgroundImage.set_sensitive(False) |
4870 | 154 | self.updating = False | 156 | self.updating = False |
4871 | 155 | |||
4872 | 156 | 157 | ||
4873 | === modified file 'locale/de/LC_MESSAGES/wahcade.mo' | |||
4874 | 157 | Binary files locale/de/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/de/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ | 158 | Binary files locale/de/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/de/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ |
4875 | === modified file 'locale/en_GB/LC_MESSAGES/wahcade.mo' | |||
4876 | 158 | Binary files locale/en_GB/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/en_GB/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ | 159 | Binary files locale/en_GB/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/en_GB/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ |
4877 | === modified file 'locale/es/LC_MESSAGES/wahcade.mo' | |||
4878 | 159 | Binary files locale/es/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/es/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ | 160 | Binary files locale/es/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/es/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ |
4879 | === modified file 'locale/fr/LC_MESSAGES/wahcade.mo' | |||
4880 | 160 | Binary files locale/fr/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/fr/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ | 161 | Binary files locale/fr/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/fr/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ |
4881 | === added directory 'locale/it' | |||
4882 | === added directory 'locale/it/LC_MESSAGES' | |||
4883 | === added file 'locale/it/LC_MESSAGES/wahcade.mo' | |||
4884 | 161 | Binary files locale/it/LC_MESSAGES/wahcade.mo 1970-01-01 00:00:00 +0000 and locale/it/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ | 162 | Binary files locale/it/LC_MESSAGES/wahcade.mo 1970-01-01 00:00:00 +0000 and locale/it/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ |
4885 | === modified file 'locale/sv/LC_MESSAGES/wahcade.mo' | |||
4886 | 162 | Binary files locale/sv/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/sv/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ | 163 | Binary files locale/sv/LC_MESSAGES/wahcade.mo 2009-01-11 16:29:58 +0000 and locale/sv/LC_MESSAGES/wahcade.mo 2011-03-03 21:06:42 +0000 differ |
4887 | === modified file 'make_all' | |||
4888 | --- make_all 2008-11-30 10:26:19 +0000 | |||
4889 | +++ make_all 2011-03-03 21:06:42 +0000 | |||
4890 | @@ -1,7 +1,11 @@ | |||
4892 | 1 | #!/bin/sh | 1 | #!/bin/bash |
4893 | 2 | #make get text, tarball & build deb | 2 | #make get text, tarball & build deb |
4898 | 3 | 3 | echo 'make wahcade' > make.log | |
4899 | 4 | ./make_gettext | 4 | if [ -z "$1" ]; then |
4900 | 5 | ./make_tarball | 5 | if [ "$1" = "--gettext" ]; then |
4901 | 6 | ./build_deb_package | 6 | ./make_gettext >> make.log |
4902 | 7 | fi | ||
4903 | 8 | fi | ||
4904 | 9 | ./make_tarball >> make.log | ||
4905 | 10 | ./build_deb_package >> make.log | ||
4906 | 7 | 11 | ||
4907 | 8 | 12 | ||
4908 | === modified file 'make_gettext' | |||
4909 | --- make_gettext 2008-11-30 10:26:19 +0000 | |||
4910 | +++ make_gettext 2011-03-03 21:06:42 +0000 | |||
4911 | @@ -17,6 +17,7 @@ | |||
4912 | 17 | msgmerge -U en_GB.po messages.pot | 17 | msgmerge -U en_GB.po messages.pot |
4913 | 18 | msgmerge -U es.po messages.pot | 18 | msgmerge -U es.po messages.pot |
4914 | 19 | msgmerge -U fr.po messages.pot | 19 | msgmerge -U fr.po messages.pot |
4915 | 20 | msgmerge -U it.po messages.pot | ||
4916 | 20 | msgmerge -U sv.po messages.pot | 21 | msgmerge -U sv.po messages.pot |
4917 | 21 | 22 | ||
4918 | 22 | #compile into application format | 23 | #compile into application format |
4919 | @@ -25,6 +26,7 @@ | |||
4920 | 25 | msgfmt en.po -o ../locale/en/LC_MESSAGES/wahcade.mo | 26 | msgfmt en.po -o ../locale/en/LC_MESSAGES/wahcade.mo |
4921 | 26 | msgfmt es.po -o ../locale/es/LC_MESSAGES/wahcade.mo | 27 | msgfmt es.po -o ../locale/es/LC_MESSAGES/wahcade.mo |
4922 | 27 | msgfmt fr.po -o ../locale/fr/LC_MESSAGES/wahcade.mo | 28 | msgfmt fr.po -o ../locale/fr/LC_MESSAGES/wahcade.mo |
4923 | 29 | msgfmt it.po -o ../locale/fr/LC_MESSAGES/wahcade.mo | ||
4924 | 28 | msgfmt sv.po -o ../locale/sv/LC_MESSAGES/wahcade.mo | 30 | msgfmt sv.po -o ../locale/sv/LC_MESSAGES/wahcade.mo |
4925 | 29 | 31 | ||
4926 | 30 | # | 32 | # |
4927 | 31 | 33 | ||
4928 | === modified file 'make_tarball' | |||
4929 | --- make_tarball 2008-11-30 15:09:04 +0000 | |||
4930 | +++ make_tarball 2011-03-03 21:06:42 +0000 | |||
4931 | @@ -15,7 +15,7 @@ | |||
4932 | 15 | tar -zhcf $TARBALL -T $NAME/wahcade_files | 15 | tar -zhcf $TARBALL -T $NAME/wahcade_files |
4933 | 16 | 16 | ||
4934 | 17 | #copy stuff to antiparticle dir | 17 | #copy stuff to antiparticle dir |
4936 | 18 | cp -f $TARBALL /media/windows/downloads/temp | 18 | cp -f $TARBALL /media/windows_data/downloads/temp |
4937 | 19 | cp -f $TARBALL $WWW/projects/$NAME | 19 | cp -f $TARBALL $WWW/projects/$NAME |
4938 | 20 | cp -f $SOURCE/doc/[A-Z]* $WWW/projects/$NAME/ | 20 | cp -f $SOURCE/doc/[A-Z]* $WWW/projects/$NAME/ |
4939 | 21 | cp -f $SOURCE/doc/xmame/xmamerc $WWW/projects/$NAME/ | 21 | cp -f $SOURCE/doc/xmame/xmamerc $WWW/projects/$NAME/ |
4940 | 22 | 22 | ||
4941 | === modified file 'mamewah_ini.py' | |||
4942 | --- mamewah_ini.py 2009-01-07 17:51:46 +0000 | |||
4943 | +++ mamewah_ini.py 2011-03-03 21:06:42 +0000 | |||
4944 | @@ -5,7 +5,7 @@ | |||
4945 | 5 | # Application: wah!cade | 5 | # Application: wah!cade |
4946 | 6 | # File: mamewah_ini.py | 6 | # File: mamewah_ini.py |
4947 | 7 | # Description: read mamewah formatted ini file | 7 | # Description: read mamewah formatted ini file |
4949 | 8 | # Copyright (c) 2005-2009 Andy Balcombe <http://www.anti-particle.com> | 8 | # Copyright (c) 2005-2010 Andy Balcombe <http://www.anti-particle.com> |
4950 | 9 | ### | 9 | ### |
4951 | 10 | # | 10 | # |
4952 | 11 | # This program is free software; you can redistribute it and/or modify | 11 | # This program is free software; you can redistribute it and/or modify |
4953 | @@ -26,7 +26,9 @@ | |||
4954 | 26 | 26 | ||
4955 | 27 | from constants import * | 27 | from constants import * |
4956 | 28 | 28 | ||
4957 | 29 | |||
4958 | 29 | class MameWahIni: | 30 | class MameWahIni: |
4959 | 31 | |||
4960 | 30 | def __init__(self, ini_filename, ini_type='default', min_version=None): | 32 | def __init__(self, ini_filename, ini_type='default', min_version=None): |
4961 | 31 | """init ini class""" | 33 | """init ini class""" |
4962 | 32 | self.ini_filename = ini_filename | 34 | self.ini_filename = ini_filename |
4963 | @@ -99,14 +101,14 @@ | |||
4964 | 99 | if spc_pos == -1: | 101 | if spc_pos == -1: |
4965 | 100 | spc_pos = len(line) | 102 | spc_pos = len(line) |
4966 | 101 | option = line[:spc_pos] | 103 | option = line[:spc_pos] |
4968 | 102 | if self.ini_dict.has_key(option): | 104 | if option in self.ini_dict: |
4969 | 103 | #build line | 105 | #build line |
4970 | 104 | self.lines[i] = '%s%s' % (option.ljust(40), self.ini_dict[option]) | 106 | self.lines[i] = '%s%s' % (option.ljust(40), self.ini_dict[option]) |
4971 | 105 | #add missing keys | 107 | #add missing keys |
4972 | 106 | if missing_keys: | 108 | if missing_keys: |
4973 | 107 | #print "missing keys=",missing_keys | 109 | #print "missing keys=",missing_keys |
4974 | 108 | self.lines.append('') | 110 | self.lines.append('') |
4976 | 109 | self.lines.append('### Added in v%s "%s" ###' % (VERSION, VERSION_NAME)) | 111 | self.lines.append('### Added in v%s "%s" ###' % (VERSION, VERSION_NAME)) |
4977 | 110 | for mk in missing_keys: | 112 | for mk in missing_keys: |
4978 | 111 | self.lines.append('%s%s' % (mk.ljust(40), self.ini_dict[mk])) | 113 | self.lines.append('%s%s' % (mk.ljust(40), self.ini_dict[mk])) |
4979 | 112 | #add correct line terminator | 114 | #add correct line terminator |
4980 | @@ -116,11 +118,11 @@ | |||
4981 | 116 | 118 | ||
4982 | 117 | def has_option(self, option): | 119 | def has_option(self, option): |
4983 | 118 | """does the option exist""" | 120 | """does the option exist""" |
4985 | 119 | return self.ini_dict.has_key(option) | 121 | return option in self.ini_dict |
4986 | 120 | 122 | ||
4987 | 121 | def get(self, option, get_mode='default', default_value=''): | 123 | def get(self, option, get_mode='default', default_value=''): |
4988 | 122 | """return value for given option""" | 124 | """return value for given option""" |
4990 | 123 | if self.ini_dict.has_key(option): | 125 | if option in self.ini_dict: |
4991 | 124 | value = self.ini_dict[option] | 126 | value = self.ini_dict[option] |
4992 | 125 | #set default value if none found | 127 | #set default value if none found |
4993 | 126 | if value == '': | 128 | if value == '': |
4994 | @@ -174,4 +176,3 @@ | |||
4995 | 174 | if os.path.exists(os.path.expanduser(test_path)): | 176 | if os.path.exists(os.path.expanduser(test_path)): |
4996 | 175 | value = test_path | 177 | value = test_path |
4997 | 176 | self.ini_dict[option] = value | 178 | self.ini_dict[option] = value |
4998 | 177 | |||
4999 | 178 | 179 | ||
5000 | === modified file 'po/de.po' |
The diff has been truncated for viewing.