Wine, Winex, Counter-Strike, fps y toda la pesca

El ultimo paso que me falta para pasarme definitivamente a Linux es el winex, es mi asignatura pendiente. No se porque me va mal. Tengo un ordena sobrado con una tarjeta sobrada, pero esto no tira como debe.
Vereis, intente instalar el wine, pero por temas de configuración nunca pude hacerlo correctamente, siempre se me quedaba el sistema pillado o la pantalla en negro, etc. Entonces hice un poco de trampas y me baje el winex. EL tema es que ahora tiran las cosas, pero a la hora de jugar al counter-strike el rendimiento es muy malo. No me pasa de los 50 fps y baja hasta el minimo, con lo que jugar es imposible.
En windows, se me queda clavado en 100 fps y de ahí no se mueve pase lo que pase.
A lo mejor no sabeis como ayudarme, pero si alguien sabe como configurar bien el wine, lo agradecería mucho. Y si no podeís ayudarme a configurar agradecería que postearaís vuestros fps y rendimiento en general jugando con wine/winex. Para saber si es un problema de configuración o que.

Utilizo Mandrake 9.2 kernel 2.6.2-3mdk y geforce4 ti 4200


Saludos a todos y gracias.
Eso suena a pirateo... no damos soporte a software pirata. Explica que son esas 'trampas' y luego lo charlamos.

Salu2.Ferdy
Sin contemplaciones ehhh [tomaaa] Lo veo bien la verdad.

Pues la verdad no me quedo claro si lo que hice fue ilegal pero te cuento. Me baje todas las versiones de wine intentando instalarlo. Las aplicaciones me iban bien, pero se ve que cuando lo intentaba con el opengl pos ahi se quedaba. Cuando intentaba empezar a jugar al counter se quedaba la pantalla negra o se colgaba todo el sistema. Lo juro, tenia que reinciar linux, no me iban ni las consolas :o.
Pues intentadolo una y otra vez, al final un compañero me paso una version de winex, no se cual exactamente. Pero no era de las ultimas. Y bien, ahora me va el counter y tal, pero con unos fps muy flojos, me bajan al minimo constantemente. Como si la tarjeta grafica no tuviera rendimiento y es una 4200ti, que para el counter va mas que sobrada.

La verdad me da igual usar el winex que el wine. Creo que el rendimiento que se puede sacar en los juegos con cada uno es el mismo, no?? No fuí capaz de confirgurar bien el wine, probe durante días y nada. Pero si podemos ponerlo a punto estaría más que bien [inlove] Borraría windows de mi disco duro definitivamente.
Asegúrate de que pones como aceleración gráfica OpenGL, así no tiene que hacer conversiones.

Si vas a usar WineX, cómpralo, merece la pena por lo que da.
SI me fuera como dios manda lo compraría, pero el caso es que la versión que tengo no me rula bien el counter que es lo que me interesa. Me recomendarías alguna versión?
"Trampas"... para que? te lo puedes descargar del CVS libremente. Además, la ultimísima versión.

Aquí un How-To

Author: 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.
Google roolz [maszz]
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...


Vamos, que si tienen el CVS es para que contribuyas, al menos en teoria O_o. Bastante extraña esta licencia :P.
Además, no se ahora, pero antes se comentaba que el codigo que hay en el cvs no es exactamente el de las versiones binarias que se distribuyen.

Saludos
Ya se dijo varias veces (yo lo dije no hace ni una semana), Winex comercial lleva librerías propietarias, y soporte oficial de los Installshield.
Ferdy escribió:Eso suena a pirateo... no damos soporte a software pirata. Explica que son esas 'trampas' y luego lo charlamos.

Salu2.Ferdy


siempre vas de sobrado tu? por lo que he leido en otros posts si
Y este reflote del hilo?
Ganas de tocar la moral? [decaio]
Nada hombre... que como la gente esta de exámenes no sabe ni qué hacer.

Salu2.Ferdy
Bueno, aprovecho el hilo...

Cuando con el wine el Counter Strike, me pide el CD-KEY, pues no me deja teclear nada [mad]

PD. El Half life es original.. y el cd key lo tengo tambien [sonrisa]
11 respuestas