alexbatalov / fallout2-ce

Fallout 2 for modern operating systems
Other
1.76k stars 120 forks source link

MacOS not properly scaling graphics. #386

Open fractalateral opened 4 months ago

fractalateral commented 4 months ago

Whenever I open the app, the actual game's graphics only take up about 1/3 of the screen's total size. This occurs in both windowed and fullscreen mode.

I have tried modifying every setting in the config files, and save for modifying the SCR_WIDTH and SCR_HEIGHT values in f2_res.ini (which yields a black screen upon launch), nothing changes the graphics scaling. (not even the SCALE_2X option)

I am running MacOS 14.5 Sonoma, on a Macbook Air 2022 with an M2 chip. I downloaded the latest build today.

iiKulakov commented 3 months ago

Same problem with Mojave + Wine + Fallout2-ce.

Screenshot 2024-06-06 at 5 11 18 PM

GRAPHICS_MODE=2 SCALE_2X=0 SCR_WIDTH=1440 SCR_HEIGHT=900 COLOUR_BITS=32 WINDOWED=0 WINDOWED_FULLSCREEN=0

Armaxxx commented 4 weeks ago

I might be able to help, but I'm not sure where to start, if any senior dev could provide some insight on the project I could solve this in a month maybe.

cambragol commented 4 weeks ago

I've had macOS scaling properly, though it doesn't matter in the end as you can see over the edges of the map. It doesn't implement things from sfall fully yet. Edge files don't work for one, and areas 'off' the map are not blacked out.

To make it really work, edge files and blacking out the outside areas of the map would need to worked in. The code needs to be brought over from sFall I believe, though I really don't know the details.