Skip to content

Fix case-sensitive unit image paths#460

Open
themaster567 wants to merge 1 commit into
MegaMek:mainfrom
themaster567:fix/linux-unit-image-paths
Open

Fix case-sensitive unit image paths#460
themaster567 wants to merge 1 commit into
MegaMek:mainfrom
themaster567:fix/linux-unit-image-paths

Conversation

@themaster567

@themaster567 themaster567 commented Jul 11, 2026

Copy link
Copy Markdown

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.

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.
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.

2 participants