Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Library:CryEngine

From ReverseEngineering.wiki
Library
Developer Crytek
Website https://www.cryengine.com
On this wiki Facts · Code · Notes · Topics

Crytek's game engine and the base of Amazon Lumberyard and O3DE: games ship content in .pak files that are ZIP variants and models in chunked CGF files.

Overview

CryEngine games (Crysis line, Far Cry 1, Ryse, Hunt, Star Citizen as a fork) keep data in .pak archives next to the executable and use chunked model files; see Format:CryEngine CGF chunk files. The .pak archives are ZIP files (Format:ZIP): O3DE, which inherits the code from Amazon Lumberyard (itself derived from CryEngine), implements them in AzFramework/Archive with a ZipFileFormat.h that defines the standard end-of-central-directory (0x06054b50) and central directory header (0x02014b50) structures plus Crytek-specific extensions (see Library:O3DE#Pak archives).

Pak extensions

O3DE's ZipFileFormat.h defines non-standard compression method ids 11 to 14 (deflate or store combined with a TEA, stream-cipher or key-table cipher) and a Cry extended header stored in the zip comment (encryption type, signing flag, RSA-signed central directory). Keys are not covered by the wiki. Unverified: retail CryEngine games use the same ids; a normal unzip tool works on pak files that use only method 0 or 8.

Lineage

Unverified (not read in a source): Lumberyard was forked from CryEngine 3.8 and open sourced as O3DE in 2021; a game's engine can then be told by the structure of its pak and by chunk-file signatures.

Related

Library:O3DE, Format:ZIP, Format:CryEngine CGF chunk files.

Code & repositories

  • https://github.com/Markemp/Cryengine-Converter @ 7b951dbb254ab99f560e8ffbf64a771c70ccef74 · license: GPL-2.0 (declared by the contributor; GitHub's detector did not recognize LICENSE)
    C# CGF/CHR/SKIN/CAF reader and Collada/glTF exporter; reads CrCh, CryTek and #ivo chunk files
    Tested on: source read, not run: source only · checked 2026-10-18
  • https://github.com/o3de/o3de @ 85f846e64e9d03f4114e371dc5eb255b6484e717 · license: Apache-2.0 OR MIT (declared by the contributor for the files used; GitHub reports Apache-2.0 (read from LICENSE.txt; GitHub's API was busy) for the repository)
    Open 3D Engine; pak archive code in Code/Framework/AzFramework/AzFramework/Archive
    Tested on: source read, not run: source only · checked 2026-10-18