config.txt 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. # Configuration file for MegaZeux
  2. # December 16, 2004
  3. # Comments begin with #. Whitespace is ignored. Empty lines are
  4. # ignored as well.
  5. # Options are set in the following format:
  6. # option = value
  7. # If value is not given, then it is assumed to be 1.
  8. # You can include spaces in values by escaping them with \s.
  9. # (see the default macros for examples)
  10. # For directories, use forward slashes (/) instead of back-slashes,
  11. # as they work more reliably.
  12. # Note that even if the option is given to change the values
  13. # in MZX, this text file will NOT be modified, and hence the
  14. # values will revert to what they are here when you restart MZX.
  15. # Default options are given (and commented out) with
  16. # an explanation. If an option is not chosen at all
  17. # this default will automatically be used.
  18. ### Video options ###
  19. # Resolution MZX uses for fullscreen. Note that MZX will always
  20. # be 640x350 centered within the resolution you choose
  21. # (in other words, it won't be stretched). Give in x, y format.
  22. # Use this if the default is giving you problems. Suggested
  23. # values are 640, 400 and 640, 480.
  24. # This resolution may not actually work; if it doesn't, you will
  25. # get the nearest that does.
  26. # You may also try a resolution like 640x700 that multiplies
  27. # the width, then set the multiplier..
  28. force_resolution = 1024,768
  29. window_resolution = 640,350
  30. enable_resizing = 1
  31. hardware_stretch = 1
  32. force_32bpp = 1
  33. # Make it so the display is stretched by this amount (must be
  34. # integer). This is useful for getting resolutions like 640x700
  35. # to look correct (set to 2).
  36. #force_height_multiplier = 1
  37. # Whether MZX should start up in fullscreen or not.
  38. # Press ctrl-alt-enterWh to toggle fullscreen as MZX runs.
  39. #fullscreen = 0
  40. # Forces the screen to be rendered in 32bpp instead of 8bpp. Is
  41. # slower but may be more compatible, try it if you're getting
  42. # visual problems (particularly in fullscreen)
  43. #force_32bpp = 0
  44. ### Audio options ###
  45. # Sampling rate to output audio at. Higher values will sound
  46. # better but use more resources and may not be supported by
  47. # your audio card/drivers. Typical values include 22050, 44100,
  48. # and 48000. If your card supports it you might get away with
  49. # 96000, or even 192000.
  50. #audio_sample_rate = 44100
  51. # Audio buffer size. Setting this to lower can improve latency,
  52. # so audio will be heard sooner after it is set to be changed.
  53. # It is also possible to change PC speaker effects more rapidly
  54. # with lower values. Lower buffer sizes need more CPU power to
  55. # process. 2048 is adequete for PC speaker playback every
  56. # command at speed 4.
  57. #audio_buffer = 4096
  58. # Allow music to be sampled at higher precision. Increases CPU
  59. # usage but increases audio quality as well.
  60. #enable_oversampling = 0
  61. # Set master resample mode. This affects how OGGs and
  62. # frequency shifted modules sound. Choices are:
  63. # none (fastest, poor quality)
  64. # linear (fast, good quality)
  65. # cubic (slow, great quality)
  66. resample_mode = linear
  67. # Set resample mode for modplug. This affects how modules
  68. # and WAVs sound. Choices are:
  69. # none (fastest, poor quality)
  70. # linear (fast, good quality)
  71. # cubic (slow, great quality)
  72. # fir (very slow, excellent quality)
  73. modplug_resample_mode = cubic
  74. # Whether music/samples should be played or not.
  75. # Does not include PC speaker effects.
  76. #music_on = 1
  77. # Whether PC speaker effects should be played or not.
  78. #pc_speaker_on = 1
  79. # Volume music plays at
  80. #music_volume = 8
  81. # Volume samples play at
  82. #sample_volume = 8
  83. # Volume PC speaker SFX play at
  84. #pc_speaker_volume = 8
  85. ### Game options ###
  86. # Name of world file that should be loaded when MZX starts.
  87. #startup_file = caverns.mzx
  88. # Default save file name given when you first try to save.
  89. #save_file = saved.sav
  90. # Speed MZX should start at (1 through 9)
  91. #mzx_speed = 4
  92. ### Robot editor options ###
  93. # Enable or disable color coding in the editor.
  94. # If color coding is off, ccode_string is used for the entire
  95. # line.
  96. #color_coding_on = 0
  97. # Color codes for various types.
  98. # For colors, use 255 to show a color box.
  99. #ccode_colors = 255
  100. #ccode_commands = 15
  101. #ccode_conditions = 15
  102. #ccode_current_line = 11
  103. #ccode_directions = 3
  104. #ccode_equalities = 0
  105. #ccode_extras = 7
  106. #ccode_immediates = 10
  107. #ccode_items = 11
  108. #ccode_params = 2
  109. #ccode_strings = 14
  110. #ccode_things = 11
  111. # Whether or not "extra words" should be displayed.
  112. # For instance, if turned on, a line like "wait 1" will
  113. # become "wait for 1."
  114. #disassemble_extras = 0
  115. # The base numbers should be displayed as. Valid options
  116. # are 10 and 16 (decimal and hexidecimal). Hex numbers are
  117. # prefixed with a dollar sign ($).
  118. #disassemble_base = 16
  119. # Changing this will allow invalid comments to automatically
  120. # be marked to "delete" or "comment" instead of "ignore".
  121. # Don't change this unless you know what you're doing.
  122. #default_invalid_status = ignore
  123. # Single line macros
  124. # These are the traditional MZX macros; they may only
  125. # occupy one line in their definition in this file. They
  126. # correspond to parameter-less macros: when you press
  127. # F6 through F10 the following strings are printed to
  128. # the editor, verbatim. For instance if you set macro_1 to
  129. # * "hello", * "hello" will be inserted every time you
  130. # press F6 in the robot editor.
  131. # The following are the default singe-line macros.
  132. #macro_1 = char\s
  133. #macro_2 = color\s
  134. #macro_3 = goto\s
  135. #macro_4 = send\s
  136. #macro_5 = :\splayershot^
  137. # Extended macros:
  138. # See macro.txt.
  139. # The following is an example extended macro.
  140. # It sets up a sprite. If you find it useful, remove the #'s.
  141. #macro_1 = Sprite\sSetup
  142. # (number255 spr_num)
  143. # (number255 w, h, rx, ry)
  144. # (number255 cx, cy, cw, ch)
  145. # (number255 x, y)
  146. # set spr!spr_num!_width !w!
  147. # set spr!spr_num!_height !h!
  148. # set spr!spr_num!_refx !rx!
  149. # set spr!spr_num!_refy !ry!
  150. # set spr!spr_num!_cwidth !cw!
  151. # set spr!spr_num!_cheight !ch!
  152. # set spr!spr_num!_cx !cx!
  153. # set spr!spr_num!_cy !cy!
  154. # put !x1! sprite p!#spr_num! !x! !y!
  155. # Whether or not the palette should be reverted to default
  156. # when the robot editor is load. If set, SMZX mode 0 will
  157. # also be enforced.
  158. #robot_editor_default_palette = 0
  159. # Set to 1 if you want the robot editor to not show the hotkey
  160. # help and horizontal border by default.
  161. #robot_editor_hide_help = 0
  162. # Backup options
  163. # Backups are save files made in the editor. They will only be made
  164. # while in the main editor, not while in a sub-editor or a dialogue
  165. # box of sorts. Note that this can cause slight pauses while editing,
  166. # as the game saves.
  167. # If you have multiple backups you should check the modified date in
  168. # a console or file properties to determine which was most recently
  169. # modified. The number will not indicate most recently saved.
  170. # How many backups to be made. Set to zero to disable backups.
  171. #backup_count = 3
  172. # How often (in seconds) backups should be made
  173. #backup_interval = 60
  174. # The name of the backup file. If you choose "backup" with 3 backups
  175. # the backups will be named backup1.mzx, backup2.mzx, and backup3.mzx.
  176. #backup_name = backup
  177. # The extension of backup files (keep this .mzx if you want to be able
  178. # to easily load them)
  179. #backup_ext = .mzx
  180. # Joystick options
  181. # It is possible to emulate key presses using a joystick. If this file
  182. # is config.txt these options will apply as a default to all games -
  183. # you can put them in game.cnf to apply specifically to game.mzx.
  184. # A joystick is first specified as joyN where N is the number from
  185. # 1 onwards identifying the joystick in your system. You may have
  186. # to experiment to find which joystick is which number, if you have
  187. # multiple ones, otherwise just use 1. Up to 16 joysticks are
  188. # recognized.
  189. # You can currently map two things, axes and buttons.
  190. # Axes/buttons are mapped to keys given by number. You can find out
  191. # a key's number by printing key_pressed in a loop (NOT key_code).
  192. # Axis mapping looks as follows:
  193. #joyXaxisY = A, B
  194. # Where X is the number of the joystick, Y is the number of the axis
  195. # (1 is typically left/right, 2 is typically up/down), A is the key
  196. # for one extreme (such as left) and B is the key for the other
  197. # (such as right).
  198. # Button mapping looks as follows:
  199. #joyXbuttonY = A
  200. # Where X is the number of the joystick, Y is the number of the button
  201. # (you may have to experiment to find out which button is which number),
  202. # and A is the key whose press is emulated when this button is pressed.
  203. # Misc Options
  204. # Set to 1 if you want MZX to pause when key focus is lost. Useful for
  205. # when another app (such as someone IM'ing you) steals the screen. This
  206. # might cause MZX to lock up sometimes on some machines - if you have
  207. # problems with it don't enable it.
  208. #pause_on_unfocus = 0
  209. # Set to 0 if you want input boxes and strings in the robot editor
  210. # to use the game set for characters 32-127, as opposed to the protected
  211. # GUI set.
  212. #mask_midchars = 1
  213. include pad.config
  214. include ~/.megazeux