Hacking How to use drc-sim?

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
wiiubrew.org said:
  • The Internet Browser uses specialized JavaScript to obtain button states of the GamePad.
  • The button states are converted to JSON and sent to UsendMii using WebSocket protocol. POST request are used for version before 4.0.0
  • When received, UsendMii will simulate keystrokes, mouse motions, or button clicks.
So, UsendMii doesn't connect to the Wii U....
 
D

Deleted User

Guest
I'd just suggest installing Ubuntu on a separate partition, install drc-sim, and shrink the partition to as small as it can get, and just use it for drc-sim.
 
  • Like
Reactions: fiveighteen
D

Deleted User

Guest
Performance will be low, won't it?
It depends on if your computer supports dual boot, and if you have good RAM.
If your computer doesn't support dual boot, just shut off Windows before you start up Ubuntu.
 

Supercool330

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
752
Trophies
1
XP
1,115
Country
United States
I got this working once a while back, and it wasn't an easy endeavor. The reason you need to use linux, is that your windows computer isn't a Wii U gamepad, and Linux is the only operating system that is customizable enough to get it to be close enough. Right now, it is a pain to get working, and even if you do, it doesn't support the touchscreen, or the gyro sensor. I have been considering building a Raspberry PI system that could basically be used as a Wii U gamepad (not quite sure how I'll handle the touchscreen, I'm open to ideas on this one), but it will take some time.

Here are the 4 repositories you will want to look at:
https://bitbucket.org/memahaxx/drc-hostap
https://bitbucket.org/memahaxx/libdrc
https://bitbucket.org/memahaxx/drc-x264
https://bitbucket.org/memahaxx/drc-sim
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
I got this working once a while back, and it wasn't an easy endeavor. The reason you need to use linux, is that your windows computer isn't a Wii U gamepad, and Linux is the only operating system that is customizable enough to get it to be close enough. Right now, it is a pain to get working, and even if you do, it doesn't support the touchscreen, or the gyro sensor. I have been considering building a Raspberry PI system that could basically be used as a Wii U gamepad (not quite sure how I'll handle the touchscreen, I'm open to ideas on this one), but it will take some time.
*Sigh*
Wasted my time...

At least I ported it into Python3
 
  • Like
Reactions: Deleted User

Supercool330

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
752
Trophies
1
XP
1,115
Country
United States
*Sigh*
Wasted my time...

At least I ported it into Python3
I have pretty much a complete rewrite laying around somewhere that I wrote forever ago to clean up the code (not a big fan of all of it NOT being usable as a library) and port it to python 3. It probably wasn't a complete waste of time though, it is a good learning experience.
 
  • Like
Reactions: Deleted User

anon3536

Well-Known Member
Member
Joined
Nov 4, 2012
Messages
183
Trophies
0
Age
29
XP
253
Country
United States
Oh, forgot to mention that you need a joystick(game controller).
yeah i have that i was just wondering, didnt see the post about the wifi dongle, any exact specs i need for it or links to ones known to work?

also: could i have the actual gamepad connected at same time as this?
 
Last edited by anon3536,

Supercool330

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
752
Trophies
1
XP
1,115
Country
United States
Oh, you shouldn't actually need the patched version of x264 as IIRC all the patches are for the video encoding used by libdrc for sending video to the gamepad. I think a vanilla install of libav or ffmpeg (depending on which side of that religious war you fall on) should be able to decode the video from the console OK.

Also, one more link if you want to keep diving into this: http://libdrc.org/docs/index.html

Also, Mema Haxx, are you one of the people that worked on all the libdrc stuff? If so, I may have some questions as I start trying to flush out the drc-sim implementation with the missing functionality (but the docs on the libdrc site are actually really good).

I'll probably keep working on my RaspberryPi gamepad, but after that is done, it would actually be pretty awesome to make a custom Android rom that could let you use a Nexus 9 (or whatever) + DS4 as a wii U gamepad. I would actually prefer using a Nexus 9 and DS4 over the Wii U gamepad for long gaming sessions XD.

In the short term, I'll probably just run a webserver on the RaspberryPi and then handle some of the stuff remotely.
 
Last edited by Supercool330,
  • Like
Reactions: Deleted User

Crewman

Active Member
Newcomer
Joined
May 9, 2013
Messages
42
Trophies
0
Age
44
XP
142
Country
Gambia, The
also: could i have the actual gamepad connected at same time as this?
no

Why can't you do a man in the middle setup for the gamepad?

The result would look like:

console <-> Linux adapter1 <-> Linux adapter2 <-> gamepad
192.168.1.10<->192.168.1.11 192.168.1.10 <-> 192.168.1.12

This should be possible, if you have 2 seperate networks to avoid ip address confilcts.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"