cw3 window in windows 8

Started by hbarudi, April 18, 2015, 09:03:04 PM

Previous topic - Next topic

hbarudi

Every time I open the game it starts the window dragged down slightly and some of it going below my taskbar. I use windows 8 with all updates + service packs (8.1 and so on) installed.

Any way to fix how the window comes when I open the game CW3?

EDIT: I use the steam version.

knucracker

That sounds like the game may be trying to start at a window resolution larger than your desktop resolution.  If so, try to change the window size to something what will easily fit on your desktop, then exit the game, and the start it again to see if that has any effect.

Karsten75

Quote from: virgilw on April 20, 2015, 10:21:36 AM
That sounds like the game may be trying to start at a window resolution larger than your desktop resolution.  If so, try to change the window size to something what will easily fit on your desktop, then exit the game, and the start it again to see if that has any effect.

Windows at the exact monitor resolution do the same.

My solution is to manually size the window to about a pixel less than the screen size on each side of the monitor. Works like a charm..

hbarudi

I resized the game to smaller size, it still always starts with title bar at least 30 pixels down from the top.
The full screen option works well, but I prefer window mode.
I wish if there is a way to make sue it saves exactly how the window was last closed.

Tyler21

#4
Quote from: hbarudi on April 18, 2015, 09:03:04 PM
Every time I open the game it starts the window dragged down slightly and some of it going below my taskbar. I use windows 8 with all updates + service packs (8.1 and so on) installed.

Any way to fix how the window comes when I open the game CW3?

EDIT: I use the steam version.

I use the steam version on Windows 8.1 (+ all recent updates) and I haven't experienced this issue so far.
However, I managed to reproduce it by changing my own settings. I figured out that the taskbar is responsible for this issue.
I think it's related to the fact that the standard desktop+taskbar layout is not the default one in Win8 and it seems that developers at Microsoft left some bugs in taskbar handling. This issue occurs most probably because the taskbar is at the top by default (regardless where you've actually put it), and I think Win8 tries to resize the app to leave some space for the taskbar that is not even there. Surprisingly, if the taskbar is set to auto-hide, the issue disappears (well, actually it is only reduced to a -1/-1 px offset, but that's not annoying).
The reason I haven't seen this issue before is that I've already set my taskbar to auto-hide.

To fix it:
1) [This is the most important] Auto-hide the taskbar: right click on it, select "Properties" and check "Auto-hide the taskbar"
Now you can jump to step 6) and see whether it works, if not, go through steps 2-5
2) Find the CW3.exe file in your /steamapps/common/Creeper World 3 folder
3) Right click on CW3.exe and select "Properties"
4) Select the "Compatibility" tab.
5) Uncheck everything.
6) Start the game now. You might get some warning notifications about compatibility but the game should run properly.
7) When in game, change to windowed mode.
8) Click on the full screen icon at the top right of the window.
9) Restart the game.

I hope this will solve your problem!
(In theory it might be possible to solve this without auto-hiding your taskbar, but that's beyond my knowledge...)

EDIT: the issue does not occur in auto-hide mode, even if you pop up the taskbar by moving the mouse over it.
So this is a really, really strange bug...
"Enjoyment appears at the boundary between boredom and anxiety, when the challenges are just balanced with the person's capacity to act."
― Mihaly Csikszentmihalyi

Check my collection of the 30 most difficult and challenging maps in Colonial Space!

hbarudi

Tried such things, but I wish to keep the taskbar showing. As it helps me be able to access other stuff.
It is only a problem when opening the game I have to drag it to the top every time since it prefers to be in the center of the screen after trying the suggested actions.
All compatibility stuff are already unchecked.
Is there any way to prevent the game from preferring to be in the center of the screen when opened?

knucracker

No, the game doesn't do anything special to remember the window location and the default behavior for Unity is to center the window.

To work around your problem, though, you can leave the taskbar up and just size the window vertically small enough so that when the game starts in the center of the screen the bottom edge of the game window is above the taskbar.  That will prevent the unity engine from moving the window a little bit because it thinks it is offscreen. 

hbarudi

One more about resizing the game small, I have a 768 pixel high widescreen resolution on my main laptop, and some things such as the detailed colonial space map view starts hiding things from me to the bottom. Which is another issue, I only wish for a certain setting that can specify a window size, maximization, full screen and choose where it should be when the game is opened, but for now it is simply doing non of the extra stuff said except for centering itself on my screen. At least I wish for such an option in game 4, but now I just have to drag the window up eery time the game is opened. Also there used to be an option to lock the taskbar in a way that its screen space doesn't count, but Microsoft changed things.