summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml26
-rw-r--r--Makefile9
-rw-r--r--README.md47
3 files changed, 69 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..82d8af8
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,26 @@
+language: c
+os: linux
+install:
+ - |-
+ ( cd
+ git clone -b v0.3.8 --depth=1 https://github.com/rednex/rgbds
+ sudo make -C rgbds install
+ rm -rf rgbds
+ sudo apt-get install wget p7zip-full
+ wget -O roms.7z 'https://tcrf.net/images/3/33/Pok%C3%A9mon_Gold_-_Spaceworld_1997_Demo_%28Debug%29.7z'
+ 7z e roms.7z
+ mv 'Pokémon Gold - Spaceworld 1997 Demo (Debug).sgb' baserom.gb
+ rm -f roms.7z 'Pokémon Gold - Spaceworld 1997 Demo (Debug) (Header Fixed).sgb'
+ )
+before_script:
+ - |-
+ function check_status() {
+ if ! git diff-index --quiet --ignore-submodules=all HEAD --; then
+ echo 'Uncommitted changes detected:';
+ git diff-index HEAD --;
+ return 1;
+ fi;
+ }
+script:
+ - make -j2 compare
+ - check_status
diff --git a/Makefile b/Makefile
index 78be537..6716936 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,11 @@ MD5 := md5sum -c
PYTHON := python
PYTHON3 := python3
-RGBASM := rgbasm
-RGBGFX := rgbgfx
-RGBLINK := rgblink
-RGBFIX := rgbfix
+RGBDS ?=
+RGBASM := $(RGBDS)rgbasm
+RGBGFX := $(RGBDS)rgbgfx
+RGBLINK := $(RGBDS)rgblink
+RGBFIX := $(RGBDS)rgbfix
sort_sym := tools/sort_symfile.sh
RGBASMFLAGS := -h -E -i $(BUILD)/ -DGOLD -DDEBUG=1
diff --git a/README.md b/README.md
index 858ce5c..fa02851 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,44 @@
-WIP disassembly of the Space World 1997 Gold proto
+# Pokémon Gold and Silver: Space World 1997 Demo [![Build Status][travis-badge]][travis]
-It attempts to build the following ROMs:
+This is a work-in-progress disassembly of the Pokémon Gold and Pokémon Silver prototypes demoed at Space World 1997.
-pokegold_spaceworld.gb (MD5: 3c407114de28d17b7113a2c0cee9a37c)
-pokegold_debug_spaceworld.gb (MD5: 2eadbed83b775c097ff79e5128d1184f)
-pokesilver_spaceworld.gb (MD5: c52a677c35f15320d5b495e14809f00d)
-pokesilver_debug_spaceworld.gb (MD5: fa65d3759bb17c489de171a598ba4913)
+It builds the following ROMs:
+
+- Gold_debug.sgb `md5: 2eadbed83b775c097ff79e5128d1184f`
+- Gold_debug.sgb (correct header) `md5: 8e509301f6db1f89fee85aead8ebf8d4`
+
+You will need to provide a copy of Gold_debug.sgb renamed **baserom.gb** to build the ROMs.
+
+You will also need **rgbds 0.3.8**. If that is not your default version, you can put the 0.3.8 files in a subdirectory like rgbds/ and run `make RGBDS=rgbds/` instead of `make`.
-Requires [RGBDS](https://github.com/rednex/rgbds) version 0.3.8 or newer to build!
## See also
-* Discord: [**pret**][Discord]
-[Discord]: https://discord.gg/d5dubZ3
+- **Discord:** [pret][discord]
+- **IRC:** [freenode#pret][irc]
+
+Other disassembly projects:
+
+- [**Pokémon Red/Blue**][pokered]
+- [**Pokémon Yellow**][pokeyellow]
+- [**Pokémon Gold**][pokegold]
+- [**Pokémon Crystal**][pokecrystal]
+- [**Pokémon Pinball**][pokepinball]
+- [**Pokémon TCG**][poketcg]
+- [**Pokémon Ruby**][pokeruby]
+- [**Pokémon FireRed**][pokefirered]
+- [**Pokémon Emerald**][pokeemerald]
+
+[pokered]: https://github.com/pret/pokered
+[pokeyellow]: https://github.com/pret/pokeyellow
+[pokegold]: https://github.com/pret/pokegold
+[pokecrystal]: https://github.com/pret/pokecrystal
+[pokepinball]: https://github.com/pret/pokepinball
+[poketcg]: https://github.com/pret/poketcg
+[pokeruby]: https://github.com/pret/pokeruby
+[pokefirered]: https://github.com/pret/pokefirered
+[pokeemerald]: https://github.com/pret/pokeemerald
+[discord]: https://discord.gg/d5dubZ3
+[irc]: https://kiwiirc.com/client/irc.freenode.net/?#pret
+[travis]: https://travis-ci.org/pret/pokegold-spaceworld
+[travis-badge]: https://travis-ci.org/pret/pokegold-spaceworld.svg?branch=master