Switching Gamepad video output?

Discussion in 'Wii U - Hacking & Backup Loaders' started by Gamer4647, Aug 16, 2016.

  1. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    I wonder if anybody has tried switching things up so that the TV video is on the Gamepad

    It would make for a promising piece of homebrew for them squid kids out there
     


  2. Kafluke

    Kafluke GBAtemp Psycho!

    Member
    3,395
    1,666
    May 6, 2006
    United States
    A few games offer this natively. I don't think we can alter that until a full IOSU hack is released
     
    zeldaism, Gamer4647 and CJB100 like this.
  3. handy333

    handy333 GBAtemp Regular

    Member
    122
    37
    Sep 8, 2010
    United States
    Over in Wonderlust
    It would be cool to stream video output from the WiiU to other things like an IPad, Vita, or whatever rather than the game pad but still be able to control with the game pad.
     
    TotalInsanity4 likes this.
  4. CreeperMario

    CreeperMario GBAtemp Advanced Fan

    Member
    616
    364
    Jun 18, 2016
    Australia
    OSv10 v15702
    This MIGHT be possible. If it was, it would require a kernel exploit and some trickery with the GX2 library.
    That is, assuming we can modify the GX2 library while it is in memory, if not an IOSU exploit would definitely allow us to do this. (CFW, anyone?)
     
  5. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    Wikipedia states 'The GamePad's display contents are streamed as video from the console using a custom protocol and the H.264 video codec, for which the GamePad contains a hardware decoder.'

    A reply to a question on quora states that a hardware decoder means 'there is a small chip on the motherboard specifically dedicated to decoding H264 video. The main A6 processor is not using or spending cycles decoding video, it has essentially outsourced that job to a highly specialized worker.'

    As for software decoding, 'it's where you write and compile an application, meant to be run on a standard CPU, that will then decode the video. This is generally considered inferior, as video processing takes a lot of work, which means the CPU would take more power and time to get the same job done'

    Judging by the looks of things, you might only be able to achieve this on a PC, where such software and processing power is available, and at that point, you should just use the TV as you normally do

    Sources:
    https://en.m.wikipedia.org/wiki/Wii_U_GamePad
    https://www.quora.com/What-is-the-difference-between-hardware-decoding-and-software-decoding
     
    Last edited by Gamer4647, Aug 17, 2016
  6. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    LMAO it's possible but it would require the exact pointer for the TV Screen Buffer in Memory
     
  7. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    You do know what I replied was for something else, right?
     
  8. handy333

    handy333 GBAtemp Regular

    Member
    122
    37
    Sep 8, 2010
    United States
    Over in Wonderlust
    What's a pointer?
     
  9. CreeperMario

    CreeperMario GBAtemp Advanced Fan

    Member
    616
    364
    Jun 18, 2016
    Australia
    OSv10 v15702
    A "pointer" is literally a value that represents the number of another location in memory.
     
  10. zekepliskin

    zekepliskin GBAtemp Regular

    Member
    246
    66
    Oct 13, 2015
    Hampshire UK
    Hmmm. If this is possible :-

    iPad Mini + Wii U Gamepad = 3DS XXXL :-)
     
    handy333 likes this.
  11. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    No software + no dedicated chip = sorry, but no
    Either that, or you can add a PC
     
    Last edited by Gamer4647, Aug 18, 2016
  12. zekepliskin

    zekepliskin GBAtemp Regular

    Member
    246
    66
    Oct 13, 2015
    Hampshire UK
    Yeah I know, I don't own an iPad or need this feature just making a joke ;-)
     
  13. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    Oh.
    *facepalm*
     
  14. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    17,625
    8,204
    Oct 27, 2002
    France
    Engine room, learning
    no, he said the correct thing.
    in order to put the TV display on the gamepad, you need to know where the "tv display data" (buffer) starts in memory, or else you can't move it or tell the gamepad to read that position instead of its own. that will be possible if both output were the same size.

    the issue is that the TV buffer and the gamepad buffer are not the same size (different resolution) so they can't be swapped directly and will probably involve image processing.
     
    NexoCube likes this.
  15. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    Exactly.

    EDIT: About the different res issue, i think a little GX2 (or avm/dc) magic should do the stuff for us.
     
    Last edited by NexoCube, Aug 18, 2016
  16. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    I meant about this:
    It was a reply to somebody else, who was asking if video from the Wii U could be streamed to an Ipad
    It was a different thing, and I was making sure that he knew that what I said was on another matter than what we're looking at
     
    Last edited by Gamer4647, Aug 18, 2016
    NexoCube likes this.
  17. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    I was talking to CreeperMario aha, maybe i should have quote him :P
     
  18. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    17,625
    8,204
    Oct 27, 2002
    France
    Engine room, learning
    sorry then, lot of quiproquo ahah
     
    NexoCube likes this.
  19. AboodXD

    AboodXD I hack NSMB games, and other shiz.

    Member
    2,648
    1,373
    Oct 11, 2014
    United Arab Emirates
    Not under a rock.
    libdrc exists you know, no exploit needed. ;)
     
  20. Gamer4647
    OP

    Gamer4647 GBAtemp Regular

    Member
    224
    71
    Jul 16, 2016
    "libdrc is a library for application developers who want to use the capabilities of the Wii U GamePad in their software. It also provides the ability to simulate a Wii U GamePad to communicate with a Wii U."

    Uh, I don't see how this is to do with us trying to stream the Wii U TV output to the Gamepad, but ok.