A question about homebrew development

  • Thread starter Thread starter Werthorga
  • Start date Start date
  • Views Views 1,812
  • Replies Replies 1

Werthorga

Member
Newcomer
Joined
Dec 23, 2021
Messages
13
Reaction score
2
Trophies
0
Age
21
XP
70
Country
United States
I have recently been dabbling in 3DS and most importantly Wii U homebrew development over the past few months. I have a big question before I make my first Wii U homebrew.

  • Would it be okay to use the official GX2 shader compiler, and if so would those shaders work with a program compiled with WUT?

For context to this question, I have a copy of the Cafe SDK on one of my computers.
I installed it specifically for the Wii U's distribution of Unity, but I later uninstalled Unity because of how slow and memory-intensive it is.
So I would like to know, is it permissible to use the official shader compiler to compile GLSL shader code for the Wii U's GX2? Not that learning GPU7 assembly is sooooo bad, I'm just asking. The 3DS' Pica200 assembly is fairly easy in contrast though.
The question might sound dumb, but I would like to make at least one graphics-intensive homebrew program for the Wii U since the Wii had a ton of them. For now we only have the Colored Cube demo and that was made 7 years ago.
Mind you, only the shaders would be compiled with anything official and the .rpx itself would be compiled using the unofficial WUT libraries.
The Cafe SDK's compiler supports 5 different types of shaders compared to the 2 that Latte Assembler can compile, so that's another reason why I'm asking.
 
is it permissible to use the official shader compiler
Legally? No. Moralically? Depends on whom you ask but I guess the homebrew appstore team won't accept that.

An open source shader compiler exists through but for some reason it still isn't public (no idea why and I forgot who could have an answer to that).

//EDIT: IIRC Gary has a lot of experience with the GPUs assembler. Look into Ship of harkinian, for example, but be warned that this is crazy shit:

https://github.com/Kenix3/libultraship/blob/main/src/graphic/Fast3D/gfx_wiiu.cpp

https://github.com/Kenix3/libultraship/blob/main/src/graphic/Fast3D/gfx_gx2.cpp

https://github.com/Kenix3/libultraship/blob/main/src/graphic/Fast3D/gx2_shader_gen.c

So maybe hop onto Garys Discord to talk to him a bit?
 
Last edited by V10lator,

Site & Scene News

Popular threads in this forum