EVT

From Amicitia Wiki
Jump to: navigation, search
EVT Format
Purpose Event (Cutscene) Format
Developer Atlus
Games Persona 5

EVT is a binary event format used by Atlus in Persona 5. It is used to setup cameras, objects, animations, dialog and more in cutscenes where you can't control the character. In other circumstances where dialog is shown but you still briefly control the character, those scenes are likely using BF instead.

Location[edit]

Persona 5's EVTs can be found in the PAC files in data.cpk\event.

Tools[edit]

EvtTool[edit]

EvtTool is a program by TGE that dumps the contents of an EVT, ECS or LSD binary to an editable JSON file, which can be opened with a text editor such as Notepad++. By dragging an EVT onto the EXE, a JSON will be generated (and vice versa). You can download EvtTool here.

Alternatively you can use the program through the commandline by passing in the file path to either an EVT or a JSON file (in case you want to batch the conversion, for example).

P5_EVT_ECS.bt[edit]

A binary template for 010 Editor can be used to study the structure of an EVT/ECS file while hex editing. Download that here.

Format[edit]

The beginning of an EVT file is comprised of event parameters (such as ids, duration), followed by object definitions (object ID, type, resource IDs, animation IDs).

After those, commands make use of the object ids to set positions, play animations, execute script procedures and show messages. Each command has its own specific parameters and a short descriptor (e.g. MSD_).

Below are a list of all commands and their functions (to the best of our knowledge).

Command Description
AlEf
CAA_
CAR_
CClp Camera clipping?
Chap Camera haptic feedback?
Cht_
CMCn
CMD_
CQuk
CSA_
CSD_ Camera Set Data. Sets up camera parameters such as position, rotation, fov.
CSEc
CShk Camere Shake?
CwCl
CwHt
CwP_
Date
EAlp
ELd_
EMD_
EnBc
EnCc
EnDf
EnFD
EnFH
EnHd
EnL0
EnLI
EnOl
EnPh
EnSh
Env_
ERgs
EScl
ESD_
ESH_
FAA_
FAB_
FbEn
Fd__
FDFl
FdS_ Fade Scene. Displays a black or white fade in/out effect depending on the type set.
FGFl
Flbk
FOD_
FrJ_
FS__ Field Scene. Indicates which field object should be loaded as the current scene.
GCAP
GGGg
GPoe
ImDp
LBX_
MAA_
MAAB
MAB_
MAI_
MAlp
MAt_
MAtO
MCSd
MDt_
MFts
MIc_
ML__
MLa_ Model Look At. Makes a model object look at a target position.
MLd_
MLw_
MMD_ Model Movement Data. Makes a model object move in a way specified by the parameters.
MRgs
MRot Model Rotation. Rotates a model object.
MScl Model Scale. Scales a model object.
MSD_ Model Set Data. Sets up positioning data for a model object.
Msg_ Message. Displays a message in a BMD by the id in the message name, contains a lot of other parameters which seemingly don't do a whole lot.
MsgR
MSSs
MvCt
MvPl
PBDs
PBNs
PBRd
PBSt
PCc_
PLf_
PRum
Scr_ Script. Executes a procedure in the event script BF by its index.
SFlt
SsCp
TCol
TRgs
TrMt
TScl