Page 1 of 1

So, you hosed your Main Window (Vista)?

Posted: Fri 08.01.2010, 05:21
by Billsey
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.

Re: So, you hosed your Main Window (Vista)?

Posted: Sat 09.01.2010, 13:07
by Ace
Alternatively (to avoid usage of the virtual storage) you can store your games and other modable stuff in a folder that is not managed by windows e.g. c:\games\mangband which was created by yourself.

Re: So, you hosed your Main Window (Vista)?

Posted: Sun 07.02.2010, 15:11
by Warrior
There's another solution (well "solution") under XP. Simply right click the window on the taskbar and click "Maximize".
Oh yes.

Re: So, you hosed your Main Window (Vista)?

Posted: Sun 07.02.2010, 21:13
by Thorbear
Warrior wrote:There's another solution (well "solution") under XP. Simply right click the window on the taskbar and click "Maximize".
Oh yes.
This also works under Windows 7