Tdmlauncher in Gentoo Linux
From The DarkMod Wiki
It seems to be Gentoo policy for ebuilds to install 3D games with a launch binary in /usr/games/bin and the game itself under /opt (at least that's how it is for me with Prey, Quake4 & Doom3).
This means that running tdmlauncher.linux out of the box gives an error message about being unable to find the D3 engine.
From the output its clear tdmlauncher.linux looks for doom.x86 in the following order:
- ~/.doom3/
- /usr/local/games/doom3/
- any location specified on the command line.
Hence in order to start The Dark Mod I had to either create a symlink in one of the locations it expects e.g.
ln -s /opt/doom3/doom.x86 ~/.doom3/doom.x86
or specify the location explicitly when launching
./tdmlauncher.linux /opt/doom3/doom.x86
Thanks to free_cogg for this bit of info.
Reference: http://modetwo.net/darkmod/index.php?/topic/9984-gentoo-gotcha/page__view__findpost__p__197069