Hacking Is this still a thing? (wii u gamepad to pc streaming)

DeslotlCL

GBAtemp's scalie trash
OP
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
Well the youtube video's description clearly links to the source code... So yes, it is "still a thing" in that sense. Is someone actually working on it? Probably not.

Really? oh man, i was really looking forward to this, it would be really cool to display the gamepad screen in your pc and record it without the need of a capture card...
 
D

Deleted User

Guest
This is a python program so it doesn't need to be compiled .
Here are instructions for Ubuntu/mint ( i am not at home , so it's untested), this should also work on debian by replacing apt to apt-get :

  1. Download this file : https://bitbucket.org/memahaxx/drc-sim/get/04ab02c1d1a0.zip
  2. Extract this file on a folder called somewhere
  3. Open a terminal on somewhere
  4. Type : sudo apt install python , sudo apt install python-pygame , sudo apt install python-cffi , sudo apt install python-pyaudio , sudo apt install python-construct
  5. Edit manually config (on the source code)
  6. Type python drc-sim.py and enjoy !
i will create a bash script if i have time
 

thekarter104

Well-Known Member
Member
Joined
Mar 28, 2013
Messages
1,985
Trophies
1
XP
3,007
Country
United States
This is a python program so it doesn't need to be compiled .
Here are instructions for Ubuntu/mint ( i am not at home , so it's untested), this should also work on debian by replacing apt to apt-get :

  1. Download this file : https://bitbucket.org/memahaxx/drc-sim/get/04ab02c1d1a0.zip
  2. Extract this file on a folder called somewhere
  3. Open a terminal on somewhere
  4. Type : sudo apt install python , sudo apt install python-pygame , sudo apt install python-cffi , sudo apt install python-pyaudio , sudo apt install python-construct
  5. Edit manually config (on the source code)
  6. Type python drc-sim.py and enjoy !
i will create a bash script if i have time

Thanks a lot! Will try that when I have access to my Wii U again.
Any way for a Windows port? I read recording with recording/streaming software doesn't work well in a VM.
 

GizmoTheGreen

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
813
Trophies
1
XP
905
Country
iirc you also need modified wireless drivers for your linux which you might have to compile and load yourself to actually make your wii u connect to your pc and think it's the gamepad, so I'm not sure if VM would even work. maybe if you give it direct access to your physical usb wifi dongle.

it will not work on windows (because of the custom driver thing)
 

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
iirc you also need modified wireless drivers for your linux which you might have to compile and load yourself to actually make your wii u connect to your pc and think it's the gamepad, so I'm not sure if VM would even work. maybe if you give it direct access to your physical usb wifi dongle.

it will not work on windows (because of the custom driver thing)
I would think that a direct passthrough would work
 

GizmoTheGreen

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
813
Trophies
1
XP
905
Country
can anyone recommend a cheap 5ghz rt2800usb device? tried googling but seems hard to find any specific model mentioned that doesn't cost megabucks
also it seems the mac80211 patching/compiling is only needed for drclib... so the python software should just work but it still needs to do some sniffing with drc-hostap to get the keys needed
I found this handy guide here https://github.com/justjake/drc-sim-keyboard that uses only part of the guide here https://rememberdontsearch.wordpress.com/2014/01/05/libdrc-wiiu-linux-setup-with-rt2800usb/
 

thekarter104

Well-Known Member
Member
Joined
Mar 28, 2013
Messages
1,985
Trophies
1
XP
3,007
Country
United States
iirc you also need modified wireless drivers for your linux which you might have to compile and load yourself to actually make your wii u connect to your pc and think it's the gamepad, so I'm not sure if VM would even work. maybe if you give it direct access to your physical usb wifi dongle.

it will not work on windows (because of the custom driver thing)

Hmm, what do you mean need modified wireless drivers? NTR Viewer uses that too? And NTR Viewer runs on Windows, so this must be possible too I guess.
 

GizmoTheGreen

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
813
Trophies
1
XP
905
Country
Hmm, what do you mean need modified wireless drivers? NTR Viewer uses that too? And NTR Viewer runs on Windows, so this must be possible too I guess.
for NTR viewer you run a server on the actual 3DS and just communicate over TCP/IP

for this you actually need to do special wifi stuff to make it connect (you will not have internet unless you have an extra wifi adapter or ethernet cable, while using this) since we are making the whole computer act as a gamepad on the wifi
 

thekarter104

Well-Known Member
Member
Joined
Mar 28, 2013
Messages
1,985
Trophies
1
XP
3,007
Country
United States
for NTR viewer you run a server on the actual 3DS and just communicate over TCP/IP

for this you actually need to do special wifi stuff to make it connect (you will not have internet unless you have an extra wifi adapter or ethernet cable, while using this) since we are making the whole computer act as a gamepad on the wifi

So is it possible that something like NTR can be on the Wii U too?
 

GizmoTheGreen

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
813
Trophies
1
XP
905
Country
So is it possible that something like NTR can be on the Wii U too?

sure, if the CFW goes far enough and someone wants to code this function. it could be done but I doubt anyone would want it, you can just capture the Wii U with HDMI and make a "fake" gamepad with drc-sim on a raspberry pi, that had HDMI too.
 

GizmoTheGreen

Well-Known Member
Member
Joined
Oct 8, 2009
Messages
813
Trophies
1
XP
905
Country
sorry for double post. I feel like I am so close to have this working, I'm connected to the Wii U and when I try to run drc-sim I get
__pycache__/_cffi__xc79f4b7bx23aff9e7.c: In function ‘_cffi_const_CODEC_ID_H264’:
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:194:30: error: ‘CODEC_ID_H264’ undeclared (first use in this function)
o = _cffi_from_c_int_const(CODEC_ID_H264);
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:54:8: note: in definition of macro ‘_cffi_from_c_int_const’
(((x) > 0) ? \
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:194:30: note: each undeclared identifier is reported only once for each function it appears in
o = _cffi_from_c_int_const(CODEC_ID_H264);
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:54:8: note: in definition of macro ‘_cffi_from_c_int_const’
(((x) > 0) ? \
^
__pycache__/_cffi__xc79f4b7bx23aff9e7.c: In function ‘_cffi_f_avcodec_alloc_frame’:
__pycache__/_cffi__xc79f4b7bx23aff9e7.c:320:3: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3211) [-Wdeprecated-declarations]
{ result = avcodec_alloc_frame(); }
^
Traceback (most recent call last):
File "./drc-sim.py", line 373, in <module>
VID_S : ServiceVSTRM(),
File "./drc-sim.py", line 165, in __init__
pygame.display.get_surface().get_size())
File "/home/pi/Downloads/memahaxx-drc-sim-04ab02c1d1a0/H264Decoder.py", line 86, in __init__
s.__init_ffi()
File "/home/pi/Downloads/memahaxx-drc-sim-04ab02c1d1a0/H264Decoder.py", line 62, in __init_ffi
''', libraries=['avcodec', 'swscale'])
File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 340, in verify
lib = self.verifier.load_library()
File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 74, in load_library
self._compile_module()
File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 139, in _compile_module
outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
File "/usr/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 25, in compile
outputfilename = _build(tmpdir, ext)
File "/usr/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 51, in _build
raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.ffiplatform.VerificationError: CompileError: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

something about the codec not being defined? possibly a dependancy issue? I got libav-tools installed, ffmpeg is not available for raspberry pi afaik (I'm running the latest raspbian jessie with pixel)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Touché.