Skip to content

Commit

Permalink
add scribbltest roms (screenshots and howto still missing though)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-sp committed Feb 25, 2024
1 parent 643a3b9 commit a873d7c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*(2021-03-02)*
- add [TurtleTests:b341ff54ec](https://github.com/Powerlated/TurtleTests/tree/b341ff54ec)
*(2020-09-05)*
- add [Scribbltests:96dd2f14bc](https://github.com/Hacktix/scribbltests/commit/96dd2f14bc)
*(2020-12-25)*

## [v6.0](https://github.com/c-sp/gameboy-test-roms/releases/tag/v6.0) *(2023-07-24)*

Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ It includes (in alphabetical order):
<sup>by [me](https://github.com/c-sp) </sup>
* **[Blargg's test roms](https://github.com/retrio/gb-test-roms)**
<sup>by [Shay Green (a.k.a. Blargg)](http://www.slack.net/~ant/) </sup>
* **[Bully](https://github.com/Hacktix/BullyGB)**
* **[Bully](https://github.com/Hacktix/BullyGB)**,
**[Scribbltests](https://github.com/Hacktix/scribbltests)**
and **[Strikethrough](https://github.com/Hacktix/strikethrough.gb)**
<sup>by [Hacktix](https://github.com/Hacktix) </sup>
* **[cgb-acid-hell](https://github.com/mattcurrie/cgb-acid-hell)**,
Expand Down Expand Up @@ -92,6 +93,8 @@ Details on this can be found in a separate readme for each test suite:
(located at `<release-zip>/rtc3test/`)
* [SameSuite](https://github.com/c-sp/gameboy-test-roms/tree/master/src/howto/same-suite.md)
(located at `<release-zip>/same-suite/`)
* [Scribbltests](https://github.com/c-sp/gameboy-test-roms/tree/master/src/howto/scribbltests.md)
(located at `<release-zip>/scribbltests/`)
* [Strikethrough](https://github.com/c-sp/gameboy-test-roms/tree/master/src/howto/strikethrough.md)
(located at `<release-zip>/strikethrough/`)
* [TurtleTests](https://github.com/c-sp/gameboy-test-roms/tree/master/src/howto/turtle-tests.md)
Expand Down
31 changes: 30 additions & 1 deletion src/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ print_usage_and_exit()
echo " $0 $CMD_RGBDS"
echo " $0 $CMD_RTC3TEST"
echo " $0 $CMD_SAME_SUITE"
echo " $0 $CMD_SCRIBBLTESTS"
echo " $0 $CMD_STRIKETHROUGH"
echo " $0 $CMD_TURTLE_TESTS"
echo " $0 $CMD_WLA_DX"
Expand Down Expand Up @@ -604,6 +605,32 @@ build_same_suite()



build_scribbltests()
{
print_cmd_title

chmod +x "$ARTIFACTS_DIR/rgbds/"*
PATH="$ARTIFACTS_DIR/rgbds:$PATH"

ARTIFACT_NAME=scribbltests
ARTIFACT=$(mkdir_artifact $ARTIFACT_NAME)

REPO=$(mktemp -d)
cd "$REPO"
git clone https://github.com/Hacktix/scribbltests.git .
git checkout 96dd2f14bc8cce1fd5df25427056e059a175e9f7

rsync -am --include='*.gb' --include='*/' --exclude='*' ./ "$ARTIFACT"
rsync -am --include='README.md' --include='*/' --exclude='*' ./ "$ARTIFACT"

#cd "$SRC_DIR/turtle-tests-expected"
#rsync -am ./ "$ARTIFACT"

#cp "$SRC_DIR/howto/turtle-tests.md" "$ARTIFACT/game-boy-test-roms-howto.md"
}



build_strikethrough()
{
print_cmd_title
Expand All @@ -629,6 +656,7 @@ build_strikethrough()
}



build_turtle_tests()
{
print_cmd_title
Expand All @@ -644,7 +672,6 @@ build_turtle_tests()
git clone https://github.com/Powerlated/TurtleTests.git .
git checkout b341ff54ec1e6a501d37dd309c556b6968a07eec

echo $(pwd)
make

cp README.md "$ARTIFACT"
Expand Down Expand Up @@ -705,6 +732,7 @@ CMD_RELEASE_ZIP=release-zip
CMD_RGBDS=rgbds
CMD_RTC3TEST=rtc3test
CMD_SAME_SUITE=same-suite
CMD_SCRIBBLTESTS=scribbltests
CMD_STRIKETHROUGH=strikethrough
CMD_TURTLE_TESTS=turtle-tests
CMD_WLA_DX=wla-dx
Expand Down Expand Up @@ -739,6 +767,7 @@ case ${CMD} in
"${CMD_RGBDS}") build_rgbds "$@" ;;
"${CMD_RTC3TEST}") build_rtc3test "$@" ;;
"${CMD_SAME_SUITE}") build_same_suite "$@" ;;
"${CMD_SCRIBBLTESTS}") build_scribbltests "$@" ;;
"${CMD_STRIKETHROUGH}") build_strikethrough "$@" ;;
"${CMD_TURTLE_TESTS}") build_turtle_tests "$@" ;;
"${CMD_WLA_DX}") build_wla_dx "$@" ;;
Expand Down

0 comments on commit a873d7c

Please sign in to comment.