-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Come up with a way for TextureIndex to be cached to a file, but give it a way to auto update when the source vpps change. Could store a hash of the target vpp. Though that might take too long. An alternative is to store the size and offset of pegs and vbms in vpps/str2s and to rescan them for changes each time PackfileVFS is mounted. That should be quick since the sizes and offsets should be available through PackfileVFS. I think the process would go something like this:
- We'd pre-generate a TextureIndex for all the Terraform patch version of the game files and distribute that with NF releases.
- When NF mounts PackfileVFS it'd scan the texture index data it has for any differences in the size/offset of pegs or new/missing pegs. Maybe even load the pegs cpu files and check the tga names if it isn't too slow.
- If any changes are detected it'll update the index and save them to the hard drive.
Metadata
Metadata
Assignees
Labels
No labels