OpenKh

This is a project centralizes all the technical knowledge of Kingdom Hearts series in one place, providing documentation, tools, code libraries and the foundation for modding the commercial games.

View on GitHub

BEP Format

BEP stands for Base Enemy Parameter and it controls the general status for the character amongst other things. It is only used for one file named EnemyCommon.bep.

Offset Type Description
0x0 char[4] File identifier, always @BEP
0x4 uint Version, 2
0x8 uint Count of Base Parameters
0xC uint Offset to Base Parameters
0x10 uint Count of Disappear Parameters
0x14 uint Offset to Disappear Parameters

Base Parameters

Offset Type Description
0x0 ushort Battle Level
0x2 ushort Base Attack
0x4 ushort Defense
0x6 uint8 Damage Ceiling
0x7 uint8 Damage Floor
0x8 uint Base HP
0xC uint Base EXP

Disappear Parameters

Offset Type Description
0x0 ushort World ID
0x2 ushort Area ID
0x4 float Distance