Homebrew Super Mario 64 Port - Wii U

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
60fps patch works pretty laggy in sm64ex :unsure: at least in my compilation
Screenshot_20200820-044716_Chrome.jpg

Code:
gfx_whb_window.c
 
  • Like
Reactions: Lotoonlink

cvskid

Well-Known Member
Member
Joined
Apr 13, 2014
Messages
2,807
Trophies
1
XP
3,354
Country
United States
I have just created some nice splash images and icons and got it installed as a channel :D
IMPORTANT: Do this at your own risk!!

How to create a channel to launch SM64 directly from the Wii U home screen:

***You need to be running custom firmware with signature patches for this to work!!***

1) Compile RPX according to the instructions on this thread. I can also confirm that WSL works perfectly. The attached file does NOT include the RPX!!!
2) The attached file contains the images and metadata to create the channel. You can modify the images as you want if you know what you are doing (important link!). You will also need NUSPacker
3) Place your compiled RPX in the "code" folder and rename it to "sm64.rpx"
4) Use NUSPacker to create the installation files (replace the zeros with the Wii U Common Key):
Code:
java -jar NUSPacker.jar -in sm64dir -out "output\Super Mario 64 Wii U Port [SMWU01]" -encryptKeyWith 00000000000000000000000000000000
Where "sm64dir" is the directory with all the required files.

5) Install to USB with WUP Installer GX2 or similar (usually not a good idea to install to NAND)
6) Profit!

The startup sound is the Mario chime, I got it from here.
And for reference, these are the images used (customized by myself from images found on the Internet):

bootTvTex.tga (TV splash)
uIJ0j9T.jpg

bootDrcTex.tga (Gamepad splash)
RbtXtBn.jpg

iconTex.tga (Channel icon)
54Wsl8l.jpg

Hope this is useful!
Is there any way to get a premade wii u channel for super mario 64? I have both regular java and sdk installed. I tried using nuspacker but it wouldn't load at all.

Then made a run.bat for the nuspacker file but using that just makes it open then close right afterwards. Even tried a program called nuspackerplus but when i tried using that it doesnt create anything.
 
Last edited by cvskid,

cagerhager

Well-Known Member
Member
Joined
Feb 17, 2018
Messages
203
Trophies
0
Age
40
XP
1,453
Country
United States
works for me. Compiled a few different versions today. follow the tutorial on page 4. Here's my script I used.

java -jar NUSPacker.jar -in "(where your input files are located)" -out "output\Super Mario 64 Wii U Port [SMWU01]" -encryptKeyWith 00000000000000000000000000000 (0's are the wii u common key)

make sure the rpx (sm64.rpx) in the code folder and then hold shift and push right mouse button then open powershell in folder where NUSPacker is stored. Copy the script and paste it into the powershell and push enter.
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
try:
get sm64ex version, nightly branch
Download the zip, extract it and copy the extracted folders into sm64ex dir (overwrite yes)
copy patch file into sm64ex dir
patch -p1 < SonicPatch2.1.patch

some parts of the patch fails, you need to resolve them manually
(I did a quick test without this and the build compiles and boots but shouldnt be skipped)
 

Attachments

  • IMG_20201016_085105.jpg
    IMG_20201016_085105.jpg
    1 MB · Views: 338
  • IMG_20201016_085221.jpg
    IMG_20201016_085221.jpg
    879.8 KB · Views: 308
  • Like
Reactions: Lotoonlink

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
I made a zip which contains all necessary files to patch sm64 wiiu to sonic mod (2.2):

clone https://github.com/aboood40091/sm64ex nightly branch
add baserom
copy directories from this zip to source dir (overwrite files)
git apply 01_SM64_WiiU_Sonic.patch

for 60fps patch:
(commit first before apply second patch)
git apply 02_SM64_WiiU_Sonic_60fps.patch

build

all credits go to:
AboodXD for the wiiu port of sm64 (https://gbatemp.net/threads/super-mario-64-port-wii-u.571682/)
theison for creating the sonic64 pc mod (http://sm64pc.info/forum/viewtopic.php?f=4&t=101)
 

Attachments

  • SonicSM64_WiiU.zip
    2.3 MB · Views: 276

Gabberhead

Well-Known Member
Newcomer
Joined
Jan 13, 2019
Messages
56
Trophies
0
Age
47
XP
712
Country
Germany
how can i invert the horizontal camera in the game before i compile it?

i think i must change something here. but which one?

struct WiiUKeymap map[] = {
{ B_BUTTON, VB(B) | VB(Y), CB(B) | CB(Y), PB(B) | PB(Y) },
{ A_BUTTON, VB(A) | VB(X), CB(A) | CB(X), PB(A) | PB(X) },
{ START_BUTTON, VB(PLUS), CB(PLUS), PB(PLUS) },
{ Z_TRIG, VB(L) | VB(ZL), CB(L) | CB(ZL), PT(L) | PT(ZL) },
{ L_TRIG, VB(MINUS), CB(MINUS), PB(MINUS) },
{ R_TRIG, VB(R) | VB(ZR), CB(R) | CB(ZR), PT(R) | PT(ZR) },
{ U_CBUTTONS, SE(UP) },
{ D_CBUTTONS, SE(DOWN) },
{ L_CBUTTONS, SE(LEFT) },
{ R_CBUTTONS, SE(RIGHT) }
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
how can i invert the horizontal camera in the game before i compile it?

i think i must change something here. but which one?

struct WiiUKeymap map[] = {
{ B_BUTTON, VB(B) | VB(Y), CB(B) | CB(Y), PB(B) | PB(Y) },
{ A_BUTTON, VB(A) | VB(X), CB(A) | CB(X), PB(A) | PB(X) },
{ START_BUTTON, VB(PLUS), CB(PLUS), PB(PLUS) },
{ Z_TRIG, VB(L) | VB(ZL), CB(L) | CB(ZL), PT(L) | PT(ZL) },
{ L_TRIG, VB(MINUS), CB(MINUS), PB(MINUS) },
{ R_TRIG, VB(R) | VB(ZR), CB(R) | CB(ZR), PT(R) | PT(ZR) },
{ U_CBUTTONS, SE(UP) },
{ D_CBUTTONS, SE(DOWN) },
{ L_CBUTTONS, SE(LEFT) },
{ R_CBUTTONS, SE(RIGHT) }
Swap L_CBUTTONS and R_CBUTTONS.
 
  • Like
Reactions: Lotoonlink

MikaDubbz

Well-Known Member
Member
Joined
Dec 12, 2017
Messages
3,836
Trophies
1
Age
36
XP
7,161
Country
United States
So I'm a little confused, I see you say that SM64ex on Wii U doesn't yet support button remapping, so I have a compiled version that works on my Wii U, i can pull up the option menu, turn on the camera display that allows me to use the right stick freely to move the camera, but because of the lack of button remapping, there is no way to hit the L button and bring up the cheat menu.

Meanwhile, I found another compiled version for SM64ex on reddit for Wii U, and it has remapped L to - on the Wii U controller, and this allows me to pull up the cheats menu. But, this build of SM64ex lacks the ability to activate the free camera. I asked the guy that compiled it about it, and he claimed there was no way to implement the sm64ex free camera, but I mean I have it working in a different build (have to enable mouse look instead of analogue camera for whatever reason, but it works). So it's a little frustrating how there doesn't seem to be a build with all those options when it seems like there totally could be, I want a build for Wii U that both has the free camera and allows me to access the cheat menu. Also, the cheat menu in the build he provided was considerably lacking in available cheats from other sm64ex builds I've seen on youtube (like I've seen the cheat menu give the ability to spawn caps or koopa shells, but those options weren't in the cheats menu I do get on the Wii U build i have with the cheats menu that I can pull up), is there a way to choose which cheats get added to the sm64ex cheat menu too?
 
Last edited by MikaDubbz,

Sushi8756

Member
Newcomer
Joined
Nov 2, 2020
Messages
9
Trophies
0
Age
16
XP
53
Country
United States
I really want this WiiU build with Render96, I have seen many tutorials, but I still don't get anything about how to get a WiiU build with Render96, (I have never done anything like this before.) can someone please tell me step by step how to get SM64ex nightly for WiiU (the one on GitHub AboodXD made) with:
Cheats, Different camera options, Render96, and patch compatible so I can get things like Sonic Version also.
If those aren't possible, I at least want Render96.
Thanks.
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
So I'm a little confused, I see you say that SM64ex on Wii U doesn't yet support button remapping, so I have a compiled version that works on my Wii U, i can pull up the option menu, turn on the camera display that allows me to use the right stick freely to move the camera, but because of the lack of button remapping, there is no way to hit the L button and bring up the cheat menu.

Meanwhile, I found another compiled version for SM64ex on reddit for Wii U, and it has remapped L to - on the Wii U controller, and this allows me to pull up the cheats menu. But, this build of SM64ex lacks the ability to activate the free camera. I asked the guy that compiled it about it, and he claimed there was no way to implement the sm64ex free camera, but I mean I have it working in a different build (have to enable mouse look instead of analogue camera for whatever reason, but it works). So it's a little frustrating how there doesn't seem to be a build with all those options when it seems like there totally could be, I want a build for Wii U that both has the free camera and allows me to access the cheat menu. Also, the cheat menu in the build he provided was considerably lacking in available cheats from other sm64ex builds I've seen on youtube (like I've seen the cheat menu give the ability to spawn caps or koopa shells, but those options weren't in the cheats menu I do get on the Wii U build i have with the cheats menu that I can pull up), is there a way to choose which cheats get added to the sm64ex cheat menu too?
I don't know anything about the latter. I didn't change anything so far that would case such difference between two builds.
You may want to build the latest source code on your own instead of getting a build from somewhere.
(And yes, L is mapped to -)

I really want this WiiU build with Render96, I have seen many tutorials, but I still don't get anything about how to get a WiiU build with Render96, (I have never done anything like this before.) can someone please tell me step by step how to get SM64ex nightly for WiiU (the one on GitHub AboodXD made) with:
Cheats, Different camera options, Render96, and patch compatible so I can get things like Sonic Version also.
If those aren't possible, I at least want Render96.
Thanks.
You can't use any version after v1.3 as they have their own source code. Said source code would need to be edited to add Wii U support to it.
The Render64 discord itself has a tutorial on how to set up versions v1.3 and lower for sm64ex. (You want to follow the linux section)
In any case, Render64 is still not really playable as the performance is really bad in most levels.
 

Sushi8756

Member
Newcomer
Joined
Nov 2, 2020
Messages
9
Trophies
0
Age
16
XP
53
Country
United States
I don't know anything about the latter. I didn't change anything so far that would case such difference between two builds.
You may want to build the latest source code on your own instead of getting a build from somewhere.
(And yes, L is mapped to -)


You can't use any version after v1.3 as they have their own source code. Said source code would need to be edited to add Wii U support to it.
The Render64 discord itself has a tutorial on how to set up versions v1.3 and lower for sm64ex. (You want to follow the linux section)
In any case, Render64 is still not really playable as the performance is really bad in most levels.

Will the source code ever be uptaded so we have have better versions? Just wondering...
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
I tried to use this font changing mod (on top of sonic mod):
https://sm64pc.info/forum/viewtopic.php?f=3&t=99

font is changed, but if I dont use external data (assets copied to the correct dir) I cant use bettercamera (camera options wont show up in options menu).
If I do use external data, options menu works like it should, but I get graphical issues (e.g sonic is purple instead of blue). Any idea what's causing this and/or how to fix this issue?

best regards
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @salazarcosplay, Morning