Hacking What does the wii u use for colors(BGR,RGB,etc.)?

NexoCube

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
29
Location
France
XP
1,340
Country
France
Yeah it's RGBA for sure ! :)

And a little impolite question (don't meant to be rude at all :) ) :

Why do you want that information for ? :P
 
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,909
Country
Australia
I know the emulator's been released, but in case there's any other developers wondering, it depends on the graphics system you're using. If it's OSScreen, you'll want RGBA (0xRRGGBBAA, e.g. 0xFF00FFFF is 100% opaque purple). GX2 supports several colour formats which you can choose when everything's getting set up.

Also @shutterbug2000, have you noticed the fancy new Homebrew subforum? You might want to start posting stuff like this over there - this section is now officially "Hacking & Backup Loaders".
 

AboodXD

I hack NSMB games, and other shiz.
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
The Wii U uses a lot of formats.

This is what I have seen so far: (While working on a texture extractor for the Wii U)
It uses BGRA8 instead of RGBA8.
It also uses BGR10A2 instead of RGB10A2.
It also uses RGB565.
And it uses a lot of other formats.
 
Last edited by AboodXD,
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,909
Country
Australia
The Wii U uses a lot of formats.

This is what I have seen so far: (While working on a texture extractor for the Wii U)
It uses BGRA8 instead of RGBA8.
It also uses BGR10A2 instead of RGB10A2.
It also uses RGB565.
And it uses a lot of other formats.
Again, depends on the title, more specifically GX2/OSScreen. OSScreen is definitely, certainly, 100%, RGBA8; and the homebrew being written (like most) was using OSScreen, although I suppose there was no way to know that at the time.
 
Last edited by QuarkTheAwesome, , Reason: oops

AboodXD

I hack NSMB games, and other shiz.
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Again, depends on the title, more specifically GX2/OSScreen. OSScreen is definitely, certainly, 100%, RGBA16; and the homebrew being written (like most) was using OSScreen, although I suppose there was no way to know that at the time.
I'm not sure about OSScreen, but I posted what games use (GX2).

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

BTW, by RGBA16 you mean RGB5A1 right? Because there's also R16G16B16A16...
 
Last edited by AboodXD,
  • Like
Reactions: QuarkTheAwesome
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,909
Country
Australia
BTW, by RGBA16 you mean RGB5A1 right? Because there's also R16G16B16A16...
Oops, actually meant RGBA8 (or R8G8B8A8?) I wasn't really paying attention and forgot that a byte holds two hex digits, not one (a mistake I make often). Will update post to match.
 
Last edited by QuarkTheAwesome,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Yeah agreed