WoW:Console: Difference between revisions

No edit summary
No edit summary
Line 29: Line 29:
Configurations are persisted across game sessions using .WTF (Warcraft Text File?) files.
Configurations are persisted across game sessions using .WTF (Warcraft Text File?) files.


Each WTF file is a text file, containing only [[#Commands|Commands]] separated by a <code>\r\n</code>, or CRLF sequence.
Each WTF is a text file, containing only [[#Commands|Commands]] separated by a <code>\r\n</code>, or CRLF sequence.


Differently named WTF files may interpret specific commands only (such as Config.WTF, which rejects every line that does not begin with the [[WoW:set (Console command)|set command]]).
Differently named WTFs may interpret specific commands only (such as Config.WTF, which rejects every line that does not begin with the [[WoW:set (Console command)|set command]]).


The Config.WTF file is loaded by the client at startup, and saved during graceful shutdown. It contains every non-default [[WoW:CVar|CVar]]
Config.WTF is loaded by the client immediately at startup, and saved during graceful shutdown. It contains every non-default [[WoW:CVar|CVar]] set by the client.


== Usage ==
== Usage ==