Skip to content

Tool: fes.exe

Robert Jordan edited this page Oct 4, 2020 · 4 revisions

Tool: fes.exe

The command line tool fes is used to compile FES Screen (.fes) scripts. It is available in many of the publicly released CatSystem2 toolsets.

Usage

Requires Japanese Locale and Shift JIS text files when non-ASCII characters are present

CatSystem 2 Front End Script (screen script) compiler
usage: fes [file] [file] ...

arguments:
  file      file name(s) to convert (requires ".txt" extension)

Notes

  • fes outputs files using the input file name and .fes extension.
  • fes will only compile .txt files. So extensions are required for single filenames, but optional for wildcards.
  • fes allows including other files using an #INCLUDE block, with unquoted filenames (including extension), with unquoted filenames. Examples of this can be seen in the CatSystem 2 toolset, where .h files are included for common object definitions.
  • The fes script language is by far the most complex language in CatSystem 2, it controls much of the game's core functionality, behavior, and configuration.
  • Newer versions of the fes script language support string literals with Shift JIS and UTF-8 encodings within the same file! The current publicly available fes.exe does not support UTF-8, and as such recompiling these scripts may be tricky.

Examples

Convert "title.txt" file

fes title.txt

Convert files with ".txt" extension

fes *

or

fes *.txt

See Also

External links


Todo:

  • List different directory support
  • \ path slashes required?
Clone this wiki locally