r/EmulationOnAndroid • u/tomkatt Samsung Tab S7 FE Wifi/778G • Feb 20 '15
Updated, compiled build of My Boy! GBA emulator shaders. (APK link inside)
Original source is here if anyone wants to play with it (not my source, belongs to the developer, I just checked it out and made a local copy).
This is the My Boy! / My Oldboy! emulation add-on shader pack. The Play Store version is outdated and missing the Quilez and 2x/4xbr shader files (these were added in a svn commit only 24-48 hours after the release, ironically).
I really like the Quilez shader, and wanted a Scale2x equivalent in My Boy! (like the ones in DraStic DS), so I contacted the dev, got a link to the source, and compiled my own build with the updates that were in the source, but didn't make it to the Play Store version.
Updated shaders - download link
If you already have the Play Store version of the My Boy! emulation shaders, uninstall it, then launch the APK from the download link above from your file manager to install. It's a privately signed APK with a 50 year key license, so there should be no issues for anyone to install on any Android version (Android 4.0+ release builds are required to be signed now, only debug builds can be unsigned).
Edit - I'm planning to try adding additional shaders to this build as well, such as the ones on this page. I've added the phosphorish shader to the source as a test, but haven't had time to compile and test it yet. I kind of just did it a few minutes ago on a whim. :P
If it works, I'll add others and post the source to github or send it back to the fastemulator dev for them to add to their own source, as well as making an update post here with the new APK. Not sure how soon I'll have time for this though, maybe in the next week or two (or next few days if I get antsy, who knows).
If anyone knows a good source for GLSL .shader files, let me know (this only works with .shader as far as I can tell, not with .fs or other shader file types).
Edit 2 - should be obvious by now I never got around to adding more shaders. I gave it a shot, but I don't understand GLSL and GLES enough to figure out what needs to be done to convert existing shaders to be compatible here. I gave it a go, but none of the ones I added worked.
3
u/Bobert13 Aug 11 '15
So, After trying this out, I can see why the developer never uploaded the most recent version in his repository. Plain and simple, he never finished porting xBR or Quilez. The unfinished versions are not representative of the real versions available for RetroArch and are barely scratching at HQ2x as far the quality of the interpolated upscaling goes.
I'm not entirely sure why the dev even bothered with Quilez's bicubic algorithm as I believe it's primarily used as a final pass to smooth curves and sharpen edges after an upscaling algorithm has already been ran (which MyBoy and MyOldBoy are currently incapable of multiple passes).
Over the past week or so, I've been working on a 2xBR level 2 equivalent that's optimized for mobile GPUs (less sampling, forced half precision, less swizzling, less boolean logic, etc.). Hyllian doesn't even bother with a 2x level 2 shader over on RetroArch but I decided to go for as light of a shader as possible so that nearly any device might be able to utilize it. Due to this choice, I feel like a "dilation" style effect (where I bolden interpolated lines through gamma tinkering) provides the best results. I've yet to get any form of on-device benchmarking working so performance could be iffy on many devices. Subjectively, I haven't noticed any performance impact at all in use on my Droid Turbo with my latest version.
Without further adieu, here's a recompiled version of EmulationShaders.apk with my working prototype I've coined 2xBRm (2x Scales by Rules mobile).
Working Prototype - download link
2
u/lion2 May 15 '15
Are you planning on adding the gameboy shaders shown on this link
http://filthypants.blogspot.com/2013/04/customizing-harlequins-gameboy-cg-pixel.html
1
u/[deleted] Feb 20 '15
Didn't know My Boy had shaders that could be used with it. This is news to me. Is this like the free version with shaders, or the paid, or how does that work?
I've been wanting to switch over to My Boy from John's emulators because the ads are a nuisance (didn't used to have those ) and because it can do link cable emulation.
1
u/MakinItFancy Feb 20 '15
I'm on mobile and can't see the apk for My Boy. I have the play store version. Also would this delete my saved games?
1
u/Broduskii Mar 02 '15
Thank you so much! Any chance we could get some of those CRT curved monitor shaders?
2
u/[deleted] Feb 20 '15
Awesome!! Thanks!!