Ocarina of Time / Majora's Mask on PAL Wii (Force PAL60) without audio issues

  • Thread starter Thread starter tsanummy
  • Start date Start date
  • Views Views 4,998
  • Replies Replies 13

tsanummy

Member
Newcomer
Joined
Mar 14, 2016
Messages
16
Reaction score
10
Trophies
0
Age
33
XP
299
Country
Has anyone ever figured out how to patch the audio in these WiiVC games?

If you run them via "Force PAL60" on USB Loader GX (or any other method) they will run with RGB and proper colors... but the audio will be laggy (like 50hz audio trying to catch up to 60hz, its really jarring)

If you run them on NTSC well... the screen will have a red tint (no RBG over NTSC here B-) )

I have dedicated probably over 100 hours in total over multiple years trying different solutions without success, I'm so close to giving up and just buying https://www.retrotink.com/product-page/comp2rgb which should get rid of the red tint...


Any suggestions?
 
Nope, there isn't. you can't get it to display without the red tint using the scart cables, only components can (i think). And that's because Nintendo made it that way, normally scart would & could display out of region games without any issues (like with PS1, PS2, Xbox etc.), but not with the Wii unfortunately.
There's a homebrew for vWii that corrects this issue, though it works only with Wii Us..

- So if you're really hard pressed and want to play OC & MM full speed on your Wii you have 2 options, either play the Collector's Edition version it has both (for the GC, with Nintendont).
- Or use an emulator, Rice64 or the other one, both have perfect compatibility from what i recall, with the addition of save states etc.
 
  • Like
Reactions: jeannotte
You could patch the 00000001.app inside the WAD to force the RGB output using NTSC timings.

When the Wii is using NTSC, the game sends bit with value '0' to the Wii AV encoder via I2C to the register 0x6E, disabling RGB output and enabling S-Video Output.
But when it is EuRGB60 (PAL60), the game sends bit with value '1', disabling S-Video Output and enabling RGB output.
For some reason, some WiiVC games don't have the correct timings for EuRGB60 video mode, so we can force using the RGB output in NTSC video mode modifying the 00000001.app

For the Ocarina of Time NTSC-U version, open the 00000001.app inside the WAD with a Hex Editor, find address 93DD4 and change "38 60 00 00" to "38 60 00 01". Then find address 96A90 and change "38 00 00 00" to "38 00 00 02".
Now run the game through USB Loader GX and put the Video Mode to "Force NTSC". The game will run with NTSC timings but the Wii will output RGB.

This should work but i don't have a SCART cable right now so i can't test it.
 
You could patch the 00000001.app inside the WAD to force the RGB output using NTSC timings.

When the Wii is using NTSC, the game sends bit with value '0' to the Wii AV encoder via I2C to the register 0x6E, disabling RGB output and enabling S-Video Output.
But when it is EuRGB60 (PAL60), the game sends bit with value '1', disabling S-Video Output and enabling RGB output.
For some reason, some WiiVC games don't have the correct timings for EuRGB60 video mode, so we can force using the RGB output in NTSC video mode modifying the 00000001.app

For the Ocarina of Time NTSC-U version, open the 00000001.app inside the WAD with a Hex Editor, find address 93DD4 and change "38 60 00 00" to "38 60 00 01". Then find address 96A90 and change "38 00 00 00" to "38 00 00 02".
Now run the game through USB Loader GX and put the Video Mode to "Force NTSC". The game will run with NTSC timings but the Wii will output RGB.

This should work but i don't have a SCART cable right now so i can't test it.
I will try it ASAP. Did you register just to reply to this thread? You're a god <3
Post automatically merged:

I can't believe it. It works. I hope google picks up this thread and helps everyone else who had this problem.

Thank you so much @xdmg01 I've been trying to do this for literal years.

I'm assuming this method work with MM and OOT romhacks too?

EDIT: Aún encima eres español? pasa número que te hago un bizum colega.
 
Last edited by tsanummy,
  • Like
Reactions: totakeke95
I will try it ASAP. Did you register just to reply to this thread? You're a god <3
Post automatically merged:

I can't believe it. It works. I hope google picks up this thread and helps everyone else who had this problem.

Thank you so much @xdmg01 I've been trying to do this for literal years.

I'm assuming this method work with MM and OOT romhacks too?

EDIT: Aún encima eres español? pasa número que te hago un bizum colega.
Yes, it works with romhacks too if they use the same 00000001.app.

For MM NTSC-U you need to extract the 00000001.app with wwcxtool. The adresses are 9E280 and A1164. Values are the same as OOT.

When you force PAL60 in these games, the game uses PAL50 video mode instead of PAL60. Still, even after patching and using EuRGB60 the video timings are totally incorrect for some reason. Probably fixable but it is easier to force RGB output using NTSC video mode.
03.PNG

Basically, you search for VI retrace handler function in the dol executable and change the VISetFilter4EURGB60 parameter to 1. This way the game will always enable the RGB output filter no matter what video mode you use.
01.png

Then you find the VISetYUVSEL function and change the VdacFlagRegion from 0 to 2. This will enable PAL color encoding instead of using NTSC color encoding, so composite should be PAL60 too.
02.png

This should work with all WiiVC games that have this problem.
 
Hi xdmg01!

Thank you for your help about the OoT. It seems like you figured it out from the source code but, can we apply this method to other VC games? Like Mario Kart 64?
 
  • Like
Reactions: DavidGudnet
Yes, it works with romhacks too if they use the same 00000001.app.

For MM NTSC-U you need to extract the 00000001.app with wwcxtool. The adresses are 9E280 and A1164. Values are the same as OOT.

When you force PAL60 in these games, the game uses PAL50 video mode instead of PAL60. Still, even after patching and using EuRGB60 the video timings are totally incorrect for some reason. Probably fixable but it is easier to force RGB output using NTSC video mode.
View attachment 346047
Basically, you search for VI retrace handler function in the dol executable and change the VISetFilter4EURGB60 parameter to 1. This way the game will always enable the RGB output filter no matter what video mode you use.
View attachment 346040
Then you find the VISetYUVSEL function and change the VdacFlagRegion from 0 to 2. This will enable PAL color encoding instead of using NTSC color encoding, so composite should be PAL60 too.
View attachment 346041
This should work with all WiiVC games that have this problem.
Also, how did you actually get the source code of the Nintendo VC's internal emulator?
 
I registered just to say THANK YOU @xdmg01 ! Found this thread on google by sheer dumb luck. I've been stumped with how to play the VC version of OoT/MM on RGB Scart for over a year now. I've tried changing video modes in the app file from PAL50 to PAL60 (and indeed the timings were off like you said, TV spazzed out), I even tried injecting OoT and MM roms into Sin and Punishment PAL VC since that forces PAL60 (worked with OoT, crashed with MM), but THIS is finally a flawless solution for both, I can't thank you enough and hope others find this too!
 
  • Like
Reactions: CoolMe
I will try it ASAP. Did you register just to reply to this thread? You're a god <3
Post automatically merged:

I can't believe it. It works. I hope google picks up this thread and helps everyone else who had this problem.

Thank you so much @xdmg01 I've been trying to do this for literal years.

I'm assuming this method work with MM and OOT romhacks too?

EDIT: Aún encima eres español? pasa número que te hago un bizum colega.
Can you please explain how you managed open the 000000001.app files what processes you used. I am a completely newbie
 
Hi, I wanna try to do this with the metal slug virtual console games to force them to play at 60hz but without the red tint.
I'm completely lost on how to extract the files from the wad file and how to edit them...
Any help?

thank you!
 
Hey everyone! I'm here to revive this thread. I'm sharing all the games I've converted to RGB.
Some, like Mario 64 and Sin and Punishment, support forced PAL60.
I've added two of my own games that I play in Japanese, and two more are Zelda games patched to Spanish.

I'm not sure if you can share links here without problems, but here's a code to encode it in base64. It should take you to an archive org link.
aHR0cHM6Ly9hcmNoaXZlLm9yZy9kZXRhaWxzL3dpaXZjLTY0LXJnYi1tb2QtY29sbGVjdGlvbi4tN3o=


Perform the necessary tests.
Post automatically merged:

Here are some pictures.
682367326_1318324956823430_7238715150216496789_n.jpg
673945394_1447798073239430_6697626155214333711_n.jpg
683602528_842453128249728_535550879508005795_n.jpg
 
Last edited by DavidGudnet,
Hey everyone! I'm here to revive this thread. I'm sharing all the games I've converted to RGB.
Some, like Mario 64 and Sin and Punishment, support forced PAL60.
I've added two of my own games that I play in Japanese, and two more are Zelda games patched to Spanish.

I'm not sure if you can share links here without problems, but here's a code to encode it in base64. It should take you to an archive org link.
aHR0cHM6Ly9hcmNoaXZlLm9yZy9kZXRhaWxzL3dpaXZjLTY0LXJnYi1tb2QtY29sbGVjdGlvbi4tN3o=


Perform the necessary tests.
Post automatically merged:

Here are some pictures.
View attachment 570353View attachment 570354View attachment 570355

Hey dude,

First of all, thanks for patching these.

I'm just trying to get these patched .WADs to work on my PAL Wii. I'm using RGB-SCART output.

I'm still getting a red tint when forcing NTSC-Mode. I'm specifically trying to get Majora's Mask running at full speed on a 60Hz CRT.

Any tips?
Post automatically merged:

Actually, no worries. It took a bit of research, but I managed to get into HEX edit the .app files myself. (I had to decompress them to a .dol or something first.) But I've got it up and running as far as I can tell.

Great thread guys.
 
Last edited by MonsieurBiggles,
  • Like
Reactions: DavidGudnet
Hey dude,

First of all, thanks for patching these.

I'm just trying to get these patched .WADs to work on my PAL Wii. I'm using RGB-SCART output.

I'm still getting a red tint when forcing NTSC-Mode. I'm specifically trying to get Majora's Mask running at full speed on a 60Hz CRT.

Any tips?
Post automatically merged:

Actually, no worries. It took a bit of research, but I managed to get into HEX edit the .app files myself. (I had to decompress them to a .dol or something first.) But I've got it up and running as far as I can tell.

Great thread guys.
Hey bro, greetings!
Which WAD were you testing? Is there an error in the ones I uploaded?
 
Hey @DavidGudnet thanks for patching these!

Would you mind sharing the steps on how you achieved this. I'm hoping to do the same for Genesis games on a PAL wii.

Some already work with force PAL60 like you've discoverd but others like sonic 2 dont work with the existing hacks on USBLGX.

I understand that editing that address enables colour output @xdmg01 mentioned. However I am unclear as how they knew which address to edit?
 

Site & Scene News

Popular threads in this forum