Implement bundle properties #3
Labels
No labels
ci
crate/dtmm
crate/dtmt
crate/sdk
crate/serde_sjson
kind
bug
kind
documentation
kind
enhancement
kind
feature
kind
question
kind
upstream
part/bundle
part/filetype
stage
actionable
stage
design
stage
proposal
status/duplicate
status/good first issue
status/help wanted
status/invalid
status
need-replicate
status/wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bitsquid_dt/dtmt#3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The 256 bytes near the start of the bundle are actually an array of 32
IdString64
s, that Fatshark calls aPropertyArray
. These properties relate to file variants.Presumably the
variant
bit field functions as an index into the array, and each entry in the array is the hashed name of that variant. E.g. many bundles have hashes there that map to languages likede
orfr
.When building the name for a file, the
variant
should be used to look up the relevant bundle property, then the hash should be looked up in the dictionary.I should probably add a separate dictionary group, as the properties are generic, and don't have to be just languages.
Apparently, they are shared across all bundles, even though they are written to each individual one: