Tutorial  Updated

Play Super Mario Galaxy 2 using the Wii U GamePad

Credit to Super Hackio

Hey champs. First things first, I want to make sure everybody knows that this hack is by Super Hackio and they deserve all of the credit. Check out their video in case you haven't seen it:



Introduction

What we're going to do here is leverage Hackio's hack to create a Wii VC injection with Classic Controller emulation. This allows the Wii U GamePad to be used to control the entire game, including things that were originally pointer- and motion-controlled. For example, Mario's spin attack can be triggered with a button and the Wii Remote pointer can be controlled with the right analog stick. These images provided with the original patch show the two layouts that Super Hackio implemented:

Mapping-AllStars.png Mapping-Nvidia.png

A big thing to note here is that while I'd argue the Super Mario 3D All-Stars layout makes the most sense for normal gameplay (with your primary action buttons being Y to spin attack and B to jump), it does mean your confirm buttons in menus will be both of A/B and your cancel button will be ZR.

The Nvidia layout retains the normal A to confirm, B to cancel layout you'll be used to from other Nintendo games, but your primary action buttons will be X to spin attack and A to jump, which is not how Mario games ordinarily control.

Pick whichever one bothers you less!

Another thing that's important to remember is that if you press the Home button, you will not be able to exit or return to the game. This is a limitation of the original patch, as controls are handled completely separately in the Home button menu. When you want to stop playing, you will simply need to shut the Wii U down.

Preparation

Super Hackio's original Classic Controller mod was provided as a Riivolution patch, which can't normally be used with Wii VC injections. For this reason, we need some things we can use to apply the patch directly to a disc image. These are:
I'm not going to go in-depth about how to install or use Wiimm's tools. If you need to, search for a guide about using the Windows command prompt/Linux terminal/etc. In short, these are text-based tools, they don't have GUIs and double clicking them will not open up a GUI window for you to control them. Instead, these apps are controlled by typing commands to them.

Quick tip: When typing a directory or file name on the command prompt/terminal, you can press the Tab key on your keyboard to have your OS complete the rest of the name. This will save you time and help you avoid typos.


Tutorial

So let's get started. If you install Wiimm's tools so that you can run them from anywhere, this will be a lot easier, but you can do this without if you don't mind typing the path to the executables with each command.
  1. Extract the contents of SMG2-GamePadCC.zip and your Super Mario Galaxy 2 disc image to somewhere sensible. I'm not your dad.
  2. Open a command prompt window in that directory.
    In Windows, you can do this easily by navigating to the folder you want in File Explorer, clicking in the address bar, deleting the contents and typing cmd (short for command) then hitting the Enter/Return key.​
  3. Use wit to extract the contents of your Super Mario Galaxy 2 disc image into a new directory. For example, if your game image is called SB4E01.wbfs, you would do something like this:
    Code:
    wit x SB4E01.wbfs Galaxy2GamePad
  4. Use wit again to patch the main.dol from your game. Note that where the main.dol gets extracted to will depend upon your disc image. If you have an UPDATE partition, you'll find the main.dol in the GAME partition, whereas if your image has the UPDATE partition removed, it will be right there in sys under your extracted directory. Example command for Windows (may not match your directory layout):
    Code:
    wit dolpatch Galaxy2GamePad\sys\main.dol xml=SMG2-ExtraControllers-WiiU.xml
  5. Use wstrt from Wiimm's SZS Toolset to add your preferred button layout to the main.dol. I'll provide examples of both options here. Don't do both. Come on.

    If you want the Super Mario 3D All-Stars layout:
    Code:
    wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-SMAS.gct
    If you want the Nvidia Shield Mario Galaxy layout:
    Code:
    wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-Nvidia.gct
  6. Repackage your extracted game directory into a standard disc image format, e.g.:
    Code:
    wit copy Galaxy2GamePad Galaxy2GamePad.wbfs
  7. Create a Wii VC injection of your final image (e.g. Galaxy2GamePad.wbfs) using your preferred injection tool. Remember to enable your tool's Classic Controller emulation feature.

    You don't need the Force Classic Controller mode. Also, don't use the Swap L/R and ZL/ZR feature unless you're weird; both layouts are already optimized for controllers where ZL/ZR are the main shoulder triggers like the Wii U GamePad.​
And you're done! Install your injection however you normally go about installing injections (e.g. V10lator's NUSspli). When you launch the game and it asks if you want to control it using the Wii U GamePad ... say yes.
 

Attachments

  • SMG2-GamePadCC.zip
    2.2 KB · Views: 253
Last edited by Vague Rant,

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,923
Country
I tried to apply this patch earlier, I never used wit tools before but I have used cmd before with other tutorials, however these instructions don’t make it very clear what to do, I already ripped main.dol with wiiscrupper and I can inject it back no problem, is there any other way to patch it like with DKCR? Any help would be appreciated, thanks.
 

Misunderstood Wookie

Well-Known Member
Newcomer
Joined
Mar 5, 2016
Messages
60
Trophies
0
Age
37
XP
135
Country
I tried to apply this patch earlier, I never used wit tools before but I have used cmd before with other tutorials, however these instructions don’t make it very clear what to do, I already ripped main.dol with wiiscrupper and I can inject it back no problem, is there any other way to patch it like with DKCR? Any help would be appreciated, thanks.
You mess that up big lol
You don't rip or unpack the ISO in any way at all.
I will show you what you do, I thought the instructions were pretty clear aside from trying to work out which tools to get as the OP does not link directly to the download just the place to get the tool.

1. You download Wit for Windows, and SZS Wiimms Toolset for Windows.
2. You will need to run the installer for both and then reboot PC as they created the environment variables which you can run in a terminal window.
3. Put the contents of SMG2-GamePadCC.zip and your Game ISO into a folder.
Screenshot 2022-04-26 171834.jpg


4. In the address bar at the top of your folder window type CMD and press enter.
Screenshot 2022-3452523504-26 172024.jpg


5. In the now open terminal window type wit x SB4E01.wbfs Galaxy2GamePad and press enter.
SMG2 is your game's filename. I suggest you don't have a file name with spaces, I renamed mine to SMG2 from SMG2 (USA).
Screenshot 2022-04-43454326 172659.jpg


6. Then Run wit dolpatch Galaxy2GamePad\sys\main.dol xml=SMG2-ExtraControllers-WiiU.xml
Screenshot 2022-04-26 173242.jpg



7. Now choose which controller config you wish on the OP as you can see there are two layouts you may choose so run whichever layout you wish the commands are below.

RUN ONLY ONE OF THESE
wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-SMAS.gct
wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-Nvidia.gct


Example with SMAS.gct layout.
Screenshot 2022-04-26 173410.jpg


8. Now last we have to pack the game back up again so you can inject it or get it onto your console however you see fit. So now were run this in the terminal wit copy Galaxy2GamePad Galaxy2GamePad.wbfs
It will take a little bit to finish so when you see the prompt appear ready for input of commands it is done just be patient.
Screenshot 2022-04-26 173750.jpg


Now You are Done!
Screenshot 2022-04-DONE173958.jpg

Hopefully, this assists you and others who don't quite understand what to do.


EDIT
If you intend to inject this title into the Wii U system menu then use these settings!

Enable Classic Controller is a super important step.

Screenshot 2022-05-22 175828.png
 
Last edited by Misunderstood Wookie,

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,923
Country
You mess that up big lol
You don't rip or unpack the ISO in any way at all.
I will show you what you do, I thought the instructions were pretty clear aside from trying to work out which tools to get as the OP does not link directly to the download just the place to get the tool.

1. You download Wit for Windows, and SZS Wiimms Toolset for Windows.
2. You will need to run the installer for both and then reboot PC as they created the environment variables which you can run in a terminal window.
3. Put the contents of SMG2-GamePadCC.zip and your Game ISO into a folder.
View attachment 307581

4. In the address bar at the top of your folder window type CMD and press enter.
View attachment 307582

5. In the now open terminal window type wit x SB4E01.wbfs Galaxy2GamePad and press enter.
SMG2 is your game's filename. I suggest you don't have a file name with spaces, I renamed mine to SMG2 from SMG2 (USA).
View attachment 307584

6. Then Run wit dolpatch Galaxy2GamePad\sys\main.dol xml=SMG2-ExtraControllers-WiiU.xml
View attachment 307585



7. Now choose which controller config you wish on the OP as you can see there are two layouts you may choose so run whichever layout you wish the commands are below.

RUN ONLY ONE OF THESE
wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-SMAS.gct
wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-Nvidia.gct


Example with SMAS.gct layout.
View attachment 307586

8. Now last we have to pack the game back up again so you can inject it or get it onto your console however you see fit. So now were run this in the terminal wit copy Galaxy2GamePad Galaxy2GamePad.wbfs
It will take a little bit to finish so when you see the prompt appear ready for input of commands it is done just be patient.
View attachment 307587


Now You are Done!
View attachment 307588
Hopefully, this assists you and others who don't quite understand what to do.
I followed the instructions and everything seems to work fine, now to inject it and test it on Wii U.

Edit: so after injecting and installing to the wii u when I click on the game it asks for the controller and I click yes then it reboots to wii mode but then gets stuck on black screen, what am I doing wrong?

I can confirm my vwii works fine and installing injects I got online like nintendont and emulators all work and following the instructions above I got all results like the screenshots, it’s probably the injection process...

Edit 2: Seems like the issue is with the game itself, I tested the patched file with USB Loader and got a black screen, tested again this time the original file and it ran fine, I most likely messed something up during applying the patch, I’m not sure what it is, I kept getting the same results as you did.
 
Last edited by sonictopfan,

Misunderstood Wookie

Well-Known Member
Newcomer
Joined
Mar 5, 2016
Messages
60
Trophies
0
Age
37
XP
135
Country
I followed the instructions and everything seems to work fine, now to inject it and test it on Wii U.

Edit: so after injecting and installing to the wii u when I click on the game it asks for the controller and I click yes then it reboots to wii mode but then gets stuck on black screen, what am I doing wrong?

I can confirm my vwii works fine and installing injects I got online like nintendont and emulators all work and following the instructions above I got all results like the screenshots, it’s probably the injection process...

Edit 2: Seems like the issue is with the game itself, I tested the patched file with USB Loader and got a black screen, tested again this time the original file and it ran fine, I most likely messed something up during applying the patch, I’m not sure what it is, I kept getting the same results as you did.
Really unsure.. because I patched a non-scrubbed USA copy of Galaxy 2 for Wii, not the Wii U.. with the method I expressed in earlier postings. My Game was WBFS format, to begin with not ISO.

All I did was rename my ISO to match the instructions in the OP but I made a new patch for the example I posted for you, double-check everything is in the right spot and you have the and your game works with CFW modded Wii U

Use UWUVCI AIO to make the inject.
I injected mine into Rythem Heaven USA
 

kid sampson

Well-Known Member
Member
Joined
Jul 20, 2006
Messages
329
Trophies
1
XP
886
Country
United States
Man, I wish someone would do the same for Punch-Out!! and release a hack with the Nvidia controller mapping to replace the need for a Wiimote to navigate the menu.
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,923
Country
Really unsure.. because I patched a non-scrubbed USA copy of Galaxy 2 for Wii, not the Wii U.. with the method I expressed in earlier postings. My Game was WBFS format, to begin with not ISO.

All I did was rename my ISO to match the instructions in the OP but I made a new patch for the example I posted for you, double-check everything is in the right spot and you have the and your game works with CFW modded Wii U

Use UWUVCI AIO to make the inject.
I injected mine into Rythem Heaven USA
Idk what to say, I did the same exact thing, Mario Galaxy 2, USA, unscrubbed, wbfs format, tested earlier with USB Loader and runs fine, I did everything in your tutorial, got the same exact results as the pictures you provided... I was sure I got it working but when testing it gives me black screen...

I appreciate your help, though...
 

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,495
Trophies
2
Age
44
Location
Scotland
XP
5,139
Country
United Kingdom
You mess that up big lol
You don't rip or unpack the ISO in any way at all.
I will show you what you do, I thought the instructions were pretty clear aside from trying to work out which tools to get as the OP does not link directly to the download just the place to get the tool.

1. You download Wit for Windows, and SZS Wiimms Toolset for Windows.
2. You will need to run the installer for both and then reboot PC as they created the environment variables which you can run in a terminal window.
3. Put the contents of SMG2-GamePadCC.zip and your Game ISO into a folder.
View attachment 307581

4. In the address bar at the top of your folder window type CMD and press enter.
View attachment 307582

5. In the now open terminal window type wit x SB4E01.wbfs Galaxy2GamePad and press enter.
SMG2 is your game's filename. I suggest you don't have a file name with spaces, I renamed mine to SMG2 from SMG2 (USA).
View attachment 307584

6. Then Run wit dolpatch Galaxy2GamePad\sys\main.dol xml=SMG2-ExtraControllers-WiiU.xml
View attachment 307585



7. Now choose which controller config you wish on the OP as you can see there are two layouts you may choose so run whichever layout you wish the commands are below.

RUN ONLY ONE OF THESE
wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-SMAS.gct
wstrt patch Galaxy2GamePad\sys\main.dol --add-section SB4E01-Nvidia.gct


Example with SMAS.gct layout.
View attachment 307586

8. Now last we have to pack the game back up again so you can inject it or get it onto your console however you see fit. So now were run this in the terminal wit copy Galaxy2GamePad Galaxy2GamePad.wbfs
It will take a little bit to finish so when you see the prompt appear ready for input of commands it is done just be patient.
View attachment 307587


Now You are Done!
View attachment 307588
Hopefully, this assists you and others who don't quite understand what to do.
@Vague Rant... I think maybe a link to this post on the OP would be a good idea for anyone else struggling if you can.

Little note regarding step 5, i found that where "X" is after "wit"... X doesn't do anything, i had to type "extract".

I don't believe that's what @sonictopfan problem is however as it gave me a direct cannot open file error when i typed "x". Maybe worth mentioning tho.
 

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,701
Trophies
1
XP
1,923
Country
@Vague Rant... I think maybe a link to this post on the OP would be a good idea for anyone else struggling if you can.

Little note regarding step 5, i found that where "X" is after "wit"... X doesn't do anything, i had to type "extract".

I don't believe that's what @sonictopfan problem is however as it gave me a direct cannot open file error when i typed "x". Maybe worth mentioning tho.
I take it you got it working? I could use any help I can get 🙏
 

Tsukiru

Over the Eden
Member
Joined
May 25, 2021
Messages
321
Trophies
0
XP
788
Country
United States
Oh this is super cool. I hope that it branches out into other Wii games so I can get more (lazy) use out of my Wii U.
 

Lostbhoy

HEY YOU GUYS!
Member
Joined
Aug 23, 2009
Messages
2,495
Trophies
2
Age
44
Location
Scotland
XP
5,139
Country
United Kingdom
I take it you got it working? I could use any help I can get 🙏
I followed the steps on the OP coupled with the guude/help pages on the wiimms tools site but the guide above is well written for the steps.

The only thing I can think of is to try another copy of SMG2 from another source. The copy you have may work when loaded on its own however if its not a clean iso this will cause problems when converting or patching. I have seen that before with a few titles and when grabbing another one it seems to work.
 

urbanman2004

Well-Known Member
Member
Joined
Jan 10, 2013
Messages
909
Trophies
1
XP
1,604
Country
United States
Awesome mod... This may be off topic, but is there any chance of this mod working on other Wii game titles that only work w/ the Wii remote such as Donkey Kong Country Returns?
 

nintendowii

Well-Known Member
Member
Joined
Feb 28, 2011
Messages
166
Trophies
1
XP
1,200
Country
Germany

Misunderstood Wookie

Well-Known Member
Newcomer
Joined
Mar 5, 2016
Messages
60
Trophies
0
Age
37
XP
135
Country
@Vague Rant... I think maybe a link to this post on the OP would be a good idea for anyone else struggling if you can.

Little note regarding step 5, i found that where "X" is after "wit"... X doesn't do anything, i had to type "extract".

I don't believe that's what @sonictopfan problem is however as it gave me a direct cannot open file error when i typed "x". Maybe worth mentioning tho.
That might be it...
X works for me, but I can't say it works for everyone I did use an X64 build of the two tools needed for Windows not a Linux distro build or anything like that.
 
  • Like
Reactions: Lostbhoy

Misunderstood Wookie

Well-Known Member
Newcomer
Joined
Mar 5, 2016
Messages
60
Trophies
0
Age
37
XP
135
Country
I followed the steps on the OP coupled with the guude/help pages on the wiimms tools site but the guide above is well written for the steps.

The only thing I can think of is to try another copy of SMG2 from another source. The copy you have may work when loaded on its own however if its not a clean iso this will cause problems when converting or patching. I have seen that before with a few titles and when grabbing another one it seems to work.
Exactly what I said at some point...
I have run into issues where modded games work fine in emulation but when put onto console they just royally cause a pain in my behind and I have to hard-reset, seems patches mostly work best when using the full clean ISO hence I added the parts about NOT using a scrubbed ISO as that has partitions missing.
 
  • Like
Reactions: Lostbhoy

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I like the L angle connectors which add more force to it I guess which defeats the point
  • RedColoredStars @ RedColoredStars:
    i only buy new ones when theres a new standard and I have gear that uses it. Otherwise my cables seem to last forever.
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Ween made a song about waving dicks in the wind.
    +1
  • RedColoredStars @ RedColoredStars:
    L angle cables are amazing when needed.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Yup. Been a longtime fan of Ween. Not a mega-fan by any means but I'm pretty familiar with most of their tunes.
    +1
  • K3Nv2 @ K3Nv2:
    You like the wee
    +1
  • ZeroT21 @ ZeroT21:
    I like electronics that use detachable cables, that way if the cable breaks you can just swap in a new one instead of replacing the whole unit
  • SylverReZ @ SylverReZ:
    @K3Nv2, Ween-er :creep:
  • RedColoredStars @ RedColoredStars:
    they make brown music. lol
    +1
  • K3Nv2 @ K3Nv2:
    Brown note
  • ZeroT21 @ ZeroT21:
    for keyboards, headphones or controllers ,it's a must have
  • K3Nv2 @ K3Nv2:
    Don't know why mice won't get with detachable type c
  • ZeroT21 @ ZeroT21:
    most battery operated mice don't even work anymore if the internal battery dies
  • RedColoredStars @ RedColoredStars:
    the L hdmi adapters work great on my tv and receiver. so much less stress on the ports using them than regular cables. in that instance anyway.
  • K3Nv2 @ K3Nv2:
    A bigger battery could defeat the need for weighted magnets tbf
  • ZeroT21 @ ZeroT21:
    Nowadays pc mice come as light as can be, liked mine with some heft
  • K3Nv2 @ K3Nv2:
    You like holding girth
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I also listen to Beck, some of their songs are fine. Only found out about them through Windows Me; you know, that one operating system nobody ever likes?
  • RedColoredStars @ RedColoredStars:
    i dont know why tv manufactures put the hdmi ports in dumb locations so the cables have to stick out, and then down, putting strain on the ports. Instead of having the ports along the bottom edge of the tv facing downwards.
  • ZeroT21 @ ZeroT21:
    windows me was mostly on laptops if i remembered correctly
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I hate that too where you have to use an HDMI extension for an Amazon Fire Stick.
  • RedColoredStars @ RedColoredStars:
    I had a desktop with ME on it.
  • SylverReZ @ SylverReZ:
    @ZeroT21, And also cheap-ass desktop PCs like eMachines.
  • RedColoredStars @ RedColoredStars:
    Worst MS OS in history. Period.
  • K3Nv2 @ K3Nv2:
    My entertainment centers blocking all my io gotta fix that eventually
    K3Nv2 @ K3Nv2: My entertainment centers blocking all my io gotta fix that eventually