Tutorial  Updated

Play Super Mario Galaxy using the Wii U GamePad

Super Mario Galaxy 1 GamePad Hack


Attached is a modification of Super Hackio's Super Mario Galaxy Classic Controller hack, as seen on YouTube:



This version is suitable for use with Wii U VC injection for GamePad input. It is compatible with the four official releases of Super Mario Galaxy on Wii:
  • RMGE01 USA
  • RMGP01 Europe
  • RMGJ01 Japan
  • RMGK01 Korea
Note: Only USA and Europe versions have been tested by the author on hardware.

Getting this hack up and running on Wii U took a lot more effort than the Super Mario Galaxy 2 hack, because this hack is re-using an area in memory which is also used by the Gecko code handler. The Wii U VC version of this hack is made entirely with Gecko/Ocarina codes, so the Classic Controller hack had to be relocated in memory to prevent them clashing.

Requirements


To apply the patch, you will need the following:
  • Wiimm's wit
    if you don't know which version to download, you probably want Cygwin/64-bit (Windows)

  • Wiimm's wstrt
    if you don't know which version to download, you probably want Cygwin/64-bit (Windows)

  • any Wii VC injection tool, such as:

  • a disc image of Super Mario Galaxy in any format supported by wit (ISO, WDF, WIA, CISO, WBFS)
    NKIT is not supported by wit​

Download



The attached archive includes the following files. The RMGx files come in four regional versions (E, P, J, K) and four preference variants (AllStars or Nvidia layout and standard or deflicker-filter disabled).

Mapping-SMG-AllStars.png Mapping-SMG-Nvidia.png

  • Mapping-SMG-AllStars.png
    Super Hackio's instructional image showing the button layout you'll get if you use one of the All-Stars-style hacks, as seen above​

  • Mapping-SMG-Nvidia.png
    Super Hackio's instructional image showing the button layout you'll get if you use one of the Nvidia-style hacks, as seen above​

  • readme.txt
    basically this thread in plaintext​

  • RMGx01.txt
    All of the codes from this modification in text form, in case they're useful to you​

  • RMGx01-AllStars.gct
    a GCT (packaged up cheat file) which can be applied to your game's main.dol to give you the All-Stars layout​

  • RMGx01-AllStars-RemoveDeflicker.gct
    identical to the above but also disables the deflicker filter which blurs the image slightly​

  • RMGx01-Nvidia.gct
    a GCT which can be applied to your game's main.dol to give you the Nvidia layout​

  • RMGx01-Nvidia-RemoveDeflicker.gct
    identical to the above but also disables the deflicker filter which blurs the image slightly​

Method


Consider running the wit and szs installers, it really makes both apps much easier to use.
You can also just type in all the paths manually if you don't have admin rights on your PC or just don't wish to install them. The rest of this guide will assume you have installed both apps. Adjust if necessary.​

Super Mario Galaxy is pretty finicky about what video modes it supports.
If you're on a PAL machine, you should probably inject the PAL game and vice versa. Otherwise, you may be able to work around the issue by using your injector's video mode patching features or modifying the vWii's video mode, but I'll leave that up to you.​
  1. Extract the Galaxy1GamePad archive into a directory with your Super Mario Galaxy disc image.
    For example:
    C:\Games\Wii\Hacking\SuperMarioGalaxy

  2. Open a terminal/command prompt window in that directory.
    On modern versions of Windows, you can do this by opening a folder, clicking the address bar ...
    e.g. This PC > Local Disk (C) > Games, etc.​
    ... then typing cmd and pressing Enter.​

  3. Unpack your Super Mario Galaxy disc image.
    For example:
    wit extract --psel=data "RMGE01.wbfs" Galaxy1GamePad
    If your disc image is named something else, replace RMGE01.wbfs with that file name.

  4. Apply your chosen GCT file to your extracted main.dol file.
    For example:
    wstrt patch Galaxy1GamePad\sys\main.dol --add-section RMGE01-AllStars-RemoveDeflicker.gct
    Remember to replace the GCT filename with your region and variant.

  5. Repackage your extracted Super Mario Galaxy folder into a disc image.
    For example:
    wit copy Galaxy1GamePad Galaxy1GamePad.wbfs

  6. Using your newly patched Super Mario Galaxy disc image, create a Wii VC injection with Classic Controller emulation enabled.
    At this point, the process is the same as injecting any other game with Classic Controller support. You do not need the 'Force Classic Controller Connected' option, Classic Controller emulation is fine.​

Changelog


  • 1.2
    Added Japan and Korea versions​

  • 1.1
    Added Europe version​

  • 1.0
    Initial release​
 
Last edited by Vague Rant,
I've been playing this a bit from a inject i've found somewhere, so the gamepad works but....
The problem is that Gamepad and Wiimote don't seems to work at the same time (so no second player who can targets monsters with gems). Also, in further level, BIG BUG, when you try to play with the wii remote in further level (around level 5), you are stuck in STARS that are supposed to send you to the next level, it doesn't send you to the next.....
 
I've been playing this a bit from a inject i've found somewhere, so the gamepad works but....
The problem is that Gamepad and Wiimote don't seems to work at the same time (so no second player who can targets monsters with gems). Also, in further level, BIG BUG, when you try to play with the wii remote in further level (around level 5), you are stuck in STARS that are supposed to send you to the next level, it doesn't send you to the next.....
This then seems to be an specific issue related to the "inject you found somewhere" as I was able to finish the game just fine in WiiVC (Pal Game on Pal Console)
 
I am trying to mod my smg1 iso with this hack:

The issue that im having is that everything works well until i have to inject the .gct to the "Galaxy1Gamepad", i have the .gct in my root folder and the program sends this error

Immagine 2025-01-08 190755.png



I did see that in the post, someone had the same issue as me, and they did fix it but didin't tell how to do so.

FYI: i am using a .iso file converted from a .wbfs, and the galaxy1gamepad folder is not protected with read-only.

Can someone help me? Any help is appreciated!

P.S. i fixed it now, this issue can be caused by a faulty .wbfs file, i changed it and it worked no issue.
 
Last edited by I-need-help-with-wup-wiiu,
I couldn't get this to work, but I'm not sure why (I am not tech savvy). I followed all the steps listed & got up to the actual inject part, but then it went wrong. I have some screenshots of the errors I got in UWUVCI:

1742762991375.png

1742762998245.png


I also tried TeconMoon's WiiVC Injector but kept getting this:
1742763183632.png
 
I couldn't get this to work, but I'm not sure why (I am not tech savvy). I followed all the steps listed & got up to the actual inject part, but then it went wrong. I have some screenshots of the errors I got in UWUVCI:

View attachment 492973
View attachment 492974

I also tried TeconMoon's WiiVC Injector but kept getting this:
View attachment 492975
There is a new version of this injector, where you can select the .gct file and the game and let the injector handel everything else.
 
There is a new version of this injector, where you can select the .gct file and the game and let the injector handel everything else.
Apologies for the double post, but I finally gave it a try & although I was able to do the injection using your suggestion, it ultimately didn't end up working on the Wii U. Whenever I tried to start the game, it would just give me error 160-4792. Not sure why, but I don't know what else to do about it.
 
hi everyone, tried to figure this out and even tried to copy it as best i could, for some reason it cant find the file even tho its right there
Screenshot 2025-04-07 001732.png
Screenshot 2025-04-07 002346.png
 
Whenever I try to patch the main.dol file, it says that it can't open the file. What should I do?
 
Whenever I try to patch the main.dol file, it says that it can't open the file. What should I do?
Made account just to reply.. mine was adding a space so the directory was actually C:\Users\sario\Downloads\galaxy\Galaxy1GamePad \sys\main.dol I had to put it in quotes and use terminal/powershell not cmd.
 

Attachments

  • error fix.png
    error fix.png
    39.7 KB · Views: 40
Made account just to reply.. mine was adding a space so the directory was actually C:\Users\sario\Downloads\galaxy\Galaxy1GamePad \sys\main.dol I had to put it in quotes and use terminal/powershell not cmd.
I ended up figuring out j could just use the patcher built into UWUVCI, but now I have a new problem, and it's that it keeps crashing on me! Kinda similar to ploggy's problem, yet I used the right region type for the GCT file, and I did try to move the save to an SD card, which worked at first, but now it just keeps crashing, even when I move the save again.
Post automatically merged:

I ended up figuring out j could just use the patcher built into UWUVCI, but now I have a new problem, and it's that it keeps crashing on me! Kinda similar to ploggy's problem, yet I used the right region type for the GCT file, and I did try to move the save to an SD card, which worked at first, but now it just keeps crashing, even when I move the save again.
Picture
 

Attachments

  • 20250812_082608.jpg
    20250812_082608.jpg
    909.5 KB · Views: 37
I ended up figuring out j could just use the patcher built into UWUVCI, but now I have a new problem, and it's that it keeps crashing on me! Kinda similar to ploggy's problem, yet I used the right region type for the GCT file, and I did try to move the save to an SD card, which worked at first, but now it just keeps crashing, even when I move the save again.
Post automatically merged:


Picture
Probably a problem with uwuvci. Try using TeconMoon
 
Probably a problem with uwuvci. Try using TeconMoon
But teconmoon doesn't have a gct patcher?
Post automatically merged:

But teconmoon doesn't have a gct patcher?
Nevermind about the version I have not being able to patch, I got the command prompt to patch now, but I get error 76 when I want to copy it as a wfbs file
 
Last edited by NotLiam64,

Site & Scene News

Popular threads in this forum