alexbatalov / fallout2-ce

Fallout 2 for modern operating systems
Other
1.69k stars 110 forks source link

(Linux) SCALE_2X not working #355

Closed tonurics closed 3 months ago

tonurics commented 3 months ago

RE: https://github.com/alexbatalov/fallout2-ce/pull/306

The scaling option appears to only work on the first loading screen, afterwards everything is rendered at the native resolution. I also noted that the console debug log indicates that movies are not being scaled:

INFO: Playing at (640, 480)
INFO: not scaled

The option is working correctly in the current Fallout 1 CE build.

tonurics commented 3 months ago

I created a new build based on the current repo: the SCALE_2X problem appears to be fixed.

However, that build is not able to create save games.

jddh commented 3 months ago

Also not working on macOS release 1.2.

alexbatalov commented 3 months ago

Fixed in v1.3.

MoOx commented 2 months ago

@alexbatalov I am trying to use this config on macOS with latest release and it seems SCALE_2X is ignored. Any idea why ?

[MAIN]
SCR_WIDTH=1280
SCR_HEIGHT=720
SCALE_2X=2
WINDOWED=1
WINDOWED_FULLSCREEN=1

I also tried without WINDOW* but scale_2x doesn't seems to work.

Note: I am using a MacBook Pro (closed) with a Studio display.

tonurics commented 2 months ago

@MoOx I've found that you need to set your width and height to a size able to contain the SCALE_2X output. So in your case the height is too low: (640, 480) x 2 = (1280, 960)

MoOx commented 2 months ago

@tonurics thanks, that helped !