You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see from the commit dates I wrote this a little while ago, but I haven't been able to confirm that it works correctly with custom assets. I don't know when I'll have the time or the energy so I'm making this now so A) it doesn't get lost and B) hopefully inspire someone else to confirm it.
This updates the texture offset scanning code in Panacea to handle BBS' file types.
Of note:
TM2 handling as been updated so the flags that KH2 uses are now passed in as a defaulted parameter, so BBS can reuse that code without getting the flag values which it doesn't use.
BBS' arc texture ordering is as follows: Textures are ordered by their offset within the enclosing .arc file, except for .txa files, which immediately precede the textures of the .pmo/.pmp they're attached to, regardless of the .txa file's position within the .arc file.
Based on testing I did with a separate test harness, this code does not correctly produce the offsets matching the remastering entries of every file in the game, but inspecting the failing results suggests that at least some of those remastering entries are bogus. The current code matches 98.7% of files with remastering entries.
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: b8ade697-bb9b-42e3-883b-15c125dc4602
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
🔍 Trigger review
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
As you can see from the commit dates I wrote this a little while ago, but I haven't been able to confirm that it works correctly with custom assets. I don't know when I'll have the time or the energy so I'm making this now so A) it doesn't get lost and B) hopefully inspire someone else to confirm it.
This updates the texture offset scanning code in Panacea to handle BBS' file types.
Of note: