XTX
Jump to navigation
Jump to search

Code:The XTX format is handled in
filesystem_init.cpp during engine initialization.


The .xtx
file format is the Xbox 360 version of the gameinfo.txt configuration file used in
Source Engine games.
Purpose
XTX files exist due to Xbox 360 Technical Certification Requirements (TCR), which prohibit .txt
files from being stored on game DVDs. On Xbox 360, gameinfo.xtx
serves as the direct equivalent of gameinfo.txt
.
The gameinfo.xtx
file is used during the Xbox 360 image build process and is read during filesystem initialization to set up search paths. Modders targeting other platforms do not need to work with this format.
Technical Details
- XTX files are unencrypted and contain identical content to their
.txt
counterparts - XTX is used exclusively for the gameinfo configuration file; no other Source files use this format
- They exist only outside of VPK/ZIP archives
- Inside packed files, the original
.txt
filename is still used - The engine automatically falls back to
.txt
if the.xtx
file is not found - This format handling is isolated to filesystem initialization; the rest of the codebase works with
.txt
filenames


See also
- gameinfo.txt - The configuration file that XTX format is used for on Xbox 360
- TXT - The standard plain text format