411 REFERENCE · Wikibooks
Trainz/references/Filename character restrictions
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
1 1
Filename syntaxes (or name formation) in Trainz assets are heavily restricted for compatibility reasons. As filenames are not displayed to end-users, there is no need for localization support (File and directory paths) or other format class characters.
Specifically, filenames within Trainz must obey the following rules:
Filenames must not begin with a space (' '), a period ('.'), or a tilde ('~').
Filenames must be at least one character long.
Filenames must not end with a space (' ').
Filenames should be kept to a reasonable length. No fixed length is currently enforced, however if compatibility issues arise at a later date N3V Games may add length limits.
Smart quotes, accents, umlauts and other non-ASCII characters are disallowed.
Filenames must consist of the following ASCII characters only:
Filenames must consist of the following ASCII characters only: 'a' through 'z' lowercaseletters 'A' through 'Z' uppercaseletters '0' through '9' numbers hyphen ' - ' ampersand ' & ' comma ' , ' plus ' + ' apostrophe ' ' ' period ' . ' underscore ' _ ' dollar ' $ ' space ' ' open parenthesis ' ( ' closed parenthesis ' ) ' tilde ' ~ '
1 1 http://online.ts2009.com/mediaWiki/index.php/Filename_character_restrictions a 1 character restrictions