FIX94 / Nintendont

A Wii Homebrew Project to play GC Games on Wii and vWii on Wii U
1.9k stars 323 forks source link

Aspect ratio problems with Star Fox Adventures. #1042

Open Lombardi128 opened 1 year ago

Lombardi128 commented 1 year ago

I'm on Wii U, so I have the "Wii U Widescreen" option on. SFA has a widescreen option in the game, so I have Nintendont's "Force Widescreen" option turned off. The problem is that when I keep the "Screen Width" option on "Auto", there are still small black bars on the left and right sides of the screen. Other games that do that can be fixed by adjusting the Screen Width to 680 to fill out the screen. However, when I try to do that on SFA the whole image scoots to the left side, leaving a double width black bar on the right. Is there any way to play SFA through Nintendont so that it fills the entire screen?

Screen Width set to Auto Screen Width set to 680

carnage702 commented 1 year ago

the first image is basically how all gc games work on nintendont due to over-scan or lack of it you can most of the time adjust your tv to cover those squares, the screen width is a general hack and works on some games crashes others and in some doesnt do anything, its a hack its never gonna work on every game, you would need specific gamehacks to fix every game.

brandbox10 commented 1 year ago

Like @carnage702 said, it's a normal thing with gc and wii games as well, I tried at the beginning to make screen width to 720 too, but I was always getting crashes as well, so I would recommend just leaving it on auto and to use the your widescreen codes only

Lombardi128 commented 1 year ago

This can be fixed in other games by setting the Screen Width to 680 to stretch it out a little more to fill the screen. Why doesn't this work on Star Fox Adventures? What's different about it? It shouldn't be a problem with the game itself. I'm talking about using the Screen Width option on Nintendont to change the output image, not the actual image the game is generating.

Fiddling with settings on my TV doesn't help. I'm on Wii U, and the Wii U has massive black bars around it by default. The "screen fit" option on my TV, which normally fixes issues with other consoles, is completely useless with the Wii U because of this. I'm starting to think the problem is with how the Wii U outputs it's video signal more than anything. If I were using a Wii and connected it to my TV with component cables, then inserted the game disc and set the TV aspect to "screen fit", it would work just fine. On Wii U it doesn't because of the black bars.

carnage702 commented 1 year ago

This can be fixed in other games by setting the Screen Width to 680 to stretch it out a little more to fill the screen. Why doesn't this work on Star Fox Adventures? What's different about it? It shouldn't be a problem with the game itself. I'm talking about using the Screen Width option on Nintendont to change the output image, not the actual image the game is generating.

Fiddling with settings on my TV doesn't help. I'm on Wii U, and the Wii U has massive black bars around it by default. The "screen fit" option on my TV, which normally fixes issues with other consoles, is completely useless with the Wii U because of this. I'm starting to think the problem is with how the Wii U outputs it's video signal more than anything. If I were using a Wii and connected it to my TV with component cables, then inserted the game disc and set the TV aspect to "screen fit", it would work just fine. On Wii U it doesn't because of the black bars.

There is nothing special about Star fox as adventures, it's basically 60-40 working or not, even same game different regions might fail ssbm ntsu width hack works and ssbm pal it doesn't and so on, it's a hack nintendont patches some functions addresses but some games don't use those addresses it's simple, you would need a per game hack to work with every game.

Lombardi128 commented 1 year ago

There is nothing special about Star fox as adventures, it's basically 60-40 working or not, even same game different regions might fail ssbm ntsu width hack works and ssbm pal it doesn't and so on, it's a hack nintendont patches some functions addresses but some games don't use those addresses it's simple, you would need a per game hack to work with every game.

There seems to be some kind of misunderstanding somewhere. I can understand how you describe above is true with patching games to be widescreen. That obviously needs to change how the game generates the graphics. Basically it makes the graphics thinner so that it looks normal when stretched wider.

However, I'm talking about having the image fill the entire screen, regardless if the game is running regular fullscreen or patched widescreen. I want those black bars gone. As far as I can tell, this shouldn't be an issue with the game itself, but instead on how the image is outputted to the TV.

Nintendont runs in fullscreen on Wii U by default. I don't see black bars inside the 4:3 image square where there shouldn't be, I just see the normal black areas outside. Only when you turn on the "Wii U Widescreen" option do these strange out of place black bars appear. Why doesn't it stretch it out all the way like it should?

Nintendont Widescreen Problems

carnage702 commented 1 year ago

There is nothing special about Star fox as adventures, it's basically 60-40 working or not, even same game different regions might fail ssbm ntsu width hack works and ssbm pal it doesn't and so on, it's a hack nintendont patches some functions addresses but some games don't use those addresses it's simple, you would need a per game hack to work with every game.

There seems to be some kind of misunderstanding somewhere. I can understand how you describe above is true with patching games to be widescreen. That obviously needs to change how the game generates the graphics. Basically it makes the graphics thinner so that it looks normal when stretched wider.

However, I'm talking about having the image fill the entire screen, regardless if the game is running regular fullscreen or patched widescreen. I want those black bars gone. As far as I can tell, this shouldn't be an issue with the game itself, but instead on how the image is outputted to the TV.

Nintendont runs in fullscreen on Wii U by default. I don't see black bars inside the 4:3 image square where there shouldn't be, I just see the normal black areas outside. Only when you turn on the "Wii U Widescreen" option do these strange out of place black bars appear. Why doesn't it stretch it out all the way like it should?

Nintendont Widescreen Problems

you are the one misunderstanding this... the way fix94 coded the width is he hacks the game and changes the horizontal length, he does this by hacking functions and addresses. so he tells the game to make the length 720 for example when rendering the image and the game does that, if the area of patching is correct.

Nintendont is not an emulator, all gfx code is send directly from the wii gpu inside the wiiu or wii to the screen, we dont emulate it therefore we cant really do whatever we want like emulators do. same way on a wii or wiiu game you cant just make a general hack to patch every game to run in whatever mode you want if the game doesn't support that mode while in emulators its very easy to do that each game does whatever they want, and some devs did very different codding than using the regular functions and methods.

the way fix94 did the width value works like that, if you find a way to make every game do whatever you want you are free to code it yourself and submit a pull request.Fix basically makes the game due raw length values that the games produce, of course the games were used to be connected through av cables or component cables and older tvs did overscan and "took" those length values be outside of the screen using hdmi nothing is hidden that is why you see that.

Lombardi128 commented 1 year ago

the way fix94 did the width value works like that, if you find a way to make every game do whatever you want you are free to code it yourself and submit a pull request.Fix basically makes the game due raw length values that the games produce, of course the games were used to be connected through av cables or component cables and older tvs did overscan and "took" those length values be outside of the screen using hdmi nothing is hidden that is why you see that.

If Nintendont can take the overscan out while playing in fullscreen, then why can't it take the overscan out while playing in widescreen? You seriously can't just tell the Wii/Wii U to stretch the image further?

carnage702 commented 1 year ago

the way fix94 did the width value works like that, if you find a way to make every game do whatever you want you are free to code it yourself and submit a pull request.Fix basically makes the game due raw length values that the games produce, of course the games were used to be connected through av cables or component cables and older tvs did overscan and "took" those length values be outside of the screen using hdmi nothing is hidden that is why you see that.

If Nintendont can take the overscan out while playing in fullscreen, then why can't it take the overscan out while playing in widescreen? You seriously can't just tell the Wii/Wii U to stretch the image further?

like i said fix94 couldnt do it that is why the width hack was created, if you can then code it and submit a pull request.

carnage702 commented 1 year ago

the way fix94 did the width value works like that, if you find a way to make every game do whatever you want you are free to code it yourself and submit a pull request.Fix basically makes the game due raw length values that the games produce, of course the games were used to be connected through av cables or component cables and older tvs did overscan and "took" those length values be outside of the screen using hdmi nothing is hidden that is why you see that.

If Nintendont can take the overscan out while playing in fullscreen, then why can't it take the overscan out while playing in widescreen? You seriously can't just tell the Wii/Wii U to stretch the image further?

also nintendont doesnt take overscan out... the tvs older ones are the ones that did over-scan not the consoles, so the games were designed with that in mind...

carnage702 commented 1 year ago

incase you want to know more here it is https://en.wikipedia.org/wiki/Overscan#Datacasting

basically all old tvs did it, so the devs said why would we even code the areas where over scan is happening? so they decided to not draw on those areas so the games get a bit better performance since its wasted drawing, some free memory and cpu power and so on, now newer tvs dont do overscan because technology changed.

Lombardi128 commented 1 year ago

also nintendont doesnt take overscan out... the tvs older ones are the ones that did over-scan not the consoles, so the games were designed with that in mind...

Consider the image I already sent above.

When playing with the "Wii U Widescreen" option off, the 4:3 image is displayed properly without overscan like the top left image. My question is why can't the overscan be removed when the "Wii U Widescreen" option is on? It should look like in the top right image, but instead leaves black bars on the sides like the bottom right image.

If Nintendont doesn't take out the overscan like you say it doesn't, then shouldn't the 4:3 image also be a little squashed like in the bottom left image? It isn't from my experience. It appears from my screenshots to be true 4:3. So if it can do full 4:3. then why can't it do full 16:9? Or at the very least just have the image fill the screen?

carnage702 commented 1 year ago

also nintendont doesnt take overscan out... the tvs older ones are the ones that did over-scan not the consoles, so the games were designed with that in mind...

Consider the image I already sent above.

When playing with the "Wii U Widescreen" option off, the 4:3 image is displayed properly without overscan like the top left image. My question is why can't the overscan be removed when the "Wii U Widescreen" option is on? It should look like in the top right image, but instead leaves black bars on the sides like the bottom right image.

If Nintendont doesn't take out the overscan like you say it doesn't, then shouldn't the 4:3 image also be a little squashed like in the bottom left image? It isn't from my experience. It appears from my screenshots to be true 4:3. So if it can do full 4:3. then why can't it do full 16:9? Or at the very least just have the image fill the screen?

again it looks perfect 4:3 but it isnt, its missing a tiny area on the sides, on 4:3 you dont notice that much because the area missing is much smaller.