ezquake-source icon indicating copy to clipboard operation
ezquake-source copied to clipboard

REQ: Improve GFX preset menu option

Open zigg1zagg1 opened this issue 2 years ago • 1 comments

The GFX preset option in the menu > graphics tab has some limitations, the issues are:

  1. The options are hardcoded and rely on config files being present in ezquake/gfx/, it would be better if ezquake would instead automatically add options based on which configs are there, the configs follow the naming scheme gfx_gl_* the hardcoded presets are: eyecandy faithful fast higheyecandy

  2. When starting ezQuake, the menu doesnt remember which preset was used last, so the option shows as eyecandy even when a different preset is being used.

  3. There is no default option for ezQuake's default look.

  4. There is no "none" option, say you have some custom settings set, if you click the gfx preset option there is now no way to get your old settings back, ideally before changing the preset it should save your current settings somewhere and you can get them back by setting the gfx preset to "none".

  5. The preset configs are very outdated and a lot of their settings dont work in 3.6, theres also some presets for software mode which arent needed anymore.

zigg1zagg1 avatar Oct 02 '22 19:10 zigg1zagg1

  1. Ezquake should IMO write out a few hard coded configs into ezquake/gfx/ if they are not present. The hard coded options you mentioned are good candidates. This way you always have these presets available without relying on external files.
  2. Save the preset value into a cvar and when it changes execute the matching config if present.
  3. No comment.
  4. Whenever you change the preset from "none" to any of the others, ezquake can save all the gfx cvars into a config (could be named default.cfg) and when you switch back to "none", execute that config.
  5. No comment.

molgrum avatar Jan 04 '23 16:01 molgrum