From e412cbeddeaea9b4f9c392ce2f8479f7df816e00 Mon Sep 17 00:00:00 2001 From: IIMarckus Date: Tue, 18 Nov 2014 02:56:01 -0700 Subject: Add more data. Now we build two chunks of the rom. --- .gitmodules | 3 +++ stadiumgs/0x3fed000 | 1 + stadiumgs/Makefile | 19 ++++++++++++++----- stadiumgs/README.md | 18 ++++++++++++++++-- 4 files changed, 34 insertions(+), 7 deletions(-) create mode 160000 stadiumgs/0x3fed000 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 index 0000000..c47509f --- /dev/null +++ b/stadiumgs/0x3fed000 @@ -0,0 +1 @@ +Subproject commit c47509f4f6d729c23d3b1c52a485358ec6d1b5d6 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 -- cgit v1.2.3