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

Discussion in 'Wii U - Hacking & Backup Loaders' started by shutterbug2000, Sep 30, 2016.

  1. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Title :D

    Thanks!
     
    KiiWii likes this.
  2. yahoo
    This message by yahoo has been removed from public view by raulpica, Sep 30, 2016, Reason: Useless -rp.
    Sep 30, 2016
  3. Netux

    Netux Newbie

    Newcomer
    5
    0
    May 22, 2016
    Argentina
    I haven't got around it but from an example I've seen I would say RGBA
     
  4. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Thanks! :)
     
  5. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    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
     
  6. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    Trying to port an emulator and needed to know what color format the wii u expected.

    (not a rude question at all! :) )
     
  7. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    OKay :D Good luck :P
     
  8. Boogieboo6

    Boogieboo6 @realDonaldTrump

    Member
    957
    1,310
    Jul 30, 2015
    United States
    He's porting an emulator! Quick! We need a speculation thread and a release thread with a healthy dose of unnecessary hype!
     
  9. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,877
    1,401
    Nov 17, 2008
    United Kingdom
    Om gee I hurp itz da... I can't do this....

    Hoping for PSX emu :) <LEL
     
  10. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,081
    2,179
    Oct 11, 2014
    United States
    No, nothing that advanced. It's a rather simple system. Anyone want to guess what it is?

    (it's already been ported to 3DS by nop90 if that helps).
     
  11. Marko76

    Marko76 GBAtemp Psycho!

    Member
    3,682
    2,069
    Aug 19, 2015
    United Kingdom
    Clydebank
    I guess a Commodore 64 or a zx spectrum 48k (timex for our American friends) or Atari 2600
     
  12. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    Atari 2600 or a Neo Geo Pocket COLOR emulator
     
  13. KiiWii

    KiiWii GBAtemp Psycho!

    Member
    3,877
    1,401
    Nov 17, 2008
    United Kingdom
    RETURN OF THE HYLIAN???

    Edit whoops you said emu....
     
  14. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    829
    2,054
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    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".
     
  15. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    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, Oct 1, 2016
  16. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    829
    2,054
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    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, Oct 1, 2016 - Reason: oops
  17. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    I'm not sure about OSScreen, but I posted what games use (GX2).

    — Posts automatically merged - Please don't double post! —

    BTW, by RGBA16 you mean RGB5A1 right? Because there's also R16G16B16A16...
     
    Last edited by AboodXD, Oct 1, 2016
    QuarkTheAwesome likes this.
  18. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    829
    2,054
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    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, Oct 1, 2016
  19. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    To not confuse anyone:

    OSScreen uses RGBA.

    Games (GX2) use BGRA and RGB.
     
  20. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    So for an 2D emulator --> RGBA
    3D Emulator --> Luck + BGRA/RGB
     
  21. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,699
    1,427
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    :rofl2:
     
    NexoCube likes this.