Isn’t possible to upscale to 768x224 using Wii GPU texture hardware (GX) and downscale to 640 with the video encoder?
The video encoder always upscale horizontally the framebuffer rendered by the Wii GPU up to the max. resolution. So, maybe it could also downscale it automatically?
Edit: I’ve read the framebuffer can only handle a max width of 640 pixels. But there are PC Engine games, like Forgotten Worlds, that use 336x224 (meaning 672 when multiplied by 2) running perfectly on Wii Mednafen.
Actually, isn’t the game picture just a texture? Aren’t we talking about different things? (Texture resolution VS screen resolution). As a texture, I guess it’s possible to render the game screen into a textured and pre-transformed quad so you can position it and scale it in any way you want.
So, rendering 768x224 to support CPS1 and CPS2 games would be possible.
Anyway, I will happily accept your decision to only change the resolutions manually.
BTW, to add or remove resolutions do you only need to change the rgui.c file like it was done in the commit above?
For some reason there is a problem with PC Engine games: the vertical resolution needs to be slightly adjusted because as it is right now there are scaling artifacts when the screen is scrolling (vertically). It’s possible to fix the problem adjusting the overscan value, but since the overscan resize the picture horizontally and vertically (you cant adjust only the width or only the height), fixing the vertical resolution will also break the horizontal res.
I guess the optimum resolution for PC Engine could be 512x233 (and not 512x239) - but I would like to confirm and if it’s that simple to add new resolutions I could try to learn and find out by myself.
Face it - the kind of ‘pixel perfect graphics’ you have pretended you can get out of the Wii all depends on a big hack that isn’t even remotely scaleable. Perhaps if those Xbox 1 guys succeed at getting 240p out of the Xbox 1’s video encoders you could finally have sensible and decent 240p video on a videogame console without the crappy GX scaling or the arbitrary limits enforced on framebuffer size and VI width/height.
When properly adjusted, it looks pixel perfect, I guarantee you. I already compared the picture from a SNES game between a PC using an “ArcadeVGA” (special card that can output true low resolutions modes - like 256x224) and the Wii (using 512x224) - both using component cable connected to a video switch hooked to the same TV (Sony Wega CRT) - allowing me to rapidly alternate between the Wii and the PC video signal for a better comparison, and it looked absolutely the same (and I am overly critical about the subject).
There is actually a huge arcade scene focused on replicating the original experience, and with the release of Retroarch (and Final Burn Alpha), I think a lot of people will be interested, since using the Wii is much more cheap, simple and user friendly.