Need help identifying scaling code in mgba and Open agb firm

  • Thread starter Thread starter LexDG
  • Start date Start date
  • Views Views 423
  • Replies Replies 5

LexDG

Well-Known Member
Member
Joined
Mar 2, 2023
Messages
208
Reaction score
171
Trophies
1
Age
43
XP
1,197
Country
United States
I’d like to tinker with open agb firm to get it to look as crisp as mgba with the “ultrasharp” bilinear filter.

Can someone help point me to the relevant code?
 
Well, the source code is on github. https://github.com/profi200/open_agb_firm Try looking at the list of issues to see if any clues were mentioned perhaps. May not be easy, otherwise it would have been done already? :ninja:

I don't know anything about coding but maybe looking for scaling data? Though, the pixel perfect option included with it would produce the best crisp result. (But I guess the small window inside the bigger 3DS screen isn't always the best look to some people.)
 
  • Like
Reactions: Kwyjor
Well, the source code is on github. https://github.com/profi200/open_agb_firm Try looking at the list of issues to see if any clues were mentioned perhaps. May not be easy, otherwise it would have been done already? :ninja:

I don't know anything about coding but maybe looking for scaling data? Though, the pixel perfect option included with it would produce the best crisp result. (But I guess the small window inside the bigger 3DS screen isn't always the best look to some people.)
Yeah I’ve scrolled through both sources and issues of both apps and found shaders but nothing in a cursory scan uncovered the bilinear scaling.

And yes, the pixel perfect mode on the XL is a BIT small for me I’d rather play on my dslite at that point. But honestly the bilinear scaling on mGBA impressed me and I’m the dude who is so picky about bow certain things look I learned to mod games just because the Chrono Trigger DS font was too small on my dslite and too ugly on my New3dsxl 😂
 
  • Haha
Reactions: Sonic Angel Knight
But honestly the bilinear scaling on mGBA impressed me and I’m the dude who is so picky about bow certain things look I learned to mod games just because the Chrono Trigger DS font was too small on my dslite and too ugly on my New3dsxl
Great port of a game ruined by small bad font. Reminds me when I played xenoblade chronicles x on my wii u. I never finished it because trying to read it was headache inducing, even on the big screen tv. Forget trying it on the gamepad, it was looking like those overly complicated MMO User interfaces. :P

Still, it's probably more about the restrictions itself. I'm no genius but I think it's maybe just as restrictive as the official gba virtual console functions. (Probably why nintendo didn't release many games for it) Those games also had full size bilinear or pixel perfect when holding start or select on boot.

Knowing nintendo and their "questionable" legacy on video quality. Just like how the gameboy player boot disc is configured to use bilinear on 480i instead of switching to 240p mode like... "The only two games that uses it on that console." NES legend of zelda from the collection & snes mega man x collection. Open_agb_firm while probably preferred over the virtual console injections, may not actually be able to do much stuck inside of just firmware patches compared to a full software emulator like mgba. (Just speculation) :ninja:
 
Open_agb_firm while probably preferred over the virtual console injections, may not actually be able to do much stuck inside of just firmware patches compared to a full software emulator like mgba. (Just speculation) :ninja:
they have two filter options. The matrix one is fine enough but still leaves a lot of room for improvement. Their bilinear is a blurry mess.

This is a VERY imperfect comparison of dslite, mgba and Open agb firm. The aliasing from middle makes it look weird but either way you can see it’s MUCH sharper than the OAF next to it and VERY close to what the 1:1 looks like
1759175755756.jpeg
 
  • Like
Reactions: Nephiel
they have two filter options. The matrix one is fine enough but still leaves a lot of room for improvement.
That may be the case, but I believe the point is that open_agb_firm is limited to "official gba virtual console functions ... compared to a full software emulator like mgba".
 
  • Like
Reactions: Nephiel

Site & Scene News

Popular threads in this forum