RF5Fix icon indicating copy to clipboard operation
RF5Fix copied to clipboard

Config File has a small mix up

Open NiamhHyx opened this issue 2 years ago • 2 comments

Set window mode. 1 = Fullscreen, 2 = Borderless, 3 = Windowed. Setting type: Int32 Default value: 1 Acceptable value range: From 1 to 3 WindowMode = #

1 is actually Borderless and 2 is Fullscreen

NiamhHyx avatar Aug 02 '22 07:08 NiamhHyx

Hmm, they are actually correctly labelled. Though in my testing it looks like both 1 and 2 produce a borderless-like result and 3 is windowed correctly. Perhaps this is a quirk of Unity?

iWindowMode = Config.Bind("Set Custom Resolution",
                                "WindowMode",
                                 1,
                                new ConfigDescription("Set window mode. 1 = Fullscreen, 2 = Borderless, 3 = Windowed.",
                                new AcceptableValueRange<int>(1, 3)));
BootOption.WindowMode fullscreenMode;
                switch (iWindowMode.Value)
                {
                    case 1: 
                        fullscreenMode = BootOption.WindowMode.FullScreen;
                        break;
                    case 2:
                        fullscreenMode = BootOption.WindowMode.Borderless;
                        break;
                    case 3:
                        fullscreenMode = BootOption.WindowMode.Window;
                        break;
                    default:
                        fullscreenMode = BootOption.WindowMode.FullScreen;
                        break;
                }

Lyall avatar Aug 04 '22 23:08 Lyall

ahh unity... explains a lot of the issues with this game a little better realizing that.

NiamhHyx avatar Aug 05 '22 15:08 NiamhHyx