Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2.3.0.0 64 bit, ALT+Tab / Loss of focus causes black scene
#12
(05-31-2024, 09:31 AM)AstraMeccanica Wrote:
(05-31-2024, 09:13 AM)Eric.B Wrote:
(05-31-2024, 08:47 AM)AstraMeccanica Wrote:
(05-30-2024, 10:09 PM)Eric.B Wrote:
(05-30-2024, 10:01 PM)AstraMeccanica Wrote: I'm having the same issue (Win10, DirectX).
With borderless window it works but it also make reading monthly reports really annoying

What is the issue you have with reading monthly reports in borderless window mode?

There isn't anything I can do with native full screen and DirectX9. If you must have native full screen, I recommend using OpenGL.

With borderless DirectX, the report window collapses and you have to resize it manually. I bet it's due to the visible windows app bar, so the solution could be force the app bar to automatically disappear. I'll let you know

I'm not sure what you mean by this. The reports windows in the game are not resizable. They're fixed to 1024x512 or 1024x1024, depending on your resolution. If you have "Dynamic Report Size" enabled, they'll expand to the height of your resolution, but they're still not user-resizable. If you could provide a video or a screenshot of what you're talking about, that would be helpful

To be clear, this is the reports window in the game: https://wiki.gearcity.info/doku.php?id=g...rts_window

If you mean something else, I'll need a screenshot of it.

I'm at work right now (even if It doesn't show biggrin ). What I mean by resize is
  • in full screen, the report is wholy visible
  • borderless (again, probably because of Windows App Bar) it only shows part of the content. So I have to zoom in/out and scroll up/down to look at the numbers I need
I'll post screenshot when possible.

If you click the link I provide, it looks like the "short" window instead of the "long" window? If so, it's because the game is running less than 1050px tall. This is by design, because DirectX requires power by 2 textures, so we can't use a 1024 texture for the web browser + the report window title bar.

Solution to this is OpenGL with dynamic reports size enabled.


Quote:(There is also another thing that happens to me from time to time, but I didn't post because I don't really know how to describe it or look it up.
Every once in a while when I'm in the safe / bank / broker screen and I go back, the game freezes. A black screen with the white outline of the safe is visible for a few seconds. Then the game quits.)

Once again, the issue is with DirectX9 flushing its GPU memory when using native fullscreen and alt-tabbing out of it. When DirectX9 goes to reload the memory, it finds that much of it is missing, and it crashes. This is why most games have removed native fullscreen in favor of borderless windows, or with older games, disabled alt-tabbing altogether.

Sadly, you're having issues with your drivers fullscreening OpenGL2, but the solution is to use OpenGL. I suggest just using the game in windowed mode. Problem solved. Honestly, I should have disabled native fullscreen a decade ago like all the big game engines did.

There are some chances the OpenGL3, DirectX11, and SDL windowing bounties could fix your issues. But it's not guaranteed because it's third party, open source software, and I have never used these versions. That's the downside with funding these engine upgrades.
"great writers are indecent people, they live unfairly, saving the best part for paper.
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski
Reply


Messages In This Thread
RE: 2.3.0.0 64 bit, ALT+Tab / Loss of focus causes black scene - by Eric.B - 05-31-2024, 09:52 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)