Gonna make this now so it's out there.
Q: How does this work?
A: So basically, you're using your router as a gateway between your Wii U and computer. You specify what local address (IE 192.168.0.5) your Wii U should look for a connection for, and then your client accepts it and you're able to run stuff with it remotely.
Requirements: cygwin (default packages), XAMPP, DevKitPPC, python 3.X.
Okay, so, here's how I did my setup.
1) Open up a command prompt and type in "ipconfig -all" and hit enter. Since I'm tethered to my router with an ethernet cable, mine's under Ethernet Adapter Ethernet, or yours might say something about Wireless. You're looking for the IPv4 address(for this example mine's assigned 192.168.0.28).
2) Go to this website and convert that address to hex
3) If you haven't already, download the repo here. Then open up src/socket.h in any text editor and change the line for #define PC_IP with the address you just converted.
4) Time to compile it. open up cygwin (since I'm using windows) and navigate to the location (IE cd /cygdrive/d/ApplicationData/WiiUBuild) and then run ./build.sh rpc.c 510 (or whatever your version is) and it'll make a file called test500.html(or whatever your version is) in the same folder as the script. You want to copy that to (I just use XAMPP, so C:/xampp/htdocs) and also frame.html from that same folder.
5) Then bootup the XAMPP control panel and let apache start up. (for whatever reason port 80 is being used so if you get an error, open up the command prompt as an admin and run "net stop was /y")
6) Open up rpc.py in IDLE (python's built in text editor) and go to run > run module. (I added a line to print "listening" so I know it's working, before you do this just scroll down to __init__)
7) Boot up your Wii U and go into the Web Browser. Then go to the IP you had in the first step (IE 192.168.0.28). If you get an access denied error from xampp, then it's all working and connecting correctly. Then open up yourIP/test500.html (IE 192.168.0.28/test500.html) and if everything's working correctly it should print ("Connected by", someIPaddress). Then you can use that new window from IDLE to run all your commands. Example picture.
Q: How does this work?
A: So basically, you're using your router as a gateway between your Wii U and computer. You specify what local address (IE 192.168.0.5) your Wii U should look for a connection for, and then your client accepts it and you're able to run stuff with it remotely.
Requirements: cygwin (default packages), XAMPP, DevKitPPC, python 3.X.
Okay, so, here's how I did my setup.
1) Open up a command prompt and type in "ipconfig -all" and hit enter. Since I'm tethered to my router with an ethernet cable, mine's under Ethernet Adapter Ethernet, or yours might say something about Wireless. You're looking for the IPv4 address(for this example mine's assigned 192.168.0.28).
2) Go to this website and convert that address to hex
3) If you haven't already, download the repo here. Then open up src/socket.h in any text editor and change the line for #define PC_IP with the address you just converted.
4) Time to compile it. open up cygwin (since I'm using windows) and navigate to the location (IE cd /cygdrive/d/ApplicationData/WiiUBuild) and then run ./build.sh rpc.c 510 (or whatever your version is) and it'll make a file called test500.html(or whatever your version is) in the same folder as the script. You want to copy that to (I just use XAMPP, so C:/xampp/htdocs) and also frame.html from that same folder.
5) Then bootup the XAMPP control panel and let apache start up. (for whatever reason port 80 is being used so if you get an error, open up the command prompt as an admin and run "net stop was /y")
6) Open up rpc.py in IDLE (python's built in text editor) and go to run > run module. (I added a line to print "listening" so I know it's working, before you do this just scroll down to __init__)
Code:
def __init__(self):
self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
self.data = []
print("listening")
self.listen('0.0.0.0', 12345)
7) Boot up your Wii U and go into the Web Browser. Then go to the IP you had in the first step (IE 192.168.0.28). If you get an access denied error from xampp, then it's all working and connecting correctly. Then open up yourIP/test500.html (IE 192.168.0.28/test500.html) and if everything's working correctly it should print ("Connected by", someIPaddress). Then you can use that new window from IDLE to run all your commands. Example picture.