diff --git a/README.md b/README.md index 26a9adb00..521e0c172 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,10 @@ If this updated feature set doesn't suit your needs, you can of course still get * 64 Marios (Must be super) * Marios must be American, Japanese or PAL + STROOP can run under Wine, but requires additional setup: + + * The "Microsoft Sans Serif" font must be installed (`winetricks micross`) + ## Building Requirements: diff --git a/STROOP/Program.cs b/STROOP/Program.cs index 708b46e08..fd1e9d29b 100644 --- a/STROOP/Program.cs +++ b/STROOP/Program.cs @@ -2,6 +2,7 @@ using STROOP.Forms; using System; using System.Drawing; +using System.IO; using System.Reflection; using System.Windows.Forms; using STROOP.Structs; @@ -31,6 +32,8 @@ public static bool IsVisualStudioHostProcess() [STAThread] static void Main() { + Directory.SetCurrentDirectory(AppContext.BaseDirectory); + // This is necessary to keep the scale of controls in check after migrating from .NET Framework WinForms to .NET8 WinForms LOL Application.SetDefaultFont(new Font(new FontFamily("Microsoft Sans Serif"), 8.25F));