Add more data. Now we build two chunks of the rom.

This commit is contained in:
IIMarckus
2014-11-18 02:56:01 -07:00
parent 15128926c7
commit e412cbedde
4 changed files with 34 additions and 7 deletions

3
.gitmodules vendored
View File

@@ -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

1
stadiumgs/0x3fed000 Submodule

Submodule stadiumgs/0x3fed000 added at c47509f4f6

View File

@@ -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

View File

@@ -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