Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jak3] Update texture remap table #3821

Merged
merged 1 commit into from
Jan 4, 2025
Merged

[jak3] Update texture remap table #3821

merged 1 commit into from
Jan 4, 2025

Conversation

water111
Copy link
Collaborator

@water111 water111 commented Jan 4, 2025

Fix for #3820

Jak 2 and 3 use this annoying trick where they store multiple images in the same texture by just changing the CLUT. This breaks some PC code because those two textures will have the same TBP address. so there's a table of remaps to fix this, generated by the decompiler. Unfortunately, I generated that table before the decompiler loaded the .STR file with these textures, so it was missing the remaps. This is automatically generated in the texture folder when you run the decompiler - I just copied it to the C++ file.

image

image

@water111 water111 merged commit 2b226fe into master Jan 4, 2025
12 checks passed
@water111 water111 deleted the w/jak3-texremap branch January 4, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant