So, you hosed your Main Window (Vista)?
Posted: Fri 08.01.2010, 05:21
We recently saw a user who'd accidentally closed his Main Window while playing the game, and couldn't figure out how to get it back. I helpfully told him to edit his MAngclient.ini file and it turned out that wasn't possible under Vista! So, here's the solution...
In order to make it so dumb users couldn't mess things up easily, Microsoft (in it's infinite wisdom) decided to hide user configuration files somewhere other than where the programmers thought they were. This is called the Virtual Store and is in a different place for each user on a computer. For MAngband, on a 32 bit Vista machine, the directory is:
C:\Users\<username>\AppData\Local\VirtualStore\Program Files\MAngband
Where <username> is the user who's logged into the computer. Note that the AppData directory is a hidden directory, so you'll have to turn on the ability to see hidden files before you can get in to edit.
To fix the problem described above, he only had to edit the MAngclient.ini file in his Virtual Store and make sure, in the {Main Window] section, that 'visible=1', 'PositionX=0' and PositionY=0'. That moved the window back to where he could easily see it and turned it back on.
In order to make it so dumb users couldn't mess things up easily, Microsoft (in it's infinite wisdom) decided to hide user configuration files somewhere other than where the programmers thought they were. This is called the Virtual Store and is in a different place for each user on a computer. For MAngband, on a 32 bit Vista machine, the directory is:
C:\Users\<username>\AppData\Local\VirtualStore\Program Files\MAngband
Where <username> is the user who's logged into the computer. Note that the AppData directory is a hidden directory, so you'll have to turn on the ability to see hidden files before you can get in to edit.
To fix the problem described above, he only had to edit the MAngclient.ini file in his Virtual Store and make sure, in the {Main Window] section, that 'visible=1', 'PositionX=0' and PositionY=0'. That moved the window back to where he could easily see it and turned it back on.