Homebrew Super Mario 64 Port - Wii U

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,759
Trophies
1
Age
36
XP
5,982
Country
Germany
Does anyone know how @AboodXD managed to compile the SGI Models for Wii U?
He didn't? You see, the ship started to sail with SM64 but today it's this big ship of harkinian. The PC port of SM64 used https://github.com/Kenix3/libultraship already (just not with such a nice name and not under a seperate repo... With SM64 libultraship is all over the sources, you have to read deep) and, while I didn't look into it, I would bet libultraship can handle native N64 models.

Here's for example something for Wii U graphics in libultraship: https://github.com/Kenix3/libultraship/blob/main/src/graphic/Fast3D/gfx_wiiu.cpp
Here's a lot of resource related stuff, like texture loading: https://github.com/Kenix3/libultraship/tree/main/src/resource
... Just search your way and/or ask ship of harkinian devs how they did it. But maybe don't go to them like "hey, how to compile the models for Wii U?" but more like "I searched and searched libultraship, how is it reading the modell data into shaders and stuff the Wii U understands?". ;)
 

Flame

Me > You
Global Moderator
Joined
Jul 15, 2008
Messages
7,430
Trophies
4
XP
20,090
Country
United Kingdom
He didn't? You see, the ship started to sail with SM64 but today it's this big ship of harkinian. The PC port of SM64 used https://github.com/Kenix3/libultraship already (just not with such a nice name and not under a seperate repo... With SM64 libultraship is all over the sources, you have to read deep) and, while I didn't look into it, I would bet libultraship can handle native N64 models.

Here's for example something for Wii U graphics in libultraship: https://github.com/Kenix3/libultraship/blob/main/src/graphic/Fast3D/gfx_wiiu.cpp
Here's a lot of resource related stuff, like texture loading: https://github.com/Kenix3/libultraship/tree/main/src/resource
... Just search your way and/or ask ship of harkinian devs how they did it. But maybe don't go to them like "hey, how to compile the models for Wii U?" but more like "I searched and searched libultraship, how is it reading the modell data into shaders and stuff the Wii U understands?". ;)

This is like the teacher giving you the answer in a test @IamtheSandwicj
 

IamtheSandwicj

Active Member
Newcomer
Joined
Mar 25, 2023
Messages
32
Trophies
0
XP
377
Country
United States
He didn't? You see, the ship started to sail with SM64 but today it's this big ship of harkinian. The PC port of SM64 used https://github.com/Kenix3/libultraship already (just not with such a nice name and not under a seperate repo... With SM64 libultraship is all over the sources, you have to read deep) and, while I didn't look into it, I would bet libultraship can handle native N64 models.

Here's for example something for Wii U graphics in libultraship: https://github.com/Kenix3/libultraship/blob/main/src/graphic/Fast3D/gfx_wiiu.cpp
Here's a lot of resource related stuff, like texture loading: https://github.com/Kenix3/libultraship/tree/main/src/resource
... Just search your way and/or ask ship of harkinian devs how they did it. But maybe don't go to them like "hey, how to compile the models for Wii U?" but more like "I searched and searched libultraship, how is it reading the modell data into shaders and stuff the Wii U understands?". ;)
Thanks for your advice. I don't understand code, so I think I may be in over my head, But if I find the time (and motivation lol) I'll probably try and figure it out.
 

Doneyboney

Active Member
Newcomer
Joined
Oct 28, 2020
Messages
29
Trophies
0
XP
314
Country
United States
For anyone interested, you can build an aroma wuhb by using wuhbtool from dev kit pro. I won't go through in detail how to install devkitpro, wut and wut-tools. You can find instructions here.
https://gbatemp.net/threads/super-mario-64-port-wii-u.571682/post-9836677

You'll need the iconTex.tga, bootTvTex.tga & bootDrcTex.tga files from the forwarder channel on this post
https://gbatemp.net/threads/super-mario-64-port-wii-u.571682/post-9173644

You need to run the mingw64 instance of devkitpro otherwise the rpx won't compile correctly for Aroma

1. Copy devkitPro\tools\bin\wuhbtool.exe to your working directory
2. Build SM64ex or SM64-port from aboood40091 wiiu ports, both works.
3. Copy your compiled .rpx file to your working directory and rename it to sm64.rpx
4. Copy the 3 tga files to your working directory
5. Open cmd / powershell to your working directory and run " .\wuhbtool.exe sm64.rpx sm64.wuhb --name="Super Mario 64 Wii U Port" --author=AboodXD --icon=iconTex.tga --tv-image=bootTvTex.tga --drc-image=bootDrcTex.tga ".
6. Copy the outputted sm64.wuhb to your WiiU/Apps Folder
7. Run and enjoy
devkitPro\tools\bin\wuhbtool.exe wasn't in there. consider me stuck
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,759
Trophies
1
Age
36
XP
5,982
Country
Germany
devkitPro\tools\bin\wuhbtool.exe wasn't in there. consider me stuck
You probably forgot pacman -Syu wut-tools ... No wut-tools, no wuhbtool... ;)

Also btw no need to copy wuhbtool around, just run it from where it is: /opt/devkitpro/tools/bin/wuhbtool sm64.rpx sm64.wuhb --name="Super Mario 64 Wii U Port" --author=AboodXD --icon=iconTex.tga --tv-image=bootTvTex.tga --drc-image=bootDrcTex.tga (this is for Linux but Windows should be similar. Also with a correcty installed DevkitPro you won't need to give the full path, so this should work, too: wuhbtool sm64.rpx sm64.wuhb --name="Super Mario 64 Wii U Port" --author=AboodXD --icon=iconTex.tga --tv-image=bootTvTex.tga --drc-image=bootDrcTex.tga).[/code]

//EDIT: Now I realise the --author=AboodXD. Ofc. it's nice to give credits here but the repo of AboodXD is basically dead. This days one should compile from https://github.com/AloUltraExt/sm64ex-alo (or maybe I'm also out of date here and there's something new already, seeing the last commit there was 5 months ago?).
 
  • Like
Reactions: Doneyboney

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
6,092
Trophies
1
Age
44
XP
7,217
Country
Germany
I'm having lots of problems with random crashing with the version I have for Aroma, is this a common occurence?
Do you habe the WUHB file or installed to USB?

I've got an own question guys: How on earth do I change controls? It's so annoying that A and B do the same! A has to be jump and B punch.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
6,092
Trophies
1
Age
44
XP
7,217
Country
Germany
Unfortunately it doesn't save for me in Aroma.
I think a few others reported that as well, right?
Also I have the "classic" low-poly Mario whereas there's a pretty good looking one on the Switch port. Any chance to use that on Wii U too?
 

KirbyBot

Kirby but robot I guess?
Member
Joined
Dec 26, 2023
Messages
256
Trophies
1
Location
Planet Popstar
XP
843
Country
Antarctica
Unfortunately it doesn't save for me in Aroma.
I think a few others reported that as well, right?
Also I have the "classic" low-poly Mario whereas there's a pretty good looking one on the Switch port. Any chance to use that on Wii U too?
You mean, this one?
Post automatically merged:

Sadly I don't think anyone continued the Render96 on Wii U project to receive the latest Render96 updates, but hopefully one day someone finishes it. :)
 
Last edited by KirbyBot,
  • Sad
Reactions: lordelan

Turme

Member
Newcomer
Joined
Sep 29, 2017
Messages
16
Trophies
1
Age
39
XP
1,248
Country
Mexico
Hello, I am compiling this program and I was able to create the Linux and 3DS versions without any problem, but the Wii U version tells me that the file 'sdl2/sdl.h' is missing. Does anyone know how to install it or where to download it? My machine has Lubuntu 24.04.1 LTS. I also tried to compile it on a machine with Windows, but I had the same problem.


*In Windows, I fixed it with pacman -S mingw-w64-x86_64-SDL2
 

Attachments

  • photo_2024-10-18_16-06-02.jpg
    photo_2024-10-18_16-06-02.jpg
    97.6 KB · Views: 5
  • photo_2024-10-18_16-06-19.jpg
    photo_2024-10-18_16-06-19.jpg
    142 KB · Views: 6
  • photo_2024-10-18_16-06-32.jpg
    photo_2024-10-18_16-06-32.jpg
    139.4 KB · Views: 7
Last edited by Turme,
  • Like
Reactions: lordelan

patters

Well-Known Member
Member
Joined
Jan 28, 2006
Messages
186
Trophies
1
XP
1,014
Country
Do you habe the WUHB file or installed to USB?

I've got an own question guys: How on earth do I change controls? It's so annoying that A and B do the same! A has to be jump and B punch.
Has anyone got a build which fixes this problem? It's meant to be configurable with the settings file, but that value is replaced every time without effect.
 
  • Like
Reactions: lordelan

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    kijetesantakalu042 @ kijetesantakalu042: https://www.youtube.com/watch?v=9Vl1EGGzVkw