Project

General

Profile

Actions

Emulator Issues #11237

closed

Widescreen hack doesn't work at all in N64 Virtual Console titles

Added by danileon95 almost 6 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
5.0-3305
Fixed in:
5.0-9022

Description

Game Name?

Virtual Console versions of The Legend of Zelda: Majora's Mask, Super Mario 64, Ocarina Of Time, probably more.

Game ID? (right click the game in the game list, properties, info tab)

NARE01, NACE01, NAAE01

What's the problem? Describe what went wrong.

Widescreen hack doesn't work at all. The image doesn't change a single bit. It just doesn't do anything.

What steps will reproduce the problem?

Enable the widescreen hack while a N64 game is running.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes, 5.0-8155

Is the issue present in the latest stable version?

No. In the stable version it does work. 5.0

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

I don't know.

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

Wireless hack disabled: http://u.cubeupload.com/reonu/WVJ6P0.png
Wireless hack enabled: http://u.cubeupload.com/reonu/l0Nqak.png

What are your PC specifications? (CPU, GPU, Operating System, more)

i7 6700k 4.2 GHz
GTX 1070
16 GB DDR4 RAM
A beautiful case

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Nope. Well, in case this information is useful: The widescreen does work with the N64 games in The Legend of Zelda: Collector's Edition (Ocarina of Time and Majora's Mask)

Actions #1

Updated by MayImilae almost 6 years ago

Use the bisect tool to bisect to find the exact build when the behavior changed. https://forums.dolphin-emu.org/Thread-green-notice-development-thread-dolphin-bisection-tool-for-finding-broken-builds

Actions #2

Updated by danileon95 almost 6 years ago

MayImilae wrote:

Use the bisect tool to bisect to find the exact build when the behavior changed. https://forums.dolphin-emu.org/Thread-green-notice-development-thread-dolphin-bisection-tool-for-finding-broken-builds

Using the bisect tool, I've managed to find the build that broke it. It's 5.0-2830. I also checked it by myself after the bisect told me the result: Widescreen hack works in N64 games in 5.0-2826 and it's broken in 5.0-2830 which is the very next build. So there you have it!

Sorry for not doing this before, I assumed it would be more complicated.

Actions #3

Updated by danileon95 almost 6 years ago

I've also noticed when selecting the "Auto" aspect ratio option in the graphic settings, Dolphin 5.0-2826 and older versions will properly detect that the game is 4:3 and render in 4:3, while 5.0-2830 will stretch it to 16:9 when it's set to Auto. Setting the aspect ratio to "Force 16:9" makes no difference: the widescreen hack will still do nothing from 2830 onwards.

Actions #4

Updated by JosJuice almost 6 years ago

5.0-2830 broke some stuff related to game INIs for downloadable Wii games, which was fixed again in 5.0-3008. The reason that is relevant to this issue is because the game INIs for VC games contain a line saying that they don't have 16:9 support (which Dolphin otherwise assumes that Wii games have).

Could you re-test your issue in both 5.0-2830 and the latest version with the Wii aspect ratio setting set to 4:3? (To clarify, I want you to edit the setting that's in the Wii tab of the general config, not the one that's in the graphics configuration window.)

Actions #5

Updated by danileon95 almost 6 years ago

JosJuice wrote:

5.0-2830 broke some stuff related to game INIs for downloadable Wii games, which was fixed again in 5.0-3008. The reason that is relevant to this issue is because the game INIs for VC games contain a line saying that they don't have 16:9 support (which Dolphin otherwise assumes that Wii games have).

Could you re-test your issue in both 5.0-2830 and the latest version with the Wii aspect ratio setting set to 4:3? (To clarify, I want you to edit the setting that's in the Wii tab of the general config, not the one that's in the graphics configuration window.)

Yup. If I set the Wii aspect ratio setting in the general config to 4:3, the widescreen hack works again in both 2830 and the latest development version. But according to what you say, this shouldn't happen, as Dolphin should know that the game is 4:3, so it should ignore the 16:9 Wii setting, no?

Actions #6

Updated by JosJuice almost 6 years ago

Yes, it should work like you say in the latest development build (but not in 5.0-2830). Could you test 5.0-3008 too? If that version doesn't have the problem, you should do a bisect between 5.0-3008 and the latest version.

Actions #7

Updated by danileon95 almost 6 years ago

JosJuice wrote:

Yes, it should work like you say in the latest development build (but not in 5.0-2830). Could you test 5.0-3008 too? If that version doesn't have the problem, you should do a bisect between 5.0-3008 and the latest version.

5.0-3008 does not have the problem. I did a bisect as you said and the result is that 5.0-3305 broke it. And the changelog looks suspicious!

Merge pull request #5008 from ligfx/aspectheuristic
VideoCommon: rework anamorphic widescreen heuristic

It has the same broken behaviour as the latest development build:

  • Wii aspect ratio set to 16:9 = The game is detected and rendered as a 16:9 title, widescreen hack doesn't work, neither in Auto aspect ratio or force 16:9 aspect ratio (in the graphic settings)
  • Wii aspect ratio set to 4:3 = The game is detected and rendered as a 4:3 title, widescreen hack does work if you select Force 16:9 in the graphic settings.
Actions #8

Updated by JosJuice almost 6 years ago

  • Milestone set to Current
  • Regression changed from No to Yes
  • Regression start set to 5.0-3305

Now that is a bisect that makes more sense. Thanks for the help with this.

Actions #9

Updated by JosJuice over 5 years ago

  • Status changed from New to Fix pending
Actions #10

Updated by JosJuice over 5 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-9022
Actions

Also available in: Atom PDF