From 8a37d32caa96dde4494690af69f99b190ca8aa4f Mon Sep 17 00:00:00 2001 From: abart27 Date: Mon, 21 Sep 2026 22:46:57 +0200 Subject: [PATCH 1/2] Set CWD to exe directory This should've been done anyway, but in any case it fixes running under wine where the cwd is something else for some reason --- STROOP/Program.cs | 3 +++ 1 file changed, 3 insertions(+) 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)); From 65e7a1eef0811eab287de5bbe801172b03219276 Mon Sep 17 00:00:00 2001 From: abart27 Date: Mon, 21 Sep 2026 22:47:11 +0200 Subject: [PATCH 2/2] Add note about MS Sans Serif font requirement under Wine --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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: