Skip to content

FES Screen

Robert Jordan edited this page May 10, 2020 · 5 revisions

File Structure fully deciphered! This format is really easy to read.

This is a script used for handling menus, and other screens visible in the game. Its script language behaves similar to CST Scene scripts.

Apparently FES scripts are actually referred to as FE Scripts, where the S in the name is a shorthand for Script. An early web-archived version of the CS2 manual explains that FES stands for FrontEndScript. This will be corrected in the wiki later.

File Structure

Data Type Value Description
char[4] "FES" File Signature
uint32 CompressedSize Compressed size of ScriptText
uint32 DecompressedSize Decompressed size of ScriptText
uint32 Reserved Always zero(?)
byte[CompressedSize] ScriptText Zlib-compressed screen script text

ScriptText

ScriptText is just a raw Shift JIS (codepage 932) string containing the entire condensed FES script. FES scripts don't have any special file format other than their header and using Zlib compression.

Clone this wiki locally