Tdmlauncher in Gentoo Linux

From The DarkMod Wiki
Revision as of 05:30, 20 October 2009 by Greebo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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:

  1. ~/.doom3/
  2. /usr/local/games/doom3/
  3. 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