Convert pk4 to lha

  1. Download and install the latest version of Filestar.

  2. Right click on one or more Pk4 file(s) on your desktop and select Convert with Filestar.

  3. Type convert to lha in the search box.

  4. Press Convert.

Or let an AI agent do it: filestarcli -i file.pk4 -c "convert to lha" (how).

Let your AI agent convert PK4 to LHA

Claude Code, Codex, Cursor and other agents can do this on your computer with Filestar. Your files stay on your machine.

Install Filestar and add it to your agents:

npm install -g filestar
filestarcli agent install

Then ask your agent:

“Convert the PK4 files in my Downloads folder to LHA”

Or run it yourself:

filestarcli -i file.pk4 -c "convert to lha"

Runs on your computer, so your files stay on it. Works on Windows, macOS and Linux. 50 free conversions with the npm install, no account needed.

Can my AI agent convert PK4 to LHA?

Yes. Install the Filestar CLI with npm install -g filestar and your agent can run filestarcli -i file.pk4 -c "convert to lha" on your computer, so your files stay on it.

Using Filestar With AI Agents · Download SKILL.md

What is the difference between .pk4 and .lha?

Extension
.pk4
.lha
Format
Binary
Binary
Category
Game
Compressed
Developer
id Software
Haruyasu Yoshizaki
Description
A PK4 file is an id Tech 4 game archive (Doom 3, Quake 4, Prey) - a ZIP file with another extension holding maps, textures, scripts and sounds. Filestar extracts its files and converts the images inside.
The LHA (also known as LHARC) file type is a compressed archive format developed by Haruyasu Yoshizaki. It primarily uses the LZSS algorithm and Huffman coding for compression, enabling the efficient packaging of multiple files and directories into a single, smaller file. Initially designed for use in the DOS operating system, LHA became popular in Japan and was widely adopted for software distribution on platforms such as Amiga and early versions of Windows.
MIME Type
application/octet-stream
application/lha

Convert pk4 To Lha Today

Get started within minutes