summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2014-11-18 02:56:01 -0700
committerIIMarckus <iimarckus@gmail.com>2014-11-18 02:56:01 -0700
commite412cbeddeaea9b4f9c392ce2f8479f7df816e00 (patch)
tree2ea42b9c7114a2ad2a6a75fd4f77af8251c3bdf7
parent15128926c7b136db527858503f2edf32a974bb7b (diff)
Add more data. Now we build two chunks of the rom.
-rw-r--r--.gitmodules3
m---------stadiumgs/0x3fed0000
-rw-r--r--stadiumgs/Makefile19
-rw-r--r--stadiumgs/README.md18
4 files changed, 33 insertions, 7 deletions
diff --git a/.gitmodules b/.gitmodules
index 185b999..9b12a4f 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -22,3 +22,6 @@
[submodule "stadiumgs/0x3fd5000"]
path = stadiumgs/0x3fd5000
url = https://github.com/iimarckus/stadiumgs-0x3fd5000
+[submodule "stadiumgs/0x3fed000"]
+ path = stadiumgs/0x3fed000
+ url = https://github.com/iimarckus/stadiumgs-0x3fed000
diff --git a/stadiumgs/0x3fed000 b/stadiumgs/0x3fed000
new file mode 160000
+Subproject c47509f4f6d729c23d3b1c52a485358ec6d1b5d
diff --git a/stadiumgs/Makefile b/stadiumgs/Makefile
index 7b52313..8f3c7f8 100644
--- a/stadiumgs/Makefile
+++ b/stadiumgs/Makefile
@@ -1,4 +1,4 @@
-all: tables.bin
+all: part2.bin part4.bin
TABLES = \
rosters.tbl \
@@ -11,10 +11,14 @@ TABLES = \
presjpegs.tbl \
faces.tbl
-# md5 of tables.bin: 9771bc97a32a71d6153dda1e30acf1e0
-tables.bin: ${TABLES}
+# md5 of part2.bin: 9771bc97a32a71d6153dda1e30acf1e0
+part2.bin: ${TABLES}
cat ${TABLES} > $@
+# md5 of part4.bin: dd75790cae613b8a72da350b4fcdeddd
+part4.bin: 0x3fd5000.tbl 0x3fed000.bin
+ cat 0x3fd5000.tbl 0x3fed000.bin > $@
+
X0x3fd5000 = \
0x3fd5000/empty1.pers.szp \
0x3fd5000/empty1.pers.szp \
@@ -2134,11 +2138,16 @@ presjpegs.tbl: ${PRESJPEGS}
faces.tbl: ${FACES}
../utils/cattbl -f 0x13d000 ${FACES} > $@
-# md5 of 0x3fd5000.tbl:
+# md5 of 0x3fd5000.tbl: a49dc59176b380ccf34fede7ff64ff2b
0x3fd5000.tbl: ${X0x3fd5000}
../utils/cattbl -f 0x18000 ${X0x3fd5000} > $@
+# md5 of 0x3fed000.bin: 5d2b0e4dcd62b592b456bfb60357f580
+0x3fed000.bin: 0x3fed000/0x3fed000.bin
+ ../utils/padff 0x13000 0x3fed000/0x3fed000.bin > $@
+
clean:
rm -f text.tbl ${STRTBLS} rosters.tbl ${ROSTERS} backgrounds.tbl
rm -f 0x1e40000.tbl presjpegs.tbl faces.tbl 0x2000000.tbl 0x1898000.tbl
- rm -f 0x1718000.tbl 0x2000000.tbl tables.bin
+ rm -f 0x1718000.tbl 0x2000000.tbl part2.bin 0x3fed000.bin part4.bin
+ rm -f 0x3fd5000.tbl
diff --git a/stadiumgs/README.md b/stadiumgs/README.md
index c21d94a..8d51c74 100644
--- a/stadiumgs/README.md
+++ b/stadiumgs/README.md
@@ -27,6 +27,20 @@ backgrounds/ and presjpeg/:
* what is this?
-pics/:
+faces/:
-* write a converter
+* have been dumped to png
+* need to write a converter from png
+
+0x3fd5000/:
+
+* contains .pers.szp files that in turn contain yay0-compressed data
+* what is the decompressed data?
+* need to write a yay0/pers-szp compressor/decompressor
+
+0x3fed000/:
+
+* just one file
+* looks like 253 entries, 16 bytes per entry
+* 253 is awfully close to 251
+* so it probably has something to do with pokémon species