Skip to content

Bug: Restore code to load language-specific mod dirs #1784

@pivotman319-owo

Description

@pivotman319-owo

Describe the bug

Discussed internally on 21st April 2026 in internal dev server: https://ptb.discord.com/channels/1232515883461644310/1496074086709727232/1496083103045914675

Part of the code used to load lang-specific moddirs was accidentally removed from the engine at some point, preventing asset overrides from working. We should probably get that back up and running at some point if we want to make our repacked portal2 localization vpks work again...

To Reproduce

  1. Pass -language LANG to cl
  2. Run path in console and observe lang moddir not being mounted

Issue Map

Not Applicable

Expected Behavior

Not Applicable

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority 3: MediumSomething that should be attempted/looked at for the next release, and done if possible.Size 4: SmallSomething that will take up to a day to do.Type: BugThis is a problem with something that should be working one way, but isn't.Type: PortingSomething to port from another branch of Source.What: EngineEngine related issues

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions