Homebrew Super Mario 64 Port - Wii U

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,676
Trophies
1
Age
36
XP
5,650
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,326
Trophies
3
XP
19,116
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
345
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

Member
Newcomer
Joined
Oct 28, 2020
Messages
17
Trophies
0
XP
195
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,676
Trophies
1
Age
36
XP
5,650
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    :cry: You arent'? :cry:
  • AncientBoi @ AncientBoi:
    [tells my mom not to send you anymore Christmas presents] :evil: :rofl2: :tpi:
  • Xdqwerty @ Xdqwerty:
    im a minor
  • AncientBoi @ AncientBoi:
    So. I'm a Major
  • Xdqwerty @ Xdqwerty:
    im under 18
  • AncientBoi @ AncientBoi:
    I'm waaaaaaaaaay over 18. lol
  • Xdqwerty @ Xdqwerty:
    that makes you a pedo
  • AncientBoi @ AncientBoi:
    Pedo = 1. child 2. boy 3. ? I forgot. But I wish I were still a "Boy" :sad::cry::cry::cry:
  • Xdqwerty @ Xdqwerty:
    i meant simping over someone under 18 while you are over 18 makes you a pedophile
  • AncientBoi @ AncientBoi:
    And when did I "simp" you?
  • AncientBoi @ AncientBoi:
    Just go make me the darn coffee :angry:
  • AncientBoi @ AncientBoi:
    Tea?
  • AncientBoi @ AncientBoi:
    LoL lmao
  • AncientBoi @ AncientBoi:
    L8er dude. going to watch YT's on the Ukraine/ruskie war.
    +1
  • Xdqwerty @ Xdqwerty:
    @AncientBoi,tbh i think im
    not interested in whats going on irl
  • BakerMan @ BakerMan:
    tomorrow's memorial day, so i've been looking for a playlist, but it's all just country and alternative rock
  • Xdqwerty @ Xdqwerty:
    @BakerMan, memorial day for who?
  • BakerMan @ BakerMan:
    why the hell can't i find one with a song about the soldiers who died in battle, the very reason we celebrate
  • Sonic Angel Knight @ Sonic Angel Knight:
    Bake them a cake :ninja:
    +1
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    I can change my name back tomorrow
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, what will your new username be?
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    My original one
    +1
  • RedColoredStars @ RedColoredStars:
    Stayin inside for memorial day. Just like other holidays, most people dont care or think about the actual reasons behind it. For most it's just another reason to get shit faced drunk and spout off hyper-patriotic nonsense. The Trumpers around here going to be out in full force with their trucks and guns and flags making noise all over town. Hard pass.
    RedColoredStars @ RedColoredStars: Stayin inside for memorial day. Just like other holidays, most people dont care or think about...