I see you added 'ExtraEnumeratedResolutions' which is great but can you add something like 'DisableDefaultResolutions' to disable all default system modes so game will only see custom list of resolutions ?
Yes, but why would that be useful? 😀
Dege, thanks a lot for adding the plain text .conf file. I noticed, though, that it gets overwritten with binary by the CPL. I hope that that's just temporary, since it would largely defeat the purpose of the plain text if using the CPL (out of convenience, habit or ignorance) just once eliminated the ability to manually edit and forced users to re-copy the original .conf file and re-do any manual edits. You're probably still working on the plain text writing--it's WIP, after all--which is totally understandable, but I wanted to bring it up just in case this behavior happens to be by design. Thanks.
I didn't want to mix the usage of CPL and the INI format, the original aspects were the following:
- provide an INI file for ones liking hacking the config file manually, totally setting the GUI CPL aside
- finetuning some rarely used options in the INI for a specific game and then using the CPL for the 'rest', and so no matter if the file is in binary format
(OK, I must admit, once a config file is converted to binary, then there is no way to check out its content.)
Writing INI format isn't that clean-cut. There are two way for that:
- The CPL simply overwrites the INI with its own template. But then all the optional comments/formatting one made in that would get lost. Also, since not all part of the configuration is needed to be included in the INI file (for example, for a pure Glide game the DirectX sections could be omitted), the CPL would put them back.
- The CPL could be smart, and only change the values of present config properties, keeping the structure of the file. That'd be more work.
About the scaling modes (Centered, etc.) maybe it's a good thing to rename them in this manner? […]
About the scaling modes (Centered, etc.) maybe it's a good thing to rename them in this manner?
*Centered by System
*Centered by dgVoodoo2
*Stretched by System
*Stretched by dgVoodoo2
*Stretched by dgVoodoo2 (Keep Aspect Ratio)
and so the other stretching modes
Question: the "specified" modes (centered and stretched ones) override the drivers main settings?
Some renaming would be a good thing, altough I want to keep the names short.
If centering/stretching is done by dgVoodoo then, yes, they overrides the driver settings.