The following works well, and makes the game run much faster, as well as smooth, I gained about 35 fps using the following:
1.
run this when winex/point2play is running, if you close wine completely you
will have to run this again to switch the priority.
renice 10 `pgrep wineserver`
(makes a big improvement)
2. --------------------------------------------------------------------------
Thanks to linux-gamers.net for the following tweaks-
1. Annotations
This is only a little How-To for performance tuning.
Some users swear that it runs more smooth with the CVS version that with
the binaries of WineX.
You have to decide that for yourself.
Only the configuration of Counter-Strike is covered here - for the rest we
have other How-Tos on
www.linux-gamers.net
WineX and Steam should aready be installed and configured.
2. Edit config.cfg
If not already present, write the following into your
steam/SteamApps/YOURACCOUNT/counter-strike/cstrike/config.cfg
exec userconfig.cfg
3. Create and edit userconfig.cfg
Create a file called userconfig.cfg in your
steam/SteamApps/YOURACCOUNT/counter-strike/cstrike/
Append the following lines in your userconfig.cfg:
himodels "0"
ati_npatch "0"
ati_subdiv "0"
gl_clear "0"
gl_cull "1"
gl_dither "0"
gl_keeptjunctions "0"
gl_max_size "128"
gl_playermip "4"
gl_round_down "1"
GL_NEAREST_MIPMAP_NEAREST
These setting reduce your graphic details so play with the values to
fine-tune.
4. Start steam with custom script
Get this file and run it in your Steam-Folder. This script only detects
automatically which wine(X) version you run, increases the priority that
wine(X) has and starts steam afterwards.
5. Start Counter-Strike
Just start Counter-Strike
Troubleshooting:
---
When your mouse movement seems to be not smooth enough, just add
m_filter 1
into your userconfig and delete that value from config.cfg.
---
If you do not see any fonts in Steam, open the below file with Kwrite or
such
/home/USERNAME/.point2play/Steam/c_drive/Program
Files/Steam/resource/TrackerScheme.res
or
/home/USERNAME/.transgaming/c_drive/Program
Files/Steam/resource/TrackerScheme.res
here you can change the fonts that Steam uses, to whatever you please
---
6. Final amendmends by console
Open the console (ususally its the "^"-key) and enter net_graph 3. You
will see your current FPS in a little screen on the lower right corner.
Set a new value with fps_max XX in the console. Please switch the XX with
another value, 85 should be enough. If you wanna get a value like 85 your
monitor refresh rate has to be minimum 85 Hz, too.
ATTENTION: Please consult your user manual to get to know which values
your montior has. We can not be held accounteable for ANY damage to your
monitor.
7) Additional possibilities for owners of NVIDIA-Cards
Get this file and unzip it into your
steam/SteamApps/YOURACCOUNT/counter-strike/gldrv/
folder. Edit
team/SteamApps/YOURACCOUNT/counter-strike/gldrv/drvmap.txt and erase the
lines in there. Add gldrv/nvopengl.dll instead, save the file, start CS
and see how your game runs with this amendmend
COMMENT: Usually you can play Counter-Strike smooth from 50 FPS on as long
as you dont have FPS decreases in the game. Just play with the values to
get the result that fits best to your system.
8. Tests and results
Tested under the following Systems:
ASUS A7N8X nForce2; Athlon XP 1800+; 512 MB 333 DDR RAM; GeForce 4 TI 4200
(400 MHZ Chip frequency.) 513 MHZ RAM frequency 64 MB DDR RAM;
Gentoo 1.4; Kernel 2.6.3; Winex 3.3
Result: 80 FPS