Skip to content

Possible case folding on material loading results in missing textures #6868

@Tiagoquix

Description

@Tiagoquix

In a custom map that I play, specific materials don't load for me, but the same issue doesn't happen with another person that plays on Windows. I play with the native Linux version.

I also remember playing this same map on Windows and having no issues on it.

The map is https://gamebanana.com/mods/72174.

Investigating the developer console reveals that it is unable to find the required textures, even though they're present in the map's BSP file. Here are the relevant messages from the developer console:
https://0.jaegers.net/?ead8afd6bec99fca#22r9Ka4MSDskRqeb3VSiN6UdwXU4GzSfdG8zsHthJkm6

Here is a screenshot showing the messages and what's inside the map's BSP file:
image

Person on Windows:
image

My game on Linux:
image

I believe this happens due to case folding, considering how the messages in the developer console appear.

I am not sure if this happens in other Source games; I've only noticed it in TF2, but I believe this is a problem that has its roots in HL2 code (i.e. the Source Engine). And I'm also not sure if it happens on MacOS and the legacy 32-bit versions, but I know that it doesn't happen on Windows while it happens on Linux.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions