Where does microsoft hide the ini?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
koverhbarc
Posts: 230
Joined: Mon Dec 06, 2010 6:26 am

Where does microsoft hide the ini?

Post by koverhbarc »

I can't get ZDoom to run properly on Vista because of palette problems again which I fixed by setting vid_display_bits in the .ini file. But under Vista there seems to be no such file, so I can do nothing!
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Where does microsoft hide the ini?

Post by wildweasel »

koverhbarc wrote:I can't get ZDoom to run properly on Vista because of palette problems again which I fixed by setting vid_display_bits in the .ini file. But under Vista there seems to be no such file, so I can do nothing!
It should be in the ZDoom folder - try running ZDoom as an administrator.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Where does microsoft hide the ini?

Post by Edward-san »

Have you installed it in 'Program files' folder?
If yes, you should look at: 'Users' -> 'your user' -> 'Appdata' -> 'Roaming' -> 'zdoom' ... IIRC.
koverhbarc
Posts: 230
Joined: Mon Dec 06, 2010 6:26 am

Re: Where does microsoft hide the ini?

Post by koverhbarc »

wildweasel wrote:It should be in the ZDoom folder - try running ZDoom as an administrator.
It is not, and I am running as administrator. ZDoom _is_ storing my preferences between sessions, I just don't know where. Of course if ZDoom allowed one to set vid_display_bits inside the program, it wouldn't matter.
Edward-san wrote:Have you installed it in 'Program files' folder?
If yes, you should look at: 'Users' -> 'your user' -> 'Appdata' -> 'Roaming' -> 'zdoom' ... IIRC.
I unzipped it in a subdirectory of Program Files, yes. But there is no such directory as 'Appdata' under my user name; in fact I checked the whole directory structure under my user name and there is nothing that could be ZDoom's ini file.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Where does microsoft hide the ini?

Post by Graf Zahl »

Best install ZDoom in a place where that godforsaken UAC doesn't get. It'll save you from a lot of trouble.

BTW, you can change all CVARs from the console. You don't have to edit the file in a text editor.

But if you still insist, you can use the CCMD 'whereisini' to let ZDoom print the path to the console.
User avatar
AFADoomer
Posts: 1344
Joined: Tue Jul 15, 2003 4:18 pm
Contact:

Re: Where does microsoft hide the ini?

Post by AFADoomer »

koverhbarc wrote:I unzipped it in a subdirectory of Program Files, yes. But there is no such directory as 'Appdata' under my user name; in fact I checked the whole directory structure under my user name and there is nothing that could be ZDoom's ini file.
Appdata is a hidden folder... You won't be able to see it unless you have 'Show hidden files and folders' selected in the Windows Explorer view options (Open Explorer, press the 'alt' key to show the old-style menus, click 'Tools', then 'Options', then the 'View' tab)...
User avatar
Enjay
 
 
Posts: 27156
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Where does microsoft hide the ini?

Post by Enjay »

A quick way to get to appdata is to open the start menu and type %appdata% into the search field (including the % signs) and hit enter.
koverhbarc
Posts: 230
Joined: Mon Dec 06, 2010 6:26 am

Re: Where does microsoft hide the ini?

Post by koverhbarc »

Yes, the UAC hides the ini, apparently. Changing it from the console does work, though.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Where does microsoft hide the ini?

Post by Gez »

If you don't install ZDoom in C:\Program Files, the ini will not be hidden.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Where does microsoft hide the ini?

Post by Project Shadowcat »

A good spot for ZDoom is anywhere that ISN'T /Program Files/. I've got it in a directory like this: C:\DOOM\DOOM2\zdoom.exe
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Where does microsoft hide the ini?

Post by XutaWoo »

My, this is a clever way of covering up that teleportation accident, isn't it. :P
BFeely
Posts: 46
Joined: Thu Mar 11, 2004 3:58 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Where does microsoft hide the ini?

Post by BFeely »

In Windows Vista and 7, any attempts by a non-UAC-aware non-admin program to write to a system directory will be redirected toward your user account's VirtualStore directory. So for example a write to C:\Program Files\ZDoom\ZDoom-[user].ini would actually go to C:\Users\[user]\AppData\Local\VirtualStore\Program Files\ZDoom\ZDoom-[user].ini
See http://blogs.technet.com/b/mrsnrub/arch ... -area.aspx for more info.
Post Reply

Return to “General”