Jump to content

Configuring Visual boy advance


Gnubie
 Share

Recommended Posts

First, check whether the joystick is working in linux. There are few utilities to do so. One that is related to Visualboy advance is the SDL configurator from the download section in Visualboy Advance homepage ( http://vboy.emuhq.com/downloads.shtml ) If you run the program in a console and move your joystick you should see a bunch of numbers. Now create a VisualBoyAdvance.cfg file in your user directory (/home/user). Put the number from the SDL configurator into the joystick direction in which you press the button/keypad.

 

Anyway, here is my VisualBoyAdvance.cfg file if you need a bit of a reference.

# All numeric values are in hexadecimal



#

# Key configuration (all numbers are in hexadecimal!)

#

# Keys values are in the format YXXX where Y is the device number. 0 means

# keyborad and XXX is the SDL define for the desired key (read SDL_keysym.h).

#

# If Y is greater than 0, it means joystick number Y-1 and it uses the

# following format for XXX:

#

# - if XXX < 20, XXX is the axis number multiplied by 2. An even number means

#   movement to the negative side (on the X axis, it means left). An odd

#   number means movement to the positive side (on the X axis, it mean

#   right). For the Y axis, negative means up and positive means down.

#   X axis is usally axis number 0 and Y is axis number 1.

# - if 20 >= XXX > 30, then XXX is the HAT number multiplied by 4 plus the

#   direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:

#   0021 is HAT 0 down, 0026 is HAT 1 right.

# - if 80 >= XXX > 100, XXX is the joystick button number (XXX-080).

#

# Default key configuration is (value in parenthesis):

#

# Left  Left Arrow  (0114)

# Right  Right Arrow (0113)

# Up  Up Arrow    (0111)

# Down  Down Arrow  (0112)

# A  Z           (007a)

# B  X           (0078)

# L  A           (0061)

# R  S           (0073)

# Start  ENTER       (000d)

# Select	BACKSPACE   (0008)

# Speed up	SPACE       (0020)

# Capture	F12         (0125)

#

Joy0_Left	1000

Joy0_Right	1001

Joy0_Up  1002

Joy0_Down	1003

Joy0_A  1082

Joy0_B  1081

Joy0_L  1084

Joy0_R  1085

Joy0_Start	1089

Joy0_Select	1088

Joy0_Speed	1086

Joy0_Capture	0125



# Motion support keys. Same format as above

#

# Default keys are (value in parenthesis):

#

# Left  Numeric Pad 4 (0104)

# Right  Numeric Pad 6 (0106)

# Up  Numeric Pad 8 (0108)

# Down  Numeric Pad 2 (0102)

#

Motion_Left	1000

Motion_Right	1001

Motion_Up	1002

Motion_Down	1003



# Frame skip setting. Allowed values are from 0 to 5 only.

frameSkip     0



# Gameboy Frame skip setting. Allowed values are from 0 to 5 only.

gbFrameSkip	0



# Video setting. 0=1x, 1=2x, 2=3x, 3=4x.

video  3



# Use fullscreen mode. 0=false, any other value means true

fullScreen     0



# Disables MMX support

disableMMX	1



# Use bios file. 0=false, any other value means true

useBios  0



# Bios file full path and name (ZIP not supported)

biosFile	none



# Filter to use. 0=no filter, 1=TV Mode, 2=2xSaI, 3=Super 2xSaI, 4=Super Eagle

# 5=Pixelate, 6=Motion Blur

filter     3



# Disable status messages. 0=false, any other value means true

disableStatus	0



# Enable Gameboy border. 0=false, any other value means true

borderOn	0



# Gameboy emulator type. 0=automatic, 1=CGB/GBC, 2=SGB, 3=GB, 4=GBA

emulatorType	0



# Enable washed colors. 0=false, any other value means true

colorOption	1



# Directories. Not setting one them makes the file go the rom directory.



# Save state directory

#saveDir	



# Screen shot Capture directory

/home/dmage/dragonmage/gba/



# Battery directory

#batteryDir



# Screen capture format

# 0=PNG, anything else for BMP

captureFormat   0



# Sound quality

# 1=44 Khz, 2=22Khz, 4=11Khz

soundQuality	1



# Sound Echo

# 0=false, anything else for true

soundEcho	0



# Sound Low pass filter

# 0=false, anything else for true

soundLowPass	0



# Sound reverse stereo

# 0=false, anything else for true

soundReverse	0



# Remove GBA intros

# 0=false, anything else for true

removeIntros	0

Link to comment
Share on other sites

  • 5 months later...
Guest Revolver

Why use Gnu Linux... if you continue to use windows soft???!!!!!

 

 

I have the same problem a time ago and with the help of dragon mage i was able to put it working until now with no problems..vba for gnu linux ofcourse:)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...