Figure out how data/
files work for materials #197
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#197
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?
Some, maybe all material files point to
data/
files with no content in the bundle. Properly extract those by reading the data file, and have thebundle list
command properly show the data size.Current investigation:
Across all files in the game:
properties::DATA
is set, thenis_data_file == 1
is_data_file == 1
, thensize == 30 / 0
(i.e.size == 30
,len_data_file_name == 0
)len_data_file_name == 31
, thenproperties::DATA
is not setlen_data_file_name
is always either0
or31
So there seem to be three distinct cases:
is_data_file == 1
-> full content indata/
fileis_data_file == 0 && len_data_file_name == 0
-> full content in bundle filelen_data_file_name == 31
-> content is split across bundle anddata/