Counter Strike setup problems


Results 1 to 6 of 6

Thread: Counter Strike setup problems

  1. #1
    Join Date
    Oct 2001
    Location
    London, UK
    Posts
    4,376

    Counter Strike setup problems

    I'm trying to install CS through wine(latest tarball) which I have just compiled on Slackware8.0. No errors occured during compilation. My fake c:\ drive is c/ and my CD is mounted at /cdrom. I'm getting the following output when running wine setup.exe from /cdrom:

    Code:
    fixme:ttydrv:TTYDRV_DC_PatBlt (0x4036fffc, 3, 3, 1077351594, 18, 15728673): stub
    x Install fixme:ttydrv:TTYDRV_BITMAP_SetDIBits (0x40372ff8, 0x40352370, 0, 32, 0x4068d228, 0x40372eb8, 0, 0x00c4): stub
    x fixme:ttydrv:TTYDRV_BITMAP_SetDIBits (0x40370534, 0x40352370, 0, 32, 0x4068d428, 0x40372eb8, 0, 0x00c8): stub
    x fixme:ttydrv:TTYDRV_DC_SetBitmapBits (0x40373408, 0x40373448, 128): semistub
    x fixme:ttydrv:TTYDRV_DC_StretchBlt (0x4036fffc, 5, 5, 16, 16, 0x40373218, 0, 0, 32, 32, 8913094): stub
    x fixme:ttydrv:TTYDRV_DC_SetBitmapBits (0x40373340, 0x40373380, 128): semistub
    x Half-Life: Counter-Strike Autorunfixme:ttydrv:TTYfixme:ttydrv:TTYDRV_DC_StretchBlt (0x4036fffc, 5, 5, 16, 16, 0x40373218, 0, 0, 32, 32, 15597702): stub:TTYDRV_DC_PatBlt (0x4036fffc, 2, 2, 1077351596, 1, 15728673): stub
    fixme:ttydrv:TTYDRV_DC_PatBlt (0x4036fffc, 1077351581, 7, 12, 10, 15728673): stubxme:ttydrv:TTYDRV_DC_PatBlt (0x4036fffc, 2, 2, 1, 126, 15728673): stub
    xfixme:ttydrv:TTYDRV_DC_LineTo Diagonal line drawing not yet supported0fixme:ttydrv:TTYDRV_DC_PatBlt (0x4036fffc, 2, 127, 1077351596, -1, 15728673): sfixme:ttydrv:TTYDRV_DC_LineTo Diagonal line drawing not yet supported fixme:win:Sefixme:ttydrv:TTYDRV_DC_PatBlt (0x4036fffc, 1077351597, 2, -1, 126,fixme:ttydrv:TTYDRV_DC_LineTo Diagonal line drawing not yet supporteddow 0
    x fixme:ttydrv:TTYDRV_DC_LineTo Diagonal line drawing not yet supported
    My Geforce II MX(32MB) is working fine. I have the latest NVIDIA drivers installed from source. glx is loaded in my /etc/X11/XF86Config. I'm using XFree86 Version 4.1.0

    My wine config file:

    Code:
    WINE REGISTRY Version 2
    ;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config
    
    ;;
    ;; MS-DOS drives configuration
    ;;
    ;; Each section has the following format:
    ;; [Drive X]
    ;; "Path"="xxx"       (Unix path for drive root)
    ;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
    ;; "Label"="xxx"      (drive label, at most 11 characters)
    ;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
    ;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
    ;;   This is the FS Wine is supposed to emulate on a certain
    ;;   directory structure.
    ;;   Recommended:
    ;;   - "win95" for ext2fs, VFAT and FAT32
    ;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
    ;;   DON'T use "unix" unless you intend to port programs using Winelib !
    ;; "Device"="/dev/xx" (only if you want to allow raw device access)
    ;;
    [Drive A]
    "Path" = "/floppy"
    "Type" = "floppy"
    "Label" = "Floppy"
    "Serial" = "87654321"
    "Device" = "/dev/fd0"
    
    [Drive C]
    "Path" = "/c"
    "Type" = "hd"
    "Label" = "MS-DOS"
    "Filesystem" = "win95"
    
    [Drive D]
    "Path" = "/cdrom"
    "Type" = "cdrom"
    "Label" = "CD-Rom"
    "Filesystem" = "win95"
    ; make sure that device is correct and has proper permissions !
    "Device" = "/dev/cdrom"
    
    [Drive E]
    "Path" = "/tmp"
    "Type" = "hd"
    "Label" = "Tmp Drive"
    "Filesystem" = "win95"
    
    [Drive F]
    "Path" = "${HOME}"
    "Type" = "network"
    "Label" = "Home"
    "Filesystem" = "win95"
    
    [wine]
    "Windows" = "c:\\windows"
    "System" = "c:\\windows\\system"
    "Temp" = "e:\\"
    "Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
    "Profile" = "c:\\windows\\Profiles\\Administrator"
    "GraphicsDriver" = "ttydrv"
    ; Wine doesn't pass directory symlinks to Windows programs by default.
    ; Enabling this may crash some programs that do recursive lookups of a whole
    ; subdir tree in case of a symlink pointing back to itself.
    ;"ShowDirSymlinks" = "1"
    "ShellLinker" = "wineshelllink"
    
    # <wineconf>
    
    ; Be careful here, wrong DllOverrides settings have the potential
    ; to pretty much kill your setup.
    [DllOverrides]
    "commdlg"      = "builtin, native"
    "comdlg32"     = "builtin, native"
    "ver"          = "builtin, native"
    "version"      = "builtin, native"
    "shell"        = "builtin, native"
    "shell32"      = "builtin, native"
    "shfolder"     = "builtin, native"
    "shlwapi"      = "builtin, native"
    "lzexpand"     = "builtin, native"
    "lz32"         = "builtin, native"
    "comctl32"     = "builtin, native"
    "commctrl"     = "builtin, native"
    "advapi32"     = "builtin, native"
    "crtdll"       = "builtin, native"
    "mpr"          = "builtin, native"
    "winspool.drv" = "builtin, native"
    "ddraw"        = "builtin, native"
    "dinput"       = "builtin, native"
    "dsound"       = "builtin, native"
    "opengl32"     = "builtin, native"
    "msvcrt"       = "native, builtin"
    "rpcrt4"       = "native, builtin"
    "msvideo"      = "builtin, native"
    "msvfw32"      = "builtin, native"
    "mcicda.drv"   = "builtin, native"
    "mciseq.drv"   = "builtin, native"
    "mciwave.drv"  = "builtin, native"
    "mciavi.drv"   = "native, builtin"
    "mcianim.drv"  = "native, builtin"
    "msacm.drv"    = "builtin, native"
    "msacm"        = "builtin, native"
    "msacm32"      = "builtin, native"
    "midimap.drv"  = "builtin, native"
    ; default for all other dlls
    "*" = "native, builtin, so"
    
    [x11drv]
    ; Number of colors to allocate from the system palette
    "AllocSystemColors" = "100"
    ; 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" = "N"
    ; Use a desktop window of 640x480 for Wine
    ;"Desktop" = "640x480"
    ; Use XFree86 DGA extension if present
    ; (make sure /dev/mem is accessible by you !)
    "UseDGA" = "N"
    ; Use XShm extension if present
    "UseXShm" = "Y"
    ; Use XVidMode extension if present
    "UseXVidMode" = "Y"
    ; Enable DirectX mouse grab
    "DXGrab" = "N"
    ; 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"
    ; Run in synchronous mode (useful for debugging X11 problems)
    ;;"Synchronous" = "Y"
    
    [fonts]
    ;Read documentation/fonts before adding aliases
    ;See a couple of examples for russian users below
    "Resolution" = "96"
    "Default" = "-adobe-helvetica-"
    "DefaultFixed" = "fixed"
    "DefaultSerif" = "-adobe-times-"
    "DefaultSansSerif" = "-adobe-helvetica-"
    
    ;; default TrueType fonts with russian koi8-r encoding
    ;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
    ;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
    ;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
    ;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
    ;; default cyrillic bitmap X fonts
    ;"Default" = "-cronyx-helvetica-"
    ;"DefaultFixed" = "fixed"
    ;"DefaultSerif" = "-cronyx-times-"
    ;"DefaultSansSerif" = "-cronyx-helvetica-"
    
    [serialports]
    "Com1" = "/dev/ttyS0"
    "Com2" = "/dev/ttyS1"
    "Com3" = "/dev/ttyS2"
    "Com4" = "/dev/modem"
    
    [parallelports]
    "Lpt1" = "/dev/lp0"
    
    [ppdev]
    ;; key:  io-base of the emulated port
    ;; value : parport-device{,timeout}
    ;; timeout for auto closing an open device ( not yet implemented)
    ;"378" = "/dev/parport0"
    ;"278" = "/dev/parport1"
    ;"3bc" = "/dev/parport2"
    
    [spooler]
    "FILE:" = "tmp.ps"
    "LPT1:" = "|lpr"
    "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
    "LPT3:" = "/dev/lp3"
    
    [ports]
    ;"read"  = "0x779,0x379,0x280-0x2a0"
    ;"write" = "0x779,0x379,0x280-0x2a0"
    
    [spy]
    "Exclude" = "WM_SIZE;WM_TIMER;"
    
    [registry]
    ;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
    ;Defaults are read all, write to Home
    ; Global registries (stored in /etc)
    "LoadGlobalRegistryFiles" = "Y"
    ; Home registries (stored in ~user/.wine/)
    "LoadHomeRegistryFiles" = "Y"
    ; Load Windows registries from the Windows directory
    "LoadWindowsRegistryFiles" = "Y"
    ; TRY to write all changes to home registries
    "WritetoHomeRegistryFiles" = "Y"
    ; Registry periodic save timeout in seconds
    ; "PeriodicSave" = "600"
    ; Save only modified keys
    "SaveOnlyUpdatedKeys" = "Y"
    
    [Tweak.Layout]
    ;; supported styles are 'Win31'(default), 'Win95', 'Win98'
    ;; this has *nothing* to do with the windows version Wine returns:
    ;; use cmdline option --winver if you want that.
    "WineLook" = "Win95"
    
    [Console]
    ;"Drivers" = "tty"
    ;"XtermProg" = "nxterm"
    ;"InitialRows" = "25"
    ;"InitialColumns" = "80"
    ;"TerminalType" = "nxterm"
    
    [Clipboard]
    "ClearAllSelections" = "0"
    "PersistentSelection" = "1"
    
    ; List of all directories directly contain .AFM files
    [afmdirs]
    "1" = "/usr/share/ghostscript/fonts"
    "2" = "/usr/share/a2ps/afm"
    "3" = "/usr/share/enscript"
    "4" = "/usr/X11R6/lib/X11/fonts/Type1"
    
    [WinMM]
    "Drivers" = "wineoss.drv"
    "WaveMapper" = "msacm.drv"
    "MidiMapper" = "midimap.drv"
    
    # </wineconf>
    Any ideas?

    Thanks Cheeky

  2. #2
    Join Date
    Aug 2001
    Location
    Somewhere, Texas
    Posts
    9,627
    The config looks good (heavly modified, but good), what version of wine are you using? Codeweavers is very good, but for games I would use www.transgaming.com WineX for the DirectX support (which looks like where it is failing).
    I'll asume that you have OpenGL configured properly, but since the install never made it that far it's hard to tell.

    Looking at the error closer, it looks like you are running the autorun, try using Setup.exe and see if that gives the same errors.

  3. #3
    Join Date
    Oct 2001
    Location
    London, UK
    Posts
    4,376
    I'm using wine setup.exe. The ./tools/wineinstall compiles OpenGL by default(so I've read) and that's what I used last time.

    I've been thinking about using winex but I have had CS working under normal wine many months ago. I'm gonna go and download winex source now.

    Thanks

  4. #4
    Join Date
    Sep 2000
    Location
    Brisbane, AU
    Posts
    882
    Originally posted by cheeky_zombie:
    <STRONG>The ./tools/wineinstall compiles OpenGL by default(so I've read) and that's what I used last time.</STRONG>
    Thats what I thought, but it doesnt. Maybe WineX, but not wine. You need to get a file called glext.h (which if you cant find, I can send to you... its small) and put it in your /usr/X11R6/include/GL/ dir. You may find you have to create the GL sub-dir. Anyway, recompile wine after you do that, and see what happens. Worked for me

    Also, you need to configure /etc/X11/XF86Config-4 not /etc/X11/XF86Config... (note the '-4 on the end). Look for the 'device' section where it should say driver "nv" and change it to driver "nvidia". Up a little bit there are 'load' variables... make sure one of them is Load "glx". Theres a good chance it already will be, but if its not... it should be there.

    Thats all I can think of right now, its 1am, my head hurts I hope that I helped you somewhere along the lines

    TTFN,
    ScRapZ_1

    ...wtf is going on with this page?!?! Is it just me, or is this page waaaaay to big (width-wise)... since when do I have to scroll sideways to read a message... geez...

    [ 30 January 2002: Message edited by: ScRapZ_1 ]
    Current screenshot: Gentoo + Fluxbox
    --
    "Besides, the Emporer wasn't simply at deaths' door but well inside the hallway, admiring the carpet and commenting on the hatstand." - Terry Pratchett, The Rincewind Trilogy
    --
    Hmmm... penguin. The other OTHER white meat!
    --
    4 out of 5 voices in my head tell me I'm not crazy.

  5. #5
    Join Date
    Oct 2001
    Location
    London, UK
    Posts
    4,376
    my 3D acceleration is working fine. I have used half-file on a wine tarball before and have followed the half-life-on-linux howto to the word. glext.h is also in the correct location.

    Cheers anyway, I'm gonna try winex now.

  6. #6
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Maybe try wine --winver=win98 -- setup.exe?

    It's worth a shot anyway.

    And BTW, once you do ./tools/wineinstall, you don't need to do it again. You can just ./configure, make, make install -- even if your original Wine install was Wine, and now you're doing WineX from source (I did this, it worked).

    The cool part is, you can also do it the other way. You can ./configure, make, make install, then do a ./tools/wineinstall so it just sets up the local registry stuff in your home directory.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •