Steve The Bandit Jan 25 @ 10:48pm
Opening .vpk and vtf files on Linux?
I've been debating on where to post this, but since it's applicable to all Valve games, I hope it's OK here.

I'd like to open .vpk and .vtf files on Linux (for modding purposes), but the developer wiki hasn't helped me out here-- GCFscape only works on Windows.

Is there some other tool I don't know about, or maybe a way to get GSCscape/VTFEdit running with WINE?
Showing 1-8 of 8 comments
< >
Rhyndos Feb 1 @ 2:15pm 
I couldn't run VTFEdit on Wine either, but I'm a novice with Linux.
LOLCAT Feb 2 @ 2:10pm 
The file format is officially specified by Valve. You can write an unpacker anytime you want.

https://developer.valvesoftware.com/wiki/VPK_File_Format
Steve The Bandit Feb 17 @ 9:15pm 
Minor update in case anyone's searching for the same issue: you can run GCFScape and VTFEdit via Wine if you also install the .Net platform within Wine. I use winetricks, and those two now work like a charm.

I'm still working on getting Valve's linux native vpk_linux32 to work-- I've followed the tutorial given on the dev wiki, and can't even get it to execute, even if I use the shell script they provide. Will update again (again, in case someone else needs this) once I've got that sorted.
hirsute Feb 20 @ 6:15pm 
cd "SteamApps/common/Team Fortress 2/bin"
LD_LIBRARY_PATH=. ./vpk_linux32 l ../tf/tf2_lv_dir.vpk
Steve The Bandit Feb 20 @ 6:21pm 
Does it use the same syntax as the windows version to pack files? That's the last thing I was looking for.
hirsute Feb 20 @ 6:40pm 
Dunno, but I'd assume yes ? I never tried to create VPKs, merely extracted them to dig around.
Steve The Bandit Feb 20 @ 7:06pm 
Originally posted by hirsute:
Dunno, but I'd assume yes ? I never tried to create VPKs, merely extracted them to dig around.

Cool. GCFscape via WINE works perfectly, but being able to pack stuff will be a MASSIVE improvement when sorting out workshop mods that have random conflicts.
Napalm Mar 8 @ 12:24pm 
They directions for running it on 64bit systems

https://developer.valvesoftware.com/wiki/VPK#Linux_users

Listing and extracting works on some VPKs and segfaults on others.
Showing 1-8 of 8 comments
< >
Per page: 15 30 50