annotate src/VisualBoyAdvance.cfg @ 78:4a1b17917fc8

speed up emulation
author Robert McIntyre <rlm@mit.edu>
date Thu, 08 Mar 2012 21:50:46 -0600
parents 719d910c90f8
children 7ab48d728ee4
rev   line source
rlm@1 1 # All numeric values are in hexadecimal
rlm@1 2 # Use TAB or EQUAL sign to separate name from value
rlm@1 3
rlm@1 4 #
rlm@1 5 # Key configuration (all numbers are in hexadecimal!)
rlm@1 6 #
rlm@1 7 # Keys values are in the format YXXX where Y is the device number. 0 means
rlm@1 8 # keyborad and XXX is the SDL define for the desired key (read SDL_keysym.h).
rlm@1 9 #
rlm@1 10 # If Y is greater than 0, it means joystick number Y-1 and it uses the
rlm@1 11 # following format for XXX:
rlm@1 12 #
rlm@1 13 # - if XXX < 20, XXX is the axis number multiplied by 2. An even number means
rlm@1 14 # movement to the negative side (on the X axis, it means left). An odd
rlm@1 15 # number means movement to the positive side (on the X axis, it mean
rlm@1 16 # right). For the Y axis, negative means up and positive means down.
rlm@1 17 # X axis is usally axis number 0 and Y is axis number 1.
rlm@1 18 # - if 20 >= XXX > 30, then XXX is the HAT number multiplied by 4 plus the
rlm@1 19 # direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:
rlm@1 20 # 0021 is HAT 0 down, 0026 is HAT 1 right.
rlm@1 21 # - if 80 >= XXX > 100, XXX is the joystick button number (XXX-080).
rlm@1 22 #
rlm@1 23 # Default key configuration is (value in parenthesis):
rlm@1 24 #
rlm@1 25 # Left Left Arrow (0114)
rlm@1 26 # Right Right Arrow (0113)
rlm@1 27 # Up Up Arrow (0111)
rlm@1 28 # Down Down Arrow (0112)
rlm@1 29 # A Z (007a)
rlm@1 30 # B X (0078)
rlm@1 31 # L A (0061)
rlm@1 32 # R S (0073)
rlm@1 33 # Start ENTER (000d)
rlm@1 34 # Select BACKSPACE (0008)
rlm@1 35 # Speed up SPACE (0020)
rlm@1 36 # Capture F12 (0125)
rlm@1 37 #
rlm@1 38 Joy0_Left=0114
rlm@1 39 Joy0_Right=0113
rlm@1 40 Joy0_Up=0111
rlm@1 41 Joy0_Down=0112
rlm@1 42 Joy0_A=007a
rlm@1 43 Joy0_B=0078
rlm@1 44 Joy0_L=0061
rlm@1 45 Joy0_R=0073
rlm@1 46 Joy0_Start=000d
rlm@1 47 Joy0_Select=0008
rlm@1 48 Joy0_Speed=0020
rlm@1 49 Joy0_Capture=0125
rlm@1 50
rlm@1 51 # Motion support keys. Same format as above
rlm@1 52 #
rlm@1 53 # Default keys are (value in parenthesis):
rlm@1 54 #
rlm@1 55 # Left Numeric Pad 4 (0104)
rlm@1 56 # Right Numeric Pad 6 (0106)
rlm@1 57 # Up Numeric Pad 8 (0108)
rlm@1 58 # Down Numeric Pad 2 (0102)
rlm@1 59 #
rlm@1 60 Motion_Left=0104
rlm@1 61 Motion_Right=0106
rlm@1 62 Motion_Up=0108
rlm@1 63 Motion_Down=0102
rlm@1 64
rlm@1 65 # Frame skip setting. Allowed values are from 0 to 5 only.
rlm@1 66 frameSkip=2
rlm@1 67
rlm@1 68 # Gameboy Frame skip setting. Allowed values are from 0 to 5 only.
rlm@1 69 gbFrameSkip=0
rlm@1 70
rlm@1 71 # Video setting. 0=1x, 1=2x, 2=3x, 3=4x.
rlm@78 72 video=2
rlm@1 73
rlm@1 74 # Use fullscreen mode. 0=false, any other value means true
rlm@50 75 fullScreen=0
rlm@1 76
rlm@1 77 # Disables MMX support
rlm@1 78 disableMMX=1
rlm@1 79
rlm@1 80 # Use bios file. 0=false, any other value means true
rlm@1 81 useBios=0
rlm@1 82
rlm@1 83 # Bios file full path and name (ZIP not supported)
rlm@1 84 biosFile=none
rlm@1 85
rlm@1 86 # Filter to use. 0=no filter, 1=TV Mode, 2=2xSaI, 3=Super 2xSaI, 4=Super Eagle
rlm@1 87 # 5=Pixelate, 6=Motion Blur, 7=AdvanceMAME Scale2x, 8=Simple 2x,
rlm@1 88 # 9=Bilinear, A=Bilinear Plus, B=hq2x, C=lq2x
rlm@1 89 filter=0
rlm@1 90
rlm@1 91 # Disable status messages. 0=false, any other value means true
rlm@55 92 disableStatus=0
rlm@1 93
rlm@1 94 # Enable Gameboy border. 0=false, any other value means true
rlm@1 95 borderOn=0
rlm@1 96
rlm@1 97 # Gameboy emulator type. 0=automatic, 1=CGB/GBC, 2=SGB, 3=GB, 4=GBA, 5=SGB2
rlm@1 98 emulatorType=1
rlm@1 99
rlm@1 100 # Enable washed colors. 0=false, any other value means true
rlm@1 101 colorOption=1
rlm@1 102
rlm@1 103 # Directories. Not setting one them makes the file go the rom directory.
rlm@1 104
rlm@1 105 # Save state directory
rlm@1 106 #saveDir=
rlm@1 107
rlm@1 108 # Screen shot Capture directory
rlm@1 109 #captureDir=
rlm@1 110
rlm@1 111 # Battery directory
rlm@1 112 #batteryDir=
rlm@1 113
rlm@1 114 # Screen capture format
rlm@1 115 # 0=PNG, anything else for BMP
rlm@1 116 captureFormat=0
rlm@1 117
rlm@1 118 # Sound quality
rlm@1 119 # 1=44 Khz, 2=22Khz, 4=11Khz
rlm@1 120 soundQuality=1
rlm@1 121
rlm@1 122 # Sound Echo
rlm@1 123 # 0=false, anything else for true
rlm@1 124 soundEcho=0
rlm@1 125
rlm@1 126 # Sound Low pass filter
rlm@1 127 # 0=false, anything else for true
rlm@1 128 soundLowPass=0
rlm@1 129
rlm@1 130 # Sound reverse stereo
rlm@1 131 # 0=false, anything else for true
rlm@1 132 soundReverse=0
rlm@1 133
rlm@1 134 # Remove GBA intros (not supported anymore)
rlm@1 135 # 0=false, anything else for true
rlm@1 136 # removeIntros=0
rlm@1 137
rlm@1 138 # Save Type
rlm@1 139 # 0=automatic, 1=EEPROM, 2=SRAM, 3=Flash, 4=EEPROM+Sensor, 5=NONE
rlm@1 140 saveType=0
rlm@1 141
rlm@1 142 # Flash size
rlm@1 143 # 0=64K Flash, 1=128K Flash
rlm@1 144
rlm@1 145 flashSize=0
rlm@1 146
rlm@1 147 # Sound volume
rlm@1 148 # 0=1x, 1=2x, 2=3x, 3=4x
rlm@1 149 soundVolume=0
rlm@1 150
rlm@1 151 # Interframe blending
rlm@1 152 # 0=none, 1=motion blur, 2=smart
rlm@1 153 ifbType=0
rlm@1 154
rlm@1 155 # Show emulation speed
rlm@1 156 # 0=none, 1=percentage, 2=detailed
rlm@78 157 showSpeed=2
rlm@1 158
rlm@1 159 # Show speed in transparent mode
rlm@1 160 # 0=normal, anything else for transparent
rlm@78 161 showSpeedTransparent=0
rlm@1 162
rlm@1 163 # Enable/Disable auto frameskip
rlm@1 164 # 0=disable, anything else to enable
rlm@78 165 autoFrameSkip=1
rlm@1 166
rlm@1 167 # Sets the desired throttle
rlm@1 168 # 0=disable, 5...1000 valid throttle speeds
rlm@78 169 throttle=5
rlm@1 170
rlm@1 171 # Pauses the emulator when the window is inactive
rlm@1 172 # 0=disable, anything else to enable
rlm@50 173 pauseWhenInactive=0
rlm@1 174
rlm@1 175 # Enables AGBPrint support
rlm@1 176 # 0=disable, anything else to enable
rlm@1 177 agbPrint=0
rlm@1 178
rlm@1 179 # Enables GBA RTC support
rlm@1 180 # 0=disable, anything else to enable
rlm@1 181 rtcEnabled=0
rlm@1 182
rlm@1 183 # Sound OFF flag
rlm@1 184 # 0=sound on, anything else turns off sound
rlm@78 185 soundOff=1
rlm@1 186
rlm@1 187 # Sound Enable
rlm@1 188 # Controls which channels are enabled: (add values)
rlm@1 189 # 1 - Channel 1
rlm@1 190 # 2 - Channel 2
rlm@1 191 # 4 - Channel 3
rlm@1 192 # 8 - Channel 4
rlm@1 193 # 100 - DirectSound A
rlm@1 194 # 200 - DirectSound B
rlm@1 195 # 30f=all enabled, 0=mute all
rlm@1 196 soundEnable=30f
rlm@1 197
rlm@1 198 # Controls automatic SGB border
rlm@1 199 # 0=disable, anything else enables automatic SGB border display
rlm@1 200 borderAutomatic=0
rlm@1 201
rlm@1 202 # Skip bios code
rlm@1 203 # 0=disable, anything else skips BIOS code
rlm@1 204 skipBios=0
rlm@1 205
rlm@1 206 # The interval between the rewind saves
rlm@1 207 # Minimum of 0 seconds to disable rewind support,
rlm@1 208 # Maximum of 60 minutes. Value in seconds (hexadecimal numbers)
rlm@1 209 rewindTimer=0
rlm@1 210
rlm@1 211 # Enable enhanced save type detection
rlm@1 212 # 0=disable, anything else to enable (no longer used)
rlm@1 213 #enhancedDetection=1