Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Warcraft 3 issue with Wine (crash at launch) [topic changed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Wed Dec 29, 2004 10:56 am    Post subject: Warcraft 3 issue with Wine (crash at launch) [topic changed] Reply with quote

Hello all.

Setup: Kernel 2.6.9, ATI drivers 3.14.1, Wine latest stable from portage (it's 20041019).

After too many unfixable problems with Cedega 4.2 and my system for War3/TFT (it ran but crashed every 20 minutes so that is impossible for BNet), I have decided to try regular wine which should work using the --opengl option.

I have managed to install Warcraft 3, but I can't install (using Wine) the Frozen Throne. When i launch "wine /mnt/cdrom/install.exe" the installer launchs perfectly but doesnt allow me to install anything since my Warcraft 3 installation is not detected. The installer just tells me that I should install RoC first, before TFT.

Any one knows which file I should tweak in order for Wine to correctly recognize my fake windows drive which is in .wine/fake_windows??

(in fake_windows I have Program Files/Warcraft III/ folder)

thanx

Elvanor

[EDIT]

I have just cheked and in my Wine config file I have the correct C drive defined (something as:

Code:

[Drive C]
Path="fake_windows"
Label="MS-DOS"
etc...




Really dont know what is going on... maybe the TFT installer checks the registry...


Last edited by elvanor on Thu Jan 06, 2005 2:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Wed Jan 05, 2005 12:38 pm    Post subject: Reply with quote

I found a solution to this problem : upgrade to the latest (~x86) Wine. This will fix this problem. I was able to install entirely the game, the extension, the patches (to version 1.17a), and the no-cd crack, however, I still cant run the game (crash at launch after 5 seconds) using Wine.

As a side note, I found a version of WineX that seems stable with War 3 and my system: WineX 3.2, so I reverted from Cedega 4.2

Will check again once a new version of Wine is out and/or nex ATI drivers are out.

Elvanor
Back to top
View user's profile Send private message
yogipsu
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 98

PostPosted: Wed Jan 05, 2005 9:56 pm    Post subject: Reply with quote

Use ~x86 wine, set your winver in .wine/config to win2k, and make sure your dosdevices symlink (~/.wine/dosdevices) to your cdrom drive is correct.

You do not need the no-cd crack to play Warcraft/TFT with wine. You also don't need cedega; it works perfectly with wine-- however, run it with the -opengl flag.

edit: I think, but I'm not sure, that the cause of your problems is the no-cd crack. Also, during the reinstallation process, if the installation halts at the end and you have an error, simply run through it again; it seems that there needs to be something in the .reg files for the process to succeed.
Back to top
View user's profile Send private message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Thu Jan 06, 2005 11:11 am    Post subject: Reply with quote

Hi there.

I set the wine version to winxp, I will try setting it to win2k but I doubt it'll change anything.
I was of course running with the open-gl flag.

You may be right when you say the problem may be with my no-cd crack. I would say there is a good 40% chance that this is the case (although under Cedega, the same exact no-cd crack works perfectly including BattleNet).

But the problem is, without the no-cd crack the cd check alway fails miserably even though I have the original TFT CD in the drive. This is apparently a kernel problem (according to the excellent how to at http://appdb.winehq.org/appview.php?appId=897&versionId=1177).

Kernel 2.6.9 which I currently use (vanilla sources, unpatched) has a problem with Securom protection. The how to claims that kernel-2.6.10 may be fixed so when I upgrade to kernel 2.6.10 (which is not out yet in Portage stable), I may try again to run TFT without the no cd crack.

Until then, i am using WineX 3.3 and the cd crack.

Elvanor
Back to top
View user's profile Send private message
Dais
l33t
l33t


Joined: 05 Aug 2004
Posts: 977
Location: Québec

PostPosted: Thu Jan 06, 2005 12:09 pm    Post subject: Reply with quote

It is indeed the no cd crack .. you can't upgrade War3 to Frozen Throne if you replaced the original war3.exe with a cracked one .. put back the original one, install frozen throne, patch it, and THEN install the no cd crack for this version.

I managed to play War3 Frozen Throne with the latest wine (not ~arch if I remember well) and I have no problem launching it/going to battle.net.

There is also a way for not using the cd crack, but it didn't work for me, so .. :(
Back to top
View user's profile Send private message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Thu Jan 06, 2005 2:36 pm    Post subject: Reply with quote

Hmm, sorry but you should have read the whole topic with more attention (or I should have been clearer ;-). Installing TFT over War3 is no longer my problem (I will rename the topic); nor is the installation of the CD crack.

I had done as you said before, and have TFT patched to latest version, and the no cd crack. The problem now is that wine always crash when launching the game (what is fun is that it launches the initial screen when you see the animated 3d going on, but then 2 seconds later it crashes).

I may put here the trace from Wine before the crash but I doubt it will help someone.

Anyway, thanx for your help!

Elvanor

ps: if you read again, not using the no cd crack currently doesnt work for me. But I suspect the cd crack *might* cause the launch crash bug, so I do want to try this no "nocd crack"way. I am waiting for kernel 2.6.10
Back to top
View user's profile Send private message
Dais
l33t
l33t


Joined: 05 Aug 2004
Posts: 977
Location: Québec

PostPosted: Thu Jan 06, 2005 2:45 pm    Post subject: Reply with quote

Oops, sorry :( Because you answered to yourself, i thought it was someone else :(

here's my wine config, maybe it will be useful ..

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 C]
"Path" = "/home/dais/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/dais/.wine/fake_windows"
"Filesystem" = "win95"

[Drive D]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
#"Label" = "/mnt/cdrom"
"Filesystem" = "win95"
"Device" = "/dev/cdroms/cdrom0"

[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FS" = "win95"

[Drive Y]
"Type" = "network"
"Path" = "${HOME}"
"Label" = "Home"
"FS" = "win95"

[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FS" = "win95"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\"
"GraphicsDriver" = "x11drv"
; 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>
[Version]
"Windows" = "win2k"

[DllDefaults]
; "EXTRA_LD_LIBRARY_PATH" = "${HOME}/wine/cvs/lib"
"DefaultLoadOrder" = "native, builtin, so"

[DllOverrides]
; default for all other dlls
"*" = "builtin, native, so"
;"commdlg"      = "builtin, native"
;"comdlg32"     = "builtin, native"
;"ver"          = "builtin, native"
;"version"      = "builtin, native"
;"shell"        = "builtin, native"
;"shell32"      = "builtin, native"
;"lzexpand"     = "builtin, native"
;"lz32"         = "builtin, native"
;"comctl32"     = "builtin, native"
;"commctrl"     = "builtin, native"
;"wsock32"      = "builtin"
;"winsock"      = "builtin"
;"advapi32"     = "builtin, native"
;"crtdll"       = "builtin, native"
;"mpr"          = "builtin, native"
;"winspool.drv" = "builtin, native"
;"ddraw"        = "builtin, native"
;"dinput"       = "builtin, native"
;"dsound"       = "builtin, native"
;"mmsystem"     = "builtin"
;"winmm"        = "builtin"
;"msvcrt"       = "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"  = "builtin, native"
;"msacm.drv"    = "builtin, native"
;"msacm"        = "builtin, native"
;"msacm32"      = "builtin, native"
;"midimap.drv"  = "builtin, native"
;"wnaspi32"     = "builtin"
;"icmp"         = "builtin"

[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" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "N"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XVidMode extension if present # Y par defaut - provient de winex
"UseXVidMode" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "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"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"
; How much Video RAM does your card have?
"VideoRam" = "128"

[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"

[parallelports]
"Lpt1" = "/dev/lp0"

[spooler]
"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'
"WineLook" = "Win98"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; Liste des dossiers de fonts
[FontDirs]
"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
"dir2" = "/usr/share/fonts/truetype"
"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
"dir4" = "/usr/share/fonts/TT"

; 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"
;"4" = "/usr/share/fonts/Type1"

[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[wineoss]
"UseMMap" = "Y"
"FullDuplex" = "N"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"
;; Forces emulation mode (using wave api)
"HardwareAcceleration" = "Emulation"
;; Sets default playback device (0 - number of devices - 1)
"DefaultPlayback" = "0" ; use first device (/dev/dsp)
;"DefaultPlayback" = "1"  ; use second device (/dev/dsp1)
;"DefaultPlayback" = "2"  ; use third device (/dev/dsp2)
;; Sets default capture device (0 - number of devices - 1)
"DefaultCapture" = "0"  ; use first device (/dev/dsp)
;"DefaultCapture" = "1"  ; use second device (/dev/dsp1)
;"DefaultCapture" = "2"  ; use third device (/dev/dsp2)

# </wineconf>

#########################################
# Application dependent sections follow #
#########################################

[AppDefaults\\_INS5576._MP\\x11drv]
; Lotus Notes R5 installer
; I'm quite not sure this will run on some other machine than mine, but it
; can't hurt
"Managed" = "N"
"Desktop" = "N"

[AppDefaults\\nlnotes.exe\\x11drv]
"Desktop" = "1024x768"

[AppDefaults\\notes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nhldaemn.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\war3.exe\\x11drv]
;"Desktop" = "1024x768"
"Managed" = "N"
"Desktop" = "1280x1024"


(And I suppose you have all the .dll needed, right ? And is the no-cd crack the virtual one ?)
Back to top
View user's profile Send private message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Thu Jan 06, 2005 3:16 pm    Post subject: Reply with quote

The cd crack is not the virtual one, I think (not sure). Its name seems to be Reloaded something, it adds the DLL file revolt.dll to your war 3 dir as well as a new war3.exe (and worldedit.exe but I dont care).

About the DLLs, I am not sure if I have all the required ones, I dont have any windows installation so I only use the ones provided by Wine itself. In particular I dont have mscrvt32 or something like that.
I only have wine dlls...

elvanor

afterthought: this thread is starting to focus more and more on cracks... given the forum policy, we should probably avoid that...
Back to top
View user's profile Send private message
Dais
l33t
l33t


Joined: 05 Aug 2004
Posts: 977
Location: Québec

PostPosted: Thu Jan 06, 2005 8:26 pm    Post subject: Reply with quote

You really should try to get the msvcrt*.dll (all of them found on an installed windows) and regscr32.exe if you wanna have a chance to play ..
I think that your problem is more because of these files.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum