View Issue Details

IDProjectCategoryView StatusLast Update
0000547fileGeneralpublic2024-11-09 23:47
ReporterKent Assigned Tochristos  
PrioritylowSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.45 
Fixed in Version5.46 
Summary0000547: File prints the tree length of a VPK file as the number of entries
DescriptionFile currently interprets a VPK directory file's tree length as the number of entries in the file.
See here for the header format: https://developer.valvesoftware.com/wiki/VPK_(file_format)#File_Format
Steps To ReproduceUse the file command on a VPK directory file.

Example:
file tf2_misc_dir.vpk
tf2_misc_dir.vpk: Valve Pak file, version 2, 4876742 entries
Additional Informationdd if=tf2_misc_dir.vpk bs=32 count=1 2>/dev/null | hexdump -Cv
00000000 34 12 aa 55 02 00 00 00 c6 69 4a 00 00 00 00 00 |4..U.....iJ.....|
00000010 e4 3a 01 00 30 00 00 00 28 01 00 00 62 61 6b 00 |.:..0...(...bak.|
Tagsvpk

Activities

christos

2024-11-09 23:47

manager   ~0004088

Fixed, thanks!

Issue History

Date Modified Username Field Change
2024-08-05 09:04 Kent New Issue
2024-08-05 09:04 Kent Tag Attached: vpk
2024-11-09 23:47 christos Assigned To => christos
2024-11-09 23:47 christos Status new => assigned
2024-11-09 23:47 christos Status assigned => resolved
2024-11-09 23:47 christos Resolution open => fixed
2024-11-09 23:47 christos Fixed in Version => 5.46
2024-11-09 23:47 christos Note Added: 0004088