Lyall/RF5Fix

Config File has a small mix up

NiamhHyx opened this issue · 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

Lyall commented

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;
                }

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