Difference between revisions of "VisualBoyAdvance-M"

From ArchWiki
Jump to: navigation, search
(Issues)
(Remove ambiguous information regarding where the package can be found. Remove homepage link since there seems to be more than one of those packages claiming to link to the "homepage")
(29 intermediate revisions by 14 users not shown)
Line 1: Line 1:
==Introduction==
+
[[Category:Gaming]]
Visual Boy Advance is  a very popular Game Boy Advance emulator. It supports Game Boy, Super Game Boy, Game Boy Color, and Game Boy Advance games. These games are come in the forms of ROMS. There are then loaded and played. It uses 3 rendering engines in the linux version, They are OpenGL,Cairo and Xvideo. It includes some useful features including fullscreen, image filters, save, load, screen capture, key mapping, frame throttling, and some extra sound and video configurations.
+
[[Category:Emulators]]
 +
Visual Boy Advance is  a very popular Game Boy Advance emulator. It supports Game Boy, Super Game Boy, Game Boy Color, and Game Boy Advance games. These games all come in the form of ROMS. They are then loaded and played. It uses 3 rendering engines in the Linux version, They are OpenGL, Cairo, and Xvideo. It includes some useful features including fullscreen, image filters, save, load, screen capture, key mapping, frame throttling, and some extra sound and video filters.
  
[http://vba.ngemu.com/index.shtml Homepage]
+
==Installation==
 +
VBA is not currently in the [[Official Repositories]]. A [https://aur.archlinux.org/packages/?O=0&C=0&SeB=nd&K=vba-m&SB=v&SO=d&PP=50&do_Search=Go number of forks] are available from [[AUR]].
  
==Install==
+
==Usage==
Installing is done by getting Package through the [[AUR]]. The current package can be found [http://aur.archlinux.org/packages.php?ID=16851 here] or at the [http://arch-games.twilightlair.net arch-games repo].
+
 
 +
# VisualBoyAdvance someRom.zip
 +
 
 +
Full screen, no debug messages, doesn't show speed % on screen.
 +
# VisualBoyAdvance -F -N --no-show-speed someRom.zip
 +
 
 +
Default controls are:
 +
  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)
  
 
==Issues==
 
==Issues==
 
There are a couple known issues during installation
 
There are a couple known issues during installation
When trying to run VBA after an install you may get this after typing in gvbam.
+
When trying to run VBA after an install you may get this after typing in gvba.
  
 
  ~$ Failed to open audio: Fragment size must be a power of two
 
  ~$ Failed to open audio: Fragment size must be a power of two
Line 18: Line 38:
 
     bool SoundSDL::init(long sampleRate)
 
     bool SoundSDL::init(long sampleRate)
 
   
 
   
Editing the audio sample had help me before. If you feel this is too technical for you should contact the developers at the vba fourms anyway because for the most part this problem should has been dealt with.
+
Editing the audio sample has helped me before. If you feel this is too technical, you should contact the developers at the vba forums because this issue should now be resolved.
  
 
If you are getting errors about OpenGL and video output the problem is most likely that the video output choice is wrong. To fix this edit the configuration file. In the directory /home/<USER>/.config/gvbam
 
If you are getting errors about OpenGL and video output the problem is most likely that the video output choice is wrong. To fix this edit the configuration file. In the directory /home/<USER>/.config/gvbam
Line 31: Line 51:
 
Has been known to fix the problem.
 
Has been known to fix the problem.
  
Also the Directories for which VBA will search for the game saves and ROMs can sometime revert back to the default setting. If prefer to keep you saves and ROMs in a specific directory you may want to edit the config file in /home/<USER>/.config/gvbam. In the '''Directories''' section simply enter in your preferred directory like this.
+
Also the Directories for which VBA will search for the game saves and ROMs can sometimes revert back to the default setting. If prefer to keep you saves and ROMs in a specific directory you may want to edit the config file in /home/$USER/.config/gvbam You may then set the permissions to read-only to prevent VBA from changing them.Take note that any time you change a setting and save while the cofig file is on read-only it will not save. Putting it to read-only effectively "locks" the file from any annoying changes.
 +
 
 +
In the '''Directories''' section simply enter in your preferred directory like this.
  
 
  [Directories]
 
  [Directories]

Revision as of 07:10, 1 April 2013

Visual Boy Advance is a very popular Game Boy Advance emulator. It supports Game Boy, Super Game Boy, Game Boy Color, and Game Boy Advance games. These games all come in the form of ROMS. They are then loaded and played. It uses 3 rendering engines in the Linux version, They are OpenGL, Cairo, and Xvideo. It includes some useful features including fullscreen, image filters, save, load, screen capture, key mapping, frame throttling, and some extra sound and video filters.

Installation

VBA is not currently in the Official Repositories. A number of forks are available from AUR.

Usage

# VisualBoyAdvance someRom.zip

Full screen, no debug messages, doesn't show speed % on screen.

# VisualBoyAdvance -F -N --no-show-speed someRom.zip

Default controls are:

 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)

Issues

There are a couple known issues during installation When trying to run VBA after an install you may get this after typing in gvba.

~$ Failed to open audio: Fragment size must be a power of two
Segmentation fault

VBA has been updated to fix this but if you still get this error it may be fixed by editing /src/vbam/src/common/SoundSDL.cpp and editing the function

    bool SoundSDL::init(long sampleRate)

Editing the audio sample has helped me before. If you feel this is too technical, you should contact the developers at the vba forums because this issue should now be resolved.

If you are getting errors about OpenGL and video output the problem is most likely that the video output choice is wrong. To fix this edit the configuration file. In the directory /home/<USER>/.config/gvbam

In the Display Section of the config file changing the line from

output=1

to

output=2

or

output=0

Has been known to fix the problem.

Also the Directories for which VBA will search for the game saves and ROMs can sometimes revert back to the default setting. If prefer to keep you saves and ROMs in a specific directory you may want to edit the config file in /home/$USER/.config/gvbam You may then set the permissions to read-only to prevent VBA from changing them.Take note that any time you change a setting and save while the cofig file is on read-only it will not save. Putting it to read-only effectively "locks" the file from any annoying changes.

In the Directories section simply enter in your preferred directory like this.
[Directories]
gb_roms=/home/generic/Documents/VBA/ROMs 
gba_roms=/home/generic/Documents/VBA/ROMs 
batteries=/home/generic/.config/gvbam 
saves=/home/generic/Documents/VBA/SAVES 
captures=/home/generic/Documents/VBA 

Also make sure your new config file is saved as "config" and not "config~".