Anonymous | Login | Signup for a new account | 2025-07-28 03:05 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001014 | Zandronum | [All Projects] Bug | public | 2012-09-06 00:19 | 2014-06-12 20:26 | ||||
Reporter | jswagner | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | waiting for zdoom | ||||||
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 | ||||
Product Version | 1.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001014: Zandronum saves user data to whatever folder it was installed to. | ||||||||
Description | Basically, Zandronum on Windows always behaves as if it were a portable installation, even if it was not installed as such. On Windows Vista and higher, the default installation path is protected by UAC. UAC will redirect writes to this folder to users who install Zandronum to the default location will find their zandronum-%UserName%.ini files saved to %UserProfile%\AppData\Local\VirtualStore\Program Files (x86)\Zandronum. (The uninstaller doesn't know to clean up the Zandronum folder in the UAC VirtualStore, either, so it is not possible for a non-technical user to 'start over' by uninstalling and reinstalling Zandronum.) On Windows XP and earlier, Zandronum will be able to write to the default installation path, but that means every user on the local system will share the same game configuration. | ||||||||
Steps To Reproduce | Install Zandronum on an untouched Win7 installation (UAC enabled, with no file system permissions altered) to the default %ProgramFiles% location offered by the installer. Run Zandronum and point to your IWADs. Pick an IWAD to start the engine. Quit Zandronum. Run Zandronum again. It should not ask where your IWADs are, but instead, which IWAD you wish to use. Note that data has been saved to the user's UAC virtual store. Compare this behavior to the final distributed build of SkullTag, where data is stored in %AppData%\Skulltag\skulltag.ini. | ||||||||
Additional Information | I'm filing this bug primarily because it seems like a regression from the SkullTag behavior, which seems more obvious and desirable, especially since some users will want to edit their .INI files directly (and the wiki instructs them to do so). It's unrealistic to expect all Windows users not to install to the installer's recommended location, it seems the best option would be to re-inherit SkullTag's old behavior, which was to save user data to %AppData%\$APPNAME\$APPNAME.ini. Let me know if you need any further details. | ||||||||
Attached Files | |||||||||
![]() |
|
Balrog (reporter) 2012-09-06 00:24 |
Before anyone gets too literal and ends up breaking portable installs, this should probably be implemented by having zandronum.exe check for a registry key in HKEY_CURRENT_USER that the installer sets, with the presence of an .ini file in the same folder overriding the registry key. |
jswagner (reporter) 2012-09-06 01:31 |
Makes sense. I obviously goofed a rewrite, I meant to write this: "On Windows Vista and higher, the default installation path is protected by UAC. UAC will redirect writes to the user's virtual store. Users will find their zandronum-%UserName%.ini files saved to %UserProfile%\AppData\Local\VirtualStore\Program Files (x86)\Zandronum." |
Torr Samaho (administrator) 2012-09-15 19:42 |
ZDoom (and Zandronum inherited this behavior) intentionally saves the ini to its application folder. The following comment regarding this is in the ZDoom source:// Because people complained, try for a user-specific .ini in the program directory first. I'd like to stay consistent with ZDoom, so please request this at the ZDoom forum first. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | ZzZombo |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2012-09-06 00:19 | jswagner | New Issue | |
2012-09-06 00:24 | Balrog | Note Added: 0004598 | |
2012-09-06 01:31 | jswagner | Note Added: 0004599 | |
2012-09-15 19:42 | Torr Samaho | Note Added: 0004674 | |
2014-06-12 20:26 | Watermelon | Status | new => closed |
2014-06-12 20:26 | Watermelon | Resolution | open => waiting for zdoom |
Copyright © 2000 - 2025 MantisBT Team |