1. Razor83

    OP Razor83 GBAtemp Fan
    Member

    Joined:
    Dec 23, 2009
    Messages:
    368
    Country:
    Hi all,
    It doesnt appear to be very well known, but all fifth gen consoles plus the Wii use whats called a "flicker filter" (Sometimes also refered to as a "deflicker filter") to 'blur' the lines on 480i video signals. The filters original purpose was to prevent fine details from 'flickering' up and down by one line when displaying in interlaced mode (480i) on a CRT TV.

    To quote the GC/Wii SDK:-
    Flicker filters made sense at the time due to CRT TV's being the primary display type. However nowadays flat panel displays are the norm, and they have to deinterlace 480i signals - so now the flicker filter is in fact detrimental to the video quality as it just 'blurs' multiple lines together resulting in a softer blurred looking image.

    Now with a progessive signal (480p) the flicker filter should always be disabled, since there are no interlaced lines to flicker. However Nintendo did something odd - they instead created a new video mode that deliberately 'softens' the picture when in progressive scan mode.

    This post from the Beyond3D Forums explains it:-
    Both the GameCube and Wii feature this flicker/softening filter, and certain games even allow you to turn the filter on or off in the options (Melee, Brawl and Pikmin 2 to name a few of them) On the GameCube you can use Swiss to disable the flicker filter, however on the Wii I have found no such option :(

    Many backup loaders do give you the option to force the video mode, but they dont appear to give you the option to enable/disable the flicker/softness filter independantly. Is this something that could be added to backup loaders? Or is Wii homebrew 'dead' at this point?

    Apologies for the length of this post, and thanks in advance for any help.
     
    Last edited by Razor83, Jul 19, 2017
  2. SuperrSonic

    SuperrSonic GBAtemp Advanced Fan
    Member

    Joined:
    Dec 9, 2011
    Messages:
    742
    Country:
    Puerto Rico
    If you get progressive video forcing to work in USB Loader GX, it should use the same mode as ULGX, which doesn't have df.

    But since forcing compatibility is low, ULGX has the neat feature of loading a game's main.dol from the SD card. So if you have the game's dol, you can patch it as needed and test.

    I actually do this to get dual audio in Smash without having two copies of the same game.

    For df try opening the dol in a hex editor and look for either 08080A0C0A0808 or 04080c100c0804 and replace it with 00001516150000
     
  3. ibai22ne

    ibai22ne Newbie
    Newcomer

    Joined:
    Oct 20, 2019
    Messages:
    6
    Country:
    Spain
    I read this post some time ago and decided to try disabling the df filtering editing the main.dol and loading it alternatively with usb laoder gx like you said for the last story (pal). When editing the file with the hex editor i replaced both values with the one you suggested and the game launch perfectly but the df filter is still on. Im doing this displaying the game on interlaced resolution (this game only supports 480i adn 480p) it seem that this method dosent work in this case. Any more ideas? Would be great to play this on my crt with a crisp image...
     
    Last edited by ibai22ne, Oct 20, 2019
  4. SuperrSonic

    SuperrSonic GBAtemp Advanced Fan
    Member

    Joined:
    Dec 9, 2011
    Messages:
    742
    Country:
    Puerto Rico
    You have to find the one that corresponds to the video mode used by the game. It's unclear from what you wrote if you just replaced a few instances or all instances.
     
    ibai22ne likes this.
  5. ibai22ne

    ibai22ne Newbie
    Newcomer

    Joined:
    Oct 20, 2019
    Messages:
    6
    Country:
    Spain
    I replaced all instances of both values. I have tried that again just in case with a new extracted boot.dol.
    Also now i have replaced only one instance of one value at a time creating different versions of the main.dol. Tried it all of them with no results.
     
    Last edited by ibai22ne, Oct 29, 2019
  6. denn11699

    denn11699 Newbie
    Newcomer

    Joined:
    Jan 27, 2020
    Messages:
    3
    Country:
    Philippines
    Thank you for this extracted the wbfs of resident evil 4 and dead rising ntsc edited the main.dol using hex editor and changed the values mentioned above and it worked. The picture looks sharp than before it was blurry. USB Loader GX must add this feature to force turn off the deflicker the nintendont has one.
     
  7. Draxikor

    Draxikor GBAtemp Regular
    Member

    Joined:
    Apr 24, 2019
    Messages:
    200
    Country:
    Mexico
    Can you tell me how and which programs you use to extract the main dol from the WBFS?
     
    Last edited by Draxikor, Feb 13, 2020
  8. Datmonkey

    Datmonkey Member
    Newcomer

    Joined:
    Apr 14, 2017
    Messages:
    16
    Country:
    I am also interested in this, how to extract and edit the wbfs.

    Has there been any updates to wii loaders to turn off the filter directly before loading a game? Is there a difference to how gamecube games do this? Nintendont and Swiss has had this option for gc games for years.

    Lastly, is there a database of which Wii games use the filter?
     
  9. Draxikor

    Draxikor GBAtemp Regular
    Member

    Joined:
    Apr 24, 2019
    Messages:
    200
    Country:
    Mexico
    You need to use wii backup manager to revert the wbfs game to ISO, then you need to use wiiscrubber to extract the main.dol and then use a hex editor to change the hex lines to disable the filter, next you need to rename the main.dol to have the same ID from the game and put it on a folder in your USB or SD and on the loader choose the path and in the game options choose alternate loader in USD or USB save changes and done.
     
  10. Datmonkey

    Datmonkey Member
    Newcomer

    Joined:
    Apr 14, 2017
    Messages:
    16
    Country:
    Thanks, I got it working!

    I tried patching Resident Evil 4 Wii Edition and the difference was huge. I also tried Super Mario Galaxy, but it made no difference. I guess that Mario Galaxy doesn't use the filter in progressive mode?

    It would be awesome to start building a database of some sort. I will keep on patching games and post here if/when I have the time.
     
    ibai22ne, KiiWii and Draxikor like this.
  11. Draxikor

    Draxikor GBAtemp Regular
    Member

    Joined:
    Apr 24, 2019
    Messages:
    200
    Country:
    Mexico
    In which part of RE4 you spot the differences? I do the process but don't see the difference.
     
  12. Datmonkey

    Datmonkey Member
    Newcomer

    Joined:
    Apr 14, 2017
    Messages:
    16
    Country:
    Just by looking at the menu I see a big difference. I actually didn't check in-game, maybe I'll do that as well.
     
    Draxikor likes this.
  13. Datmonkey

    Datmonkey Member
    Newcomer

    Joined:
    Apr 14, 2017
    Messages:
    16
    Country:
    I have played a couple of hours of RE4 now, and am really enjoying the sharper picture (and great motion controls!). But the game uses lots of dithering, which doesn't look that good. I am guessing the (de)flicker filter hides it normally, but without it, the dithering is too much.

    Would it be possible to do a similar hex edit to remove the dithering? With Swiss it is possible to remove alpha dithering, so I was thinking this might also be possible?

    btw I created a separate thread on the dithering https://gbatemp.net/threads/disable-dithering-via-hex-editing.558951/
     
    ibai22ne likes this.
  14. QuintanaSonBlade

    Newcomer

    Joined:
    Jul 23, 2020
    Messages:
    1
    Country:
    Argentina
    This is amazing, I looked it up for years, finally I was able to edit the Hex parameters, thanks a lot SuperrSonic !.
    Solo me gustaría agregar que algunos juegos todavía tienen el filtro activado como en el caso de Fire Emblem.
    Now my question is this: is it possible to disable this filter in WiiWare games? I tried doing it with these steps ... Unpack the Cave Story wad with wadunpacker; I extracted the file 00000001.app and changed the extension to .dol and tried to change the Hex parameters but there were no results in the search ...
    Any suggestion? Will the values to disable the filter be other?
    Thank you all for this great contribution!
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - (De)Flicker, Possible, Disable