Tdmlauncher in Gentoo Linux: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(New page: 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 & Doo...)
 
No edit summary
 
Line 21: Line 21:
Reference: http://modetwo.net/darkmod/index.php?/topic/9984-gentoo-gotcha/page__view__findpost__p__197069
Reference: http://modetwo.net/darkmod/index.php?/topic/9984-gentoo-gotcha/page__view__findpost__p__197069


[[Troubleshooting]]
[[Category:Troubleshooting]]

Latest revision as of 05:30, 20 October 2009

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