diff --git a/README.md b/README.md index 0ffbd00..61a198c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/send-exec.py b/send-exec.py new file mode 100755 index 0000000..3b5a75c --- /dev/null +++ b/send-exec.py @@ -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() + diff --git a/send-exec.sh b/send-exec.sh deleted file mode 100755 index aab9e4d..0000000 --- a/send-exec.sh +++ /dev/null @@ -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 <