Clean up some more bin2c calls from the Makefile#286
Merged
MegaMech merged 19 commits inton64decomp:masterfrom Feb 7, 2023
Merged
Clean up some more bin2c calls from the Makefile#286MegaMech merged 19 commits inton64decomp:masterfrom
MegaMech merged 19 commits inton64decomp:masterfrom
Conversation
Remove some bin2c calls from the Makefile Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
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 I've left those changes in a purposefully crusty state in order to get attention Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Turns out all the TLUTs for Lakitu are kept in one place, far away from the textures that use them Also named a few other textures. Already new what they were, they just weren't named anything useful Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
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 Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Added some commments, gave more appropriate names to some variables. Leaving the new mode argument as `-Z` for now Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Collaborator
Author
|
I've made my additions to the n64graphics utility a little less crappy. As it stands it works for the purposes of the MK64 project. There are a couple things that could be done to make it more useful to other projects, but unless there's a desire to push these changes to the sm64tools project, I don't see much value in pursuing them. |
MegaMech
requested changes
Jan 29, 2023
Remove some bin2c calls from the Makefile Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
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 I've left those changes in a purposefully crusty state in order to get attention Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Turns out all the TLUTs for Lakitu are kept in one place, far away from the textures that use them Also named a few other textures. Already new what they were, they just weren't named anything useful Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
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 Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Added some commments, gave more appropriate names to some variables. Leaving the new mode argument as `-Z` for now Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Collaborator
|
Note that I have a PR for your PR. I've nearly patched n64graphics to output CIs properly. Then I've worked to put everything into a proper rule and remove all (or most) of the individual commands. If you want to test or help I have PR'd my changes at: I have one more commit I need to add though. |
MegaMech
approved these changes
Feb 6, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some of these required adding a new operation mode to n64graphics.
This new mode takes an image and a tlut (both as PNGs) and outputs the equivalent CI8 in inc.c form
As mentioned in the commit message, I have left those n64graphics changes in a, shall we say, crusty state in order to bring attention to them. They work fine for our immediate purposes but better names should be made and the new mode should be made more feature complete (for example, handle rgba32).