Skip to content

Commit 0ceeef4

Browse files
Adjust testrom download script to also download Gekkio's test roms
1 parent 9130b71 commit 0ceeef4

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

testroms/.gitignore

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
cgb_sound/
2-
cpu_instrs/
3-
dmg_sound/
4-
halt_bug.gb
5-
instr_timing/
6-
interrupt_time/
7-
mem_timing-2/
8-
mem_timing/
9-
oam_bug/
1+
blargg/
2+
gekkio/

testroms/download.sh

+15-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MY_PATH="`dirname \"$0\"`"
88

99
cd $MY_PATH
1010

11-
11+
# Download Blargg's tests
1212
declare -a files=(
1313
"cgb_sound.zip"
1414
"cpu_instrs.zip"
@@ -21,10 +21,23 @@ declare -a files=(
2121
"oam_bug.zip"
2222
)
2323

24+
mkdir -p blargg
25+
cd blargg
26+
2427
for file in "${files[@]}"
2528
do
26-
echo "$file"
2729
wget -nv "http://gbdev.gg8.se/files/roms/blargg-gb-tests/$file"
2830
unzip -qo $file
2931
rm $file
3032
done
33+
34+
cd ..
35+
36+
37+
# Download Gekkio's tests
38+
mkdir -p gekkio
39+
cd gekkio
40+
41+
wget -nv https://gekkio.fi/files/mooneye-gb/latest/mooneye-gb_hwtests.zip
42+
unzip -qo mooneye-gb_hwtests.zip
43+
rm mooneye-gb_hwtests.zip

0 commit comments

Comments
 (0)