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: 330
Last edited by Vague Rant,

sonictopfan

Well-Known Member
Member
Joined
Mar 2, 2010
Messages
2,765
Trophies
1
XP
2,185
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
61
Trophies
0
Age
37
XP
142
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,765
Trophies
1
XP
2,185
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
61
Trophies
0
Age
37
XP
142
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
921
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,765
Trophies
1
XP
2,185
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,816
Trophies
3
Age
44
Location
Scotland
XP
6,050
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,765
Trophies
1
XP
2,185
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
805
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,816
Trophies
3
Age
44
Location
Scotland
XP
6,050
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
1,219
Trophies
1
XP
2,195
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
167
Trophies
1
XP
1,361
Country
Germany

Misunderstood Wookie

Well-Known Member
Newcomer
Joined
Mar 5, 2016
Messages
61
Trophies
0
Age
37
XP
142
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
61
Trophies
0
Age
37
XP
142
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
  • BigOnYa @ BigOnYa:
    I wonder how many Broncos fans cellphones Kelsy's brother will smash today.
  • DragonMals @ DragonMals:
    he's
  • Faust03 @ Faust03:
    twitter is a very toxic website
  • K3Nv2 @ K3Nv2:
    Nuh uh
  • DragonMals @ DragonMals:
    An underrated opinion: While Bluesky as a platform is better than Twitter, Bluesky's userbase won't be better than Twitter as people are saying because everyone from the non-bootleg site are moving to the bootleg one expecting for themselves to change with their attitude, but that never works like that.
  • DragonMals @ DragonMals:
    I will say though: Bluesky as a micro-blogging site? Needs a bit more oomph and I would officially like it better than Twiter. Can't even post gifs on that site, like what the fuck?
  • K3Nv2 @ K3Nv2:
    Diarrhea is toxic
  • BigOnYa @ BigOnYa:
    Can you post milfs though?
  • K3Nv2 @ K3Nv2:
    Gilfs
    +3
  • BigOnYa @ BigOnYa:
    Kilfs. (Ken knows)
  • K3Nv2 @ K3Nv2:
    Gay
    +1
  • NinStar @ NinStar:
    fake and gay
    +1
  • K3Nv2 @ K3Nv2:
    Fake news is hot
  • realtimesave @ realtimesave:
    hey guyz
    +2
  • SylverReZ @ SylverReZ:
    @realtimesave, I'm here. Why?
  • SylverReZ @ SylverReZ:
    Have you found anywhere else to sell your Switch OLED?
  • SylverReZ @ SylverReZ:
    Ello :)
    +1
  • Xdqwerty @ Xdqwerty:
    @DragonMals, Yeah one is gonna have the same attitude in any site no matter what
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, how are you?
  • SylverReZ @ SylverReZ:
    I'm okay.
    +1
  • BigOnYa @ BigOnYa:
    I'll buy it, full price, meet me in the dark alley behind that closed blockbuster.
    BigOnYa @ BigOnYa: I'll buy it, full price, meet me in the dark alley behind that closed blockbuster.