Pages

Monday, February 4, 2013

VBA-M emulator for BB10 port










Updated:  January 2015

Latest signed bar file: V9 VBA-m emu r1202 with full GB,GBC,GBA support.
  • VBA-M r1202 rebase code ( rom mirroring, ARM core tuning etc )
  • GB,GBC,GBA emulation switching on the fly ( v9 )
  • Automatic device detect and setup for touch or keyboard devices
  • Z30,Passport,Z10 tested Classic,Q10,Q5 TBC.
  • Way faster partly due to portrait mode being smaller rendering window. 
  • System messages active ( red text bottom left of games )
  • Filters are active you can cycle through with key 'g' or the tv icon. 
  • Comes with 3DTank.gba demo, I may add more interesting roms in other .bar releases.
TODO:
  • Rebuild with older API sorry it's built against 10.3.1 at the moment.
  • Q10,Q5 testing
  • Landscape autodetect ( detection is present, screen setup is flakey )
  • GB/C to GBA switch handling
Want to develop your own games for GBA ?  checkout www.gdbdev.org and specifically DragonBasic if your not comfortable with C/ASM and if you do create some DB games drop a note here.

http://www.gbadev.org/tools.php?showinfo=195

Keyboard device layout

touch device layout



















38 comments:

  1. Hey Froggy, your download link here is broken. I have 1.0.0.6, I think 1.0.0.7 would be nice :D

    ReplyDelete
  2. I don't know if you considered a lighter emulator as base. Under other platforms (PSP, GP2x and Dingoo... the two latter being arm) gpsp was pretty great(it was light and allowed smooth play without any major issues even in leaner hardware... didn't support GB /GBC though).

    ReplyDelete
  3. Thanks for the update. Unfortunately, it crashes when I go to switch ROMs. I'm going to do play around with it some and see if I can figure out what's causing it.

    Also, I grabbed the code from GITHub and saw you haven't committed anything as recent as this binary you just released. It looks like you were in the process of changing some stuff in the last commit. Should it be able to compile from the current commit? I have been having fun running through it trying to get it to work, but my knowledge is limited. I've also grabbed the Genesis and Nintendo code and doing the same thing.

    Looking forward to all your releases!

    ReplyDelete
    Replies
    1. There are some zipped roms that seem to exit but most should be ok. I submitted the last set of changes a few hours ago so check again there is a number of changes notably I no longer reload the BIOS on rom switching so it's quicker cycling through roms.

      It should be able to compile ideally out of the box, or at least with little change. But you will need SDL, TouchControlOverlay, libprom compiled. I need to push libpbrom latest code up so it's possible this might be an issue.

      Delete
    2. Yeah, I grabbed all of them. I do remember there being an issue with libprom trying to compile DGEN, I think. One of them anyway. I'll pull it down in the morning and give it a try. Thanks!

      Delete
    3. One more thing, only Device-Release is valid in most of these projects so remember to change the active build target to Device-Release, this is the one with the proper include paths and flag settings.

      Delete
    4. Yeah, I've tried most of them. I did get it to compile but it won't play on the PB. Momentics throws back:
      /accounts/1000/shared/misc/vbampb/vbam.cfg not found...
      ./vbam_default.cfg failed to load ...
      VBA-M version 1.8.0 [SDL]
      Missing image name
      ROM: nes
      ROM: gba
      number of files 2
      AutoLoadRom: 3
      loading: 1/2 '/accounts/1000/shared/misc/roms/gba'
      szFile = /accounts/1000/shared/misc/roms/gba
      soundInit..
      scan_arc could be archived image...
      No image found in file /accounts/1000/shared/misc/roms/gba
      '/accounts/1000/shared/misc/roms/gba' type = -1
      Unknown file type /accounts/1000/shared/misc/roms/gba

      The config file isn't there... I'm not finding it anywhere. As for the No image found, I'm guessing that's for the BIOS? I do have one named gba_bios.bin. Looks like some of the new pbrom code checking things there though. I'm going to poke around and see if I can't work something out.

      I played with your packaged .11 a bit and found that switching between or from GB/GBC games is what causes my crash. Nothing is zipped. I tried all GBA games, no problems. I tried all GB (and just GBC) games, crashes when switching games. With all mixed it crashed when switching from or to GB/GBC game.

      Delete
    5. Oh yeah, and the layout for the controls on GB games is all wonky. Looks like with the GB's lower resolution the controls didn't scale.

      I'm hopefully going to try out DGEN and FCEUX tonight since I think I know what I'm doing with Momenics now.

      Delete
    6. Instead of touching the upper left button to switch through the roms it would be more helpful if someone can put a box when you start the emulator to be able to select a rom it is way faster and easier that pretty much like the playstation emulator for the blackberry playbook please do this it would be really helpful

      Delete
  4. hello i can't see the buttons A and B
    what can i do?

    ReplyDelete
    Replies
    1. Do you have an sdl-controls.xml file under /misc/vbampb or any modifications to the config file ? I would delete the app and the misc/vpbampb folder and re-install.

      Delete
    2. I've done many times, version after version, I only worked the first time, and when I installed a new version no longer worked, I tried to return to the previous and the first did not work either.

      I deleted the folders that are generated, the roms, the app

      Delete
    3. I rebooted the playbook and it worked, thanks

      can there be add gameshark?

      Delete
  5. your emulator is fantastic, could you two suggestions:

    - Change the screen size (for example, that leaves about the size of the gameboy and add the skin of the GBA, or full screen)
    - Another suggestion is to make the buttons more transparent in full screen
    - Gameshak (but the latter is not important for now)

    ReplyDelete
    Replies
    1. Hello, I was watching the project code, and saw the file Cheats.cpp. How I can use the gameshark?

      Delete
    2. Gameshark is supported, I've never used this mode before but it should work just like VisualBoyAdvance since it's a port of the same code base. You might need to use a bluetooth keyboard to access some features I haven't checked out but in theory it's all there.

      Delete
    3. But in your project, how I can insert? in emulators for PC there is a menu and get a dialog box to insert Them, here you can open the keyboard or connect the BlackBerry to write, but not how to insert in the VBAMpb Them

      Delete
  6. Thanks for all the work you put in...i was just wondering if there will be a new version soon?

    ReplyDelete
  7. Hi i Downloaded your DGEN emulator and this one... The DGEN works great but this dont even start. Any toughts?

    Thanks!
    Keep up the good work!

    ReplyDelete
  8. I can't get it to work :( It does not even open :(

    ReplyDelete
  9. Hello, I am currently in 2.1. And I can't get the most current version work. However, As I switch to 1.0.0.6, everything goes on okay. I wonder if it is my own issue or it is due to the system update.

    ReplyDelete
  10. I don't think the latest 2.1 updates would impact the emulators. Have you tried the very latest version of VBA with the file loader etc, you can download via the forums:

    http://forums.crackberry.com/playbook-apps-games-f243/emulators-emulator-news-blackberry-playbook-705309/

    To be honest, it would be better to port the dingo emulator variant of this rather than VBA-M since it's sloppy performance wise.

    ReplyDelete
  11. Hi there!

    I am planning to buy a Q10 once it's been released. I ask myself if you are planning to port VBA-m to this device as well, as it has a QWERTY keyboard.

    Sincererly,

    Ulf

    ReplyDelete
    Replies
    1. It will work on the touch screen natively and the keyboard will be processed. May have to fiddle with the configuration and re-do the gfx but there should be little issue with Q10 suppport. I've not tried it yet even though I do have access at work :-)

      Delete
  12. I'm wondering if 1.0.0.11 is working on the Z10 for anyone? I got it sideloaded but when I run any roms the video is distorted and the dpad is as well. Sound works well and the game seems to run but you can't see anything. Curious if this is just me or others as well.

    Thanks in advance

    ReplyDelete
    Replies
    1. Looks like a respin is required.

      Delete
    2. respin as in restart? I've tried to reboot, shutdown and re-install a couple of times and got the same thing.

      Delete
    3. respin meaning I need to recompile and modify the screen handling for Z10 specifically since the old screen calls are getting mangled up.

      Delete
  13. I'm wondering if 1.0.0.11 is working on the Z10 for anyone? I got it sideloaded but when I run any roms the video is distorted and the dpad is as well. Sound works well and the game seems to run but you can't see anything.



    any updates on this

    ReplyDelete
  14. I have this problem with all games in 1.0.0.11 version . The saves do get saved correctly on the PB and they can be accessed by the game. However after switiching game or closing the app, the game seems to have no access to the save and dont have menu for all the games

    ReplyDelete
  15. I'm having the same problem as the two posts above. Sound works, but the picture is completely distorted.

    Metroid Fusion:
    http://tinypic.com/r/k4h0fq/6

    Pokemon Emerald:
    http://tinypic.com/r/15xmo14/6

    ReplyDelete
    Replies
    1. The emulators need to open up a higher resolution to avoid distortion. You might be able to set this in the vbam.cfg file but in most cases I've had to open up a high res 800x567 or 1280x720 screen for Z10. I've been very busy at work so not had time to fix up the emulators for Z10.

      Delete
    2. Have you been able to find the time to get this to work on the Z10? I'm itching to play GBA games on it and I've yet to find an alternative

      Delete
  16. I've had slightly more success with GameBoy Colour games (on the Z10). The sound and picture work well, and so does the save feature, but the buttons seem messed up.

    Zelda: Link's Awakening:
    Main menu
    http://tinypic.com/r/2wnvew9/6

    Main menu buttons
    http://tinypic.com/r/ilaeeh/6

    The green labeled button in the middle works as both "A" and "B" while the button below it (labeled blue, but not shown in that image), doesn't seem to work. The yellow labeled button crashes the game.

    ReplyDelete
  17. HI, thanks for your great job! but the download link is unavailable, please update the link, i really want to try this great app, thank you!

    ReplyDelete
  18. Looking forward to fix the Z10 landscape issue.

    ReplyDelete
  19. Hi Froggy !
    Are there a way to download a playbook version of VBA-M ? Tried the BB10 version, but doesn't work (that's normal, playbook is NOT in BB10, but no way to find a playbook version...)

    ReplyDelete