Repository navigation
Conversation
Register the Unity 2017.2 Shader hash using the 2017.4 layout with the two later fields removed. Checked all 1,178 nodes and alignment flags against the release type tree, and decoded 53 shaders and 456 programs from Mercenaries Wings.
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.
What and why
Mercenaries Wings: The False Phoenix ships stripped Unity 2017.2.1p3 Shader objects. Their type hash was missing from
unityfs.py, so the shader reader could not decode them.Register the hash with an embedded
SHADER_2017_2layout derived from the existing 2017.4 layout. Unity 2017.2 omitsm_MultiSampledinTextureParameterandm_StructParamsinConstantBuffer. The existing type-tree loader handles the new layout without an external dump.Checked
010094500C216000, v0).git diff --checkpassed.Docs