Changes

Jump to navigation Jump to search
How to get "Pixel-Perfect" Rendering in VBAGX
Line 278: Line 278:     
It would be nice to have a configuation option in the menu to force different save sizes for when the emulator doesn't do it right. --[[User:Mr. Reaper|Mr. Reaper]] 18:52, 13 November 2010 (CET)
 
It would be nice to have a configuation option in the menu to force different save sizes for when the emulator doesn't do it right. --[[User:Mr. Reaper|Mr. Reaper]] 18:52, 13 November 2010 (CET)
 +
 +
== How to get "Pixel-Perfect" Rendering in VBAGX ==
 +
 +
Current version I'm using is 2.2.2.
 +
 +
Tantric has fixed FCEUGX and SNES9xGX so that they render perfectly (yay), but VBAGX still suffers from this issue (when using "Unfiltered" graphics). Specifically, what happenes is that the graphics are stretched or scaled wierd, so that some rows of pizels are too fat, or some rows are too thin, causing distortions. It was hard for me to work out the specific settings in VBSGX, because it took me a while to find some games that had a good pattern of pixels to use to judge how accurately things were being rendered... and also, regular GB games use different settings than GBA games.
 +
 +
The games I used are:
 +
 +
For regular GB: Dragon Warrior Monsters. The pattern on the rug and lines in the floor of the first screen work pretty well to useto judge that everything is being rendered correctly, but if you play a little bit into the game, after you talk to the king, you go to a monster pen in a grassy field. Then walk to the top left, and the sky has a checkerboard pixel pattern that allows you to easily see if all the pixels are the same size or if they are distorted. Make a save state there if you want to be able to quickly return here to check the scaling.
 +
 +
For GBA games: Pokemone Mystery Dungeon - Red REscue Team. After you start the game and go through all the dialog, you will enter the first dungeon. then go into the menu, to "Others," "Game Options," "Dungeon," then change "Map" to "Shade." When you return to the game there will be a nice pixel checkerboard pattern shading the minimap, which makes it easy to judge if all the pixels are the same size or are distorted.... Again (after walking around a bit so you get a good size minimap) make a save state for quick returning to this screen if you want to quickly check the rendering int he future.
 +
 +
 +
So anyway, you should be able to tell right away that these checkerboard patterns of pixels are distorted.... Unkess you're using Filtered Rendering, which makes everything kind of blurry.... If you like it that way, you really don't need to mess with any more settings :P
 +
 +
But if you're picky like me, first go into the Video Settings for the emulator and make sure Rednering to Unfiltered.... and now you'll be able to see the distortion....
 +
 +
Quickly, the settings that will get rid of the distortions are:
 +
 +
in GBA games, any of the following:
 +
 +
Maintain Aspect Ratio, Vertical Scaling 70%, Horizontal Scaling 89%.
 +
Partial Stretch, Vertical Scaling 70%, Horizontal Scaling 75%.
 +
Stretch To Fit -- same scaling as Partial Stretch.
 +
 +
All of these options will appear identical on the screen... at least they do on my 16:9 LCD (i.e., the end result takes up the same portion on the screen). And as far as I can tell, both Stretch options are identical for GBA games. Of course, you now have thick borders all around the screen... but the graphics are rendered perfectly with no distortions.
 +
 +
 +
in regular GB games, either of these:
 +
 +
Maintain Aspect Ratio, Vertical Scaling 95%, Horizontal Scaling 80%.
 +
Stretch to Fit, Vertical Scaling 95%, Horizontal Scaling 75%.
 +
With Partial Stretch the Vertical Zoom is the same 95%, but there is no perfect setting for Horizontal Zoom.... 92% or 93% is very close, but if you look closely there will still be a couple columns of distorted pixels.
 +
 +
So the best choices are Maintain Aspect Ratio (which produces a thin game screen) or Stretch to Fit (which produces a fat game screen). I prefer the thin screen (on a widescreen TV anyway), as the fat screen makes things look TOO fat.
 +
 +
Since the GBA end result is going to look the same no matter which "Scaling" setting you use, you just have to decide if you want the thin "Maintain Aspect Ratio" setting or the fat "Stretch to Fit" setting in your regular GB games, then (since the Scaling setting is shared by both GB and GBA games) just go in and set the appropriate Zoom levels for the GB and GBA games separately according to the list above... and the emulator will remember the Zoom settings for each type of game and use them when you load either a GBA or GB game.
 +
 +
--[[User:Mr. Reaper|Mr. Reaper]] 18:29, 14 November 2010 (CET)
426

edits

Navigation menu