Skip to content

Instantly share code, notes, and snippets.

@unknownbrackets
Created December 20, 2014 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unknownbrackets/5e3ecfbd0e4e0041d629 to your computer and use it in GitHub Desktop.
Save unknownbrackets/5e3ecfbd0e4e0041d629 to your computer and use it in GitHub Desktop.
dolphin hwtests run.sh
#!/bin/sh
"$DEVKITPPC/bin/wiiload" "$1"
TRIES=5
while [ $TRIES -gt 0 ]; do
netcat -w1 ${WIILOAD#tcp:} 16784
if [ $? == 0 ]; then
TRIES=0
else
sleep 1
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment