- December 11, 2016 at 8:32 PM #10274
The SNES has an internal resolution of 256×224, which is an 8:7 ratio for square pixels. When the games are displayed, this is stretched to 4:3, so the pixels aren’t square and have a pixel aspect of 7:6.
Some games are made with this in mind, and compensate for the stretch – The Triforce at the start of ALttP is a good example, it’s correctly proportioned when stretched to 4:3.
However, there are plenty of other games that don’t have this correction. Two of the easiest examples are Super Mario World, and Yoshi’s Island.
As you can see in those images, the developers didn’t accommodate for the stretch from 8:7 to 4:3, and it means that circles and squares are squashed. It also means that the raw output from the OSSC doesn’t have crisp pixels for the SNES. Interestingly, while I cited the Triforce at the start of ALttP as an example of something compensating for 4:3, the game its self is actually stretched like SMW and YI. The item box at the top is the clearest example since it’s a 7:6 box.
Now I’ll be clear – I’m not saying one is incorrect and the other is correct, I know there are plenty of arguments either way. Having said that, it would be nice to have an option to scale the output from 4:3 to 8:7, so the square pixels of the SNES are preserved. Being able to change this on a game by game basis would be fantastic, since as I mentioned, some games correctly compensate.
It would also be a useful feature to have for recording. Being able to record square pixels and then scale in post depending on the game would be another useful aspect (lol) of it.
I can’t imagine this would be to difficult to implement, surely it would be as simple as anamorphic 16:9 in reverse? Simply add an extra option there for 16:9, 4:3, and 8:7.
This is definitely the one thing that I would use frequently that the OSSC doesn’t seem to be able to support at present, so it would be a really useful addition in my opinion.
Thanks!December 11, 2016 at 10:14 PM #10275
The “256×240 optim” linetriple mode is what you are asking for; you just need to squish the 1280×720 output to 4:3.December 11, 2016 at 10:35 PM #10276
Oh neat, that’s awesome!
That definitely looks like it does exactly what I was looking for.
Is there any reason why this is only valid for Linetriple mode, and not for Linedouble?
Thanks! 😀December 11, 2016 at 11:28 PM #10277paulb_nlParticipant
For the optimized linetriple modes custom horizontal scale has already been added to the wiki Other feature request list.
However you can already get 1:1 pixel aspect:
linetriple generic 4:3 with h.samplerate 1110, h.synclen 30, H.active 1000, H.backporch 94.
linetriple 320×240 optimized mode with h.samplerate 341, h.synclen 15, H.active 320, H.backporch 17.
For linedouble you can set h.samplerate to 682 and h.active to 512 so you get 512×480. It depends on your display how that will be scaled. For example my monitor scales everything to 16:9.December 11, 2016 at 11:47 PM #10278
Fantastic, thanks for the info! I really appreciate it.
After quickly reading through everything I was under the impression that it wasn’t possible at all.
Thanks!December 12, 2016 at 12:00 AM #10279
Linetriple mode outputs 1280×720 pixels; “256×240 optim” mode scales/maps the SNES’ 256×224 pixels to 1024×672 (4x256x3x224) of them.
If you squish these 1024×672 pixels from 16:9 to 4:3, you end up with 768×672 pixels (3x256x3x224), and that’s the 8:7 aspect ratio you asked for.
This simply comes together neatly; you can’t do something like that with the linedouble mode’s 720×480 pixels.December 12, 2016 at 2:23 AM #10282
That’s surprisingly convenient, lol.
This simply comes together neatly; you can’t do something like that with the linedouble mode’s 720×480 pixels.
Would it not be possible for it to output 512×448 inside the 720×480? I’m assuming not, but I don’t know enough about how it achieves everything to understand why. That wouldn’t require rescaling afterwards either.December 12, 2016 at 11:11 AM #10287
I think it would be possible, but the problem is: 720×480 doesn’t have square pixels, so you will never end up with an 8:7 aspect ratio as long as your display scales that res to either 4:3 or 16:9.December 14, 2016 at 4:16 AM #10331
Huh? I’m not really following.
If I set my monitor to 1:1 or aspect, then it displays 720×480 exactly as is in the right ratio. Why does it need to be rescaled?December 16, 2016 at 10:59 AM #10369BuckoA51Keymaster
I find it hard to believe that developers didn’t know about this, I don’t think Nintendo used special weird monitors when testing SNES games. Trying to correct this just makes it look like an emulator.. but each to their own.December 16, 2016 at 4:21 PM #10374
“If I set my monitor to 1:1 or aspect, then it displays 720×480 exactly as is in the right ratio.”
Ah, nice for you, many monitors don’t have this option, not to mention TVs. There it’s either 4:3 or 16:9; neither one of those options would be work out like that.
(Addendum: Actually, my monitor behaves like that too – there it’s either 16:9 or “Aspect”; 4:3 isn’t possible. That’s why I just ordered a new monitor xD)
“I find it hard to believe that developers didn’t know about this, I don’t think Nintendo used special weird monitors when testing SNES games.”
Maybe they knew, but they didn’t care. Like with all the PS1 and PS2 games that look slightly squished cause they behave as if they were displayed on a 640×480 4:3 display.February 11, 2017 at 12:23 PM #11140marqsParticipant
This has been now implemented and will be part of next fw release.February 13, 2017 at 12:00 PM #11200
Fantastic, that’s great to hear!
Thanks! 😀July 29, 2017 at 8:07 AM #14140FBXParticipant
Just wanted to set the record straight about aspect correction on the SNES for the OP: The examples you posted are as you know, games where the artists either could not or forgot to account for aspect correction. So those perfect circles were never perfect back when they were displayed on the current technology of the times. This is mostly due to memory constraints. Tiles were square because memory is stored that way (i.e. 8×8, 16×16).
However, there are several games where the artists did take into account aspect correction. Take the Magus Tower in Chrono Trigger for example. The intro scene that pans down the top of the tower with the moon in the background very CLEARLY was designed for aspect correction. So if you play this game at 1:1 square pixels, you’re just playing it wrong.
Now here comes the important part: People generally get wrong how to aspect correct the SNES. They think you take the 256×224 active area and stretch that to a 4:3 image. That’s not how it works. Instead, a formula is devised based on the pixel clock rate. In the case of the NES, SNES, and Genesis’s 256×224 mode, the formula is 256 * 8/7, which equals about 293×224 for proper aspect correction. When scaling, the most accurate approach is to scale first and then apply the formula. So 2x scale would be (256 * 2) * (8/7) = 585×448 and 3x scale would be (256 * 3) * (8/7) = 878×672 and so on. Of course it’s better to use multiples of 2 when it comes to digital displays, so for 1x scale: 292×224, and 2x scale: 584×448.
But yeah, just wanted to set the record straight that while you may prefer the perfect circles in the handful of games that didn’t account for AR, it’s still technically wrong, and is merely a novelty to see square pixels in this regard.July 29, 2017 at 5:12 PM #14144
I’m well aware of it not being applicable for every game, Heck even in the OP I mentioned that the Triforce at the start of ALttP is corrected while the rest of the game isn’t. I’m also well aware of it being technically wrong, and obviously not what you would see on a CRT back in the day.
My main rationale for requesting this was for the option. Of course having the square pixels isn’t the true output, but for pixel art especially it’s nice to A- be able to capture an extremely crisp hard edged image, and B- set those games that didn’t have the correction in mind to get those perfect circles.
It’s not about being right or wrong, it’s about being able to choose which is preferable for you. I mean you could argue for Yoshi’s island that square pixel correction is actually what they intended since the GBA version preserves circles in the same manner, but that’s besides the point.
Options are good! If it’s something you don’t like then there’s no need to ever use it, and that’s great too.
- You must be logged in to reply to this topic.