Homebrew New VBA GX fork (2.3.0)

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
The last official version of VBA GX was 2.2.8 in July 2012. This version was released March 4, 2015, and is labeled as 2.3.2.

Download: Dropbox or Mediafire

Source code is on GitHub: https://github.com/libertyernie/vba-wii

Major changes in 2.3.2:
  • 240p support added (NTSC and European RGB)
  • Wii U Pro Controller support
  • Borders of arbitrary size supported - loaded from PNG files (must be enabled in Emulation settings)
    • Known issue: pixels in the border must be the same size as pixels in the game - unless you want a tiny screen you're effectively limited to about 320x240.
See the readme.txt for more information.

Pokemon Silver on GBC with SGB border - stretched to full resolution (640x480):

Same game, running at 2:1 pixel ratio (512x448):


Changes in 2.3.1:
  • Super Game Boy border support
    • Borders can be loaded from (and are automatically saved to) PNG files
    • Any border loaded from the game itself will override the custom PNG border
  • Custom palette support from 2.2.8 restored
  • Option added to select Game Boy hardware (GB/SGB/GBC/auto)
  • Fixed pixel ratio mode added
    • Overrides zoom and aspect ratio settings
    • To squish the picture so it appears correctly on a 16:9 TV, you can open
      the settings.xml file and add 10 to the gbFixed/gbaFixed value. However,
      setting your TV to 4:3 mode will yield a better picture.
  • Real-time clock fixes for GB/GBC games, including Pokémon G/S/C
    • RTC data in save file stored as little-endian
    • Option added for UTC offset in the main menu (only required if you use the
      same SRAM on other, time-zone-aware platforms)
  • New option for selecting "sharp" or "soft" filtering settings
    • "Sharp" was the default for 480p, "soft" was the default for 480i
Changes in 2.3.0:
  • VBA-M core updated to r1231
  • Tiled rendering used for GBA games (new VBA-M feature, originally from RetroArch) - provides a major speed boost!
  • I merged the changes from cebolleto's version (http://gbatemp.net/threads/snes9xgx-fceugx-and-vbagx-with-screenshots-support.366990/). See that thread for details.
  • New options available:
    • Disable the " Auto" string being appended to save files
    • Disable frameskip entirely on GBA (I like to turn this on in some games and keep it off in others.)
  • Keyboard fixed (from libwiigui r56)
  • GUI prompt is now purple instead of green (button colors more intuitive)
  • Goomba and Goomba Color ROM support (using my code from here: http://gbatemp.net/threads/goomba-save-manager-export-replace-goomba-sram.364693/)
    • Any Game Boy ROM stored within a Goomba ROM can be loaded "natively" in the Game Boy (Color) emulator (or the Goomba ROM can be loaded as GBA)
    • Game Boy SRAM stored within Goomba SRAM is loaded and saved correctly
    • I put this in because I keep several GBC games on by GBA flash card, and I like to use the same save file no matter what device I'm using.
  • Custom controls available for Kid Dracula (see this video)
--------------------

The biggest new "feature" since 2.2.8 is that for GBA games, it's now using the tiled rendering method from RetroArch. (It's also made its way to VBA-M upstream, but RetroArch had a couple of fixes I needed to apply as well.)

What this means:
  1. GBA games are going to run a lot more smoothly. (They'll usually still have some frameskip, though.)
  2. If you're already using RetroArch to play GBA games, just keep doing that - this probably won't help you, unless you need something specific that VBA GX has.


That video is showing the new version - here's a video of the old version. You can kind of tell that the game's running more smoothly if you play them side by side, but it's definitely noticeable in person.
 

duffmmann

Well-Known Member
Member
Joined
Mar 11, 2009
Messages
3,966
Trophies
2
XP
2,305
Country
United States
Nice! Thanks much for this, I was just noticing too much lag when I was playing one of my pokemon rom hacks on VBA GX on my Wii the other day.
 

Maeson

Well-Known Member
Member
Joined
Apr 3, 2013
Messages
1,164
Trophies
1
XP
3,341
Country
Spain
Amazing! I have to try this, because I remember some games working a little better here than in Retroarch (But jut a few titles, like FF: Dawn of Souls for example; the core in RA works really nice with most of the games I tried).

But I would want to ask, is this a total replacement of the 2.2.8 version, or should I have both in the SD just in case?

Also the custom controls seem very interesting to use. Good Work.
 

nakata6790

True Player
Member
Joined
Sep 17, 2009
Messages
891
Trophies
1
XP
617
Country
Greece
Just tested this. Really improved speed on ''demanding'' GBA games like Asterix XXL, V-Rally 3, Duke Nukem 3d, Castlevania COTM that stuttered on previous VBA GX. The first 3 even stutter on RA GBA core as well, while here they are smoother. I also really like the auto palettes in GB games like Street Fighter II, Donkey Kong, DK Land, etc.
HOWEVER, games like Golden Sun 2, Mother 3 etc run smoother on RA GBA core. The colors are better too. Moto Racer GBA also stutters here (only WiiMednafen has this relatively smooth).

Personally, i had best picture results (4.3 Wii, on a CRT with SCART) with these video settings on VBA GX 2.30: aspect ratio: partial stretch, height 66%, width 75% and filtered.

Do you think Snes9x GX will get a mod like this one of these days (and get a speed up for those games like Kirby's Dreamland 3)? Awesome work, man, keep it up! :D :D

I like the way you think :P
A standalone SNES 9X GX with the speed improvements of RA's SNES 9X Next would be neat.
 

littlecubba

Well-Known Member
Newcomer
Joined
Jan 12, 2009
Messages
67
Trophies
0
XP
156
Country
i enjoy using Retro-Arch for some things, but i have always prefered standalone's
:bow: Thank You:bow:
for taking your time and bringing joy back to our standalone lifes​
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,106
Trophies
2
XP
32,408
Country
Mexico
* Goomba and Goomba Color ROM support:
* Any Game Boy ROM stored within a Goomba ROM can be loaded "natively" in
the Game Boy (Color) emulator (or the Goomba ROM can be loaded as GBA)
* Game Boy SRAM stored within Goomba SRAM is loaded and saved correctly

Can you explain that part a little bit more?
Is that something like using GBC bios to colorize some GB games or something similar?

EDIT:
I just tested this out and works wonderful :)
Although some games as Golden Sun 2 and Pokemon Emerald still have lag due to the Frameskip, but if you disable it they run quite good.

Only important thing left to do I think is to work on the audio of those games without the frameskipping, so they don't sound so crisp and slow sometimes.

Wonderful work!
THANK YOU!
I can now play all my library without that nag of the frameskip :D
 

SuperrSonic

Well-Known Member
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,295
Country
Puerto Rico
It's nice someone finally did this, it's still missing one of two ways of getting the square pixels to show correctly on the Wii. To me the zoom option was always kinda pointless I don't think you need more than three screen layouts for GBA and that's a 2x unfiltered, upscaled to fit filtered and if a widescreen TV is available 3x unfiltered.

Can you explain that part a little bit more?
Is that something like using GBC bios to colorize some GB games or something similar?
Goomba/Color is a GB/C emulator for GBA, the emu, the rom and the save are stored in one file. What the features do is let you load it 'natively' by using the GB part of VBAGX or load it with twice the emulation with the GBA part of VBAGX.

I just read the thing, I don't know how the switching works in the emu directly.
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,967
Country
United States
Just tested this. Really improved speed on ''demanding'' GBA games like Asterix XXL, V-Rally 3, Duke Nukem 3d, Castlevania COTM that stuttered on previous VBA GX. The first 3 even stutter on RA GBA core as well, while here they are smoother. I also really like the auto palettes in GB games like Street Fighter II, Donkey Kong, DK Land, etc.
HOWEVER, games like Golden Sun 2, Mother 3 etc run smoother on RA GBA core. The colors are better too. Moto Racer GBA also stutters here (only WiiMednafen has this relatively smooth).

Personally, i had best picture results (4.3 Wii, on a CRT with SCART) with these video settings on VBA GX 2.30: aspect ratio: partial stretch, height 66%, width 75% and filtered.



I like the way you think :P
A standalone SNES 9X GX with the speed improvements of RA's SNES 9X Next would be neat.


That, and if it gets rid of the infamous libogc tinny menu open/close audio glitch, then it'd be golden :P Snes9x Next is a very well optimized emulator, as it uses no frame skip whatsoever. If someone ported the changes to GX, then people would know the glory that is Snes9x Next :D
 
  • Like
Reactions: Hielkenator

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,967
Country
United States
Oh god turning off frameskip feels so good...
If an audio fix is added, this thing will be PERFECT in my eyes :D


I assume it's comparable to the RetroArch Wii version? If so, and it sounds like it is, the same should be done to Snes9x GX :D I hate to say it, but frameskip sucks :P
 
  • Like
Reactions: Hielkenator

nakata6790

True Player
Member
Joined
Sep 17, 2009
Messages
891
Trophies
1
XP
617
Country
Greece
I just noticed that screenshot support is already included, duh. That's super nice! :)
Also tested a couple of goomba roms i made. Man, this took me back on my DS M3 lite days.
Please keep in mind that it must be smaller than 8MB in order to work properly. If you have many GB games, just separate them in packs. Goomba roms also work on RA GBA core.
 

libertyernie

Well-Known Member
OP
Member
Joined
Apr 6, 2011
Messages
115
Trophies
1
XP
397
Country
United States
Do you think Snes9x GX will get a mod like this one of these days (and get a speed up for those games like Kirby's Dreamland 3)? Awesome work, man, keep it up! :D :D
Might be a good idea. I don't know if I would be all that motivated, though - I don't play SNES games all that often, and most of the ones I do play are on my Wii U. (Notable exception: the BS Zelda games.)

It's nice someone finally did this, it's still missing one of two ways of getting the square pixels to show correctly on the Wii. To me the zoom option was always kinda pointless I don't think you need more than three screen layouts for GBA and that's a 2x unfiltered, upscaled to fit filtered and if a widescreen TV is available 3x unfiltered.
That would be a nice feature. Maybe I ought to look into the zooming-in code.

I don't really know what's causing the audio to skip - IIRC it happens even with frameskip off.
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,967
Country
United States
Might be a good idea. I don't know if I would be all that motivated, though - I don't play SNES games all that often, and most of the ones I do play are on my Wii U. (Notable exception: the BS Zelda games.)


That would be a nice feature. Maybe I ought to look into the zooming-in code.

I don't really know what's causing the audio to skip - IIRC it happens even with frameskip off.


Well, it was just a suggestion, nothing more, wasn't trying to make ya do it... Since Dborth abandoned it.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,191
Country
Antarctica
Would you perhaps consider adding FIX94's new libwupc? It allows for Wiis and Wii Us to support Wii U Pro Controllers in Wii/vWii homebrew applications. It's also extremely easy to use.

http://gbatemp.net/threads/libwupc-...library-for-wii-homebrew-applications.371574/

Edit: Perhaps consider waiting a bit, it seems to have issues with regular Wii remotes connecting, or at least I'm having issues with it.

Edit 2: It was a mistake on my end. Wii remotes connect fine. The only caveat is the player LEDs won't change correctly (if a Wii remote is already connected, and a Pro Controller connects after that, both will have player 1's LED, since they're considered separate groups of controller "entities" by both libraries).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Sorry for accidentally bending over