changeset 32:0dc331ec7f27

adding config file
author Robert McIntyre <rlm@mit.edu>
date Sun, 04 Mar 2012 22:44:42 -0600
parents 094360cdf3b2
children 44974c3e093b
files commands.sh src/Makefile.am src/VisualBoyAdvance.cfg
diffstat 3 files changed, 218 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/commands.sh	Sun Mar 04 22:34:59 2012 -0600
     1.2 +++ b/commands.sh	Sun Mar 04 22:44:42 2012 -0600
     1.3 @@ -7,3 +7,6 @@
     1.4  
     1.5  
     1.6  ./VisualBoyAdvance --recordmovie=./rlm.vbm ../../../pokemon-escape/roms/Pokemon\ Yellow\ \(U\)\ \[C\]\[\!\].gbc                                     
     1.7 +
     1.8 +
     1.9 +./VisualBoyAdvance --recordmovie=/home/r/proj/vba-restore/build/ /home/r/proj/pokemon-escape/roms/Pokemon\ Yellow\ \(U\)\ \[C\]\[\!\].gbc                             
    1.10 \ No newline at end of file
     2.1 --- a/src/Makefile.am	Sun Mar 04 22:34:59 2012 -0600
     2.2 +++ b/src/Makefile.am	Sun Mar 04 22:44:42 2012 -0600
     2.3 @@ -1,3 +1,5 @@
     2.4  SUBDIRS = SFMT lua gb gba common filters prof sdl
     2.5  
     2.6 +dist_sysconf_DATA = VisualBoyAdvance.cfg
     2.7 +
     2.8  noinst_HEADERS = Port.h NLS.h AutoBuild.h version.h
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/src/VisualBoyAdvance.cfg	Sun Mar 04 22:44:42 2012 -0600
     3.3 @@ -0,0 +1,213 @@
     3.4 +# All numeric values are in hexadecimal
     3.5 +# Use TAB or EQUAL sign to separate name from value
     3.6 +
     3.7 +#
     3.8 +# Key configuration (all numbers are in hexadecimal!)
     3.9 +#
    3.10 +# Keys values are in the format YXXX where Y is the device number. 0 means
    3.11 +# keyborad and XXX is the SDL define for the desired key (read SDL_keysym.h).
    3.12 +#
    3.13 +# If Y is greater than 0, it means joystick number Y-1 and it uses the
    3.14 +# following format for XXX:
    3.15 +#
    3.16 +# - if XXX < 20, XXX is the axis number multiplied by 2. An even number means
    3.17 +#   movement to the negative side (on the X axis, it means left). An odd
    3.18 +#   number means movement to the positive side (on the X axis, it mean
    3.19 +#   right). For the Y axis, negative means up and positive means down.
    3.20 +#   X axis is usally axis number 0 and Y is axis number 1.
    3.21 +# - if 20 >= XXX > 30, then XXX is the HAT number multiplied by 4 plus the
    3.22 +#   direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:
    3.23 +#   0021 is HAT 0 down, 0026 is HAT 1 right.
    3.24 +# - if 80 >= XXX > 100, XXX is the joystick button number (XXX-080).
    3.25 +#
    3.26 +# Default key configuration is (value in parenthesis):
    3.27 +#
    3.28 +# Left          Left Arrow  (0114)
    3.29 +# Right         Right Arrow (0113)
    3.30 +# Up            Up Arrow    (0111)
    3.31 +# Down          Down Arrow  (0112)
    3.32 +# A             Z           (007a)
    3.33 +# B             X           (0078)
    3.34 +# L             A           (0061)
    3.35 +# R             S           (0073)
    3.36 +# Start         ENTER       (000d)
    3.37 +# Select        BACKSPACE   (0008)
    3.38 +# Speed up      SPACE       (0020)
    3.39 +# Capture       F12         (0125)
    3.40 +#
    3.41 +Joy0_Left=0114
    3.42 +Joy0_Right=0113
    3.43 +Joy0_Up=0111
    3.44 +Joy0_Down=0112
    3.45 +Joy0_A=007a
    3.46 +Joy0_B=0078
    3.47 +Joy0_L=0061
    3.48 +Joy0_R=0073
    3.49 +Joy0_Start=000d
    3.50 +Joy0_Select=0008
    3.51 +Joy0_Speed=0020
    3.52 +Joy0_Capture=0125
    3.53 +
    3.54 +# Motion support keys. Same format as above
    3.55 +#
    3.56 +# Default keys are (value in parenthesis):
    3.57 +#
    3.58 +# Left          Numeric Pad 4 (0104)
    3.59 +# Right         Numeric Pad 6 (0106)
    3.60 +# Up            Numeric Pad 8 (0108)
    3.61 +# Down          Numeric Pad 2 (0102)
    3.62 +#
    3.63 +Motion_Left=0104
    3.64 +Motion_Right=0106
    3.65 +Motion_Up=0108
    3.66 +Motion_Down=0102
    3.67 +
    3.68 +# Frame skip setting. Allowed values are from 0 to 5 only.
    3.69 +frameSkip=2
    3.70 +
    3.71 +# Gameboy Frame skip setting. Allowed values are from 0 to 5 only.
    3.72 +gbFrameSkip=0
    3.73 +
    3.74 +# Video setting. 0=1x, 1=2x, 2=3x, 3=4x.
    3.75 +video=1
    3.76 +
    3.77 +# Use fullscreen mode. 0=false, any other value means true
    3.78 +fullScreen=0
    3.79 +
    3.80 +# Disables MMX support
    3.81 +disableMMX=1
    3.82 +
    3.83 +# Use bios file. 0=false, any other value means true
    3.84 +useBios=0
    3.85 +
    3.86 +# Bios file full path and name (ZIP not supported)
    3.87 +biosFile=none
    3.88 +
    3.89 +# Filter to use. 0=no filter, 1=TV Mode, 2=2xSaI, 3=Super 2xSaI, 4=Super Eagle
    3.90 +# 5=Pixelate, 6=Motion Blur, 7=AdvanceMAME Scale2x, 8=Simple 2x,
    3.91 +# 9=Bilinear, A=Bilinear Plus, B=hq2x, C=lq2x
    3.92 +filter=0
    3.93 +
    3.94 +# Disable status messages. 0=false, any other value means true
    3.95 +disableStatus=0
    3.96 +
    3.97 +# Enable Gameboy border. 0=false, any other value means true
    3.98 +borderOn=0
    3.99 +
   3.100 +# Gameboy emulator type. 0=automatic, 1=CGB/GBC, 2=SGB, 3=GB, 4=GBA, 5=SGB2
   3.101 +emulatorType=1
   3.102 +
   3.103 +# Enable washed colors. 0=false, any other value means true
   3.104 +colorOption=1
   3.105 +
   3.106 +# Directories. Not setting one them makes the file go the rom directory.
   3.107 +
   3.108 +# Save state directory
   3.109 +#saveDir=
   3.110 +
   3.111 +# Screen shot Capture directory
   3.112 +#captureDir=
   3.113 +
   3.114 +# Battery directory
   3.115 +#batteryDir=
   3.116 +
   3.117 +# Screen capture format
   3.118 +# 0=PNG, anything else for BMP
   3.119 +captureFormat=0
   3.120 +
   3.121 +# Sound quality
   3.122 +# 1=44 Khz, 2=22Khz, 4=11Khz
   3.123 +soundQuality=1
   3.124 +
   3.125 +# Sound Echo
   3.126 +# 0=false, anything else for true
   3.127 +soundEcho=0
   3.128 +
   3.129 +# Sound Low pass filter
   3.130 +# 0=false, anything else for true
   3.131 +soundLowPass=0
   3.132 +
   3.133 +# Sound reverse stereo
   3.134 +# 0=false, anything else for true
   3.135 +soundReverse=0
   3.136 +
   3.137 +# Remove GBA intros (not supported anymore)
   3.138 +# 0=false, anything else for true
   3.139 +# removeIntros=0
   3.140 +
   3.141 +# Save Type
   3.142 +# 0=automatic, 1=EEPROM, 2=SRAM, 3=Flash, 4=EEPROM+Sensor, 5=NONE
   3.143 +saveType=0
   3.144 +
   3.145 +# Flash size
   3.146 +# 0=64K Flash, 1=128K Flash
   3.147 +
   3.148 +flashSize=0
   3.149 +
   3.150 +# Sound volume
   3.151 +# 0=1x, 1=2x, 2=3x, 3=4x
   3.152 +soundVolume=0
   3.153 +
   3.154 +# Interframe blending
   3.155 +# 0=none, 1=motion blur, 2=smart
   3.156 +ifbType=0
   3.157 +
   3.158 +# Show emulation speed
   3.159 +# 0=none, 1=percentage, 2=detailed
   3.160 +showSpeed=1
   3.161 +
   3.162 +# Show speed in transparent mode
   3.163 +# 0=normal, anything else for transparent
   3.164 +showSpeedTransparent=1
   3.165 +
   3.166 +# Enable/Disable auto frameskip
   3.167 +# 0=disable, anything else to enable
   3.168 +autoFrameSkip=0
   3.169 +
   3.170 +# Sets the desired throttle
   3.171 +# 0=disable, 5...1000 valid throttle speeds
   3.172 +throttle=0
   3.173 +
   3.174 +# Pauses the emulator when the window is inactive
   3.175 +# 0=disable, anything else to enable
   3.176 +pauseWhenInactive=0
   3.177 +
   3.178 +# Enables AGBPrint support
   3.179 +# 0=disable, anything else to enable
   3.180 +agbPrint=0
   3.181 +
   3.182 +# Enables GBA RTC support
   3.183 +# 0=disable, anything else to enable
   3.184 +rtcEnabled=0
   3.185 +
   3.186 +# Sound OFF flag
   3.187 +# 0=sound on, anything else turns off sound
   3.188 +soundOff=0
   3.189 +
   3.190 +# Sound Enable
   3.191 +# Controls which channels are enabled: (add values)
   3.192 +#   1 - Channel 1
   3.193 +#   2 - Channel 2
   3.194 +#   4 - Channel 3
   3.195 +#   8 - Channel 4
   3.196 +# 100 - DirectSound A
   3.197 +# 200 - DirectSound B
   3.198 +# 30f=all enabled, 0=mute all
   3.199 +soundEnable=30f
   3.200 +
   3.201 +# Controls automatic SGB border
   3.202 +# 0=disable, anything else enables automatic SGB border display
   3.203 +borderAutomatic=0
   3.204 +
   3.205 +# Skip bios code
   3.206 +# 0=disable, anything else skips BIOS code
   3.207 +skipBios=0
   3.208 +
   3.209 +# The interval between the rewind saves
   3.210 +# Minimum of 0 seconds to disable rewind support, 
   3.211 +# Maximum of 60 minutes. Value in seconds (hexadecimal numbers)
   3.212 +rewindTimer=0
   3.213 +
   3.214 +# Enable enhanced save type detection
   3.215 +# 0=disable, anything else to enable (no longer used)
   3.216 +#enhancedDetection=1