shdwp / dcs_liberation

DCS World singleplayer/co-op dynamic campaign.
https://forums.eagle.ru/showthread.php?t=214834
GNU Lesser General Public License v3.0
51 stars 15 forks source link

[1.5.2.2] Map is not displayed correctly #85

Open avramidis opened 4 years ago

avramidis commented 4 years ago

I am running version 1.5.2.2 and it seems that the maps are not displayed correctly. My main monitor is 2560x1440 and the other is 1200x1920 (portrait). I have Python 3.8 installed.

lib lib2

Any ideas what could be wrong and/or where in the code is the window creation to take a look? Many thanks!

avramidis commented 4 years ago

Also this is the console output

V:\Games\DCS\Liberation\dcs_liberation_1.5.2.2\dist\dcs_liberation>liberation_main "C:\Users\elavram\Saved Games" "1.5.2.2" pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: cHRM chunk does not match sRGB Started SDL app Couldn't find point for Mineralnye Couldn't find point for Maykop libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: cHRM chunk does not match sRGB Started SDL app Stopped SDL app

wrycu commented 4 years ago

The map is rendered at a certain size and doesn't appear to resize beyond a certain point. I'll look into how to increase the size, as I've encountered this as well.

avramidis commented 4 years ago

Great! Thanks!

wrycu commented 4 years ago

Looked into this more. It's going to require an extensive rewrite for 1.x branch, whereas it's already fixed in the rewrite underway. It doesn't actually prevent anything from being done, so I'm fine with waiting until the rewrite is done.

FYI the relevant code is in the ui folder, if you wish to poke at it yourself.

avramidis commented 4 years ago

@wrycu thank you for looking into this. Since it is fixed in the new release I will wait and I will try to contribute. I joined the discord (elavram) and had a look to the trello board and I will ask some questions there.