Fix case-sensitive unit image paths#460
Open
themaster567 wants to merge 1 commit into
Open
Conversation
Many mech units were loading the fallback placeholder image when the game was run under Linux. This commit corrects case-insensitive image paths in mekset.txt to fully resolve the issue.
IllianiBird
approved these changes
Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of 2 for fixing case-insensitive image paths under Linux.
This is my first set of PRs for the MegaMek project! I only started playing this yesterday, having locally compiled the most recent commits, and I noticed that a ton of mechs were only appearing with the fallback placeholder. I dealt with it for awhile, but eventually I asked on the Discord if this was normal (I assumed it wasn't). When I was told it definitely wasn't, I looked into the issue and the solution was actually shockingly easy. All I did was edit data/images/units/mekset.txt and changed all case-insensitive paths to images to correctly match the image's case.
A separate PR will be submitted shortly after this one to address a similar issue with the same root cause where an alternate tileset in the MegaMek battle screen failed to load when selected.