Commit graph

10 commits

Author SHA1 Message Date
Eevee (Lexy Munroe)
69f1d3a1ca I swear to god this compression thing will be the death of me 2017-06-23 13:30:53 -07:00
Eevee (Lexy Munroe)
b5302d32ba Argh, need to seek after a failed decompress! 2017-06-17 21:36:12 -07:00
Eevee (Lexy Munroe)
d6b46d8b25 Get basic item dumping from ORAS through SUMO working 2017-06-14 22:55:28 -07:00
Eevee (Lexy Munroe)
2631d36963 Add an experimental lazy CompressedStream that actually seems to work
Unfortunately it may not make any practical difference, since a
compressed PC file still needs to be fully decompressed just to check
the magic numbers of its subfiles.  May revert this later, I dunno.
2017-01-26 16:26:50 -08:00
Eevee (Lexy Munroe)
6cc2e4439c Fix a rather catastrophic typo (U+307f is み!) 2017-01-26 16:22:52 -08:00
Eevee (Lexy Munroe)
053f2a8d22 Use YAML schema for gen 6/7; add gen7 form names; improved image support
Specifically:

- Add support for detecting FLIM format

- Add support for more color formats

- Add a small decoded image type that knows how to write itself out as
  a PNG

- Improve ETC1 decoder to work with images whose dimensions are not
  powers of two, images with no alpha channel, and images with the
  strange FLIM pixel order

- Port the gen 6/7 extractor to Construct 2.8

- Switch to using script tags in language names, to distinguish Japanese
  kana from kanji and Simplified from Traditional Chinese

- Drop the load-time merging of kanji and kana

- Add paths to various text files in SUMO

- Add form names for SUMO Pokémon

- Clean up identifiers a bit, especially the distinction between species
  and Pokémon

- Use the Pokémon schema type to dump what we have so far, and give it a
  couple more fields that didn't exist in gen 1

- Get movesets dumping correctly

- Special-case a bunch of weirdness, where the number of dex sprites
  doesn't match the number of models in SUMO
2017-01-05 04:57:05 -08:00
Eevee (Lexy Munroe)
0f79a5b922 Add the lookup table used for Chinese Pokémon names in SUMO 2017-01-05 04:53:42 -08:00
Eevee (Lexy Munroe)
d7c20809e5 Port GARC decoder to Construct 2.8 2016-12-20 19:22:59 -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)
949eafb957 Initial gen6-to-yaml ripping stuff 2016-02-26 10:05:51 -08:00