Author Topic: [invalid] Custom resolution  (Read 1546 times)

uncle

  • Guest
[invalid] Custom resolution
« on: 9 September 2011, 20:30:09 »
Players should be allowed to set their own resolution.
When I want to set a custom res., I have to do it in the glest.ini file. It should be possible to change it in options. I mean ANY resolution, not just those predeclared that are there already.

When I want to launch MG in a window mode, I cannot find a fitting resolution.
« Last Edit: 24 July 2016, 15:43:31 by filux »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Custom resolution
« Reply #1 on: 9 September 2011, 21:59:26 »
I'm not sure I understand what you mean... You can set any resolution in the INI, and you seem to be aware of this... Is there a feature request hidden somewhere here?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

uncle

  • Guest
Re: Custom resolution
« Reply #2 on: 9 September 2011, 22:26:45 »
It would be nice to allow players to set their custom width and height of the screen. For example, I want to change the resolution to 567x356 (stupid example, but i think it can illustrate it as well). I cannot do that in the current settings page, I have to do it in the config file (which is a little bit annoying).

I hope you understand me. :)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Custom resolution
« Reply #3 on: 9 September 2011, 22:56:02 »
Due to some settings making the game unusable and most users shooting themself in the foot we try to show only resolutions reported as the main ones by the video card driver in the options. Beyond this you are able to use commandline options to set resolutions and other things:

Code: [Select]
./megalgest --help
to see them all

A sample of some of the ones you might be interested in:

Code: [Select]
--resolution=x override the video resolution.
                      Where x is a string with the following format:
                      widthxheight
                      example: ../mk/linux/megaglest --resolution=1024x768
--colorbits=x override the video colorbits.
                      Where x is a valid colorbits value supported by your video driver
                      example: ../mk/linux/megaglest --colorbits=32
--depthbits=x override the video depthbits.
                      Where x is a valid depthbits value supported by your video driver
                      example: ../mk/linux/megaglest --depthbits=24
--fullscreen=x override the video fullscreen mode.
                      Where x either true or false
                      example: ../mk/linux/megaglest --fullscreen=true
--use-font=x override the font to use.
                      Where x is the path and name of a font file support by freetype2.
                      example: ../mk/linux/megaglest --use-font=$APPLICATIONDATAPATH/data/core/fonts/Vera.ttf

 

anything