Skip to content

Use LangVersion 11.0 and fix booting on Linux#33

Open
thearst3rd wants to merge 4 commits intomainfrom
langversion-fix-linux
Open

Use LangVersion 11.0 and fix booting on Linux#33
thearst3rd wants to merge 4 commits intomainfrom
langversion-fix-linux

Conversation

@thearst3rd
Copy link
Copy Markdown
Member

This PR changes the LangVersion to 11.0 and addresses all arising issues, which is necessary for running mods on Linux. (73f4002)

That by itself didn't actually fix FEZUG failing to start - that was caused by an issue with the tuples used in FpsGraph and TextHud. I changed those to use a class and that fixed the issue. (d567098)

In order to make tracking down the issue easier if this exception gets thrown again, I re-throw the exception but with the actual information about which classes are failing to load. (c82c53c) Maybe we should do this in HAT instead (and maybe properly show a popup box instead of rethrowing lol)?

Sorry about all of the whitespace formatting changes (maybe we should have a linter?) I also fixed up a bunch of warnings I saw. (04069a5)

2020 2021 2022 2023 2024 2025 2026 is the year of the linux desktop 🐧

@zrckr
Copy link
Copy Markdown

zrckr commented Apr 29, 2026

I built the PR on Arch Linux. HAT version was from the latest commit in dragons. I performed patching on clean Steam version using the HAT installer. The game launches, the mod launches, no crash on startup.

I am attaching the log file:
[2026-04-29_14-08-30] Debug Log.txt

Comment thread Features/BindingSystem.cs
Comment thread Features/SpinningCubeHitboxDraw.cs
Comment thread .gitignore
@Jenna1337 Jenna1337 self-requested a review April 30, 2026 03:16
@Jenna1337
Copy link
Copy Markdown
Member

Looks good to me

@Jenna1337
Copy link
Copy Markdown
Member

I'll admit I haven't tested it, but I reviewed every line of code and it looks like the charges are mostly minor syntax changes that should not affect the stability or functionality.

Copy link
Copy Markdown

@zrckr zrckr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. See mine earlier comment above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants