XTX

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

The .xtx file format is the Xbox 360 Xbox 360 version of the gameinfo.txt configuration file used in Source 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, Custom Icongameinfo.xtx serves as the direct equivalent of 🖿gameinfo.txt.

The Custom Icongameinfo.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
Cpp.pngCode:The XTX format is handled in filesystem_init.cpp filesystem_init.cpp during engine initialization.

See also