Releases: ValveResourceFormat/ValvePak
Releases · ValveResourceFormat/ValvePak
4.0.0
Immutable
release. Only release title and notes can be modified.
3.0.3
Immutable
release. Only release title and notes can be modified.
- Enabled
IsAotCompatibleandNullable
2.0.1
Full Changelog: 2.0.0...2.0.1
- Do not require
_dirsuffix in chunked vpks - Removed
System.Security.Cryptography.Algorithms - Added
ContinuousIntegrationBuild
2.0.0
Full Changelog: 1.8.0...2.0.0
- .NET 8.0 is now required
- Removed
FindEntryoverloads - Reduced allocations in
FindEntry - Updated logo
1.8.0
Full Changelog: 1.7.0...1.8.0
GetMemoryMappedStreamIfPossiblewill read files smaller or equal to 4096 bytes into memory instead of memory mapping.GetMemoryMappedStreamIfPossiblenow supports memory mapping files in non-split packages if the package was read from aFileStreamor when usingRead(file path).- CRC32 is now calculated with
System.IO.Hashing
1.7.0
Full Changelog: 1.6.2...1.7.0
- CRC32 mismatch exceptions will now print expected and actual values.
- Added
GetMemoryMappedStreamIfPossibleto get package entry file mmap for split vpks
1.6.2
Full Changelog: 1.6.1...1.6.2
- Added
ReadEntryoverload with user provided byte array - Allow VPKs where MD5 section is not exactly 48 bytes
1.6.1
Full Changelog: https://github.com/SteamDatabase/ValvePak/compare/1.6.0...1.6.1?w=1
- Removed
IsSignatureValidcall fromVerifyHashes - Fixed slashes in
AddFile - Added
VerifyChunkHashes - Added
VerifyFileChecksums
1.6.0
Full Changelog: https://github.com/SteamDatabase/ValvePak/compare/1.5.0...1.6.0?w=1
- Added
Write()method that will save to a vpk file (non-chunked) - Added
AddFile()andRemoveFile()methods - Optimized hash and signature verification to work on stream rather than reading all data into memory
1.5.0
Full Changelog: https://github.com/SteamDatabase/ValvePak/compare/1.4.0...1.5.0?w=1
- Added
OptimizeEntriesForBinarySearch(StringComparison)- Call this before
Read() - This sorts the entries, which allows
FindEntry(string fileName)to useBinarySearchto find the entries much faster - This also allows
FindEntryto search case insensitively if desired - This is experimental, and maybe removed in the future
- Call this before
FindEntry(string directory, string fileName)andFindEntry(string directory, string fileName, string extension)overloads have been deprecated