Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

when i right click on cstrike file and select open with wine windows program loader it doesnt show any error nor the game gets started.

share|improve this question
    
There are a huge number of things that could be going wrong. The first step in troubleshooting any Wine issue is to try running the app from the command line so you can see the errors that are preventing it from running. –  glibdud Nov 16 '12 at 13:30
1  
can you please give me the command to run it through terminal ........ –  user108535 Nov 16 '12 at 13:34
    
Open a command prompt and type find ~/.wine -name "cstrike.exe", if that's the name of the executable. That should get you the path of the file. Then run wine (path returned by previous command). –  glibdud Nov 16 '12 at 13:54
add comment

1 Answer

To answer I am assuming the following since you did not mention it in your question:

  • You are using Ubuntu 12.10 32 Bit
  • You have a good CPU, Video Card and amount of memory to run Wine with CS 1.6
  • You are using a Wine version that is not the latest
  • You did not install but actually copy CS to your Ubuntu system or ran CS from another Driver or partition (Maybe partitioned for Windows and shared with Ubuntu)

So with all of that said, do the following:

  1. Open DASH and type terminal. Then open the terminal.

  2. Type the following 3 lines:

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get install wine1.5

  3. Open DASH again and type winecfg so it configures Wine for the first time.

  4. Find the cstrike.exe and double click on it or right click and select wine.

If the above does not work after executing it, install the "Open in Terminal** extension for Nautilus:

sudo apt-get install nautilus-open-terminal

After that Logout/Login. Now go to your CS folder and right click in an empty space, you will now see an option that says "Open in Terminal"

enter image description here

This is a quick way to get to a folder without typing to much (Easier for beginners). Now when the terminal opens type wine cstrike.exe. This should give you the information needed to know why cstrike is not working.

A common problem is a missing DLL Library (Pretty common actually). The solution is to just copy the DLL missing to the game folder.

For example, this is the output I got with a friends CS:

angel@angel:/media/angel/games/Half-Life$ wine cstrike.exe 
fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"F:\\Half-Life\\cstrike.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"F:\\Half-Life\\cstrike.exe" failed, status c0000135

If you read through the lines you will see that it says wine had an error while trying to import the MSVBVM60.DLL file.

Look in google for this file and paste it in the game folder where cstrike.exe resides. The dll-files.com is a good place to start.

After pasting it in your game folder, the game should work:

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.