FordGT90Concept
"I go fast!1!11!1!"
- Joined
- Oct 13, 2008
- Messages
- 25,562 (6.27/day)
- Location
- IA, USA
System Name | BY-2015 |
---|---|
Processor | Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on |
Motherboard | MSI Z170A GAMING M7 |
Cooling | Scythe Kotetsu |
Memory | 2 x Kingston HyperX DDR4-2133 8 GiB |
Storage | Crucial MX300 275 GB, Seagate Exos X12 TB 7200 RPM |
Display(s) | Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 VGA) |
Case | Coolermaster HAF 932 w/ USB 3.0 5.25" bay |
Audio Device(s) | Realtek ALC1150, Micca OriGen+ |
Power Supply | Enermax Platimax 850w |
Mouse | SteelSeries Sensei RAW |
Keyboard | Tesoro Excalibur |
Software | Windows 10 Pro 64-bit |
Benchmark Scores | Faster than the tortoise; slower than the hare. |
HPK Archiver is no longer receiving updates. Try nicklec's "hpk" instead.
Original content follows:
---------------------------------------
This application can extract and archive data into and out of the HPK formatted file.
You need .NET Framework 4.6.1 or Mono to run it. Extract before running or else it won't be able to find LZ4.dll.
Works with:
Implements:
Original content follows:
---------------------------------------
This application can extract and archive data into and out of the HPK formatted file.
You need .NET Framework 4.6.1 or Mono to run it. Extract before running or else it won't be able to find LZ4.dll.
Works with:
- Grand Ages: Rome
- Tropico 3
- Tropico 4
- Omerta: City of Gangsters
- Tropico 5
- Victor Vran
- Surviving Mars
Example, argument command:
-extract "D:\Steam\SteamApps\common\Tropico 4\dlc\Expansion.hpk" "C:\Users\Admin\Desktop\Expansion" -wait
Produced this result:
Commands currently supported (you should be able to do many at once)...
-extract "path to HPK" "path to folder to create/fill"
-archive "path to folder to pack (will be consumed)" "save HPK here"
Optional: Adding -zip to -archive will pack it. Do not do this on Tropico 5 because it won't be able to load it. Note: -zip only has to appear once to apply to ALL -archive commands after it. For example -archive INPUT 1.hpk -zip -archive INPUT 2.hpk would cause 1.hpk to be unzipped and 2.hpk to be zipped.
-unzip "path of file to unzip" "place to save unzipped file"
-wait
Special: This command only needs to appear once and if it does, it will stop the console from closing and show "Press any key to close program."
If no console arguments, the console will hide and the GUI will pop up.
-extract "D:\Steam\SteamApps\common\Tropico 4\dlc\Expansion.hpk" "C:\Users\Admin\Desktop\Expansion" -wait
Produced this result:

Commands currently supported (you should be able to do many at once)...
-extract "path to HPK" "path to folder to create/fill"
-archive "path to folder to pack (will be consumed)" "save HPK here"
Optional: Adding -zip to -archive will pack it. Do not do this on Tropico 5 because it won't be able to load it. Note: -zip only has to appear once to apply to ALL -archive commands after it. For example -archive INPUT 1.hpk -zip -archive INPUT 2.hpk would cause 1.hpk to be unzipped and 2.hpk to be zipped.
-unzip "path of file to unzip" "place to save unzipped file"
-wait
Special: This command only needs to appear once and if it does, it will stop the console from closing and show "Press any key to close program."
If no console arguments, the console will hide and the GUI will pop up.
1.1.0: Significant rewrite of code to add support for LZ4.
1.0.14: Archiving would have problems when the deflated size equals chunk size (usually 32768 bytes).
1.0.13: Fixed issue with small files giving inaccurate message/doing stupid things, no longer crashes when encountering a file with no data, and displays message when processing file dates.
1.0.12: Fixed 1333 out of 1334 errors in Tropico 4: Modern Times' Expansion.hpk
1.0.11: Writes data to output that doesn't inflate (fix for DLC).
1.0.10: Separated Tropico 5 game option which disables "Compress It" when checked because the game doesn't support it.
1.0.9: Lots of minor tweaks in the code.
1.0.8: Cleaned up file system code (part of FragmentedFile now) and renamed a lot of variables to more accurately reflect what it represents.
1.0.7: Catches some files that lie about being compressed and dumps the headerless contents.
1.0.6: No longer creates a temporary file for fragmented files and handles all files as fragmented files.
1.0.5: Removed a temp file and cleaned up code relating to all of the temp files (three of them now).
1.0.4: Now handles fragmented files properly.
1.0.3: Tons of bug fixes including the ability to decompress/extract challenges and ShaderCache.hpk.
1.0.2: No longer crashes if the output directory doesn't exist. It will simply create it.
1.0.1: Added bug fixes for abnormal files in Game.hpk.
1.0.0: Fixed a bug with the time stamps when archiving and also added support for Tropico 4 (experimental).
Beta 7: Fixed a bug in the archival code.
Beta 6: Archive feature is now functional, it automatically saves/loads settings, and many other tweaks.
Beta 5: Overhauled the GUI. It now shows statistics about the file and how far along it is while extracting.
Beta 4: It applies the "_filedates" to the files (modified date) and deletes the _filedates file because it is now irrelevant. Made the Zip decompression algorithm more efficient (one output stream per file).
Beta 3: Added Unix support for use on Mono.
Beta 2: Extracts all files successfully via C#ZipLib.
Beta 1: Erred on some files during extracting using zlib.
1.0.14: Archiving would have problems when the deflated size equals chunk size (usually 32768 bytes).
1.0.13: Fixed issue with small files giving inaccurate message/doing stupid things, no longer crashes when encountering a file with no data, and displays message when processing file dates.
1.0.12: Fixed 1333 out of 1334 errors in Tropico 4: Modern Times' Expansion.hpk
1.0.11: Writes data to output that doesn't inflate (fix for DLC).
1.0.10: Separated Tropico 5 game option which disables "Compress It" when checked because the game doesn't support it.
1.0.9: Lots of minor tweaks in the code.
1.0.8: Cleaned up file system code (part of FragmentedFile now) and renamed a lot of variables to more accurately reflect what it represents.
1.0.7: Catches some files that lie about being compressed and dumps the headerless contents.
1.0.6: No longer creates a temporary file for fragmented files and handles all files as fragmented files.
1.0.5: Removed a temp file and cleaned up code relating to all of the temp files (three of them now).
1.0.4: Now handles fragmented files properly.
1.0.3: Tons of bug fixes including the ability to decompress/extract challenges and ShaderCache.hpk.
1.0.2: No longer crashes if the output directory doesn't exist. It will simply create it.
1.0.1: Added bug fixes for abnormal files in Game.hpk.
1.0.0: Fixed a bug with the time stamps when archiving and also added support for Tropico 4 (experimental).
Beta 7: Fixed a bug in the archival code.
Beta 6: Archive feature is now functional, it automatically saves/loads settings, and many other tweaks.
Beta 5: Overhauled the GUI. It now shows statistics about the file and how far along it is while extracting.
Beta 4: It applies the "_filedates" to the files (modified date) and deletes the _filedates file because it is now irrelevant. Made the Zip decompression algorithm more efficient (one output stream per file).
Beta 3: Added Unix support for use on Mono.
Beta 2: Extracts all files successfully via C#ZipLib.
Beta 1: Erred on some files during extracting using zlib.
Implements:
- lz4net for handling LZ4 compression.
- SharpZipLib for handling ZLIB compression.
Attachments
-
199.6 KB Views: 5,250
-
335.3 KB Views: 1,401
Last edited: