summaryrefslogtreecommitdiff
path: root/tools/n64graphics.c
AgeCommit message (Collapse)Author
2023-07-01Migrate debug font asset to new extract utility (#325)Tyler McGavran
Required fixing a restriction some old n64graphics chagnes had. We can now use the `-Z` option with both ci8 and ci4 images. Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-06-17New asset extraction utility (#306)Tyler McGavran
* Add new asset extraction tool. Changes motivated by the quirks of how kart animation frames are stored in the ROM. each frame has a palette that is actually composed of 2 other, incomplete palettes. As such, the existent extract.py isn't really able to handle them. * Move a variety of assets to new extract tool --------- Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2023-03-07Disassembled courses, added DLpacker, and disassembled packed DLs (#290)MegaMech
* Disassembled all courses; packed DLs and course data. * Added displaylist packer * Minor documentation and naming
2023-02-06Clean up some more bin2c calls from the Makefile (#286)Tyler McGavran
* Remove some bin2c calls from the Makefile * Found a way to make n64graphics use shared tluts * Added an option that makes n64graphics operate in a mode where it takes an image and tlut (as pngs) and spits out the appropriate CI8 indices inc.c form * Turns out all the TLUTs for Lakitu are kept in one place, far away from the textures that use them * Names some textures and tluts * Pretty helpful actually, helped identify where a few different objects types are initialized. Should be a little useful to whoever dives into the object stuff more deeply * Minor cleanup in n64graphics * Added some comments, gave more appropriate names to some variables. * Leaving the new mode argument as `-Z` for now Signed-off-by: Taggerung <tyler.taggerung@gmail.com> * Textures compile using makefile rules * Patched n64 graphics memory leak and ci output * Added memset16safe to initialize ci palettes to magic numbers (transparent pixels). --------- Signed-off-by: Taggerung <tyler.taggerung@gmail.com> Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2021-12-20Add MSYS2 MinGW x64 Support (#108)MegaMech
* Added MSYS2 MinGW x64 Support * Updated recomp * Updated tools
2020-10-14Initial commitn64