Hacking Mega Man 10 no bilinear filter patch

SuperrSonic

Well-Known Member
OP
Member
Joined
Dec 9, 2011
Messages
800
Trophies
0
XP
1,945
Country
Puerto Rico
Before this gets buried and I forget; When you play this game in widescreen it applies a blurry filter, a few days ago I made a code that forces the game to start in 4:3 mode, when the game texture has initialized the code switches it back to 16:9 thus skipping the blurry filter, since the game's active size is 512x480 no resolution is lost when the TV stretches it to widescreen, and the stretch isn't too offensive.

To make it more worthy of its own post, I've included some files to permanently patch this function into a wad of Mega Man 10, that will allow it to pick the best scale/settings depending on your Wii System Settings. This works by using a slightly modded version of the old Taiko nandloader to check the Wii settings and enable the changes that need to happen in realtime, as embedding codes doesn't work with the official nandloader.

DL link
You can probably imagine how it would look, this video was made to keep a record outside of GBATemp but if you want a preview here it is.
You can also see here the small defect that occurs to the HOME Menu. *Also note: this was recorded off Dolphin without account to square pixels, on a real Wii it would not look as fat as it does here.

I'm also attaching the WRXE.txt for other loaders, since it can be a pain to deal with the wad patching.
The "WR9E.txt" file is for Mega Man 9, this one doesn't apply bilinear filtering in 16:9 mode but it has an incorrect scale which causes the annoying shimmering effect. These codes should cover all cases.

These are for the NTSC-U versions but it should not be too difficult to port them, or even run the NTSC versions with PAL/other region settings.
 

Attachments

  • WRXE.txt
    1.4 KB · Views: 59
  • WR9E.txt
    683 bytes · Views: 65

niuus

Well-Known Member
Member
Joined
Mar 4, 2016
Messages
1,677
Trophies
1
XP
3,197
Country
Venezuela
Before this gets buried and I forget; When you play this game in widescreen it applies a blurry filter, a few days ago I made a code that forces the game to start in 4:3 mode, when the game texture has initialized the code switches it back to 16:9 thus skipping the blurry filter, since the game's active size is 512x480 no resolution is lost when the TV stretches it to widescreen, and the stretch isn't too offensive.

To make it more worthy of its own post, I've included some files to permanently patch this function into a wad of Mega Man 10, that will allow it to pick the best scale/settings depending on your Wii System Settings. This works by using a slightly modded version of the old Taiko nandloader to check the Wii settings and enable the changes that need to happen in realtime, as embedding codes doesn't work with the official nandloader.

DL link
You can probably imagine how it would look, this video was made to keep a record outside of GBATemp but if you want a preview here it is.
You can also see here the small defect that occurs to the HOME Menu. *Also note: this was recorded off Dolphin without account to square pixels, on a real Wii it would not look as fat as it does here.

I'm also attaching the WRXE.txt for other loaders, since it can be a pain to deal with the wad patching.
The "WR9E.txt" file is for Mega Man 9, this one doesn't apply bilinear filtering in 16:9 mode but it has an incorrect scale which causes the annoying shimmering effect. These codes should cover all cases.

These are for the NTSC-U versions but it should not be too difficult to port them, or even run the NTSC versions with PAL/other region settings.
These look great, though I couldn't use them since the xdelta patches do not match with the known good checksums for the WADs. I even tried ignoring the verification, but it produced 1MB files.
 
  • Like
Reactions: SaulFabre

SaulFabre

Wii scene/hacking & Wii VC well-known guy
Member
Joined
Feb 6, 2019
Messages
1,972
Trophies
1
Age
23
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
4,091
Country
Ecuador
These look great, though I couldn't use them since the xdelta patches do not match with the known good checksums for the WADs. I even tried ignoring the verification, but it produced 1MB files.
@niuus
Have you tried using the WiiWare WADs of Mega Man 9/10 from the No-Intro collection?
 

SaulFabre

Wii scene/hacking & Wii VC well-known guy
Member
Joined
Feb 6, 2019
Messages
1,972
Trophies
1
Age
23
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
4,091
Country
Ecuador
These look great, though I couldn't use them since the xdelta patches do not match with the known good checksums for the WADs. I even tried ignoring the verification, but it produced 1MB files.
@niuus
Have you tried using the WiiWare WADs of Mega Man 9/10 from the No-Intro collection?
@niuus I figured it out.

The .xdelta patches for Mega Man 9 & 10 MUST be applied to the extracted 00000001.app file (without any modification, not even uncompressed, it MUST be untouched) of the Mega Man 9 or 10 WAD you're trying to patch.
I mean, first extract the MM9 or MM10 WAD using any WAD un/packer like wwPacker, then patch its original 00000001.app file with the xdelta patch (i use DeltaPatcher).

Then, after applying the xdelta patch to 1.app file, you need to replace the NAND Loader of the MM9 or MM10 WAD with the new Nandloader file (0000000a.app) provided with the patch, otherwise the patch won't work on Wii.

After applying both patches to MM9 or MM10 WAD, you need to repack it again with wwPacker.
 
  • Like
Reactions: niuus

niuus

Well-Known Member
Member
Joined
Mar 4, 2016
Messages
1,677
Trophies
1
XP
3,197
Country
Venezuela
@niuus I figured it out.

The .xdelta patches for Mega Man 9 & 10 MUST be applied to the extracted 00000001.app file (without any modification, not even uncompressed, it MUST be untouched) of the Mega Man 9 or 10 WAD you're trying to patch.
I mean, first extract the MM9 or MM10 WAD using any WAD un/packer like wwPacker, then patch its original 00000001.app file with the xdelta patch (i use DeltaPatcher).

Then, after applying the xdelta patch to 1.app file, you need to replace the NAND Loader of the MM9 or MM10 WAD with the new Nandloader file (0000000a.app) provided with the patch, otherwise the patch won't work on Wii.

After applying both patches to MM9 or MM10 WAD, you need to repack it again with wwPacker.
Great find. It was a real pain to make all the steps, but at least now I can make some xdelta patches specifically for the correct WADs and share them. Mega Man 10 looks better than ever without the horrendous Bilinear filter. The only game I couldn't notice a difference was Mega Man 9, which still has shimmering while scrolling.
 
  • Like
Reactions: SaulFabre

Flo_o

Well-Known Member
Member
Joined
Mar 18, 2017
Messages
165
Trophies
0
Age
35
XP
477
Country
Hi SaulFabre, this is awesome, great work! I will certainly test it out. Is it also possible to patch in gamecube controller controls instead of the wiimote only controls? That would be awesome.
 
  • Like
Reactions: SaulFabre

SaulFabre

Wii scene/hacking & Wii VC well-known guy
Member
Joined
Feb 6, 2019
Messages
1,972
Trophies
1
Age
23
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
4,091
Country
Ecuador
Hi SaulFabre, this is awesome, great work! I will certainly test it out. Is it also possible to patch in gamecube controller controls instead of the wiimote only controls? That would be awesome.
First, this patch was made by @SuperrSonic, not me.
Second, i don't think you can hack the game for use GCN controllers instead of Wiimote only.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    KenniesNewName @ KenniesNewName: Kathy Ireland Sheet Sets w/ Side Pocket - $20.99 - Free shipping for Prime members...