vba-m not working

i have installed vba-m frrom yast. if i try to run vba-m all i get is a the gui for few millisecond and it dissapears. any suggeestions about what to do?
thanks for the reeply in advance

Please run it in a terminal window and post the error message you get.

Also please specify, which version of openSUSE you are using, and where you got the vbam package from:

rpm -qi vbam

or select the package in YaST and click on “Versions” in the lower right.

simplemind@dhcppc0:~> rpm -qi vbam
Name        : vbam
Version     : 1.8.0.1147
Release     : 1.1
Architecture: i586
Install Date: Sat 11 May 2013 01:43:55 PM IST
Group       : System/Emulators/Other
Size        : 4599888
License     : GPL-2.0
Signature   : DSA/SHA1, Sun 27 Jan 2013 06:08:20 AM IST, Key ID 636c67c5552f340d
Source RPM  : vbam-1.8.0.1147-1.1.src.rpm
Build Date  : Sun 27 Jan 2013 06:07:55 AM IST
Build Host  : build40
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/home:rmk2
Summary     : VisualBoyAdvance-M
Description :
Unifies several forks of VisualBoyAdvance, a Game Boy, Game Boy Color, and
Game Boy Advance emulator with excellent support for both play and
development. Features GTK UI (gvbam) and command-line interface with SDL
output (vbam).
Distribution: home:rmk2 / openSUSE_Factory

this is the output for rpm -qi vbam
i run on opensuse 12.3. i got the emulator from yast software management.
and when i run vbam from the konsole i get

VBA-M version 1.8.0-SVN [SDL]
Searching for file vbam.cfg
Searching current directory: /home/simplemind
Searching home directory: /home/simplemind/.vbam
Searching data directory: /usr/share/vbam
Searching system config directory: /etc
Reading configuration file.
Unknown configuration key throttle
Missing image name
vbam [option ...] file

Options:
  -O, --opengl=MODE            Set OpenGL texture filter
      --no-opengl               0 - Disable OpenGL
      --opengl-nearest          1 - No filtering
      --opengl-bilinear         2 - Bilinear filtering
  -F, --fullscreen             Full screen
  -G, --gdb=PROTOCOL           GNU Remote Stub mode:
                                tcp      - use TCP at port 55555
                                tcp:PORT - use TCP at port PORT
                                pipe     - use pipe transport
  -I, --ifb-filter=FILTER      Select interframe blending filter:
                                0 - No interframe blending
                                1 - Interframe motion blur
                                2 - Smart interframe blending
  -N, --no-debug               Don't parse debug information
  -S, --flash-size=SIZE        Set the Flash size
      --flash-64k               0 -  64K Flash
      --flash-128k              1 - 128K Flash
  -T, --throttle=THROTTLE      Set the desired throttle (5...1000)
  -b, --bios=BIOS              Use given bios file
  -c, --config=FILE            Read the given configuration file
  -d, --debug                  Enter debugger
  -f, --filter=FILTER          Select filter:
                                0 - Stretch 1x
                                1 - Stretch 2x
                                2 - 2xSaI
                                3 - Super 2xSaI
                                4 - Super Eagle
                                5 - Pixelate
                                6 - AdvanceMAME Scale2x
                                7 - Bilinear
                                8 - Bilinear Plus
                                9 - Scanlines
                                10 - TV Mode
                                11 - lq2x
                                12 - hq2x
                                13 - Stretch 3x
                                14 - hq3x
                                15 - Stretch 4x
                                16 - hq4x
  -h, --help                   Print this help
  -i, --patch=PATCH            Apply given patch
  -p, --profile=[HERTZ]        Enable profiling
  -s, --frameskip=FRAMESKIP    Set frame skip (0...9)
  -t, --save-type=TYPE         Set the available save type
      --save-auto               0 - Automatic (EEPROM, SRAM, FLASH)
      --save-eeprom             1 - EEPROM
      --save-sram               2 - SRAM
      --save-flash              3 - FLASH
      --save-sensor             4 - EEPROM+Sensor
      --save-none               5 - NONE
  -v, --verbose=VERBOSE        Set verbose logging (trace.log)
                                  1 - SWI
                                  2 - Unaligned memory access
                                  4 - Illegal memory write
                                  8 - Illegal memory read
                                 16 - DMA 0
                                 32 - DMA 1
                                 64 - DMA 2
                                128 - DMA 3
                                256 - Undefined instruction
                                512 - AGBPrint messages

Long options only:
      --agb-print              Enable AGBPrint support
      --auto-frameskip         Enable auto frameskipping
      --no-agb-print           Disable AGBPrint support
      --no-auto-frameskip      Disable auto frameskipping
      --no-patch               Do not automatically apply patch
      --no-pause-when-inactive Don't pause when inactive
      --no-rtc                 Disable RTC support
      --no-show-speed          Don't show emulation speed
      --no-throttle            Disable throttle
      --pause-when-inactive    Pause when inactive
      --rtc                    Enable RTC support
      --show-speed-normal      Show emulation speed
      --show-speed-detailed    Show detailed speed data
      --cheat 'CHEAT'          Add a cheat




Well, that’s for Factory, so that could be the reason it doesn’t work on your system.
Try the one for 12.3: software.opensuse.org:

and when i run vbam from the konsole i get

VBA-M version 1.8.0-SVN [SDL]
Searching for file vbam.cfg
Searching current directory: /home/simplemind
Searching home directory: /home/simplemind/.vbam
Searching data directory: /usr/share/vbam
Searching system config directory: /etc
Reading configuration file.
Unknown configuration key throttle
Missing image name
vbam [option ...] file

vbam is the cli version and needs a rom image as parameter.
But I guess you want to use the GUI version.
That’s “wxvbam” then. Sorry for mixing that up.:shame:

i did install it frm the link it installs fine but when i run the vba-m application from the app launcher it still doesnt run… thanks for the help,btu when i run it via the terminal it runs

wxvbam

Hm, strange. The entry in the app launcher should also just call “wxvbam”.:\

You could try to run

kbuildsycoca4 --noincremental

and see if it works then.

Maybe you have another (incorrect) .desktop file in ~/.local/share/applications/ ? Please show the output of

ls -la ~/.local/share/applications/

i have same problem as before even after i run kbuild
also the out put of

ls -la ~/.local/share/applications/

is

 total 12
drwx------  2 simplemind users 4096 May 15 06:56 .
drwxr-xr-x 11 simplemind users 4096 May 15 22:19 ..
-rw-------  1 simplemind users  165 May 15 06:56 mimeapps.list


thanks for all the help wolfi323 :slight_smile:

But it is working from the command line, right? Or did I misunderstand you?

Well, you could open the menu editor (right-click on the start menu button and select “Edit Applications…”), click on the VBA-M entry (under System->Emulators) and check what it says under “Command”. This should be “wxvbam”. If not, change it accordingly.

also the out put of

ls -la ~/.local/share/applications/

is

 total 12
drwx------  2 simplemind users 4096 May 15 06:56 .
drwxr-xr-x 11 simplemind users 4096 May 15 22:19 ..
-rw-------  1 simplemind users  165 May 15 06:56 mimeapps.list

seems ok.

thanks for all the help wolfi323 :slight_smile:

You’re welcome.