Visual Entertainment and Technologies Forum

Full Version: Reports & Newspaper UI [#1.20.4 SP1)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Eric,

i just wondered if it would be possible to make the Reports and Newspaper windows scaleable and saveable as UI.

I like to play your game in non-fullscreen borderless window mode (so i can tab out to my second monitor) but these two windows are always cramped together in this mode while beeing fully expanded in fullscreen mode (where the game minimizes when i tab out).

Visual examples:

Non-Fullscreen Borderless Window I

Non-Fullscreen Borderless Window II

Fullscreen

Also Fullscreen extends the windows a bit too far so you have to press escape to close or go way up to the highest you can possibly reach with your cursor and hope to catch the bar.

Thanks for reading Smile
(10-11-2016, 08:47 AM)Cerberus23 Wrote: [ -> ]Hey Eric,

i just wondered if it would be possible to make the Reports and Newspaper windows scaleable and saveable as UI.

Unfortunately it's not possible. The window has to be a power of 2 on both axis, thus we're stuck with 2,4,8,16,32,64,128,256,512,1024,2048, etc resolution.

So with that in mind, I limited the window to 1024 width, then it should scale height to either 1024 or 512 depending on the height of your render window.

Which leads to your other issues....

What resolution are you running? And what is your monitor's resolution? Thanks. Smile
Still running 1680x1050 Smile
I've made some adjustments to the code and it should be fixed now.
Hey Eric,

thanks for the update!

Unfortunately this hasn't changed Smile
Could you upload your videosettings.xml file, it should be in the GearCity/Settings/ folder.
Also a log file.

I think your monitor is scaling the video somehow. As when I run it on 1050 it works properly fine... (Or mine is scaling, but it shouldn't be because my monitor is 2k.)
Hope it's no me beeing dumb again :p
Quote:07:54:23: D3D9 : Created D3D9 Rendering Window 'GearCity' : 1680x1010, 32bpp

Looks like DirectX is scaling down your window to 1680x1010. Most likely because of your window decorations/start bar.

I check the text setting to know which version of the web browser to use. Yours of course says 1050. But you're really running at 1010.

Anyhoo, I added some stuff to the code. v1.21 will be out in a 1-2 weeks. Lemme know if it works then. Smile
I'm going to try to duplicate it on my laptop sometime in the next couple of days. (This isn't an issue on Windows XP64. Tongue )
Let me know if this issue is resolved so I can close the ticket. Smile
(11-11-2016, 04:15 PM)Eric.B Wrote: [ -> ]Let me know if this issue is resolved so I can close the ticket. Smile

Sorry, wasn't playing GearCity so often lately. Took a look at 1.21.2 and this is still present Smile

Regards
Are you playing full screen or windowed? In windowed mode, your window decoration will reduce the vertical resolution size below the threshold needed.
Happens in both modes no matter what resolution i select.
Hey Eric,

sorry for necro'ing this thread. I just wanted to ask if there's any solution to this in sight?

I just did a fresh install of GearCity and it's not working even if i select Fullscreen right from the start.

Thanks for your time.
Upload the logs so I can see what resolution you are running at.

For the full reports window, your vertical resolution of the view port window must be above 1060px. There is no way to reduce this requirement. And there is no way to run the reports window with any other height than a power of 2.

If you want to look at the logs your self, do a "find" (ctrl-f) and type "resY:" (without the quotes). The number following that is what you have in settings, it's what we're asking the operating system to give us. The next bit on that line, "Viewport Height:" is the height in which YOUR operating system/window manager is running the game at. That has nothing to do with GC as I can't force your operating system to provide something it can not.
resY: 1050 Viewport Height: 1010

If i set the windows taskbar to my second monitor it says:

resY: 1050 Viewport Height: 1050

So i guess my monitor is simply to small for 2017 ^^