› Foros › PC › Software libre
Google roolzAuthor: GlaDiaC
Contributers: overflowed, Hethrep, patson
Language: english
Last change: 12th Januar 2004
Version: 1.8.2
This howto is published under the GNU Free Documentation License.
Copyright (c) 2004 linux-gamers.net.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license can be found in the section entitled "GNU
Free Documentation License".
Warning: This HOWTO comes with no explicit or implicit warranty whatsoever. Use at you own risk!
1) Get and install the latest Wine (CVS)
2) Wine configuration
3) Installing Internet Explorer
4) Install Fonts
5) Install Steam
6) Edit the CS configs
7) Benchmarks
8) Special thanks
9) Troubleshooting
Screenshots:
Running Steam
Counter-Strike
1) Getting the latest Wine (CVS)
You can download the binaries for your distribution or get wine via CVS.
You can find them here: http://www.winehq.org/site/download
The latest Wine version for SuSE can be found here: ftp://ftp.suse.com/pub/people/meissner/wine
If you want to use the latest CVS version, read out Wine CVS How-to which can be found here:
http://www.linux-gamers.net/modules...php?articleid=2
2) Installing IE6
We need a clean wine setup, so if you have some programs installed it is recommend that you delete your ~/.wine direcotry. After that set it up again with
$ winesetup or $ winesetuptk
( you can download winesetuptk here: http://sourceforge.net/project/show...ackage_id=77479 on gentoo: emerge -U winesetuptk )
Now, on to the installation of IE6. Get Mike's Wine Internet Explorer installer at
http://bylands.dur.ac.uk/~mh/wine-ie/ and launch it
$ sh install-ie6.sh
LEGAL STUFF: You need a Windows license to install and run Internet Explorer, sorry. Microsoft class it as a part of the operating system. It's up to you to decide whether this is actually enforceable in your legal jurisdiction.
3) Wine configuration
Now its time to add some things to your ~/.wine/config - file. Insert the following lines to your config:
########################################## Steam Config by linux-gamers.net ##########################################[AppDefa
ults\\Steam.exe\\DllOverrides];"mshtml" = "native, builtin" ;could crash steam"oleacc" = "builtin, native""oleaut32" = "builtin, native""ole" = "builtin, native""ole32" = "builtin, native""crypt32" = "native, builtin""comdlg32" = "builtin, native""msvcrt" = "native, builtin""shlwapi" = "native, builtin""shdocvw" = "native, builtin""shfolder" = "native, builtin""shell" = "builtin, native""wininet" = "native, builtin""urlmon" = "native, builtin""ole" = "native, builtin""comctl32" = "builtin, native""ws2_32" = "builtin, native"[AppDefaults\\hl.exe\\x11drv]"PerfectGraphics" = "N" ;optimization to get more frames"ClientSideWithCore" = "N" ;optimization to get more frames"ClientSideAntiAliasWithRender" = "N""ClientSideAntiAliasWithCore" = "N""DXGrab" = "Y""DesktopDoubleBuffered" = "N"[AppDefaults\\hl.exe\\DllOverrides]"shdocvw" = "native, builtin""shlwapi" = "native, builtin"
You can find my whole config here
4) Install some fonts
Steam needs 2 Microsoft fonts: Tahoma and Marlett
The Tahoma Font should be installed with IE.
(You can download the windows fonts (including tahoma) and find a description how to install windows fonts under linux here:
http://avi.alkalay.net/software/msfonts/ )
If you don't want to install the fonts system wide copy it to the .wine/fake_windows/Windows/Fonts directory.
To see the max/minimize symbols in steam, download the Marlett.ttf and copy/unzip it to your ~/.wine/fake_windows/Windows/Fonts directory.
http://www.uq.net.au/~zziwilki/marletts.htm
Now, let's move on to the real stuff.
5) Installing Steam
Now, download the Steam CS installer (called steaminstall_cs.exe). http://www.steampowered.com/
Then just run the installer,
$ wine steaminstall_cs.exe
The install should go fine, and after it's completed and wasted your time "updating" 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. NOTE! If you don't get keyboard focus (99% of the time you won't), then right-click on an edit box and select any option (cut/copy/paste). Presto: keyboard input focus.
Now start Counter-Strike and quit it (do nothing else)! Now go to the next step...
6) Edit the CS configs
It seems Counter-Strike bugs out on MOTD requests. This might just be a more or less random bug with html rendering, but it's safer to just disable the motd altogether. Now change to your SteamApps directory. Normal it is
~/.wine/fake_windows/SIERRA/Steam/SteamApps/[youremail]/counter-strike/cstrike
Then, remove the file custom.hpk if such a file exists:
$ rm custom.hpk
Then create the MOTD file if it doesn't exist and make the welcome message html file read-only
(create it with $ touch motd_temp.html )
$ chmod 400 motd_temp.html
Then open up config.cfg in your favourite text editor (vim, nano, pico, emacs, whatever) and add the line
hpk_maxsize "0"
7) Benchmarks
GlaDiaC: about 65 fps 1280x1024 resolution @ AMD Athlon(TM) XP 2400+, 1024 MB RAM, GeForce4 Ti 4200, Wine20031212, SuSE 9.0
Mail me yours please.
8) Special thanks
Thanks to
- overflowed for the first tutorial for linux-gamers.net
- Hethrep for managing the How-To section
- patson for his improved tutorial and help
- cybe and stony777 for testing
9) Troubleshooting
If you need help to install Steam visit #linux-gamers.net @ quakenet or #linux-clan.cs @ quakenet
Wine/Steam hangs, what can i do
Change to a console CTRL + ALT + F1 and kill wine
$ killall -9 wine-pthread
Fix 1: Updating the first time hangs at 26%
Edit ~/.wine/user.reg and find this entry:
[Software\\Microsoft\\Windows\\CurrentVersion\\Run
] 1073815493
"Steam"="C:\\Program Files\\Steam\\Steam.exe -silent"
Delete these two lines or comment them with ;; (two semicolons).
$ wineboot
Start Steam again $ wine Steam.exe
If this doesn't work try the next.
Fix 2: Updating the first time hangs at 26%
Issue: Steam.exe (main exception) ERROR: delete of Steam.exe failed, Win32 Error 32 "Sharing Violation"
Kill your wine $ killall -9 wine-pthread
change to your Steam directory an copy SteamNew.exe to Steam.exe
$ cp SteamNew.exe Steam.exe and start Steam again, it will continue updating.
This is not a wine problem, it is a Steam problem check out steam forums:
http://steampowered.com/forums/show...;threadid=43535
or
http://steampowered.com/forums/show...;threadid=43650
I have only a image in the lower right corner, i can only see "new game"
If you have only a partial image in the lower right corner of the window you have to amend the "Desktop" value to "Desktop" = "800x600" in . This enables you to see and click the buttons of the game menue when you restart Counter-Strike. Then click on options --> video and amend the resolution to 800x600. Then Counter-Strike will restart in the same window, but now it fits in to it.
localhost root # emerge winex-cvs
Calculating dependencies ...done!
>>> emerge (1 of 1) app-emulation/winex-cvs-3000 to /
>>> Unpacking source...
>>> Source unpacked.
>>> Install winex-cvs-3000 into /var/tmp/portage/winex-cvs-3000/image/ category app-emulation
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/winex-cvs-3000/image/
>>> Merging app-emulation/winex-cvs-3000 to /
* This package was removed from portage tree due to the request from Transgaming. Here is an extract from their email:
* The primary reason for the WineX CVS tree being publicly available
* under the Aladdin Free Public License (AFPL) is to give outside
* developers who have an interest in the project the ability to track
* our most current work, and to assist us with code or testing.
* Our work is very complex though, and only a limited number of
* developers have the skills required to contribute.
* The intent of the public CVS tree is *not* to provide a free version
* of WineX that can be used without paying for it. _We want everyone
* with an interest in the project to contribute, whether they contribute
* code, or money to assist us with our development efforts. _We felt that
* the AFPL was a good compromise to allow that to happen, which is why
* we chose it.
* Caching service dependencies... [ ok ]
>>> app-emulation/winex-cvs-3000 merged.
>>> Recording app-emulation/winex-cvs in "world" favorites file...
Ferdy escribió:Eso suena a pirateo... no damos soporte a software pirata. Explica que son esas 'trampas' y luego lo charlamos.
Salu2.Ferdy