diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-05-07 17:35:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 17:35:00 -0400 |
| commit | 547c9b200d1dff745dee694c20a9f9e8e409a11d (patch) | |
| tree | 4eb2ec3fe46fb5709a43d268a2de74668839f2f1 /docs | |
| parent | 5a721d58d4b28f4797d6fdf29d9926e5e968a939 (diff) | |
Change image library to `libpng` and improve how palettized textures are extracted (#133)
* trying to change to libpng
* It works again!
* move the libpng abstraction to another file
* GetBytesPerPixel
* I'm dumb
* fix warnings and remove dead code
* Fix CRC being called multiples times and clean up code
* textureDataRaw
* code clean
* Optimizations and removal of redundant data moves
* ups
* run format
* use fs::path more
* i'm dumb again
* Add a Readme
* remove texDeclarations
* handle tluts better
* vtx change and set segment file
* small changes
* Fix ZAPD ignoring textures declared in a scene in the XML
* small cleanup before tluts
* paletted images are broken
* kinda works for automatic textures
* fix automatic ci
* TEXTURE_DEBUG
* Remove extra `-j`
* Fix extraction of ci4
* Finally palettes OK
* ups
* Move textures map to ZFile
* Fix intersection warnings
* Add `TlutOffset` attribute
* Move Tlut declaration to a later step
* Hopefully the last cleanup of this branch
* Run format
* Always calc hash
* run format
* Delete stb
* fix merge issues
* run format
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/zapd_extraction_xml_reference.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/zapd_extraction_xml_reference.md b/docs/zapd_extraction_xml_reference.md index 86e64fb..50da578 100644 --- a/docs/zapd_extraction_xml_reference.md +++ b/docs/zapd_extraction_xml_reference.md @@ -110,6 +110,7 @@ u64 gCraterSmokeConeTex[] = { - `Format`: Required. The format of the image. Valid values: `rgba32`, `rgb5a1`, `i4`, `i8`, `ia4`, `ia8`, `ia16`, `ci4` and `ci8`. - `Width`: Required. Width in pixels of the image. - `Height`: Required. Height in pixels of the image. + - `TlutOffset`: Optional. Specifies the tlut's offset used by this texture. This attribute is only valid if `Format` is either `ci4` or `ci8`, otherwise an exception would be thrown. The following is a list of the texture formats the Nintendo 64 supports, with their gfxdis names and ZAPD format names. |
