Giter Club home page Giter Club logo

Comments (4)

alexbatalov avatar alexbatalov commented on June 21, 2024

What is your device, OS, and screen resolution? I've tried your settings on the biggest resolution MacBook Pro is capable of (4096x2560), everything works as expected.

from fallout1-ce.

nickkeane avatar nickkeane commented on June 21, 2024

Laptop CPU: i7 13700HX, GPU: nVidia RTX 4060 Laptop, 32 GB RAM, Windows 11, 2560x1440p Screen. The main menu works, but after loading a save, the UI elements are not present at the bottom of the screen. Cursor does show up. The UI shows up when changed to Fullscreen mode, but that mode has other issues w/ alt+tab (#161)

image

Pressing 'S' brings up the Skilldex

image

Edit: Here's what it looks like with SCALE_2X=0 and 'S' pressed to bring up Skilldex. It's more cut off at the bottom:

image

The same issue is also occuring in Fallout 2 CE v1.3.

from fallout1-ce.

nickkeane avatar nickkeane commented on June 21, 2024

I figured it out. The UI works in windowed mode when Scale is set to 100% in Display Settings. When I lower it, the rest of my desktop shrinks but it does work in game :D.

image

For some reason, the Windows System Display Scaling setting is applying to Fallout 1 & 2 CE borderless window mode when it shouldn't be.

from fallout1-ce.

nickkeane avatar nickkeane commented on June 21, 2024

Found a temp fix. Right-Click CE executable, Properties -> Compatibility -> Change High DPI Settings -> Override High DPI Scaling Behavior => Application.

SDL2 docs might have more info on window creation in High DPI environments regarding this issue. There might be a flag or something to force application-driven scaling.

Edit:
https://wiki.libsdl.org/SDL2/SDL_GetWindowSize

"The window size in screen coordinates may differ from the size in pixels, if the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with high-dpi support (e.g. iOS or macOS). Use SDL_GL_GetDrawableSize(), SDL_Vulkan_GetDrawableSize(), or SDL_GetRendererOutputSize() to get the real client area size in pixels."

https://discourse.libsdl.org/t/high-dpi-mode/34411

from fallout1-ce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.