项目作者: ElementW

项目描述 :
FUSE filesystem to read Valve VPK files
高级语言: C
项目地址: git://github.com/ElementW/vpk_fuse.git
创建时间: 2014-07-27T23:54:26Z
项目社区:https://github.com/ElementW/vpk_fuse

开源协议:GNU General Public License v3.0

下载


vpk_fuse

A FUSE filesystem which can open Valve PacKage files (VPK).

Supports both VPKv1 and VPKv2, including splitted VPKs (separate archive files)

Compiling

What you need:

  • make
  • A gcc version that supports GNU C99
  • pkg-config
  • FUSE headers, libfuse-dev package on Debian-based systems, or simply fuse on Arch Linux. For other OSes, just make sure the headers exist and are correctly pointed to by pkg-config

How to build (caution: extremely hard):

  1. git clone --depth 1 git@github.com:ElementW/vpk_fuse.git && cd vpk_fuse
  2. make
  3. Done.

Usage

  1. ./vpk_fuse <filename> [FUSE flags] <FUSE mountpoint>
  2. # E.g.:
  3. mkdir /mnt/p2vpk
  4. ./vpk_fuse "/mnt/SteamApps/common/portal 2/portal2/pak01_dir.vpk" /mnt/p2vpk

Bottom note

Coded in two days for fun (and not profit :P ), may be somehow crashy (current error handling isn’t great)!

License

GPLv3, see “LICENSE” file for details