MantisBT - VCMI
View Issue Details
0000286VCMIGUI - PreGamepublic2009-12-02 15:432014-05-30 17:41
Boulie 
Ivan 
normalfeaturealways
closedfixed 
0.75 
0.89 
0000286: Lack of Main Menu graphics for higher resolutions
see screenshots
No tags attached.
jpg GUI_main menu_1024x768.jpg (722,113) 2009-12-02 15:43
https://bugs.vcmi.eu/file_download.php?file_id=144&type=bug
jpg

jpg GUI_main menu_1280x1024.jpg (1,297,420) 2009-12-02 15:43
https://bugs.vcmi.eu/file_download.php?file_id=145&type=bug
Issue History
2009-12-02 15:43BoulieNew Issue
2009-12-02 15:43BoulieFile Added: GUI_main menu_1024x768.jpg
2009-12-02 15:43BoulieFile Added: GUI_main menu_1280x1024.jpg
2009-12-02 23:21ZamolxisNote Added: 0000370
2012-05-15 18:57IvanNote Added: 0002440
2012-05-15 18:58IvanAssigned ToTow => Ivan
2012-05-15 19:00WarmongerNote Added: 0002441
2012-05-15 19:15IvanNote Added: 0002442
2012-05-20 11:14IvanNote Added: 0002511
2012-05-20 11:14IvanStatusassigned => resolved
2012-05-20 11:14IvanFixed in Version => 0.89
2012-05-20 11:14IvanResolutionopen => fixed
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0000370)
Zamolxis   
2009-12-02 23:21   
This was most probably a temporary solution anyway, as it was a long desired feature. Eventually it may end up as a window on top of AdvMap (same as Town & Battle, which keep the 800x600 resolution), but for now I'm more than happy to have at least the functionality. :)
(0002440)
Ivan   
2012-05-15 18:57   
I would like to fix this to make more seamless transition from main menu to game and make implementation of loading screen or campaign prologue easier.

What I'd like to do is to remove separate resolution for main menu and in-game. As result main menu must have same size as adventure map.

I'll probably will follow hd mod here: main menu displayed in center, with empty areas filled with black or with some background texture (quick result from
gimp: http://dl.dropbox.com/u/22372764/vcmi/vcmi-menu-draft.png [^] )
It should be possible to allow hi-res menu along the way but can't promise anything right now.

Any objections or better propositions?
(0002441)
Warmonger   
2012-05-15 19:00   
What you proposed here may be ok as a quick fix. But what about this?
http://forum.vcmi.eu/album_pic.php?pic_id=44 [^]

What about question I asked you yesterday via PM? :P
(0002442)
Ivan   
2012-05-15 19:15   
Sorry. Haven't logged on forums today. Will check.
And why I haven't received any e-mail notifications?..

Of course I remember this. However this needs re-creating backgrounds and all buttons for every resolution. Quite trivial task but it will notably increase size of our data package. And it still won't solve loading screen\prologue problems.
So I would like to allow mismatching between game resolution and main menu.

Main menu loading may look like this:
1) Load background
2) Check size of background image
3) If image smaller than screen - add border and fill empty areas.
After this implementing hi-res main menu will be trivial.
(0002511)
Ivan   
2012-05-20 11:14   
Resolved I think: http://dl.dropbox.com/u/22372764/vcmi/vcmi-hires-menu.png [^]
Buttons need a bit more of work but I don't want to spend too much time on this right now.

Enabling it by default won't work - WoG background also has video and buttons which are not scalable.

I am not sure about including these images in data package (+3.4 Mb) but in any case it works. I'll upload packages on forum after next (dev) release.

Scaling algorithm may be too simple but it will work for now.