Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Soldier of Fortune, Linux native?

  1. #1
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Soldier of Fortune, Linux native?

    I watched a couple youtube videos about SoF, read some reviews and articles, and it looks quite cool.

    Are them all Linux-native, or just first one? How many sequels there are, 3?
    Keyboard not found!

    Press any key to continue...

  2. #2
    Join Date
    Dec 2007
    Location
    Mildura, Australia
    Beans
    462

    Re: Soldier of Fortune, Linux native?

    Quote Originally Posted by crazyfuturamanoob View Post
    I watched a couple youtube videos about SoF, read some reviews and articles, and it looks quite cool.

    Are them all Linux-native, or just first one? How many sequels there are, 3?
    There are two sequels, though the last one is made by a different company and apparently isn't very good.

    SoF and SoF2 run off the Quake 2 and 3 engines respectively, both of which usually have no trouble running off Linux. Even if there's no port they'll probably have no problem running under Wine.
    La Dânse Macabre.

    ~ sandandmercury.net | deviantART profile ~

  3. #3
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Re: Soldier of Fortune, Linux native?

    I googled, and found SoF1 the only Linux native. How can I get it? I bet that old game isn't being sold today.
    Keyboard not found!

    Press any key to continue...

  4. #4
    Join Date
    Dec 2007
    Location
    Mildura, Australia
    Beans
    462

    Re: Soldier of Fortune, Linux native?

    The official website points to Amazon:

    http://www.amazon.com/Soldier-of-For...8&s=videogames
    La Dânse Macabre.

    ~ sandandmercury.net | deviantART profile ~

  5. #5
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Re: Soldier of Fortune, Linux native?

    Quote Originally Posted by Sand & Mercury View Post
    The official website points to Amazon:

    http://www.amazon.com/Soldier-of-For...8&s=videogames
    So do I need a windows CD to be able to play/install SoF1?

    Do I also need to download Linux binaries?
    Keyboard not found!

    Press any key to continue...

  6. #6
    Join Date
    Jan 2006
    Location
    Cartagena, Spain
    Beans
    215
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Soldier of Fortune, Linux native?

    I remember to play the first one on linux. The linux version was standalone and had nothing to do with the windows version.

    It was sold by a company that used to do linux ports many years ago, they had some games. Unfortunately the company shut :S.

  7. #7
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Re: Soldier of Fortune, Linux native?

    Where can I get the Linux version?
    Keyboard not found!

    Press any key to continue...

  8. #8
    Join Date
    Jan 2006
    Location
    Cartagena, Spain
    Beans
    215
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Soldier of Fortune, Linux native?

    As i said the company closed time ago, so i guess nowhere. Maybe you can find copies on ebay or somewhere else.

  9. #9
    Join Date
    Jan 2008
    Location
    Whenever the food is.
    Beans
    1,203
    Distro
    Kubuntu

    Re: Soldier of Fortune, Linux native?

    Now I got SoF1 Linux client, on a CD.

    So I inserted CD, it got automounted, and:
    $ cd /media/cdrom0
    $ sh setup.sh
    setup.sh: 9: function: not found
    x86_64
    Maybe that's because I use 64bit Ubuntu?

    If someone can modify it working, here is setup.sh:
    Code:
    #!/bin/sh
    #
    # Product setup script - Loki Entertainment Software
    
    # Go to the proper setup directory (if not already there)
    cd `dirname $0`
    
    # Return the appropriate architecture string
    function DetectARCH {
    	status=1
    	case `uname -m` in
    		i?86)  echo "x86"
    			status=0;;
    		*)     echo "`uname -m`"
    			status=0;;
    	esac
    	return $status
    }
    
    # Return the appropriate version string
    function DetectLIBC {
          status=1
          if [ -f `echo /lib/libc.so.6* | tail -1` ]; then
    	      if fgrep GLIBC_2.1 /lib/libc.so.6* 2>&1 >/dev/null; then
    	              echo "glibc-2.1"
    	              status=0
    	      else    
    	              echo "glibc-2.0"
    	              status=0
    	      fi        
          elif [ -f /lib/libc.so.5 ]; then
    	      echo "libc5"
    	      status=0
          else
    	      echo "unknown"
          fi
          return $status
    }
    
    # Detect the Linux environment
    arch=`DetectARCH`
    libc=`DetectLIBC`
    
    # Find the installation program
    function try_run
    {
        setup=$1
        shift
        fatal=$1
        if [ "$1" != "" ]; then
            shift
        fi
    
        # First find the binary we want to run
        failed=0
        setup_bin="setup.data/bin/$arch/$libc/$setup"
        if [ ! -f "$setup_bin" ]; then
            setup_bin="setup.data/bin/$arch/$setup"
            if [ ! -f "$setup_bin" ]; then
                failed=1
            fi
        fi
        if [ "$failed" -eq 1 ]; then
            if [ "$fatal" != "" ]; then
                cat <<__EOF__
    This installation doesn't support $libc on $arch
    
    Please contact Loki Technical Support at support@lokigames.com
    __EOF__
                exit 1
            fi
            return $failed
        fi
    
        # Try to run the binary
        # The executable is here but we can't execute it from CD
        setup="$HOME/.setup$$"
        cp "$setup_bin" "$setup"
        chmod 700 "$setup"
        if [ "$fatal" != "" ]; then
            "$setup" $*
            failed=$?
        else
            "$setup" $* 2>/dev/null
            failed=$?
        fi
        rm -f "$setup"
        return $failed
    }
    
    
    # Try to run the setup program
    status=0
    rm -f "$setup"
    if ! try_run setup.gtk && ! try_run setup -fatal; then
        echo "The setup program seems to have failed on $arch/$libc"
        echo
        echo "Please contact Loki Technical Support at support@lokigames.com"
        status=1
    fi
    exit $status
    I'd really like to experience the violence of SoF but I'm not installing 32bit OS just for that.
    Keyboard not found!

    Press any key to continue...

  10. #10
    Join Date
    May 2006
    Location
    Madras, India.
    Beans
    533
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Soldier of Fortune, Linux native?

    Use bash instead. Say
    Code:
    bash setup.sh
    instead of just sh.
    May the FOSS be with you!

Page 1 of 3 123 LastLast

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
  •