[SteamPipe Beta] duplicated Half-Life 2 shared VPKs
Hi,
the SteamPipe beta versions of Day of Defeat: Source, Half-Life 2 Deathmatch and Counter-Strike: Source each have an independent set of the HL2 shared VPKs (whose contents were originally contained in source materials.gcf, source models.gcf and source sounds.gcf).
The VPKs are identical:
$ pwd
/opt/steam/SteamApps/common
$ sha256sum Counter-Strike\ Source/hl2/hl2_textures_*.vpk Day\ of\ Defeat\ Source/hl2/hl2_textures_*.vpk Half-Life\ 2\ Deathmatch/hl2/hl2_textures_*.vpk
c280b5579152d058d7d53455fd6e5ed3b622772d811b875e938e7739493780ff Counter-Strike Source/hl2/hl2_textures_000.vpk
cb1bf8f3aebab3ae82481fb733faa38c0edf5bcbb48bcaa8a7f617c7de55c319 Counter-Strike Source/hl2/hl2_textures_001.vpk
dffc84b516342a99a94f1b9ca2d9e0fcb5531d3973833756afec602e7022ef58 Counter-Strike Source/hl2/hl2_textures_002.vpk
bfbe67bccbbc9f243cfaf236949c33c71f2caf69a08aa872b7ee035d3585a8e9 Counter-Strike Source/hl2/hl2_textures_003.vpk
a16ace82d642126cb9c1a481e2d16ff60c3efc6b48b00684705a1bc84018372b Counter-Strike Source/hl2/hl2_textures_004.vpk
e5e5885fc2295af6684378dbcbe1dcaa3fb2d67d8f5ce8b7fb9175a21c8985b2 Counter-Strike Source/hl2/hl2_textures_005.vpk
90c367b538fee437da2593f814cb760cfdcb9edcd83ecf12b9ceda163f8ac064 Counter-Strike Source/hl2/hl2_textures_006.vpk
42235bf392ea22c045feadeab6e0771457eb0166e777da27d7de429148faffee Counter-Strike Source/hl2/hl2_textures_007.vpk
481758b86b15e3560469e038364de18bfb62b313d0fe1430d03ca9fb0ef96e47 Counter-Strike Source/hl2/hl2_textures_008.vpk
c42518380962f8ba9ae260a97f03075cbdea3facc4ce97a36b9c4165d0201dbc Counter-Strike Source/hl2/hl2_textures_009.vpk
cb5d282bb5df1602d8a50866701f1986d2d425a2c17df1d0db3baa43837f5011 Counter-Strike Source/hl2/hl2_textures_010.vpk
eb7b93938109be1078b9094c7aa4e3561965ad03f7eb09b4c677ebcfab755388 Counter-Strike Source/hl2/hl2_textures_dir.vpk
c280b5579152d058d7d53455fd6e5ed3b622772d811b875e938e7739493780ff Day of Defeat Source/hl2/hl2_textures_000.vpk
cb1bf8f3aebab3ae82481fb733faa38c0edf5bcbb48bcaa8a7f617c7de55c319 Day of Defeat Source/hl2/hl2_textures_001.vpk
dffc84b516342a99a94f1b9ca2d9e0fcb5531d3973833756afec602e7022ef58 Day of Defeat Source/hl2/hl2_textures_002.vpk
bfbe67bccbbc9f243cfaf236949c33c71f2caf69a08aa872b7ee035d3585a8e9 Day of Defeat Source/hl2/hl2_textures_003.vpk
a16ace82d642126cb9c1a481e2d16ff60c3efc6b48b00684705a1bc84018372b Day of Defeat Source/hl2/hl2_textures_004.vpk
e5e5885fc2295af6684378dbcbe1dcaa3fb2d67d8f5ce8b7fb9175a21c8985b2 Day of Defeat Source/hl2/hl2_textures_005.vpk
90c367b538fee437da2593f814cb760cfdcb9edcd83ecf12b9ceda163f8ac064 Day of Defeat Source/hl2/hl2_textures_006.vpk
42235bf392ea22c045feadeab6e0771457eb0166e777da27d7de429148faffee Day of Defeat Source/hl2/hl2_textures_007.vpk
481758b86b15e3560469e038364de18bfb62b313d0fe1430d03ca9fb0ef96e47 Day of Defeat Source/hl2/hl2_textures_008.vpk
c42518380962f8ba9ae260a97f03075cbdea3facc4ce97a36b9c4165d0201dbc Day of Defeat Source/hl2/hl2_textures_009.vpk
cb5d282bb5df1602d8a50866701f1986d2d425a2c17df1d0db3baa43837f5011 Day of Defeat Source/hl2/hl2_textures_010.vpk
eb7b93938109be1078b9094c7aa4e3561965ad03f7eb09b4c677ebcfab755388 Day of Defeat Source/hl2/hl2_textures_dir.vpk
c280b5579152d058d7d53455fd6e5ed3b622772d811b875e938e7739493780ff Half-Life 2 Deathmatch/hl2/hl2_textures_000.vpk
cb1bf8f3aebab3ae82481fb733faa38c0edf5bcbb48bcaa8a7f617c7de55c319 Half-Life 2 Deathmatch/hl2/hl2_textures_001.vpk
dffc84b516342a99a94f1b9ca2d9e0fcb5531d3973833756afec602e7022ef58 Half-Life 2 Deathmatch/hl2/hl2_textures_002.vpk
bfbe67bccbbc9f243cfaf236949c33c71f2caf69a08aa872b7ee035d3585a8e9 Half-Life 2 Deathmatch/hl2/hl2_textures_003.vpk
a16ace82d642126cb9c1a481e2d16ff60c3efc6b48b00684705a1bc84018372b Half-Life 2 Deathmatch/hl2/hl2_textures_004.vpk
e5e5885fc2295af6684378dbcbe1dcaa3fb2d67d8f5ce8b7fb9175a21c8985b2 Half-Life 2 Deathmatch/hl2/hl2_textures_005.vpk
90c367b538fee437da2593f814cb760cfdcb9edcd83ecf12b9ceda163f8ac064 Half-Life 2 Deathmatch/hl2/hl2_textures_006.vpk
42235bf392ea22c045feadeab6e0771457eb0166e777da27d7de429148faffee Half-Life 2 Deathmatch/hl2/hl2_textures_007.vpk
481758b86b15e3560469e038364de18bfb62b313d0fe1430d03ca9fb0ef96e47 Half-Life 2 Deathmatch/hl2/hl2_textures_008.vpk
c42518380962f8ba9ae260a97f03075cbdea3facc4ce97a36b9c4165d0201dbc Half-Life 2 Deathmatch/hl2/hl2_textures_009.vpk
cb5d282bb5df1602d8a50866701f1986d2d425a2c17df1d0db3baa43837f5011 Half-Life 2 Deathmatch/hl2/hl2_textures_010.vpk
eb7b93938109be1078b9094c7aa4e3561965ad03f7eb09b4c677ebcfab755388 Half-Life 2 Deathmatch/hl2/hl2_textures_dir.vpk
but independent files (inode in the first column):
$ ls -li Counter-Strike\ Source/hl2/hl2_textures_*.vpk Day\ of\ Defeat\ Source/hl2/hl2_textures_*.vpk Half-Life\ 2\ Deathmatch/hl2/hl2_textures_*.vpk
29100013 -rwx------ 1 ondra users 105637796 15. Mär 15:45 Counter-Strike Source/hl2/hl2_textures_000.vpk
29100014 -rwx------ 1 ondra users 107254624 15. Mär 15:45 Counter-Strike Source/hl2/hl2_textures_001.vpk
29100015 -rwx------ 1 ondra users 105595880 15. Mär 15:45 Counter-Strike Source/hl2/hl2_textures_002.vpk
29100016 -rwx------ 1 ondra users 105551257 15. Mär 15:46 Counter-Strike Source/hl2/hl2_textures_003.vpk
29100017 -rwx------ 1 ondra users 105601208 15. Mär 15:46 Counter-Strike Source/hl2/hl2_textures_004.vpk
29100018 -rwx------ 1 ondra users 105437730 15. Mär 15:47 Counter-Strike Source/hl2/hl2_textures_005.vpk
29100019 -rwx------ 1 ondra users 105365364 15. Mär 15:48 Counter-Strike Source/hl2/hl2_textures_006.vpk
29100020 -rwx------ 1 ondra users 106247095 15. Mär 15:48 Counter-Strike Source/hl2/hl2_textures_007.vpk
29100021 -rwx------ 1 ondra users 105252023 15. Mär 15:48 Counter-Strike Source/hl2/hl2_textures_008.vpk
29100022 -rwx------ 1 ondra users 157310253 15. Mär 15:48 Counter-Strike Source/hl2/hl2_textures_009.vpk
29100023 -rwx------ 1 ondra users 157076536 15. Mär 15:48 Counter-Strike Source/hl2/hl2_textures_010.vpk
29099896 -rwx------ 1 ondra users 212943 15. Mär 15:33 Counter-Strike Source/hl2/hl2_textures_dir.vpk
28579535 -rwx------ 1 ondra users 105637796 14. Mär 01:51 Day of Defeat Source/hl2/hl2_textures_000.vpk
28579536 -rwx------ 1 ondra users 107254624 14. Mär 01:51 Day of Defeat Source/hl2/hl2_textures_001.vpk
28579537 -rwx------ 1 ondra users 105595880 14. Mär 01:48 Day of Defeat Source/hl2/hl2_textures_002.vpk
28579538 -rwx------ 1 ondra users 105551257 14. Mär 01:51 Day of Defeat Source/hl2/hl2_textures_003.vpk
28579539 -rwx------ 1 ondra users 105601208 14. Mär 01:52 Day of Defeat Source/hl2/hl2_textures_004.vpk
28579540 -rwx------ 1 ondra users 105437730 14. Mär 01:52 Day of Defeat Source/hl2/hl2_textures_005.vpk
28579541 -rwx------ 1 ondra users 105365364 14. Mär 01:52 Day of Defeat Source/hl2/hl2_textures_006.vpk
28579542 -rwx------ 1 ondra users 106247095 14. Mär 01:53 Day of Defeat Source/hl2/hl2_textures_007.vpk
28579543 -rwx------ 1 ondra users 105252023 14. Mär 01:53 Day of Defeat Source/hl2/hl2_textures_008.vpk
28579544 -rwx------ 1 ondra users 157310253 14. Mär 01:53 Day of Defeat Source/hl2/hl2_textures_009.vpk
28579545 -rwx------ 1 ondra users 157076536 14. Mär 01:54 Day of Defeat Source/hl2/hl2_textures_010.vpk
28576065 -rwx------ 1 ondra users 212943 14. Mär 01:29 Day of Defeat Source/hl2/hl2_textures_dir.vpk
29098846 -rwx------ 1 ondra users 105637796 15. Mär 15:15 Half-Life 2 Deathmatch/hl2/hl2_textures_000.vpk
29098859 -rwx------ 1 ondra users 107254624 15. Mär 15:17 Half-Life 2 Deathmatch/hl2/hl2_textures_001.vpk
29098034 -rwx------ 1 ondra users 105595880 15. Mär 15:18 Half-Life 2 Deathmatch/hl2/hl2_textures_002.vpk
29098036 -rwx------ 1 ondra users 105551257 15. Mär 15:21 Half-Life 2 Deathmatch/hl2/hl2_textures_003.vpk
29098874 -rwx------ 1 ondra users 105601208 15. Mär 15:22 Half-Life 2 Deathmatch/hl2/hl2_textures_004.vpk
29098042 -rwx------ 1 ondra users 105437730 15. Mär 15:24 Half-Life 2 Deathmatch/hl2/hl2_textures_005.vpk
29098715 -rwx------ 1 ondra users 105365364 15. Mär 15:26 Half-Life 2 Deathmatch/hl2/hl2_textures_006.vpk
29098717 -rwx------ 1 ondra users 106247095 15. Mär 15:27 Half-Life 2 Deathmatch/hl2/hl2_textures_007.vpk
29098050 -rwx------ 1 ondra users 105252023 15. Mär 15:27 Half-Life 2 Deathmatch/hl2/hl2_textures_008.vpk
29098700 -rwx------ 1 ondra users 157310253 15. Mär 15:27 Half-Life 2 Deathmatch/hl2/hl2_textures_009.vpk
29098725 -rwx------ 1 ondra users 157076536 15. Mär 15:28 Half-Life 2 Deathmatch/hl2/hl2_textures_010.vpk
29099146 -rwx------ 1 ondra users 212943 15. Mär 15:26 Half-Life 2 Deathmatch/hl2/hl2_textures_dir.vpk
This is a rather glaring waste of disk space. Will the VPKs be shared between the games once the beta goes gold?
Unfortunately, with this change the games are totally independent. So, ya...they'll be duplicated.
But why not sharing these files? Would sharing cause any problems?
Is it safe to manually fix this with symlinks?
One of the advantages of the update is that these games can have their data files out of sync with each other, they were shared before and it made awkward dependencies; it may be safe now, but you could have issues in the future. So not recommended.