Results 1 to 3 of 3

Thread: Install and Play Counter Strike Source in Linux

  1. #1
    Join Date
    May 2008
    Posts
    2,464

    Install and Play Counter Strike Source in Linux

    You need Wine software for linux to install windows based games. Check This Link To Learn About Downloading and Installing Wine

    Now fetch the tahoma font, needed for steam to function:
    Code:
    wget www.rzs.rs.ba/Fontovi/Tahoma.TTF
    Move the font to the wine font directory:
    Code:
    mv Tahoma.TTF ~/.wine/drive_c/windows/fonts/
    Download the Steam installer. Search for SteamInstall.exe on Google, or download it from steampowered.com

    After the download, go to the download-directory and run this command to install steam:
    Code:
    wine SteamInstall.exe
    If you downloaded the MSI version of Steam installer, type

    Code:
    wine msiexec /i SteamInstall.msi
    After the installation is completed and updated steam (it generated strangely small amounts of network traffic) Steam will launch.

    Create an account or log in, then add Counter Strike to your list of games.
    Steam may crash when updating at 27%. If it does, follow the instructions :

    Run the following command in the console (substitute the path to steam executables with your path)

    Code:
    wine SteamTmp.exe SelfUpdate "C:\Program Files\Steam\Steam.exe" 14
    Installing Half-Life 2 from the CD
    Just type :
    Code:
    wine msiexec /i /path/to/HL2/steam.msi

  2. #2
    Join Date
    May 2008
    Posts
    2,464

    Re: Install and Play Counter Strike Source in Linux

    Login into Steam


    Start steam by just typing
    Code:
    wine Steam.exe
    After you changed to the directory you installed Steam. Once you are sure that there're no troubles with Steam and it runs fine, start it like that:

    Code:
    WINEDEBUG="fixme-all" wine Steam
    This suppresses all FIXME's Wine is trying to print while in normal mode.
    Steam and Steam games run this way faster (especially Half-Life 2 and its mods).

    With latest Wine and Steam you should actually be able to type your login data into steam. If you can't type in your login, just right-click on the Login edit control in the Steam button and then left-click on it again to make the menu disappear. You can type your login now.


    Command Line Options


    For a while now, Half-Life has depended on the Steam platform to operate.

    The old "hl.exe -game XXXXXXX" behaviour is no longer appropriate, as all valve-sanctioned mods are now executed with "Steam.exe -applaunch NN".

    Half-Life Mods:

    cstrike - applaunch 10
    tfc - applaunch 20
    dod - applaunch 30
    dmc - applaunch 40
    op4 - applaunch 50
    ricochet - applaunch 60
    valve - applaunch 70
    czero - applaunch 80
    Half-Life 2 Mods:
    cstrike - applaunch 240
    dod - applaunch 300
    hl2mp - applaunch 320

  3. #3
    Join Date
    May 2008
    Posts
    2,464

    Re: Install and Play Counter Strike Source in Linux

    Similar to the way you can add command variables to the Steam Launch Options, you can also add them to a Half Life 2 startup script.

    Code:
    #!/bin/bash
    WINEDEBUG=fixme-all wine C:/Program\ Files/Steam/Steam.exe -fullscreen \
        -width 1024 -height 768 -applaunch 220 \
        -heapsize 512000 +map_background none "$@"
    The above command line will launch Half Life 2 (-applaunch 220) with a memory allocation of around 500MB (-heapsize 512000), and Half Life 2 will start without a 3D background on the main menu (+map_background none). You can add as many variables as you want.

    Command Line Commands

    -heapsize [Kilobytes]: This command tells Half Life 2 to allocate more RAM to the game system heap, where it can be accessed by the game to improve performance by storing more game information in RAM and hence reducing loading pauses. The default heapsize is 64MB, however you can safely allocate around 128MB (i.e. -heapsize 128000) for most systems. You can use higher values if you have more RAM, but I don't recommend exceeding half your physical RAM (e.g. for 1GB RAM, set heapsize of 512000).

    -console: Speeds up the loading of Half Life 2 at startup by not loading up the background 3D graphics on the main menu and instead loading up a blurry background picture and the Half Life 2 console open. Note you can close this console using the '~' key.

    -width [pixels] -height [pixels]: Using these two commands you can set a custom resolution in Pixel Width x Pixel Height (e.g. -width 640 height 480 starts HL2 with 640x480 resolution). Make sure you choose a resolution supported by your monitor and with the correct ratio of width to height (usually 4:3).

    -dxlevel [version]: Using this command allows you to force Half Life into only using the specified DirectX version for shaders. For example, use -dxlevel 70 to force Hardware DirectX7.0 level support for shaders. This means a reduction in image quality but an increase in performance. Other values include -dxlevel 80 -dxlevel 81 and -dxlevel90. Note that this only works if you choose a DirectX version which is lower than the current one supported by your graphics card. See the Hardware DirectX Version option under the In-Game settings for more details.

    -refresh [Hz]: Specifies the refresh rate the game will use upon loading. This is normally not required as your system should already use the optimal refresh rate at your chosen resolution. However if this is not the case you can force it to a specific refresh rate (e.g. -rate 85). Make absolutely certain that the rate you are trying to apply does not exceed your monitor's capabilities otherwise you may damage your monitor - especially if you change resolutions and forget to change this option.

    -novid: Disables the intro video so that Half-Life 2 loads a bit faster.

Similar Threads

  1. Replies: 3
    Last Post: 11-02-2012, 12:34 AM
  2. Counter Strike v1.6 or Counter Strike Source
    By Ryder Allen in forum Video Games
    Replies: 5
    Last Post: 03-03-2011, 10:22 AM
  3. Replies: 4
    Last Post: 12-06-2009, 07:45 PM
  4. Counter Strike: Source play with bots
    By Silent~Kid in forum Video Games
    Replies: 3
    Last Post: 28-03-2009, 12:38 PM
  5. Minimum system requirement to play Counter Strike Source ?
    By Beter 2 Burn Out in forum Video Games
    Replies: 1
    Last Post: 07-10-2008, 04:22 PM

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
  •  
Page generated in 1,710,828,555.61277 seconds with 16 queries