Homebrew mGBA official standalone Wii port

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,891
Country
Italy
I think i solved the small slowdown issue with the game Mario Kart: Super Circuit on the mGBA Wii.

I was using @SuperrSonic's RA-HEXAECO's (modified RetroArch Wii) core of mGBA Wii. I just set up the sound sample rate to 32000 Hz / 32 kHz (instead of 48000 Hz / 48 kHz) and then i saw for a few moments that the slowdown has disappeared in these moments. I didn't play it for further but i will test it more.

I could also used the Wiiflow-modified version of WiiMednafen 0.3-SNAPSHOT in the Wiiflow Plugins Pack by @Tetsuo Shima, here it runs at an acceptable framerate but it has a heavy frameskip and it also goes a bit slow sometimes. So I prefer using mGBA Wii.

Greetings
That's interesting... some time ago I did the same with all my Dosbox .conf files. I noticed that when I used the Dosbox Log function it was warning me that there was a discrepancy with sound samples rate between my file (which was set at 22050) and SDL, which defaults at 32000. So after changing my mixer rate to 32000, I immediately noticed less audio stuttering in the games.
So now I'm wondering, is that possible that ALL wii homebrews should require a 32000 Hz sample rate?
 
  • Like
Reactions: SaulFabre

SaulFabre

I like Yoshis and the Wii/Wii U scene.
Member
Joined
Feb 6, 2019
Messages
3,182
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,820
Country
Ecuador
A new version of the official standalone Wii port of mGBA was released! :)

mGBA Wii 0.9.3 (Release date: December 17, 2021)

Changelog: (taken from official mGBA website)
A new release of mGBA, version 0.9.3 is available. This version is a bugfix release, which contains many important fixes. Importantly, random freezing with the OpenGL display driver, mostly when using fast forward, which had only partially been fixed in 0.9.2, should now be properly fixed. An extensive list of changes follows after the cut.

Emulation fixes:
  • GB I/O: Fix incrementing SGB controller when P14 is low (fixes #2202)
  • GB Video: Render SGB border when unmasking with ATTR/PAL_SET (fixes #2261)
  • GBA SIO: Fix SI value for unattached MULTI mode
  • GBA Video: Fix backdrop color if DISPCNT is first set to 0 (fixes #2260)
  • GBA Video: Don’t iterate affine backgrounds when disabled
  • GBA Video: Delay enabling backgrounds in bitmap modes (fixes #1668)
Other fixes:
  • ARM Decoder: Fix decoding of lsl r0 (fixes #2349)
  • FFmpeg: Don’t attempt to use YUV 4:2:0 for lossless videos (fixes #2084)
  • GB Video: Fix memory leak when reseting SGB games
  • GBA: Fix out of bounds ROM accesses on patched ROMs smaller than 32 MiB
  • GBA: Fix maximum tile ID in caching for 256-color modes
  • GBA Video: Fix cache updating with proxy and GL renderers
  • Libretro: Fix crash when using Game Boy codes (fixes #2281)
  • mGUI: Fix crash if autosave file can’t be opened (fixes #2268)
  • Qt: Remove potentially deadlocking optimization
  • Qt: Fix corrupted savestate and fatal error text
  • Qt: Fix sprite compositing when sprite tiles go out of bounds (fixes #2348)
Misc:
  • GBA I/O: Update KEYINPUT in internal I/O memory (fixes #2235)
  • SDL: Use SDL_JoystickRumble where available
  • Wii: Add adjustable gyroscope settings (closes #2245)
Get it now in the Downloads section. Binaries are available for Windows, Ubuntu, macOS, 3DS, Switch, Vita, and Wii, and the source code is available for all other platforms.

Direct download link for Wii: https://github.com/mgba-emu/mgba/releases/download/0.9.3/mGBA-0.9.3-wii.7z
Other downloads for other platforms are also avaliable here: https://mgba.io/downloads.html
 

ber71

Well-Known Member
Member
Joined
Apr 24, 2019
Messages
562
Trophies
0
Age
58
XP
2,471
Country
Spain
Thank you. However, these launchers work great when the mGBA app is on the sdcard, but I get a blackscreen when the app is on the usb.
I've installed many other forwarders to other apps which do work with those apps on the usb, so it's not a disk problem.
 
  • Like
Reactions: SaulFabre

RunningSnakes

Well-Known Member
Member
Joined
Jun 21, 2018
Messages
1,348
Trophies
1
Age
50
XP
4,783
Country
United States
You are correct. They are no longer working. It is definitely mGBA and not a Wii problem. They worked up until 0.8.1 or 0.8.2 before I switched to SD. Using mGBA as a plug-in through WiiFliw Lite, they stopped working as of 0.6.2 using USB only. I will try to make a new forwarder to see if I can fix the black screen, in the meantime only SD or if you want to revert to 081-082.
 
  • Like
Reactions: SaulFabre

RunningSnakes

Well-Known Member
Member
Joined
Jun 21, 2018
Messages
1,348
Trophies
1
Age
50
XP
4,783
Country
United States
No luck getting any forwarder to work using USB. You will have to revert back to 0.6.1 in order for USB to work correctly. I thought it worked to at least 0.8.1, but not so.

Making a mGBA 0.9.3 channel only is an alternative for USB only use which would be no problem. Other than that, above 0.6.1 SD is mandatory using forwarder channels.

If channel only is of interest, just let me know which of the forwarders you want switched.
 
  • Like
Reactions: SaulFabre

RunningSnakes

Well-Known Member
Member
Joined
Jun 21, 2018
Messages
1,348
Trophies
1
Age
50
XP
4,783
Country
United States
How is the performance of GB/GBC games on mGBA when compared to gambatte these days?
I would say just average as for overall performance. There is some screen tearing on GBC and it still does not support borders or full screen or palettes for GB.

I went to RA mGBA for GB/GBC because IMO it covers everything better than anything else. It still has GBC screen tearing (Toy Story Racing) on some games i have tested, but there is no slowdown on any "Heavy" GBC games that still exists using Gambatte. It has SGB borders, palettes, full screen and the best compatibility (VBAGX may be equal). GBA speed on many Heavy games has been fixed, but some still lag.

Gambatte has been improved in almost every way (speed, palettes, other features), but borders are still not supported.

mGBA is still King when it comes to Advance games, but as for GB/GBC gaming and features it is clearly behind the others.

My preference for GBA would be...
1. mGBA
2. RA mGBA
3. EmGBA
4. VBAGX
5. WiiMednafen

GBC...
1. VBAGX
2. RA Gambatte
3. RA mGBA
4. Hexaeco GearBoy
5. WiiMednafen
6. EmGBA

GB...
1. RA mGBA
2. RA Gambatte
3. Hexaeco GearBoy
4. EmGBA
5. WiiMednafen
6. VBAGX

This is only my opinion. If EmGBA supported full screen it would be higher on both GB/GBC lists. If VBAGX could get an update for GB palette use, it would definitely move up. WiiMednafen GB is very solid but you have to manually change palettes.

As i mentioned though, if you only use ONE emulator, RA mGBA is #1.
 

RunningSnakes

Well-Known Member
Member
Joined
Jun 21, 2018
Messages
1,348
Trophies
1
Age
50
XP
4,783
Country
United States
mGBA updated a few weeks back to 0.10.0 and i had no idea. I check every so often and today downloaded and tested the latest release.

So scratch my previous rankings post. Now this great emulator supports full screen, palettes and SGB borders...the whole pizza.

New rankings...
GBA
1. mGBA
2. RA mGBA
3. EmGBA
4. VBAGX
5. WiiMednafen

GBC
1. VBAGX
2. RA Gambatte
3. mGBA
4. RA mGBA
5. Hexaeco GearBoy
6. WiiMednafen
7. EmGBA

GB
1. mGBA
2. RA mGBA
3. Gambatte
4. EmGBA
5. VBAGX
6. Hexaeco GearBoy
7. WiiMednafen

There is still screen tearing on some GBC games and very few heavy games are still not 60 fps. Aside from that, this emulator is nearly perfect.
 
Last edited by RunningSnakes,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    True, everything almost double nowadays
  • K3Nv2 @ K3Nv2:
    But I could go to Aldis and get a cookie pie for like $4
  • BigOnYa @ BigOnYa:
    Or use your new cooking pan and make some, don't mind the Old leftover foods mixed in.
  • K3Nv2 @ K3Nv2:
    Just eat plain flour around cops
  • BigOnYa @ BigOnYa:
    thats Gluten abuse, they would shoot you
  • K3Nv2 @ K3Nv2:
    Depends on the color chart
  • K3Nv2 @ K3Nv2:
    Wheat flour has a lower chance at survival
  • Veho @ Veho:
    Isn't wheat flour the whitest of the white?
  • Veho @ Veho:
    Rye would get shot at sight.
    +1
  • K3Nv2 @ K3Nv2:
    Depends
    img_5941-1.jpeg
    everyone mixing their flour now days
  • Veho @ Veho:
    That's whole wheat, right? Because all purpose flour is also made from wheat.
  • K3Nv2 @ K3Nv2:
    I'm not a flour expert I just snort it
  • BigOnYa @ BigOnYa:
    There also is black rice flour, and its really black colored
  • Veho @ Veho:
    Bruh that's gray.
  • K3Nv2 @ K3Nv2:
    That's ancientboi color
    +1
  • Veho @ Veho:
    You need to add some activated charcoal.
    +1
  • BigOnYa @ BigOnYa:
    I've seen some that are dark dark, my wifey uses it sometimes in her bs recipes
  • Veho @ Veho:
    Cool.
  • SylverReZ @ SylverReZ:
    @BigOnYa, Seems like your wifey likes hers black. :creep:
    +1
  • Veho @ Veho:
    "BS" stands for "Bowel Scraping" because that's what whole grain does.
    +2
  • K3Nv2 @ K3Nv2:
    I've been eating honey wheat bread scrumptious
  • K3Nv2 @ K3Nv2:
    https://a.co/d/9xDkOHc lol living on the edge
    K3Nv2 @ K3Nv2: https://a.co/d/9xDkOHc lol living on the edge