<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ZAPDTR/ZAPD/ImageBackend.cpp, branch JackMaster</title>
<subtitle>Fork of ZAPD for Zelda asset parsing/extraction used in decomp pipelines</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/'/>
<entry>
<title>Extract palette data from external file (#249)</title>
<updated>2022-06-02T17:20:36+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2022-06-02T17:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=f54f2fa96bfc476a15fcc3ebcd6124bc19164fcd'/>
<id>f54f2fa96bfc476a15fcc3ebcd6124bc19164fcd</id>
<content type='text'>
* WIP

* Done

* Fix

* Fixes

* More fixes

* Fixes for backgrounds.

* Roman's fixes and format.

* Update docs and use tinyxml function for validation.

* Update docs/zapd_extraction_xml_reference.md

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;

* move tlut texture data to stack variable

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* WIP

* Done

* Fix

* Fixes

* More fixes

* Fixes for backgrounds.

* Roman's fixes and format.

* Update docs and use tinyxml function for validation.

* Update docs/zapd_extraction_xml_reference.md

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;

* move tlut texture data to stack variable

Co-authored-by: EllipticEllipsis &lt;elliptic.ellipsis@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Warning system (#189)</title>
<updated>2021-11-27T20:06:29+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>73679967+EllipticEllipsis@users.noreply.github.com</email>
</author>
<published>2021-11-27T20:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=0966109a1402ac4a070345f9e151b93064d09fc9'/>
<id>0966109a1402ac4a070345f9e151b93064d09fc9</id>
<content type='text'>
* first draft

* take vt.h from mm repo

* Colors

* Fix argument types

* Add argument parser to errorhandler

* Rename ErrorHandler to WarningHandler

* Add -Wno- and more warning types

* header and body in warnings

* Small cleanup

* Replace a bunch of warnings with the new system

Co-authored-by: EllipticEllipsis &lt;EllipticEllipsis@users.noreply.github.com&gt;

* Move stuff around

* Move stuff to header

* Make some more VT macros, new Warning_Build function + macro, ZBackground

* Add remaining warnings

* Add ZResource* param to Warning_Resource

* Add warning help message

* Simplify help message a bit

* Refactor warnings into lots of helper functions

* Fix HANG_INDT in the wild

* Builds now

* Update macros to use bold

* Fix body printing and error colour

* Add -Werror=

* Add warningType to HANDLE_ERROR

* Change some throws into HANDLE_ERROR

* Create init and main maps and write new help printer

* Changed ZTextureAnimation to new w/e

* Typo

* Delete build warnings list file

* Use ERROR in ZResource and ZPath

* Remove extra structs

* Move ifdef into the InitMap, add descriptions

* Actually move into initMap and add descriptions...

* Remove Everything from the WarningType enum

* Make more of the handler arguments const for compatibility

* Fix warning

* Document macros a bit

* Add ImageBackend ERRRORs

* Note on Weverything, rename InvalidData to InvalidExtractedData

* add texture and mesh warnings/errors

* InvalidExtractedData

* Add description for InvalidPNG

* print which warnings are enabled by using debug verbosity

* Fix everything

* Fix some newlines

* Move help to the end, start some documentation

* Remove unnecessary `WarningHandler::`s

* Remove commented code

* Some more documentation

* Make first letters consistenty lowercase, more docs

* Consistently use lowercase, more docs

* Format consistently, more detail in documentation

* Simplify enabled warnings checks

* Rename HANDLE_WARNING_BUILD and add HANDLE_ERROR_PROCESS

* Delete BuildInfo.cpp

* Use PROCESS where possible, bit more documentation

* Add documenation to README, sort when printing help

* Add an example, escalate the rest of the invalids by default

* Format warning names in table

* format readme

* Remove old flags info

* Remove obsolete variables

* Format

* assert.h -&gt; cassert

* Replace some asserts in ZTexture

* Remove test file

* Minor cleanup

* Bit more in the help

* Fix header includes

* Format

* One character in readme

* Update README.md

Co-authored-by: Anghelo Carvajal &lt;angheloalf95@gmail.com&gt;

* Some Morita inspiration

* Convert new errors

* Static warnings/errors

* Merge remote-tracking branch 'upstream/master' into errorlib

* Add explanation for switch control flow

* format

* whooops

* Fix segment warning that doesn't apply now we assume no segment means use VRAM

* Comment out MM in Jenkinsfile

Co-authored-by: Angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: EllipticEllipsis &lt;EllipticEllipsis@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* first draft

* take vt.h from mm repo

* Colors

* Fix argument types

* Add argument parser to errorhandler

* Rename ErrorHandler to WarningHandler

* Add -Wno- and more warning types

* header and body in warnings

* Small cleanup

* Replace a bunch of warnings with the new system

Co-authored-by: EllipticEllipsis &lt;EllipticEllipsis@users.noreply.github.com&gt;

* Move stuff around

* Move stuff to header

* Make some more VT macros, new Warning_Build function + macro, ZBackground

* Add remaining warnings

* Add ZResource* param to Warning_Resource

* Add warning help message

* Simplify help message a bit

* Refactor warnings into lots of helper functions

* Fix HANG_INDT in the wild

* Builds now

* Update macros to use bold

* Fix body printing and error colour

* Add -Werror=

* Add warningType to HANDLE_ERROR

* Change some throws into HANDLE_ERROR

* Create init and main maps and write new help printer

* Changed ZTextureAnimation to new w/e

* Typo

* Delete build warnings list file

* Use ERROR in ZResource and ZPath

* Remove extra structs

* Move ifdef into the InitMap, add descriptions

* Actually move into initMap and add descriptions...

* Remove Everything from the WarningType enum

* Make more of the handler arguments const for compatibility

* Fix warning

* Document macros a bit

* Add ImageBackend ERRRORs

* Note on Weverything, rename InvalidData to InvalidExtractedData

* add texture and mesh warnings/errors

* InvalidExtractedData

* Add description for InvalidPNG

* print which warnings are enabled by using debug verbosity

* Fix everything

* Fix some newlines

* Move help to the end, start some documentation

* Remove unnecessary `WarningHandler::`s

* Remove commented code

* Some more documentation

* Make first letters consistenty lowercase, more docs

* Consistently use lowercase, more docs

* Format consistently, more detail in documentation

* Simplify enabled warnings checks

* Rename HANDLE_WARNING_BUILD and add HANDLE_ERROR_PROCESS

* Delete BuildInfo.cpp

* Use PROCESS where possible, bit more documentation

* Add documenation to README, sort when printing help

* Add an example, escalate the rest of the invalids by default

* Format warning names in table

* format readme

* Remove old flags info

* Remove obsolete variables

* Format

* assert.h -&gt; cassert

* Replace some asserts in ZTexture

* Remove test file

* Minor cleanup

* Bit more in the help

* Fix header includes

* Format

* One character in readme

* Update README.md

Co-authored-by: Anghelo Carvajal &lt;angheloalf95@gmail.com&gt;

* Some Morita inspiration

* Convert new errors

* Static warnings/errors

* Merge remote-tracking branch 'upstream/master' into errorlib

* Add explanation for switch control flow

* format

* whooops

* Fix segment warning that doesn't apply now we assume no segment means use VRAM

* Comment out MM in Jenkinsfile

Co-authored-by: Angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: EllipticEllipsis &lt;EllipticEllipsis@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>`ExternalFile`: Expose other XML's declarations during extraction (#151)</title>
<updated>2021-10-16T21:55:56+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-10-16T21:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=e7a8a48cf361a7591b88592eb3e333ddf8d3ab34'/>
<id>e7a8a48cf361a7591b88592eb3e333ddf8d3ab34</id>
<content type='text'>
* proof of concept

* fix header include paths

* GetDeclarationAlignment and others

* this should fix this

* minor

* DeclareVar in ExtractFromXML

* fix vtx intersections

* Fix segmented vtxs

* --version

* zcollision changes

* Use GetSegmentedPtrName a lot more

* memory related stuff

* minor style fixes and use the actual symbol for zlinkanimation instead of the hex address

* Simplify lots of GetSourceOutputCode

* ZSkeleton cleanup and other changes

* Elevate unknown types in skeleton to errors

* ZAnimation cleanup

* Add ExternalFile to config

* delete some code

* Remove unused code

* fix conflicts

* format

* remove redundant constructors

* minor fixes

* fix vtx warnings

* extract every vtx as standalone files

* format

* uups

* Bugfix: don't create extra blank files

* Fix some Vtx warnings and remove "defaulting to normal" in skeleton error

* Refactor ZLimb

* Make each limb to look up in every file for dlists

* Use GetSegmentedArrayIndexedName in VTX references in dlists

* simplify simple condition

* search by type

* run format

* Revert "search by type"

This reverts commit a049bdfc94c4ab04613b354f466dee836a20508a.

* Add range checks

* uups

* Always set rangeEnd

* special case zsymbol

* Revert "Revert "search by type""

This reverts commit 3f6e77c780bd30dc7000614304021a0940168316.

* symbol fix and IsOffsetInFileRange

* Bugfix and minor checks

* run format

* Don't extract data from external files

* Fix extraction of overly big tluts

* Minor changes

* More minor fixes

* Fix clang warnings

* Remove unused parameter

* Fix merge issues

* Fix ZLimbTable::DeclareVar

* Fix limbs not naming properly their DLists

* Remove segment number check

* Fix merge problems

* Run formatter

* Maybe fix?

* path

* empty commit

* Fix a typo

* Fix merge issues

* Fix null ptr dereferencing

* Fix merge issues and some clang warnings

* Format

* Fix not-matching

* Format

* Fix merge issues

* Fix exporter

* Last fixes I hope

* Fix merge issues

* format

* fix

* fix

* I'm dumb

* format

* static fix

* Whoops

* fix asan

* Fix?

* fix

* reduce artificial changes

* reduce artificial changes 2

* reorder more stuff

* format

* fix borken thing

* Remove redundant stuff in zfile

* fix

* Format

* Fix conflict issues

* format

* cleanup header includes

* format

* Add error checks in for ExternalXMLFolder

* format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* proof of concept

* fix header include paths

* GetDeclarationAlignment and others

* this should fix this

* minor

* DeclareVar in ExtractFromXML

* fix vtx intersections

* Fix segmented vtxs

* --version

* zcollision changes

* Use GetSegmentedPtrName a lot more

* memory related stuff

* minor style fixes and use the actual symbol for zlinkanimation instead of the hex address

* Simplify lots of GetSourceOutputCode

* ZSkeleton cleanup and other changes

* Elevate unknown types in skeleton to errors

* ZAnimation cleanup

* Add ExternalFile to config

* delete some code

* Remove unused code

* fix conflicts

* format

* remove redundant constructors

* minor fixes

* fix vtx warnings

* extract every vtx as standalone files

* format

* uups

* Bugfix: don't create extra blank files

* Fix some Vtx warnings and remove "defaulting to normal" in skeleton error

* Refactor ZLimb

* Make each limb to look up in every file for dlists

* Use GetSegmentedArrayIndexedName in VTX references in dlists

* simplify simple condition

* search by type

* run format

* Revert "search by type"

This reverts commit a049bdfc94c4ab04613b354f466dee836a20508a.

* Add range checks

* uups

* Always set rangeEnd

* special case zsymbol

* Revert "Revert "search by type""

This reverts commit 3f6e77c780bd30dc7000614304021a0940168316.

* symbol fix and IsOffsetInFileRange

* Bugfix and minor checks

* run format

* Don't extract data from external files

* Fix extraction of overly big tluts

* Minor changes

* More minor fixes

* Fix clang warnings

* Remove unused parameter

* Fix merge issues

* Fix ZLimbTable::DeclareVar

* Fix limbs not naming properly their DLists

* Remove segment number check

* Fix merge problems

* Run formatter

* Maybe fix?

* path

* empty commit

* Fix a typo

* Fix merge issues

* Fix null ptr dereferencing

* Fix merge issues and some clang warnings

* Format

* Fix not-matching

* Format

* Fix merge issues

* Fix exporter

* Last fixes I hope

* Fix merge issues

* format

* fix

* fix

* I'm dumb

* format

* static fix

* Whoops

* fix asan

* Fix?

* fix

* reduce artificial changes

* reduce artificial changes 2

* reorder more stuff

* format

* fix borken thing

* Remove redundant stuff in zfile

* fix

* Format

* Fix conflict issues

* format

* cleanup header includes

* format

* Add error checks in for ExternalXMLFolder

* format</pre>
</div>
</content>
</entry>
<entry>
<title>Run formatter (#170)</title>
<updated>2021-09-12T18:26:33+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>73679967+EllipticEllipsis@users.noreply.github.com</email>
</author>
<published>2021-09-12T18:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=6353cf6514fa6ac812ddc1ee210b511ecccde03b'/>
<id>6353cf6514fa6ac812ddc1ee210b511ecccde03b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved utility code into its own library (#162)</title>
<updated>2021-08-08T17:51:51+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2021-08-08T17:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=0fb7568ec0d07ea414f8c3f286de352e9606d016'/>
<id>0fb7568ec0d07ea414f8c3f286de352e9606d016</id>
<content type='text'>
* Initial exporter implementation

* Updated to use static library.

* minor cleanup

* Cleaned things up a bit

* Fixed merge issues

* Minor commenting

* Added Begin and End functions, and removed HL stuff (to be turned into an exporter at a later date)

* Cleaned some stuff up

* Additional cleanup

* Removed some commented out code

* Fixed compilation issues

* Cleanup

* Fixed merge issues

* Got rid of unused windows.h includes

* Cleanup

* Fixed warning

* Removed additional redundancies

* Cleanup

* Fixed merge issues

* Fixed some compiler issues, added makefile for exportertest.

* Removed redundancies and clang formatted

* Made sure exportertest compiles with C++17

* Moved certain files into new "Utils" folder.

* GetExporterMap uses a reference now

* Minor fixes and updates.

* Moved utility code into its own library

* Fixed merge issues

* Fixed compilation issue

* Added missing classes

* Updated makefile

* Minor update

* Forgot to make an enum an 'enum class'

* Minor fix

* Few more adjustments

* Bug fix

* Another bug fix

* Bug fix again

* added comment

* New functions added for exporters

* Made certain fields public

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Initial exporter implementation

* Updated to use static library.

* minor cleanup

* Cleaned things up a bit

* Fixed merge issues

* Minor commenting

* Added Begin and End functions, and removed HL stuff (to be turned into an exporter at a later date)

* Cleaned some stuff up

* Additional cleanup

* Removed some commented out code

* Fixed compilation issues

* Cleanup

* Fixed merge issues

* Got rid of unused windows.h includes

* Cleanup

* Fixed warning

* Removed additional redundancies

* Cleanup

* Fixed merge issues

* Fixed some compiler issues, added makefile for exportertest.

* Removed redundancies and clang formatted

* Made sure exportertest compiles with C++17

* Moved certain files into new "Utils" folder.

* GetExporterMap uses a reference now

* Minor fixes and updates.

* Moved utility code into its own library

* Fixed merge issues

* Fixed compilation issue

* Added missing classes

* Updated makefile

* Minor update

* Forgot to make an enum an 'enum class'

* Minor fix

* Few more adjustments

* Bug fix

* Another bug fix

* Bug fix again

* added comment

* New functions added for exporters

* Made certain fields public

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Exporter Support Added (#127)</title>
<updated>2021-08-05T09:11:24+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2021-08-05T09:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=82bd27604a4c8f8c1f01f9c2f54c87fab103c39f'/>
<id>82bd27604a4c8f8c1f01f9c2f54c87fab103c39f</id>
<content type='text'>
* Initial exporter implementation

* Updated to use static library.

* minor cleanup

* Cleaned things up a bit

* Fixed merge issues

* Minor commenting

* Added Begin and End functions, and removed HL stuff (to be turned into an exporter at a later date)

* Cleaned some stuff up

* Additional cleanup

* Removed some commented out code

* Fixed compilation issues

* Cleanup

* Fixed merge issues

* Got rid of unused windows.h includes

* Cleanup

* Fixed warning

* Removed additional redundancies

* Cleanup

* Fixed merge issues

* Fixed some compiler issues, added makefile for exportertest.

* Removed redundancies and clang formatted

* Made sure exportertest compiles with C++17

* Moved certain files into new "Utils" folder.

* GetExporterMap uses a reference now

* Minor fixes and updates.

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Initial exporter implementation

* Updated to use static library.

* minor cleanup

* Cleaned things up a bit

* Fixed merge issues

* Minor commenting

* Added Begin and End functions, and removed HL stuff (to be turned into an exporter at a later date)

* Cleaned some stuff up

* Additional cleanup

* Removed some commented out code

* Fixed compilation issues

* Cleanup

* Fixed merge issues

* Got rid of unused windows.h includes

* Cleanup

* Fixed warning

* Removed additional redundancies

* Cleanup

* Fixed merge issues

* Fixed some compiler issues, added makefile for exportertest.

* Removed redundancies and clang formatted

* Made sure exportertest compiles with C++17

* Moved certain files into new "Utils" folder.

* GetExporterMap uses a reference now

* Minor fixes and updates.

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Change image library to `libpng` and improve how palettized textures are extracted (#133)</title>
<updated>2021-05-07T21:35:00+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-05-07T21:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=547c9b200d1dff745dee694c20a9f9e8e409a11d'/>
<id>547c9b200d1dff745dee694c20a9f9e8e409a11d</id>
<content type='text'>
* 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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</pre>
</div>
</content>
</entry>
</feed>
