Results 1 to 2 of 2

Thread: Shortcut to game file

  1. #1
    Join Date
    Jun 2008
    Beans
    3

    Shortcut to game file

    Well I finally got all this stuff working, I installed Enemy Territory and can run it fine. Here's the problem, though. If I go into my enemy-territory directory and access the shell script 'et', everything goes fine. However, if I go through the K Menu to the Enemy Territory shortcut, which points to the same exact file, the game not only asks me to make another user account but also prevents me from auto-updating the game (it even tries to download files I already have). If I try to run the 'et' command, the same thing happens. Any ideas?

  2. #2
    Join Date
    Apr 2007
    Beans
    30
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Shortcut to game file

    Sounds like the game stores its files in the working directory.
    You could try this:
    Create a file called et.sh in the game directory.
    Put this in it:
    Code:
    #!/bin/sh
    cd /full/path/to/game/directory
    ./et
    (obviously change the path) then run
    Code:
    chmod +x et.sh
    to make it executable.
    Change the KDE shortcut to point to et.sh and it should work.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •