OpenKh

This is a centralized place for the documentation and other discoveries about the internal working of Kingdom Hearts games.

View on GitHub

Kingdom Hearts II - File Types

Container Description Tools
2DD A sub-tybe of BAR; usually for menus on the 2D screen buffer  
2LD A sub-tybe of BAR; usually for menus on the 3D screen buffer  
AI Located in BAR files; used as a scripting language  
ANB Raw animation data (bone manipulations, positions, etc.)  
ARD Event files containing all sorts of miscellaneous information  
BAR Primary file and data container OpenKh.Tools.BarEditor
BGM Midi-like file  
COCT Data to instance collision detection  
DBG Binary file; likely used for debug menu  
DOCT Defines occlusion culling (hiding obstructed objects)  
DPD Executed by the graphical effects engine; contains images, 3D models and scripts  
DPX Contains various DPD files  
FAC A sub-type of IMGD  
GBX Gummi Ship mission map  
IDX File table for an IMG kh.cmd.idximg
IMG Contains a bunch of un/compressed files; they are indexed by IDX kh.cmd.idximg
IMGD Images rendered on the 2D screen buffer  
IMGZ A container housing multiple IMGDs with separation layers  
MAG A descriptor for magic; contains a PAX inside  
MAP Game map  
MDLX Container for VIF packets; model data and files like textures OpenKh.Tools.KH2MdlxEditor
MSET Moveset; contains effect casters, references ANBs, etc. OpenKh.Tools.KH2MsetEditor
MSG Storing localized HUD textures for worlds  
MSN Mission file; defines how maps behave  
PAX Graphical effects; contains inside DPX entries  
SEB Sound effect; on PC, these files are pointers to an SCD in the objects remastered folder  
VAG Streamed music or voice (monaural audio)  
VAS Streamed music or voice (stereo audio)  
VSB A sub-type of BAR; contains VAG  
WD Instruments for BGM files; unused in the PC release.  
SCD Audio container, exclusive to the HD Remaster.  
a.fm A sub-type of BAR; usually used in conjunction with MDLX  
a.fr French localized a.fm  
a.gr German localized a.fm  
a.it Italian localized a.fm  
a.jp Non-Final Mix a.fm; used only in the JP PS2 Version  
a.sp Spanish localized a.fm  
a.uk English localized a.fm (Unused except for spelling differences. [US/UK])  
a.us English localized a.fm (HD releases based on a.fm; PS2 releases based on a.jp)  
apdx Stripped down version of a.jp; used in localization builds of KH2