diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-04-23 14:36:22 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-04-23 14:36:22 +0400 |
commit | f2201824c6ed9e8da6e8fefaba100dea5551c196 (patch) | |
tree | 964c6e2a226de77928014a9346a0c28213833513 | |
parent | 2cb65843aaab56cccad02d7e0ae507527c98b559 (diff) |
Add note about normalized paths.
-rw-r--r-- | doc/client.txt | 13 | ||||
-rw-r--r-- | doc/server.txt | 13 |
2 files changed, 16 insertions, 10 deletions
diff --git a/doc/client.txt b/doc/client.txt index 2440f25..2e9feda 100644 --- a/doc/client.txt +++ b/doc/client.txt @@ -1201,12 +1201,15 @@ it used to be you know where to look. The following list may be incomplete. - ‘demomap’ command has been removed in favor of ‘demo’ and ‘mvdplay’. - Q2PRO works only with virtual paths constrained to the quake file system. - Backed-up paths are not allowed. This means a command like this will no - longer work: ‘exec ../some-global-config.cfg’. Config files that need to be - globally accessible should be placed in ‘baseq2/’ directory. + All paths are normalized before use so that it is impossible to go past virtual + filesystem root using ‘../’ components. This means commands like these are + equivalent and all reference the same file: ‘exec ../global.cfg’, ‘exec + /global.cfg’, ‘exec global.cfg’. If you have any config files in your Quake 2 + directory root, you should consider moving them into ‘baseq2/’ to make them + accessible. -- ‘link’ command syntax has been changed: only paths relative to the root of - quake file system are accepted. Absolute and backed-up paths will not work. +- Likewise, ‘link’ command syntax has been changed to work with virtual paths + constrained to the quake file system. All arguments to ‘link’ are normalized. - Cinematics are not supported. diff --git a/doc/server.txt b/doc/server.txt index 83c62af..c9fe0e9 100644 --- a/doc/server.txt +++ b/doc/server.txt @@ -740,12 +740,15 @@ it used to be you know where to look. The following list may be incomplete. proxy, use ‘sys_forcegamelib’ variable. - Q2PRO works only with virtual paths constrained to the quake file system. - Backed-up paths are not allowed. This means a command like this will no - longer work: ‘exec ../some-global-config.cfg’. Config files that need to be - globally accessible should be placed in ‘baseq2/’ directory. + All paths are normalized before use so that it is impossible to go past virtual + filesystem root using ‘../’ components. This means commands like these are + equivalent and all reference the same file: ‘exec ../global.cfg’, ‘exec + /global.cfg’, ‘exec global.cfg’. If you have any config files in your Quake 2 + directory root, you should consider moving them into ‘baseq2/’ to make them + accessible. -- ‘link’ command syntax has been changed: only paths relative to the root of - quake file system are accepted. Absolute paths will not work. +- Likewise, ‘link’ command syntax has been changed to work with virtual paths + constrained to the quake file system. All arguments to ‘link’ are normalized. - Cinematics are not supported. |