From 920fb8c697dfe84fa31a2f36dd725fac13422988 Mon Sep 17 00:00:00 2001 From: G2 <72430668+G2-Games@users.noreply.github.com> Date: Sat, 4 May 2024 12:14:06 -0500 Subject: [PATCH] Update README.md --- README.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 250a05e..8af3a39 100644 --- a/README.md +++ b/README.md @@ -2,22 +2,21 @@ A small collection of utilities for exporting and importing assets from Little Busters! English Edition The CZ0 header: -| Offset | Ex. Values | ASCII | Purpose | -|-------------|------------|-------|-----------------------------------| -| 0x00 - 0x02 | 43 5A 30 | CZ0 | Magic bytes to identify CZ0 files | -| 0x03 | --- | --- | ---[Unknown]--- | -| 0x04 | 24 | 36 | Header length in bytes | -| 0x05 - 0x07 | --- | --- | ---[Unknown]--- | -| 0x08 | 58 01 | 344 | Width of the image in pixels | -| 0x0A | DC 02 | 732 | Height of the image in pixels | -| 0x0C | 20 | 32 | Bit depth of the image | -| 0x0D - 0x13 | --- | --- | ---[Unknown]--- | -| 0x14 | 58 01 | 344 | Width of image crop | -| 0x16 | DC 02 | 732 | Height of image crop | -| 0x18 | 00 05 | 1280 | Width of image bounding box | -| 0x1A | 34 03 | 820 | Height of image bounding box | -| 0x1C | 80 02 | 640 | X offset of image | -| 0x1E | 02 03 | 770 | Y offset of image | -| 0x20 - 0x23 | --- | --- | ---[Unknown]--- | +| Offset | Ex. Values | ASCII | Purpose | +|-------------|-------------|-------|-----------------------------------| +| 0x00 - 0x03 | 43 5A 30 00 | CZ0 | Magic bytes | +| 0x04 - 0x07 | 24 00 00 00 | 36 | Header length in bytes | +| 0x08 - 0x09 | 58 01 | 344 | Width of the image in pixels | +| 0x0A - 0x0B | DC 02 | 732 | Height of the image in pixels | +| 0x0C - 0x0D | 20 00 | 32 | Bit depth of the image | +| 0x0E | 03 | 3 | Color block | +| 0x0F - 0x13 | --- | --- | ---[Unknown]--- | +| 0x14 - 0x15 | 58 01 | 344 | Width of image crop | +| 0x16 - 0x17 | DC 02 | 732 | Height of image crop | +| 0x18 - 0x19 | 00 05 | 1280 | Width of image bounding box | +| 0x1A - 0x1B | 34 03 | 820 | Height of image bounding box | +| 0x1C - 0x1D | 80 02 | 640 | X offset of image | +| 0x1E - 0x1F | 02 03 | 770 | Y offset of image | +| 0x20 - 0x23 | --- | --- | ---[Unknown]--- | Bytes are in Little Endian order