metamod-source icon indicating copy to clipboard operation
metamod-source copied to clipboard

Support non-relative game detection

Open Adrianilloo opened this issue 3 years ago • 0 comments

Per the nearby code here, MM detects the game based on relative names (e.g hl2mp). When one wishes to pass absolute paths to the SRCDS -game parameter (which I had the need to do recently), I believe that's a perfectly server invocation but MM might detect the wrong mod and thus load the incorrect extensions, etc.

I think the parsing should manually figure out the mod name by extracting the last path component.

Adrianilloo avatar Dec 05 '21 20:12 Adrianilloo