Project
Back to projects
A heavily armored character keeping watch over the valley in Alganon

Alganon © Quest Online, LLC. Image via MassivelyOP.

Script

Alganon PAK Extractor

An extractor for Alganon's QOLPAK10 archives and the ZIP files that share their .pak extension.

Overview


Alganon uses the .pak extension for two different archive formats. Most are QOLPAK10 archives with QuickLZ-compressed data. A smaller group turned out to be regular ZIP files. The extractor checks the header and handles whichever one it finds.

Prerequisites


The extractor requires Python 3.6 or newer. It only uses modules included with Python.

Usage


Pass the archive first, followed by the directory where you want its contents written:

1
python .\alganon_pak.py .\Data.pak .\Data_extracted

Compatibility


The script covers the two formats I found in Alganon: QOLPAK10 archives using QuickLZ 1.5 level 3, and regular ZIP files that also happen to use the .pak extension.