Lyall / RF5Fix

A BepInEx plugin for Rune Factory 5 that adds features such as ultrawide support and more.
MIT License
63 stars 8 forks source link

Config File has a small mix up #10

Open NiamhHyx opened 2 years ago

NiamhHyx commented 2 years ago

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 2 years ago

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;
                }
NiamhHyx commented 2 years ago

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