Change send-exec to use the hbmenu-native net loader.
This commit is contained in:
parent
db419e58e9
commit
7c756654a1
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
The beginnings of a homebrew test suite for Citra.
|
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
|
### Thanks to
|
||||||
|
|
||||||
|
21
send-exec.py
Executable file
21
send-exec.py
Executable 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()
|
||||||
|
|
17
send-exec.sh
17
send-exec.sh
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user