File: allegro.cfg

package info (click to toggle)
allegro4.4 2:4.4.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 20,744 kB
  • sloc: ansic: 164,458; asm: 17,620; cpp: 3,848; objc: 1,687; sh: 1,107; python: 676; pascal: 179; makefile: 55; perl: 29; lisp: 1
file content (709 lines) | stat: -rw-r--r-- 15,850 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
# Hints for Debian - READ THEM FIRST!
#
# Allegro is built with many drivers, some of them are not really stable
# and may cause trouble or crash your X-Server or destroy your console.
# For this reason, you should only choose XWIN as your "system"
# environment (see below) - in this case you can play the games only in
# the X11-environment, but you get more stability. Running on console
# will fail. If you are developer or are sure that the "Linux console"
# mode won't crash your system, you may try it on your own risk and
# report bugs to the upstream (look for mailing lists on Allegro's main
# homepage).

#
#  Configuration file for the Allegro library.
#
#  If you leave a parameter blank, Allegro will autodetect (ie. guess :-)
#
#  This file should be kept either in the same directory as your program,
#  or in a location pointed to by the "ALLEGRO" environment variable.
#
#  On Unix, this file may also be stored as ~/.allegrorc or /etc/allegrorc.




[system]

# Unix system drivers:
#
#  XWIN     - XWindows
#  LNXC     - Linux console

system = XWIN



# Keyboard mapping file (this can be a .cfg file on disk, or an object from
# keyboard.dat). Currently available layouts are:
#
#  BE       - Belgium
#  BR       - Brazil
#  CF       - Canada (French)
#  CH       - Switzerland
#  CZ       - Czech Republic
#  DE       - Germany
#  DK       - Denmark
#  DVORAK   - Dvorak
#  ES       - Spain
#  FI       - Finland
#  FR       - France
#  IT       - Italy
#  NO       - Norway
#  PL       - Poland
#  PT       - Portugal
#  RU       - Russia
#  SE       - Sweden
#  SK       - Slovakia
#  UK       - United Kingdom
#  US       - United States

keyboard = 



# Language translation file (this can be a .cfg file on disk, or an 
# object from language.dat). Currently available translations are:
#
#  CA       - Catalan
#  CZ       - Czech
#  DE       - German
#  DK       - Danish
#  EN       - English
#  ES       - Spanish
#  FI       - Finnish
#  FR       - French
#  IT       - Italian
#  NL       - Dutch
#  NO       - Norwegian
#  PL       - Polish
#  PT       - Portuguese
#  RU       - Russian
#  SE       - Swedish
#  SK       - Slovak

language = 



# whether to disable the screensaver (0:never 1:fullscreen 2:always, default 1)
disable_screensaver = 



# how long to take for menus to auto-open (time in msecs or -1 to disable)
menu_opening_delay = 



# use XInitThreads (default = 1) in the X11 port
XInitThreads =



[graphics]

# DOS graphics drivers:
#
#  VGA      - Standard VGA
#  MODX     - Mode-X
#  VBE1     - VESA 1.x
#  VB2B     - VBE 2.0 (banked)
#  VB2L     - VBE 2.0 (linear)
#  VBE3     - VBE 3.0
#  VBAF     - VBE/AF
#  XTND     - Xtended mode
#
# Windows graphics drivers:
#
#  DXAC     - DirectX with hardware acceleration
#  DXSO     - DirectX without hardware acceleration
#  DXSA     - DirectX in safe-mode, with all the fancy features disabled
#  DXWN     - DirectX in windowed mode
#  DXOV     - DirectX overlay (fast windowed mode, only works on some cards)
#  GDIB     - GDI mode (slow windowed mode, works on all cards)
#
# Linux console graphics drivers:
#
#  FB       - fbcon device
#  VBAF     - VBE/AF
#  SVGA     - SVGAlib
#  VGA      - Standard VGA
#  MODX     - Mode-X
#
# X graphics drivers:
#
#  XWIN     - standard X Windows
#  XWFS     - Fullscreen X Windows
#  DGA2     - DGA 2.0 mode
#  DGAS     - DGA 2.0 software only mode
#
# BeOS graphics drivers:
#
#  BWSA     - Fullscreen BWindowScreen with hardware acceleration
#  BWS      - Fullscreen BWindowScreen
#  BDWN     - Fast windowed mode via BDirectWindow
#  BWN      - Normal windowed mode via BWindow
#  BOVL     - Fullscreen overlay (only works on some cards)
#
# QNX graphics drivers:
#
#  QPAC     - Photon with hardware acceleration
#  QPSO     - Photon without hardware acceleration
#  QPSA     - Photon in safe-mode, with all the fancy features disabled
#  QPWN     - Photon in windowed mode
#
# MacOS X graphics drivers:
#
#  QZWN     - Quartz windowed mode
#  QZFL     - Quartz fullscreen mode via CGDirectDisplay interface
#
# You can also specify different drivers for a particular mode or color
# depth, eg. "gfx_card_640x480x16 = VBE3", "gfx_card_24bpp = VBE1", or
# you can provide a number of alternative drivers, for example
# "gfx_card1 = VGA", "gfx_card2 = MODX", etc.

gfx_card = 



# driver to use when autodetecting windowed modes
gfx_cardw = 



# whether to disable synchronization with the vertical blank when
# page-flipping (yes or no)
disable_vsync = 



# DOS and Linux: where to look for the VBE/AF driver
vbeaf_driver = 



# Linux only: fbcon device file (see below for fbcon timing data)
framebuffer = 



# Unix/X11 only: whether to force window centering in fullscreen mode
#                for the XWFS driver (yes or no)
force_centering = 



# Windows only: whether to disable direct updating in color conversion
#               mode for the DXWN driver (yes or no)
disable_direct_updating = 




# Linux/fbcon mode timings. Duplicate then fill in `X', `Y' and
# the timings themselves. You can copy them from fb.modes directly -- the
# first two figures on the geometry line are X and Y here, and the figures
# on the timings line are the first fields here (up to `vsync_len')

[fb_mode_XxY]
pixclock = 
left_margin = 
right_margin = 
upper_margin = 
lower_margin = 
hsync_len = 
vsync_len = 
vmode = 
sync = 



# You can customize the mapping of X11 key codes to Allegro keycodes here. For
# example, if you want to swap Y and Z on a German keyboard as can be useful in
# some games who assume Z and X are next to each other, you will see lines like
# this in allegro.log if you run an Allegro program in debug mode:
# al-xkey INFO: key [29: z Z] assigned to 26.
# al-xkey INFO: key [52: y Y] assigned to 25.
# 29 and 52 are the X11 codes, 26 is KEY_Z, 25 is KEY_Y. Using the two commented
# out lines below, you would therefore swap both keys.

[xkeymap]
#keycode29 = 25
#keycode52 = 26


[mouse]

# DOS mouse drivers:
#
#  0        - none
#  MICK     - mickey mode driver (normally the best)
#  I33      - int 0x33 callback driver
#  POLL     - timer polling
#  WNT      - Windows NT 3.5x/4.0 specific driver
#  W2K      - Windows 2000 specific driver
#
# Linux console mouse drivers:
#
#  0        - none
#  LPS2     - PS2 mouse
#  LIPS     - PS2 mouse with Intellimouse extension
#  MS       - Microsoft serial mouse
#  IMS      - Microsoft serial mouse with Intellimouse extension
#  GPMD     - GPM repeater data (Mouse Systems protocol)
#  EV       - Event interfaces (EVDEV) - set mouse_device = /dev/input/eventN

# Change this and following three settings if Allegro has problems
# autodetecting your mouse on console, i.e. if you use GPM repeater with
# special protocols or similar hocus pocus

mouse = 



# number of buttons (specifying this overrides autodetection)
num_buttons = 



# whether to emulate the third mouse button (yes or no)
emulate_three = 



# Linux only: name of the mouse device file (eg. /dev/mouse)
mouse_device = 



# Linux only: default EV input mode (0=relative, 1=absolute)
ev_absolute = 



# Linux only: for absolute EV inputs, minimum and maximum values
#             (specifying this overrides autodetection)
ev_min_x = 
ev_max_x = 
ev_min_y = 
ev_max_y = 
ev_min_z = 
ev_max_z = 



# Linux only: scaling factor for tablet mouse (1 by default).  Good values are
#             usually between 1 and 40, higher numbers for bigger tablets
ev_abs_to_rel_x = 
ev_abs_to_rel_y = 
ev_abs_to_rel_z = 



# Windows only: mouse acceleration factor (1 by default, 0 to disable)
mouse_accel_factor = 




[sound]

# DOS digital sound drivers:
#
#  0        - none
#  SB       - Sound Blaster (autodetect breed)
#  SB10     - Sound Blaster 1.0
#  SB15     - Sound Blaster 1.5
#  SB20     - Sound Blaster 2.0
#  SBP      - Sound Blaster Pro
#  SB16     - Sound Blaster 16
#  ESS      - ESS AudioDrive
#  ESC      - Ensoniq Soundscape
#  WSS      - Windows Sound System
#
# Windows digital sound drivers:
#
#  0        - none
#  DXA      - first DirectSound device
#  DXB      - second DirectSound device
#  ...      - etc
#  AXA      - first DirectSound device using Allegro mixer
#  AXB      - second DirectSound device using Allegro mixer
#  ...      - etc
#  WOA      - high quality WaveOut device
#  WOB      - low quality WaveOut device
#
# Unix digital sound drivers:
#
#  0        - none
#  OSSD     - Open Sound System
#  ESDD     - Enlightened Sound Daemon
#  ARTS     - aRts (Analog Real-Time Synthesizer)
#  ALSA     - ALSA Sound System
#  JACK     - JACK Audio Server
#
# BeOS digital sound drivers:
#
#  0        - none
#  BDIG     - BeOS digital sound system
#
# MacOS X digital sound drivers:
#
#  0        - none
#  DCA      - CoreAudio digital output
#  SNDM     - Carbon Sound Manager
#

digi_card = 



# DOS music drivers:
#
#  0        - none
#  OPL      - Adlib (autodetect OPL version)
#  OPL2     - OPL2 FM synth
#  OPLX     - Dual OPL2 (SB Pro-1)
#  OPL3     - OPL3 FM synth
#  SB       - raw SB MIDI interface
#  MPU      - MPU-401 MIDI interface
#  DIGI     - DIGMID software wavetable
#  AWE      - AWE32
#
# Windows music drivers:
#
#  0        - none
#  W32M     - win32 MIDI mapper
#  W32A     - first win32 MIDI device
#  W32B     - second win32 MIDI device
#  ...      - etc
#  DIGI     - DIGMID software wavetable
#
# Linux music drivers:
#
#  0        - none
#  OSSM     - Open Sound System
#  DIGI     - DIGMID software wavetable
#  AMID     - ALSA Sound System
#
# BeOS music drivers:
#
#  0        - none
#  BMID     - BeOS MIDI synthesizer
#  DIGI     - DIGMID software wavetable
#
# MacOS X music drivers:
#
#  0        - none
#  MCA      - CoreAudio MIDI software synthesizer
#  QTM      - QuickTime Music via Note Allocator
#  DIGI     - DIGMID software wavetable
#

midi_card = 



# sound input drivers (same format as above, can usually be left blank)
digi_input_card = 
midi_input_card = 



# how many voices to reserve for each driver
digi_voices = 
midi_voices = 



# how loud? (range 0-255)
digi_volume = 
midi_volume = 



# sample mixing quality (0=fastest, 1=full 16 bit precision, 2=interpolation)
quality = 



# toggling this between 0 and 1 reverses the left/right panning of samples
flip_pan = 



# DOS, Unix and BeOS: sample output frequency (eg. 44100)
sound_freq = 



# Unix and BeOS: preferred number of bits (8 or 16)
sound_bits = 



# Unix and BeOS: stereo output (1 or 0)
sound_stereo = 



# DOS only: soundcard port address (usually 220)
sound_port = 



# DOS only: soundcard DMA channel (usually 1)
sound_dma = 



# DOS only: soundcard IRQ number (usually 7)
sound_irq = 



# DOS only: FM synth port address (usually 388)
fm_port = 



# DOS only: MPU-401 port address (usually 330)
mpu_port = 



# DOS only: MPU-401 IRQ number (usually the same as sound_irq)
mpu_irq = 



# DOS only: instrument definitions for the Adlib driver
ibk_file = 
ibk_drum_file = 



# Unix only: OSS device driver name (usually /dev/dsp or /dev/audio)
oss_driver = 



# Unix only: number of OSS driver fragments (buffers) and size of each buffer
oss_numfrags = 
oss_fragsize = 



# Unix only: OSS MIDI device name (usually /dev/sequencer)
oss_midi_driver = 



# Unix only: OSS mixer device name (usually /dev/mixer)
oss_mixer_driver = 



# Unix only: name of the Enlightened Sound Daemon server
esd_server = 



# Unix only: card number and PCM device for the ALSA 0.5 sound driver
alsa_card = 
alsa_pcmdevice = 



# Unix only: device name for the ALSA 0.9 sound driver
#            format: <driver>[:<card>,<device>] (e.g.: hw:0,1)
alsa_device = 



# Unix only: mixer device name for the ALSA 0.9 driver (default: default)
alsa_mixer_device = 



# Unix only: mixer element name for the ALSA 0.9 driver (default: PCM)
alsa_mixer_elem = 



# Unix only: number of ALSA driver fragments (buffers)
alsa_numfrags = 



# Unix only: size of each ALSA fragment, in samples
alsa_fragsize = 



# Unix only: card number for the ALSA 0.5 midi driver
alsa_rawmidi_card = 



# Unix only: device for the ALSA 0.5 midi driver
#            device name for the ALSA 0.9 midi driver (see alsa_device)
alsa_rawmidi_device = 



# Unix only: name for the JACK client (default: allegro)
jack_client_name =



# BeOS only: MIDI synthesizer instruments quality (0=low, 1=high)
be_midi_quality = 



# BeOS only: MIDI sample mixing frequency in Hz (11025, 22050 or 44100)
be_midi_freq = 



# BeOS only: MIDI interpolation (0=none, 1=fast linear, 2=linear)
be_midi_interpolation = 



# BeOS only: MIDI reverberation intensity (0 to 5)
be_midi_reverb = 



# MacOS X only: CoreAudio MIDI rendering quality (0 to 127)
ca_midi_quality = 



# MacOS X only: CoreAudio MIDI reverberation intensity (0 to 5)
ca_midi_reverb = 



# patch set for the DIGMID software wavetable driver
patches = 




[joystick]

# DOS joystick drivers :
#
#  0        - none
#  STD      - standard 2-button
#  2PAD     - dual standard 2-button
#  4BUT     - standard 4-button
#  6BUT     - standard 6-button
#  8BUT     - standard 8-button
#  FPRO     - CH Flightstick Pro
#  WING     - Logitech Wingman Extreme
#  SW       - Microsoft Sidewinder digital pad
#  SWAG     - Microsoft Sidewinder digital pad (aggressive)
#  SWPP     - Microsoft Sidewinder 3D/Precision/Force Feedback Pro
#  GPRO     - Gravis GamePad Pro
#  GRIP     - Gravis GrIP
#  GRI4     - Gravis GrIP (4-axis only)
#  SNE1     - SNES joypads connected to LPT1
#  SNE2     - SNES joypads connected to LPT2
#  SNE3     - SNES joypads connected to LPT3
#  PSX1     - PSX joypads connected to LPT1
#  PSX2     - PSX joypads connected to LPT2
#  PSX3     - PSX joypads connected to LPT3
#  N641     - N64 joypads connected to LPT1
#  N642     - N64 joypads connected to LPT2
#  N643     - N64 joypads connected to LPT3
#  DB91     - Pair of 2-button joysticks connected to LPT1
#  DB92     - Pair of 2-button joysticks connected to LPT2
#  DB93     - Pair of 2-button joysticks connected to LPT3
#  TGX1     - TurboGraFX joysticks connected to LPT1
#  TGX2     - TurboGraFX joysticks connected to LPT2
#  TGX3     - TurboGraFX joysticks connected to LPT3
#  SEGI     - IF-SEGA joystick interface card (ISA bus)
#  SEGP     - IF-SEGA joystick interface card (PCI bus)
#  SGPF     - IF-SEGA joystick interface card (fast PCI bus)
#  WWAR     - Wingman Warrior
#
# Windows joystick drivers :
#
#  0        - none
#  DX       - DirectInput joystick
#  W32      - Win32 joystick

joytype = 



# BeoS and Linux only: name of the joystick device
joystick_device = 



# alternatively you can specify it for each joystick:
# joystick_device_0 = 
# joystick_device_1 = 
# ...



# Linux only: axis number the throttle is located at
throttle_axis = 

# alternatively you can specify it for each joystick:
#
# throttle_axis_0 = 
# throttle_axis_1 = 
# ...




[grabber]

# stored grabber variables (editor state information)
xgrid = 16
ygrid = 16
backups = n
index = n
sort = n
relative = n
dither = n
transparency = n
griddle_xgrid = 
griddle_ygrid = 
griddle_mode = 
griddle_empties = 
griddle_autocrop = 
griddle_type = 
griddle_depth = 



# edit these shell commands to whatever helper programs you want to use...
data = start /w notepad
bmp = start /w "c:\program files\accessories\mspaint.exe"
rle = start /w "c:\program files\accessories\mspaint.exe"
cmp = start /w "c:\program files\accessories\mspaint.exe"
xcmp = start /w "c:\program files\accessories\mspaint.exe"
pal = start /w "c:\program files\accessories\mspaint.exe"
font = start /w "c:\program files\accessories\mspaint.exe"
samp = start /w "c:\program files\cooledit\cool.exe"
midi = start /w "c:\program files\cakewalk\wincake.exe"

# or if you are using Linux you might prefer something more like:
#
# data = xterm -e fed -b
# bmp = gimp
# rle = gimp
# cmp = gimp
# xcmp = gimp
# pal = gimp
# font = gimp