HLLib - NemPosted: May 23rd, 2005 - 6:32:20 pm
About:

HLLib is a package library for Half-Life that abstracts several package formats and provides a simple interface for all of them. HLLib is written in native C++ but exposes both a C and C++ interface which can be used in any C or C++ application (additional languages may also use the library with standard C imports). HLLib works natively in both Windows (x86 and x64) and Linux. BSP, GCF, NCF, PAK, VPK, WAD, XZP and uncompressed ZIP package formats are supported.

HLLib is an open source library licensed under the LGPL. It comes with the source code and binaries necessary to use it. An example application called HLExtract, which is licensed under the GPL, is also included. HLExtract is a command line utility written in C that can load all HLLib supported packages and extract multiple items from them while maintaining their directory structure. Also included is a C# HLExtract port called HLExtract.Net.

Download: GridMount:

A MacFUSE file system handler called GridMount is available for those looking to run HLLib on a Mac.

Java Wrapper:

A Java wrapper is available for those looking to use HLLib in Java. It can be found on SourceForge.

Revision History:

v2.4.5
  • Added support for new SGA file format (v6).
  • Added support for new SGA file format (v7).
v2.4.4
  • Fixed support for VPK file format (v1).
v2.4.3
  • Added support for new VPK file format (v2).
  • Added SGA file support.
  • Added ZIP deflate support.
v2.4.2
  • Fixed crash when opening VBSP files with no pak file lump.
v2.4.1
  • Fixed crash in CProcStream.
  • Fixed VPK signature check.
  • Workaround for crash in .Net wrapper.
v2.4.0
  • Added support for GCF files larger than 4 GB.
v2.3.0
  • Added support for x64.
  • Added Visual Studio 2010 solution.
  • Added Visual Studio 2008 solution..
  • Removed Visual Studio 2003 solution.
v2.2.0
  • Added support for packages larger than 4 GB.
v2.1.2
  • Added support for new VBSP file format.
v2.1.1
  • Added support for new VPK file format.
  • Added VPK file validation.
  • Fixed crash when closing VPK files.
v2.1.0
  • Added VPK file support.
v2.0.11
  • Added VBSP .lmp support.
  • Fixed support for files over 2 GB.
v2.0.10
  • Added Last Version Played attribute to NCF file.
  • Fixed change to directory entry folder terminator.
v2.0.9
  • Added Last Version Played attribute to GCF file.
v2.0.8
  • Improved GCF version check.
  • Fixed fragmentation header checksum after defragment.
v2.0.7
  • Added different search string comparisons.
  • Added Visual Studio 2005 solution.
  • Improved package type tests.
v2.0.6
  • Added generic write support to mapping interface.
  • Added no recurse option to FindFirst()/FindNext().
  • Improved package item attribute consistency.
  • Fixed GCC visibility support.
  • Fixed unnecessary GCF bounds check.
  • Fixed BSP unused lump check.
v2.0.5
  • Added Linux support.
  • Fixed near infinite find next recursion.
v2.0.4
  • Fixed bug in GCF file defragmentation progress.
v2.0.3
  • Added NCF file support.
v2.0.2
  • Added GCF file defragmentation.
  • Added fragmentation property to GCF files.
  • Added Dark Messiah VBSP support.
  • Fixed hlPackageCreateStream() bug.
  • Fixed CMapping::GetTotalMemoryUsed() calculation.
  • Fixed PAK file path parsing.
  • Improved error messages.
  • Improved file mapping performance.
v2.0.1
  • Added memory tracking.
  • Improved view management.
  • Fixed memory mapping bug.
  • Fixed user data bug in proc reader.
  • Fixed WAD file GetImageData() bug.
  • Fixed default mapping stream view size.
  • Fixed a minor memory leak.
v2.0.0
  • Rewrote entire library.
  • Open packages from anywhere (files, memory, abstract streams).
  • Get package and item attributes.
  • Stream package data.
  • Validate package data.
  • Added a C wrapper.
  • Improved and optimized package loading code.
  • Improved package detection.
v1.1.8
  • Added XZP file support.
v1.1.7
  • Added Source engine BSP support.
v1.1.6
  • Added mipmap level option to CWADFile.
v1.1.5
  • Improved WAD file support.
v1.1.4
  • Improved detection of corrupt packages.
v1.1.3
  • Extended CGCFFile.
  • Extended CFileMapping and CPrimitiveFileMapping to allow for volatile access.
  • Fixed CPackageUtility::Extract() bug caused by illegal characters.
  • Files of size 0 B are now treated as valid files.
v1.1.2
  • Extended CPackage.
  • Extended CMappedPackage.
  • Improved error messages for system calls.
v1.1.1
  • Fixed last error not being set in CMappedPackage::Open().
v1.1.0
  • Rewrote mapping code to be more flexible.
  • Packages located on disk or in memory can now be loaded.
  • Optimized file mapping.
  • Fixed CPackage::Root bug.
  • Fixed CGCFFile::GetFileSizeOnDisk() bug.
v1.0.4
  • Fixed CPackage memory leak.
  • Fixed CMappedPackage initialization bug.
  • Fixed CMappedPackage deinitialization bug.
  • Changed CDirectoryItem::Parent to a CDirectoryFolder.
  • Extended CWADFile.
  • Added CBSPFile which acts like CWADFile on a BSP's textures.
v1.0.3
  • Extended CWADFile.
  • Changed GetFileSizeEx() to GetFileSize() (Not all versions of Windows supported the former).
v1.0.2
  • Extended CPackage.
  • Extended CGCFFile.
  • Converted from bool to BOOL.
  • HLLib now used by GCFScape.
v1.0.1
  • Added callback functionality to CPackageUtility::Extract().
  • Extended CGCFFile.
  • Minor bug fixes.
v1.0.0
  • Original build.
Modified: Oct 18th, 2013 - 3:31:30 am[ 37 Comments ]

libhl - NemPosted: May 23rd, 2005 - 6:30:02 pm
About:

SavannahLion of HLPD has ported my HLLib library to Linux. The port has been dubbed libhl and contains a HLExtract clone Slatch.

Download:
Modified: Jun 17th, 2006 - 4:30:24 pm[ 14 Comments ]
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.018093s; Queries: 14.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS
π