-
Notifications
You must be signed in to change notification settings - Fork 9
FES Screen
Robert Jordan edited this page Aug 28, 2020
·
5 revisions
File Structure fully deciphered! This format is really easy to read.
The extension (.fes
) and file signature (FES
) stands for "Front End Script" (as discovered from an early web-archived version of the CS2 manual).
In assembly, the shorthand name is FE Script, so the term FES Script is technically incorrect. This will be corrected in the wiki later.
This is a script used for handling menus, and other screens visible in the game. Its script language behaves similar to CST Scene scripts.
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 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.