LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
Search this Thread
Old 03-31-2004, 06:12 AM   #1
Ashy_australia
LQ Newbie
 
Registered: Jan 2004
Posts: 21

Rep: Reputation: 15
winex and counterstrike


Today i downloaded winex using cvs and have been trying to get counterstrike working with it.
It took a bit of mucking around to get winex installed with a fake windows drive.
Ive got it set up with the fake windows drive as '/home/user/.transgaming/c_drive/'
Counterstrike is installed on '/dev/hda1' which is a winXP install.

I do 'wine /mnt/hda1/path/to/hl.exe -- hl.exe -game cstrike -console' and it starts up a full screen sized window (1024x768) but the actual counterstrike only takes up the top left hand corner (its still in 640x480 i think). The menu is *very* slow to load and then navigating is also slow. I tried changing the video mode to openGL 1024x768 but that didnt do anything.
There is no sound at all.
It hangs randomly.
When trying to create a lan game there is only a few maps all of which have .bsp on the end.
None of the usual maps i play are there (de_aztec, de_dust, de_dust2 to name a few).
Quite a list of problems

The [x11drv] section of my .wine/config file is as follows:
[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Number of colors to copy from the default palette
"CopyDefaultColors" = "0"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
;"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "1024x768"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Use this to make your X server execute all commands
; sequentially rather than buffering commands. Will make
; everything really SLOW but can be nice for debugging.
;; "Synchronous" = "Y"


Thanks in advance for any help or advice in solving these problems.

I have been trying to run it in fluxbox. I dont know if it should make any difference but i will try to run it in kde.

Edit:
Direct rendering wasnt enabled. The command 'glxinfo' was reporting that. I made some changes to XF86Config and got that turned on. It didnt seem to do anything for counterstrike though. Maybe wine isnt linked to the right libs or something.

Last edited by Ashy_australia; 03-31-2004 at 07:43 AM.
 
Old 03-31-2004, 08:23 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
These sites might help you:

Transgaming Half-Life: Counterstrike FAQ

Transgaming Half-Life: Counterstrike forum. You won't be able to post, but there's a lot of info there.

Linux Half-Life

Good luck.

By the way, did you restart the X server after getting DRI turned on? Does glxgears run like you have 3D hardware acceleration? Does TuxRacer or a native Linux 3D game run OK? Just identifying if it's a Wine problem or an X problem.
 
Old 03-31-2004, 03:47 PM   #3
Ashy_australia
LQ Newbie
 
Registered: Jan 2004
Posts: 21

Original Poster
Rep: Reputation: 15
yeh ive restarted X. glxgears runs fairly smoothly in full screen mode. This is what is output in the console when i run glxgears:
glxgears
2494 frames in 5.0 seconds = 498.800 FPS
356 frames in 5.0 seconds = 71.200 FPS
729 frames in 5.0 seconds = 145.800 FPS
2529 frames in 5.0 seconds = 505.800 FPS
2479 frames in 5.0 seconds = 495.800 FPS
Broken pipe

glxinfo outputs:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20021115
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_convolution, GL_EXT_compiled_vertex_array, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_texture3D,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_object,
GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_IBM_rasterpos_clip,
GL_MESA_window_pos, GL_NV_texgen_reflection, GL_SGI_color_matrix,
GL_SGI_color_table
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 0 0 0 0 0 0 None
0x23 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 0 0 0 0 0 0 None
0x25 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 0 0 0 0 0 0 None
0x26 24 tc 1 24 0 r y . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow
0x27 24 tc 1 24 0 r . . 8 8 8 0 0 0 0 16 16 16 0 0 0 Slow
0x28 24 tc 1 24 0 r y . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow
0x29 24 tc 1 24 0 r . . 8 8 8 0 0 24 8 16 16 16 0 0 0 Slow

thanks for those links. Ill have a look after my lectures.
 
Old 09-15-2004, 04:16 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
what graphics card are you using ?
if there are linux drivers available, install them. anything is better than SGI Messa !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CounterStrike using Wine DmD Linux - Newbie 1 04-30-2005 01:02 AM
counterstrike unionjak Mandriva 2 11-04-2004 01:41 PM
Counterstrike problem nyhm Linux - Games 1 02-18-2004 05:09 AM
Counterstrike 1.6 Kahless Linux - Software 2 01-24-2004 09:30 PM
Counterstrike question fernandoo Linux - Games 28 12-18-2003 03:09 AM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration