Homebrew Super Mario 64 Port - Wii U

danielglzt88

Member
Newcomer
Joined
Jan 19, 2021
Messages
20
Trophies
0
Age
35
XP
239
Country
Cuba
I found all the solutions for Windows with 3DS project, even to build with the Official 3DS repo and MSYS missing libs if you are interested......

After all the previous libs Enviroment installations, you have to make extra work here. Make like that:
1) Open Mingw64 and download the Official 3DS Repo like that:
Code:
git clone https://github.com/sm64-port/sm64_3ds.git

2) After that always in Mingw64, copy this and press enter:
Code:
cd sm64_3ds

3) Now we start to install the special libs audio missing to build Mingw64/ MSYS, into the sm64_3ds repo folder. So cpy this and press enter:
Code:
cd tools

4) After we have to download the audiofile libs into it, copy this and press enter:
Code:
git clone https://github.com/mpruett/audiofile.git

5) After copy this and press enter:
Code:
cd audiofile

6) After copy this and press enter:
Code:
autoreconf -i

7) Once done the previos code. After copy this and press enter:
Code:
PATH=/mingw64/bin:/mingw32/bin:$PATH LIBS=-lstdc++ ./configure --disable-docs

8) Once done the previos code. After copy this and press enter:
Code:
PATH=/mingw64/bin:/mingw32/bin:$PATH make

9) Once done the previos code. After copy this and press enter:
Code:
make install

10) Once done the previos code. Now this will create the lib empty folder into the "tools" folder . So after copy this and press enter:
Code:
mkdir ../lib

11) Once done the previos code. Now this will copy/ create the lib files into the "lib" folder under "tools" directory . So after copy this and press enter:
Code:
cp libaudiofile/.libs/libaudiofile.a ../lib/ && cp libaudiofile/.libs/libaudiofile.la ../lib/

12) Once done the previos code. After copy this and press enter:
Code:
PATH=/mingw64/bin:/mingw32/bin:$PATH make

13) Once done. Close Mingw64, and copy and paste your baserom.us.z64 file into the sm64_3ds folder.

14) Now re-open Mingw64 and copy this and press enter:
Code:
cd sm64_3ds

15) Now you can build, copy this and press enter:
Code:
make

16) Once finished to build, if comeout that the .elf file it's builded successfully , but the .3dsx file will NOT build and gives you this error as below:
Code:
make: 3dsxtool: No such file or directory
make: *** [Makefile:847: build/us_3ds/sm64.us.f3dex2e.3dsx] Error 127
Have means that with this custom lib installation we have to give back the sourching PATH.

17) So to solve this, don't close the MIngw64 and keep it into the sm64_3ds directory; copy this and press enter:
Code:
export PATH="$PATH:/opt/devkitpro/tools/bin" && echo "OK!"

18) And than you can build even the .3dsx file, copy this and press enter:
Code:
make

Check your build folder and you will have all the files there......
Everything OK 100%, excellent tutorial. Thanks a lot
 
  • Like
Reactions: CrisMod

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
Hola I'm back at it again asking. How do I compile this with msys2? I also want to know how to turn it from homebrew app to home menu app with NUSpacker. Please please please I wanna do it.
Building with msys2 is explained step-by-step in both the readme and the discord server for the port (linked in the first post).
As for using NUSPacker, I believe any tutorial online would suffice.
 

LucyLastic

Member
Newcomer
Joined
Mar 2, 2021
Messages
8
Trophies
0
Age
58
XP
49
Country
United Kingdom
They should be compatible if you find where it saves the savefile, lol. (I have no idea)
Root of SD card.. Simple really when you use SD card as much as me and notice another file.. I have .elf and .rpx for Wii U.. elf gives "not enough memory" error but rpx works fine.
 

Haibuu

Member
Newcomer
Joined
Mar 3, 2021
Messages
10
Trophies
0
Age
35
XP
106
Country
Ecuador
Thank you OP and guys,
I dusted off the Wii U and was able to get a few things done, which make it better than running it on the Super Mario 3D All-Stars version.
1) Compiled using Windows (Using pointers from Page 15, CrisMod post)
2) Packed RTX into a Channel (Page 4 ZiRoN321 post), installing to NAND doesn't work for me, it must be USB.
3) Retro-Bit Tribute 64 Wired N64 Controller configured and running through hid to VPad (thread hid-to-vpad.424127)
4) 60 FPS (Added the patch file posted by mive on this page)

So let me know if you have issues with this set up and I might be able to help.


DSC_0775.JPG


*Edit, added 60FPS patch reference
 
Last edited by Haibuu,

Gabberhead

Well-Known Member
Newcomer
Joined
Jan 13, 2019
Messages
56
Trophies
0
Age
47
XP
712
Country
Germany
I Tried to compile it 2 months ago and also tried it few days ago with the 60fps patch, but also have the errors. Without the Patch it works. I dont know if there will be a fix for it, because the problem exits now for months.
 
Last edited by Gabberhead,

LucyLastic

Member
Newcomer
Joined
Mar 2, 2021
Messages
8
Trophies
0
Age
58
XP
49
Country
United Kingdom
Hang on - first post was Mario 64.. Can't link as this page won't allow it. I have Super Mario 64 Wii U port..

Elf and rpx.

--------------------- MERGED ---------------------------

Wait for the next reply.Can do SM64 wii U.... elf and rpx.
 

Gabberhead

Well-Known Member
Newcomer
Joined
Jan 13, 2019
Messages
56
Trophies
0
Age
47
XP
712
Country
Germany
Thanx. But I have already a compiled Version by myself from last September inkl 60fps Patch and with a Launcher to Start it from the menu.
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
try this one:

use git apply to apply the patch

Code:
mv@mv-pc:/tmp/SM64$ git apply 60_fps_patch
60_fps_patch:1409: trailing whitespace.
      
60_fps_patch:1978: trailing whitespace.
  
warning: 2 Zeilen fügen Whitespace-Fehler hinzu.

(please note I changed the filename afterwards)
 

Attachments

  • 60_fps_patch_653d31f.patch.zip
    17.2 KB · Views: 143
Last edited by mive,

Haibuu

Member
Newcomer
Joined
Mar 3, 2021
Messages
10
Trophies
0
Age
35
XP
106
Country
Ecuador
try this one:

use git apply to apply the patch

Code:
mv@mv-pc:/tmp/SM64$ git apply 60_fps_patch
60_fps_patch:1409: trailing whitespace.
    
60_fps_patch:1978: trailing whitespace.
 
warning: 2 Zeilen fügen Whitespace-Fehler hinzu.

(please note I changed the filename afterwards)

Thank you mive, the Patch file and effect worked great!
 
Last edited by Haibuu,
  • Like
Reactions: Gabberhead and mive

nitrostemp

Well-Known Member
Member
Joined
Mar 15, 2009
Messages
1,563
Trophies
0
Age
33
XP
1,469
Country
try this one:

use git apply to apply the patch

Code:
mv@mv-pc:/tmp/SM64$ git apply 60_fps_patch
60_fps_patch:1409: trailing whitespace.
     
60_fps_patch:1978: trailing whitespace.
 
warning: 2 Zeilen fügen Whitespace-Fehler hinzu.

(please note I changed the filename afterwards)


this isnt working on latest sm64ex i get the following errors:


60_fps_patch.patch:1409: trailing whitespace.

60_fps_patch.patch:1978: trailing whitespace.

error: patch failed: include/types.h:127
error: include/types.h: patch does not apply
error: patch failed: src/engine/graph_node.h:117
error: src/engine/graph_node.h: patch does not apply
error: patch failed: src/engine/surface_collision.c:7
error: src/engine/surface_collision.c: patch does not apply
error: patch failed: src/game/camera.h:654
error: src/game/camera.h: patch does not apply
error: patch failed: src/game/envfx_bubbles.c:35
error: src/game/envfx_bubbles.c: patch does not apply
error: patch failed: src/game/hud.c:57
error: src/game/hud.c: patch does not apply
error: patch failed: src/game/ingame_menu.c:111
error: src/game/ingame_menu.c: patch does not apply
error: patch failed: src/game/level_geo.c:34
error: src/game/level_geo.c: patch does not apply
error: patch failed: src/game/rendering_graph_node.c:326
error: src/game/rendering_graph_node.c: patch does not apply
error: patch failed: src/game/screen_transition.c:206
error: src/game/screen_transition.c: patch does not apply
error: patch failed: src/menu/intro_geo.c:1
error: src/menu/intro_geo.c: patch does not apply
error: src/pc/gfx/gfx_dxgi.cpp: No such file or directory
error: src/pc/gfx/gfx_glx.c: No such file or directory
error: patch failed: src/pc/gfx/gfx_sdl2.c:139
error: src/pc/gfx/gfx_sdl2.c: patch does not apply
error: patch failed: src/pc/pc_main.c:79
error: src/pc/pc_main.c: patch does not apply
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    LeoTCK @ LeoTCK: hmm