So, you hosed your Main Window (Vista)?

All your MAngband related technical questions answered. Problems compiling or running the game/server? No problem! Ask here.
Post Reply
Billsey
King Vampire
Posts: 272
Joined: Sun 12.02.2006, 14:36
Location: Oregon, USA
Contact:

So, you hosed your Main Window (Vista)?

Post by Billsey » 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.
Mangband Project Team Member

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

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

Post by Ace » Sat 09.01.2010, 13:07

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.

User avatar
Warrior
Evil Iggy
Posts: 667
Joined: Sat 26.10.2002, 15:00
Location: Norway
Contact:

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

Post by Warrior » Sun 07.02.2010, 15:11

There's another solution (well "solution") under XP. Simply right click the window on the taskbar and click "Maximize".
Oh yes.
-- Mangband Project Team Member

Thorbear
Two-Headed Troll
Posts: 131
Joined: Wed 12.01.2005, 15:00
Contact:

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

Post by Thorbear » Sun 07.02.2010, 21:13

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
I am Thorbear...

Post Reply