Decode DDLC .chr
files
$ file characters/monika.chr
characters/monika.chr: PNG image data, 800 x 800, 8-bit/color RGB, non-interlaced
$ file characters/natsuki.chr
characters/natsuki.chr: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, baseline, precision 8, 528x647, frames 3
$ file characters/sayori.chr
characters/sayori.chr: Ogg data, Vorbis audio, mono, 44100 Hz, ~110000 bps, created by: Xiph.Org libVorbis I (1.3.3)
$ file characters/yuri.chr
characters/yuri.chr: ASCII text, with very long lines, with no line terminators
$ python monika.py
# Output: decode/monika.txt
$ python natsuki.py
# Output: decode/natsuki.png
$ python sayori.py
# Output: decode/sayori.png
$ python yuri.py
# Output: decode/yuri.txt