Alle source files opnieuw toegevoegd.
This commit is contained in:
2
cpp/wiiscan/Tools/disable_all_usb.sh
Normal file
2
cpp/wiiscan/Tools/disable_all_usb.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
devcon disable "@PCI\VEN_8086&DEV_293*&SUBSYS_20F117AA&REV_03\3&B1BfB6*"
|
||||
devcon disable "@PCI\VEN_8086&DEV_293*&SUBSYS_20F017AA&REV_03\3&B1BfB6*"
|
||||
2
cpp/wiiscan/Tools/enable_all_usb.sh
Normal file
2
cpp/wiiscan/Tools/enable_all_usb.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
devcon enable "@PCI\VEN_8086&DEV_293*&SUBSYS_20F117AA&REV_03\3&B1BfB6*"
|
||||
devcon enable "@PCI\VEN_8086&DEV_293*&SUBSYS_20F017AA&REV_03\3&B1BfB6*"
|
||||
10
cpp/wiiscan/Tools/no_error_report.reg
Normal file
10
cpp/wiiscan/Tools/no_error_report.reg
Normal file
@@ -0,0 +1,10 @@
|
||||
REGEDIT4
|
||||
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
|
||||
"AllOrNone"=dword:00000001
|
||||
"IncludeMicrosoftApps"=dword:00000001
|
||||
"IncludeWindowsApps"=dword:00000001
|
||||
"IncludeKernelFaults"=dword:00000001
|
||||
"DoReport"=dword:00000000
|
||||
"ShowUI"=dword:00000000
|
||||
|
||||
BIN
cpp/wiiscan/Tools/popup_disable.reg
Normal file
BIN
cpp/wiiscan/Tools/popup_disable.reg
Normal file
Binary file not shown.
BIN
cpp/wiiscan/Tools/popup_enable.reg
Normal file
BIN
cpp/wiiscan/Tools/popup_enable.reg
Normal file
Binary file not shown.
49
cpp/wiiscan/Tools/wiitest.sh
Normal file
49
cpp/wiiscan/Tools/wiitest.sh
Normal file
@@ -0,0 +1,49 @@
|
||||
#!/bin/bash
|
||||
|
||||
MODE=Release
|
||||
if [ $# = 1 ]; then
|
||||
MODE=$1
|
||||
echo using mode $MODE
|
||||
fi
|
||||
|
||||
N=0
|
||||
F=0
|
||||
S=0
|
||||
N_MAX=1000000
|
||||
OUTFILE=$MODE/wiitest.out
|
||||
|
||||
echo "##" Testing wiiscan... "(N_MAX="$N_MAX",OUTFILE="$OUTFILE",mode="$MODE")" | tee $OUTFILE
|
||||
echo -n "## date " | tee -a $OUTFILE
|
||||
date | tee -a $OUTFILE
|
||||
|
||||
while [ $N -lt $N_MAX ]; do
|
||||
let N=N+1
|
||||
echo "##" Loop $N " " | tee -a $OUTFILE
|
||||
echo -n "## date " | tee -a $OUTFILE
|
||||
date | tee -a $OUTFILE
|
||||
|
||||
rm -f $OUTFILE.tmp 2>/dev/null
|
||||
|
||||
pushd $MODE ; wiiscan -f -v -lf ../$OUTFILE.tmp 2>&1 ; R1=$? ; popd
|
||||
# pushd $MODE ; wiiscan -v -d nintendo -lf ../$OUTFILE.tmp ; R2=$? ; popd
|
||||
R2=0;
|
||||
|
||||
cat $OUTFILE.tmp >> $OUTFILE
|
||||
|
||||
if [ $R1 = 0 ]; then
|
||||
let S=S+1
|
||||
echo "##" Test succes $S | tee -a $OUTFILE
|
||||
else
|
||||
let F=F+1
|
||||
echo "##" Test failed $F | tee -a $OUTFILE
|
||||
fi
|
||||
|
||||
STATUS=$(echo $S*100/$N | bc)
|
||||
echo "##" Status $S/$N = $STATUS "%" | tee -a $OUTFILE
|
||||
echo "## (result R1="$R1 " R2="$R2 " S="$S " F="$F " N="$N ")" | tee -a $OUTFILE
|
||||
|
||||
sleep 4
|
||||
done
|
||||
|
||||
echo done | tee -a $OUTFILE
|
||||
exit 0
|
||||
Reference in New Issue
Block a user