mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(WiiU) netlog scripts.
This commit is contained in:
parent
dbd8a87ebb
commit
deb9ea4453
14
wiiu/net_listen.sh
Executable file
14
wiiu/net_listen.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -z $1 ] ; then
|
||||||
|
echo
|
||||||
|
echo "usage: $0 <WiiU-ip>"
|
||||||
|
echo
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
interrupt_count=0
|
||||||
|
|
||||||
|
trap 'if [ $interrupt_count -eq 20 ]; then exit 0; else interrupt_count=$(($interrupt_count + 1)); fi' INT
|
||||||
|
|
||||||
|
while true; do echo; echo ========= `date` =========; echo; netcat -p 4405 -l $1; done
|
13
wiiu/net_send.sh
Executable file
13
wiiu/net_send.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [$1 -eq ''] ; then
|
||||||
|
echo
|
||||||
|
echo "usage: $0 <WiiU-ip> <elf>"
|
||||||
|
echo
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
export WIILOAD=tcp:$1
|
||||||
|
rm $2.stripped -rf
|
||||||
|
powerpc-eabi-strip $2 -o $2.stripped
|
||||||
|
wiiload $2.stripped
|
Loading…
x
Reference in New Issue
Block a user