Change send-exec to use the hbmenu-native net loader.

This commit is contained in:
archshift 2014-11-23 18:26:45 -08:00
parent db419e58e9
commit 7c756654a1
3 changed files with 23 additions and 18 deletions

View File

@ -2,7 +2,8 @@
The beginnings of a homebrew test suite for Citra.
Press A to run, press B to close.
Use send-exec.py to run the tests over the network, without any permanent copying.
Press A to run, press START to close.
### Thanks to

21
send-exec.py Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/env python
### TO USE:
#### Press Y on the HBMenu (opens the NetLoader)
#### Change host/port combination
#### Run the script
import socket
import sys
import time
TCP_IP = '192.168.xx.xx'
TCP_PORT = 9000
MESSAGE = open("citra-hwtests.3dsx", "rb").read();
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
s.send(MESSAGE)
time.sleep(0.1)
s.close()

View File

@ -1,17 +0,0 @@
#!/bin/bash
### TO USE:
#### Open ftbrony on your test device
#### Change host/port combination
#### Run the script
HOST=192.168.xx.xx
PORT=5000
ftp -n ftp://$HOST:$PORT <<END_SCRIPT
cd /3ds
put citra-hwtests.3dsx
quit
END_SCRIPT
exit 0