Commit graph

11 commits

Author SHA1 Message Date
Eevee (Lexy Munroe)
c111a56612 Port CLIM decoder to Construct 2.8; add more pixel formats 2016-12-20 19:24:59 -08:00
Eevee (Lexy Munroe)
d7c20809e5 Port GARC decoder to Construct 2.8 2016-12-20 19:22:59 -08:00
Eevee (Lexy Munroe)
a38cb37e90 Fix a couple bugs with Substream
- seek() now supports a second argument.

- peek() and read() no longer look beyond the end of the substream.

- slice() no longer doubles its offset.
2016-12-20 19:20:33 -08:00
Eevee (Lexy Munroe)
4cd67b3787 Fix a misunderstand of how to use the offsets in PC files 2016-12-19 16:18:53 -08:00
Eevee (Lexy Munroe)
508b5cd88f Fix gbz80 code search on PyPy
It doesn't support % on bytestrings yet, alas.
2016-12-19 16:07:59 -08:00
Eevee (Lexy Munroe)
a6c63733f0 Clean up and comment ETC1 decoder 2016-12-16 14:38:58 -08:00
Eevee (Lexy Munroe)
b12166648e Checkpoint some Sun/Moon progress
The bulk of the data is in the same format as ORAS, so most of the
changes were just tracking down where files moved to.

The code was a mess, and is still a mess.  Oh, well.

- Made pretty good progress on dumping ORAS encounters; remaining work
  largely boils down to figuring out names for individual zones.

- Hacked the CLIM decoder to also work with SUMO's slightly modified box
  sprite format, FLIM.

- Added a Nintendo-flavored ETC1 decoder; this is the format used for
  Pokédex sprites in SUMO.

- Cleaned up sprite dumping a wee bit.
2016-12-07 06:29:44 -08:00
Eevee (Lexy Munroe)
684aef2506 Clean up ORAS Pokémon sprite ripping
Box sprites are now ripped paletted, complete with an sBIT chunk.  Box
sprites are also saved with the right form names.  A lot of
name-mangling and error-checking code was pulled out of the binary
parsing stuff and shared between both types of sprites.
2016-10-15 18:16:41 -07:00
Eevee (Lexy Munroe)
44fdaee4d9 Replace most of the address-hunting with code matches 2016-09-10 18:05:00 -07:00
Eevee (Lexy Munroe)
122da8d885 Write a gbz80 pattern matcher, for more robust address sniffing
With this, Pokémon names are finally detected correctly from both R/G
and R/B.  Hurrah.

Yellow doesn't work yet, though.  Sigh.
2016-08-21 16:44:07 -07:00
Eevee (Lexy Munroe)
949eafb957 Initial gen6-to-yaml ripping stuff 2016-02-26 10:05:51 -08:00