WiiU Virtual Console finally fixed! [No More dark filter, and widescreen support!]

Discussion in 'Wii U - Hacking & Backup Loaders' started by MelonSpeedruns, Sep 4, 2018.

  1. JacobM

    JacobM GBAtemp Regular

    Member
    3
    Jun 16, 2017
    United States
    [RELEASE] Super Smash Bros. 64 Widescreen Patch
    SSB64 widescreen patch file compatible with emulators and the WiiU!

    Credits to Danny_SsB for developing the individual stage gameshark codes & Cyjorg for porting a rom patch version to his Mod 19XXTE in 2015

    A fresh SSB.z64 rom was modified via hexeditor at the following offsets:
    Offset AA37C has 4 blocks replaced with 3FEF311A
    Offset 51C80 has 4 blocks replaced with 3FEF311A
    Offset 891B4 has 4 blocks replaced with 00000000
    CRC was updated using command "rn64crc SSB.z64 -u"

    To some extent, the widescreen width can be modified by replacing both instances of 3FEF with 3F60, 3F80, 3F94, 3FA0, 3FD9, 311A (narrowest to widest). A narrower viewport will allow left/right KO to remain in the bubbles/magnifier circles on the larger stages.


    An xDelta file was generated and can be used to modify your own original SSB.z64 for the widescreen patch.

    1. Download xdelta UI from the internet
    2. Download the SSB64WidescreenPatch.zip below
    3. Make a backup of your rom in .z64 format
    4. In xdeltaUI.exe apply the SSB64WidescreenPatch.xdelta file to your .z64 file to generate a modified .z64 file
    5. Replace/rename the modified .z64 file to match the name of your injected base located in content/rom folder

    I would recommend using the FZero base with the SSB config! I set scaling to 1.06 by 1.06 to maximize screen space. Enjoy!
     

    Attached Files:

    Last edited by JacobM, Dec 15, 2018
  2. RyzaJr

    RyzaJr Member

    Newcomer
    1
    May 23, 2016
    United States
    Hey, thanks. I applied your patch and used injectiine to make the loadiine files and the game still starts up in a 3:4 aspect ratio. In-game during a fight the characters are slightly stretched vertically as if it it wanted to be wide screen. Do you know what I did wrong?
     
  3. JacobM

    JacobM GBAtemp Regular

    Member
    3
    Jun 16, 2017
    United States
    This thread is about removing the dark filter and adding widescreen support. The first post in the thread explains the needed steps to do that. You need to modify the FrameLayout.arc file.
     
  4. RyzaJr

    RyzaJr Member

    Newcomer
    1
    May 23, 2016
    United States
    Oops, sorry about that. I followed the first post and it worked. The game looks great wide screen! Thanks!
     
  5. LumInvader

    LumInvader GBAtemp Regular

    Member
    4
    Mar 30, 2013
    United States
    MelonSpeedruns = WiiU Sherlock Holmes

    Well done!

    The darkened appearance of VC games has confounded users since day 1. The fact that this can finally be fixed is extraordinary. Out of curiosity, does this solution work on the original Wii?
     
  6. RyzaJr

    RyzaJr Member

    Newcomer
    1
    May 23, 2016
    United States
    Anyone manage to get Majora's Mask looking good wide screen?

    Care to share the rom?

    - EDIT -

    Nevermind! Thanks to gamemasterplc over at YouTube, I was able to get Majora's Mask, Ocarina of Time, and Mario Party 3 looking good widescreen. His patches are in the description of his videos.

    Here's a screenshot of Majora's Mask:
    [​IMG]
     
    Last edited by RyzaJr, Dec 25, 2018
  7. JacobM

    JacobM GBAtemp Regular

    Member
    3
    Jun 16, 2017
    United States
    I spent some time this morning going through the N64 ini files looking for undocumented variables.

    The following options are missing from the template available in the wiki (https://wiki.gbatemp.net/wiki/WiiU_VC_N64_inject_compatibility_list\Ini_Template)

    Code:
    [RomOption]
    BootPCChange = 0
    
    [Input]
    AlwaysHave = 0
    
    [RSPG]
    RDPDelay = 81250
    RIntAfterGTask = 0
    Skip = 1
    GTaskDelay = 0, 1481250, 1024
    
    [Render]
    CopyColorBuffer = 0
    ClearVertexBuf = 0
    NeedPreParse = 1
    CopyAlphaForceOne = 1
    CheckTlutValid = 1
    DepthCompareLess = 1
    TileSizeCheckSpecial = 1
    PreparseTMEMBlock = 1
    
    I increased the resolution of Smash 64, and made the analog stick a little less sensitive with the following additions to the JPN .ini file (UNALJ0.354). These changes are compatible with the widescreen mod posted last week.

    Code:
    [RomOption]
    RamSize = 0x800000
    
    [Input]
    StickLimit = 90
    
    [Render]
    CanvasWidth = 800
    CanvasHeight = 600
    
    I've gotten Smash64 to run up to 864x648, but I decided to drop the rendering resolution slightly to make sure the game remains at a consistent frame-rate in 4-player/high action/items mode.

    For me, the removal of the dark filter among the widescreen/rendering tricks puts the WiiU above the UltraHDMI mod for output with the short list of compatible games. I'd be curious if anybody had the ability to do an updated side by side profile like the one at the bottom of the UltraHDMI page (http://retrorgb.com/ultrahdmi.html)
     
    Last edited by JacobM, Dec 30, 2018
    Brawl345, ShadowOne333 and ploggy like this.
  8. nekromantik

    nekromantik Newbie

    Newcomer
    1
    Dec 31, 2018
    Germany
    Hi I read the whole thread but couldn´t get even the injection as such to work... Could someone share the Wup Installer Files for Mario Kart 64 with Widescreen and removal of DarkFilter? Would be really nice.
     
  9. Keylogger

    Keylogger GBAtemp Addict

    Member
    10
    May 3, 2006
    France
    Is there any tool that can patch VC game for us?
     
  10. Keylogger

    Keylogger GBAtemp Addict

    Member
    10
    May 3, 2006
    France
    Is there any tool that can patch VC game for us?
     
  11. Jimmy_Threecocks

    Jimmy_Threecocks Newbie

    Newcomer
    1
    Jan 6, 2019
    United States
    How did you get Majora's Mask working? Every time I try it freezes at the menu.
    I got OoT working with the widescreen patch by the same guy. I tried patching the original VC rom as well as another one and both do the same thing. It's not the FrameLayout.arc causing it either, since it loads fine if I put the original rom back.
     
  12. N7Kopper

    N7Kopper Proud lover of a three-inch girlfriend

    Member
    3
    Aug 24, 2014
    United Kingdom
    Anyone else having trouble getting this to work right? I'm using CajeASM, and the US ROM is actually being patched, but the listed results aren't happening.
     
  13. xs4all

    xs4all GBAtemp Fan

    Member
    6
    Jun 9, 2008
    Australia
    Save yourself the trouble in trying to get that to work, search gamemasterplc's "Mario Kart 64 HD Widescreen Playthrough" video on YouTube. There you will find a link to the IPS patch file.
     
  14. Citrusblur

    Citrusblur Newbie

    Newcomer
    1
    Apr 15, 2019
    United States
    If you're still interested, I can provide you a link to download Majora's Mask in widescreen.
     
  15. ScottQB4

    ScottQB4 Newbie

    Newcomer
    1
    Nov 18, 2015
    United States
    Is this for the internal resolution or does it stretch the image? I set them to 1920 and 1080 respectively for Pokemon Stadium, but the models are still jagged.
    Also, would modifying the scale in RootPane (or any of its options) help besides adjusting the image?
     
  16. JacobM

    JacobM GBAtemp Regular

    Member
    3
    Jun 16, 2017
    United States
    Internal/Native resolution changes. Setting it to 1080p doesn't mean there wont be any jaggies, thats the job of anti-aliasing which I don't think the n64 emulator supports. If you aren't noticing "finer" (greater number, but smaller) jaggies then you may have too high of a resolution configured and the emulator is defaulting back to a standard resolution 240/480p. Here is an example of SSB at 480p and ~640p.

    @CORE might know more! He has been studying the n64 emulator on his blog and is more experienced with INI configurations (https://gbatemp.net/entry/wii-u-virtual-console-n64-research.15301/)

    EDIT: Just to be clear, it WILL stretch the image if you did not patch the game rom for widescreen support as well!
     
    Last edited by JacobM, Apr 16, 2019 at 2:10 AM
  17. ScottQB4

    ScottQB4 Newbie

    Newcomer
    1
    Nov 18, 2015
    United States
    Just tried a lower resolution to see if it did anything (320x240) and it still looks the same, though the filter options work.
     
  18. CORE

    CORE Yes Ha Ha Ha!

    Member
    4
    Jul 15, 2018
    United Kingdom
    The Render Canvas setting does indeed affect the Internal Resolution I recommend 800 x 600 854 x 480 or 640 x 480 or 320 x 240.

    Higher Resolutions can affect FPS and I believe their is two or more lower Resolutions but they will look terrible but may speed some games up but not really worth playing.

    Unfortunately Jaggys is just a side effect in quite a few games playing with Render settings can get you some clearer results but still limited I will be cleaning up my blog eventually which Build uses what ini settings etc along with some custom ini's and compatibility list update.

    *Anti Aliasing* as @JacobM said is the problem the Emulator is designed per Game basis and to run natively.
     
    Last edited by CORE, Apr 16, 2019 at 5:16 AM
    JacobM likes this.
Loading...