<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ZAPDTR/ZAPD/ZBackground.h, branch develop</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>ZResource cleanup (#178)</title>
<updated>2021-10-05T16:55:55+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-10-05T16:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=4994e732406ffa2942f9c9ea6ff14c424cd0b896'/>
<id>4994e732406ffa2942f9c9ea6ff14c424cd0b896</id>
<content type='text'>
* Add some general use methods to ZResource

* change zarray

* adapt ztexture

* Clean up ZCollision, ZPath, ZScalar and ZVector

* cleanup background

* cleanup zmtx

* Clean up skeleton and limb

* mark GetSourceTypeName as abstract

* Remove redundant ExtractFromXML

* Reorder stuff to minimize changes in github

* remove extra ZDisplayList constructor

* Remove using namespace tinyxml2;

* run formatter

* Add some brief descriptions, and remove some methods

* Remove trivials GetSourceOutputCode and a bit of cleanup

* Add more descriptions to methods

* Fix blob build

* improve descriptions a bit

* Run formatter

* Now builds

* Add attributes and fix some warnings

* format

* fix merge issues

* fix merge issues and some clang warnings

* format

* Run formatter

* Fix merge issues

* Format

* add SEGMENTED_NULL

* Fix merge issues

* Run format

* dumb fix

* whoops

* format

* whoops</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add some general use methods to ZResource

* change zarray

* adapt ztexture

* Clean up ZCollision, ZPath, ZScalar and ZVector

* cleanup background

* cleanup zmtx

* Clean up skeleton and limb

* mark GetSourceTypeName as abstract

* Remove redundant ExtractFromXML

* Reorder stuff to minimize changes in github

* remove extra ZDisplayList constructor

* Remove using namespace tinyxml2;

* run formatter

* Add some brief descriptions, and remove some methods

* Remove trivials GetSourceOutputCode and a bit of cleanup

* Add more descriptions to methods

* Fix blob build

* improve descriptions a bit

* Run formatter

* Now builds

* Add attributes and fix some warnings

* format

* fix merge issues

* fix merge issues and some clang warnings

* format

* Run formatter

* Fix merge issues

* Format

* add SEGMENTED_NULL

* Fix merge issues

* Run format

* dumb fix

* whoops

* format

* whoops</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation with -Wextra (#164)</title>
<updated>2021-09-12T20:25:37+00:00</updated>
<author>
<name>Random</name>
<email>28494085+Random06457@users.noreply.github.com</email>
</author>
<published>2021-09-12T20:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=90662f3cbade844c8edc3943ab8252e334b6166a'/>
<id>90662f3cbade844c8edc3943ab8252e334b6166a</id>
<content type='text'>
* add -Wextra -Werror

* remove void arg in GfxdCallback_FormatSingleEntry

* mark CRC32 functions as maybe_unused

* remove useless comment

* fix clang warnings

* replace (void) with [[maybe_unused]]

* run make format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add -Wextra -Werror

* remove void arg in GfxdCallback_FormatSingleEntry

* mark CRC32 functions as maybe_unused

* remove useless comment

* fix clang warnings

* replace (void) with [[maybe_unused]]

* run make format</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize RAM usage and performance by removing redundant `rawData` (#148)</title>
<updated>2021-06-04T16:52:38+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-06-04T16:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=726ff528a3ab66afde92b5b6e70a96f168fee041'/>
<id>726ff528a3ab66afde92b5b6e70a96f168fee041</id>
<content type='text'>
* Remove rawData from ZResource

* Remove dlistRawData and some leftovers extra params

* Run format

* Unused variable warning</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove rawData from ZResource

* Remove dlistRawData and some leftovers extra params

* Run format

* Unused variable warning</pre>
</div>
</content>
</entry>
<entry>
<title>Add const to most functions that need it and remove all "using namespace std" (#132)</title>
<updated>2021-05-08T16:27:38+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2021-05-08T16:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=a357277e412b5e8f0f2f0578c7d7d213e8744c8d'/>
<id>a357277e412b5e8f0f2f0578c7d7d213e8744c8d</id>
<content type='text'>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* const

* no more namespace std

* revert alloca

* re add a few missing consts</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* const

* no more namespace std

* revert alloca

* re add a few missing consts</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>
<entry>
<title>Refactor: Removed `relPath` since it is no longer used. (#136)</title>
<updated>2021-05-06T22:20:07+00:00</updated>
<author>
<name>Nicholas Estelami</name>
<email>NEstelami@users.noreply.github.com</email>
</author>
<published>2021-05-06T22:20:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=5a721d58d4b28f4797d6fdf29d9926e5e968a939'/>
<id>5a721d58d4b28f4797d6fdf29d9926e5e968a939</id>
<content type='text'>
* Refactor: Removed relPath since it is no longer used.

* Removed remaining references

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>
* Refactor: Removed relPath since it is no longer used.

* Removed remaining references

Co-authored-by: Jack Walker &lt;7463599+Jack-Walker@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Use OutputFormatter for every C and H file, to improve the generated output (#122)</title>
<updated>2021-04-28T09:19:50+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-04-28T09:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=b9120803e6094a54192ed67d9585ab046101c816'/>
<id>b9120803e6094a54192ed67d9585ab046101c816</id>
<content type='text'>
* Small changes in collision

* Use outputformatter to write C files

* Outputformatter for .h files

* Use more fs::path

* Use gfxd_udata_set and gfxd_udata_get instead of an instance

* Fix merge issues and warnings

* run format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Small changes in collision

* Use outputformatter to write C files

* Outputformatter for .h files

* Use more fs::path

* Use gfxd_udata_set and gfxd_udata_get instead of an instance

* Fix merge issues and warnings

* run format</pre>
</div>
</content>
</entry>
<entry>
<title>Fix most -Wall warnings (#115)</title>
<updated>2021-04-24T20:42:52+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2021-04-24T20:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=6d27dbaab3b32ccebb076895fac3cc6aa3240d6c'/>
<id>6d27dbaab3b32ccebb076895fac3cc6aa3240d6c</id>
<content type='text'>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* Most warnings fixed

* Fix conflicts and new warnings

* Makefile

* Sig

* Clang format

* destructor

* Add a bunch of destructors

* clear the scalars vector after freeing the elements

* PR fixes (Anghelo Alf)

* Fix most clang -Wall warnings</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* started on basic type errors

* Done. For now

* remove libgfxd binary

* Most warnings fixed

* Fix conflicts and new warnings

* Makefile

* Sig

* Clang format

* destructor

* Add a bunch of destructors

* clear the scalars vector after freeing the elements

* PR fixes (Anghelo Alf)

* Fix most clang -Wall warnings</pre>
</div>
</content>
</entry>
<entry>
<title>Rename "Prerender" to "Background", properly extract PolygonType1 multi format and change some structs used. (#107)</title>
<updated>2021-04-15T11:49:28+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-04-15T11:49:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/ZAPDTR/commit/?id=179af7d11fd27b046edfb1bbadade865033583d7'/>
<id>179af7d11fd27b046edfb1bbadade865033583d7</id>
<content type='text'>
* Extract BgImage

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* improve the output a bit

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* extract backgrounds for multipoly

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Extract the dlists of PolygonDlist

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* commands in the next line

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Move a lot of repeated code into a class

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Use PolygonDlist instead of MeshEntry0

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Rename prerender to background

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* format

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* last cleanup

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Handle jpg padding

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Add a few checks and warnings for jpeg validity

Signed-off-by: Angie &lt;angheloalf95@gmail.com&gt;

* typo

Signed-off-by: Angie &lt;angheloalf95@gmail.com&gt;

* fix merge error

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Fix background extraction that somehow was broken

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* re-add the trailling line feed

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* add trailing line feed again

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* fix an already fixed warning

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* fix crash when no config file is provided

* run format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Extract BgImage

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* improve the output a bit

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* extract backgrounds for multipoly

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Extract the dlists of PolygonDlist

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* commands in the next line

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Move a lot of repeated code into a class

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Use PolygonDlist instead of MeshEntry0

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Rename prerender to background

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* format

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* last cleanup

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Handle jpg padding

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Add a few checks and warnings for jpeg validity

Signed-off-by: Angie &lt;angheloalf95@gmail.com&gt;

* typo

Signed-off-by: Angie &lt;angheloalf95@gmail.com&gt;

* fix merge error

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* Fix background extraction that somehow was broken

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* re-add the trailling line feed

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* add trailing line feed again

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* fix an already fixed warning

Signed-off-by: angie &lt;angheloalf95@gmail.com&gt;

* fix crash when no config file is provided

* run format</pre>
</div>
</content>
</entry>
</feed>
