aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-09-13 23:52:54 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-09-13 23:52:54 +0000
commiteb07490162d035aafd6256381c089f9135765ccc (patch)
tree24f25c56e1727aa02c6993941d531f294eabfda9
parentf84ccd76b3307be22b7be1e4baf9a432822c67e3 (diff)
downloadioquake3-aero-eb07490162d035aafd6256381c089f9135765ccc.tar.gz
ioquake3-aero-eb07490162d035aafd6256381c089f9135765ccc.zip
Bug 2813
* reverted my recent win95, win98, winme homepath change. it turns out these systems can be configured to have multiple user directories afterall git-svn-id: svn://svn.icculus.org/quake3/trunk@908 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--README25
-rw-r--r--code/win32/win_shared.c8
2 files changed, 16 insertions, 17 deletions
diff --git a/README b/README
index b2e5a79..0c64500 100644
--- a/README
+++ b/README
@@ -24,7 +24,7 @@ for further development. Some of the major features currently implemented are:
* Support for various esoteric operating systems (see
http://icculus.org/quake3/?page=status)
* HTTP/FTP download redirection (using cURL)
- * Multiuser support on Windows NT based systems (user specific game data
+ * Multiuser support on Windows systems (user specific game data
is stored in "%APPDATA%\Quake3")
* Many, many bug fixes
@@ -236,19 +236,26 @@ Using HTTP/FTP Download Support (Client)
it will use the value of the cvar cl_cURLLib as the filename of the cURL
library to dynamically load.
-Multiuser Support on Windows NT based sysems
- On Windows NT based systems (e.g. Windows XP), all user specific files such
- as autogenerated configuration, demos, videos, screenshots, and
- autodownloaded pk3s are now saved in a directory specific to the
- user who is running ioquake3. On systems using the English language,
- this is usually a directory named:
+Multiuser Support on Windows systems
+ On Windows, all user specific files such as autogenerated configuration,
+ demos, videos, screenshots, and autodownloaded pk3s are now saved in a
+ directory specific to the user who is running ioquake3.
+
+ On NT-based such as Windows XP, this is usually a directory named:
"C:\Documents and Settings\%USERNAME%\Application Data\Quake3\"
+ Windows 95, Windows 98, and Windows ME will use a directory like:
+ "C:\Windows\Application Data\Quake3"
+ in single-user mode, or:
+ "C:\Windows\Profiles\%USERNAME%\Application Data\Quake3"
+ if multiple logins have been enabled.
+
In order to access this directory more easily, the installer may create a
Shortcut which has its target set to:
"%APPDATA%\Quake3\"
- Such a link would work for all users and would work on non-English versions
- of Windows.
+ This Shortcut would work for all users on the system regardless of the
+ locale settings. Unfortunately, this environment variable is only
+ present on Windows NT based systems.
You can revert to the old single-user behaviour by setting the fs_homepath
cvar to the directory where ioquake3 is installed. For example:
diff --git a/code/win32/win_shared.c b/code/win32/win_shared.c
index 98c0098..5ba8694 100644
--- a/code/win32/win_shared.c
+++ b/code/win32/win_shared.c
@@ -288,14 +288,6 @@ char *Sys_DefaultHomePath(void) {
TCHAR szPath[MAX_PATH];
static char path[MAX_OSPATH];
- // do not bother using a seperate home directory on versions of
- // windows that do not offer true per-user home directories
- // (win98, win95, winme)
- g_wv.osversion.dwOSVersionInfoSize = sizeof( g_wv.osversion );
- GetVersionEx( &g_wv.osversion );
- if( g_wv.osversion.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS )
- return NULL;
-
if( !SUCCEEDED( SHGetFolderPath( NULL, CSIDL_APPDATA,
NULL, 0, szPath ) ) )
{