http://bugs.winehq.org/show_bug.cgi?id=9956
Summary: Cant install Aquanox 2 Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: greg87@online.de
The Setup breaks at some point claiming that the cd is damaged or not original.
output from console:
fixme:cdrom:CDROM_DeviceIoControl Unsupported IOCTL 2d1400 (type=2d access=0 func=500 meth=0)
http://bugs.winehq.org/show_bug.cgi?id=9956
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2007-10-08 14:43:59 --- Hello,
might be copy protection issue. Please use "Protection ID" tool from http://pid.gamecopyworld.com/ and post results (type and exact version). If the scanner doesn't find any signature in main exe, try directory scan. Sometimes other files are wrapped.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #2 from Gregor Münch greg87@online.de 2007-10-08 15:31:53 ---
From googling arround, there seems to be indeed some kind of copy protection in
the exe file. Using the tool just returned nothing. /it didnt say it found nothing but it also didnt said something about that it found something
http://bugs.winehq.org/show_bug.cgi?id=9956
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Component|wine-misc |wine-dos
--- Comment #3 from Dan Kegel dank@kegel.com 2007-10-09 05:56:07 --- Several games (including Warcraft 3) have that ioctl error message, but don't seem to mind if it's not there.
The only report I found where the ioctl error might be a real problem was a teac dvd firmware updater, T4S9WIN.EXE (http://www.myl.ro/forum/index.php?showtopic=3229). So maybe it's worth implementing anyway just to get it out of people's logs...
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2007-10-09 09:37:34 --- For what it's worth, that IOCTL code is IOCTL_STORAGE_QUERY_PROPERTY (see ntddstor.h).
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #5 from Anastasius Focht focht@gmx.net 2007-10-09 11:54:59 --- Created an attachment (id=8479) --> (http://bugs.winehq.org/attachment.cgi?id=8479) implements cdrom ioctl storage query property
Hello,
yes I've seen this "unknown ioctl" message in other applications too, seems no harm at all.
Attached is a quick implementation of this specific ioctl. Most of the data are just "FIXME" defaults. What is missing: some way to query real device/adapter data (vendor/product id, serial number, adapter info) and "property exist" query types. Though this initial implementation should work in most cases.
Tested with my favorite dvd/cd ripping tool "DVD Fab Platinum" which exhibits same "unknown ioctl" message. No harm/side effects.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #6 from Gregor Münch greg87@online.de 2007-10-09 14:44:52 --- Thx for your patch, Im getting now new output from the console:
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33fbac,0 err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\windows\temp\IXP001.TMP\shfolder.dll" -> L"c:\windows\system32\shfolder.dll"
If you need some traces just ask. ;)
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #7 from Anastasius Focht focht@gmx.net 2007-10-09 15:21:56 --- Hello,
is that really the error where the output stops? I'm wondering because ShFolder dll is never needed on Win2K/XP systems and should never get installed. It's only needed for earlier versions like Win9X and NT4 - a migration dll, which backports some newer shell folder api from windows 2000. Make sure your wine configuration is at least Windows 2000 (or Windows XP).
You could try to make full relay (WINEDEBUG=+seh,+tid,+msi,+relay wine ./setup.exe) and attach only last 1000-1500 lines from that (probably large) log file until unrecoverable error occurs.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #8 from Gregor Münch greg87@online.de 2007-10-11 14:28:23 --- Created an attachment (id=8521) --> (http://bugs.winehq.org/attachment.cgi?id=8521) trace compressed as lrzip
Im sorry for the size, but there are thousends of seh lines...
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #9 from Anastasius Focht focht@gmx.net 2007-10-11 16:22:36 --- Created an attachment (id=8524) --> (http://bugs.winehq.org/attachment.cgi?id=8524) program to display cdrom values/mimic cdcheck call sequence
Hello,
--- quote --- Im sorry for the size, but there are thousends of seh lines... --- quote ---
Yes, annoying ... it's the software protection producing this (single step exceptions).
Following is probably the relevant snippet, extracted from log:
--- quote --- .. 0010:Call KERNEL32.GetDriveTypeA(0034f000 "e:\") ret=00a017b9 0010:Ret KERNEL32.GetDriveTypeA() retval=00000005 ret=00a017b9 0010:Call KERNEL32.GetVolumeInformationA(0034f000 "e:\",00a1da28,00000014,00a1da04,00a1da00,00a1d9fc,00a1da08,0000001e) ret=00a01881 0010:Ret KERNEL32.GetVolumeInformationA() retval=00000001 ret=00a01881 0010:Call KERNEL32.GetDiskFreeSpaceA(0034f000 "e:\",00a1d9f8,00a1d9f4,00a1d9f0,00a1d9ec) ret=00a01947 0010:Ret KERNEL32.GetDiskFreeSpaceA() retval=00000001 ret=00a01947 0010:Call ntdll.RtlReAllocateHeap(00cb0000,00000000,00cb5a50,00000c00) ret=00a04a16 0010:Ret ntdll.RtlReAllocateHeap() retval=00cb5a50 ret=00a04a16 0010:Call ntdll.RtlFreeHeap(00cb0000,00000000,00cb5a50) ret=00a03c6a 0010:Ret ntdll.RtlFreeHeap() retval=00000001 ret=00a03c6a 0010:Call ntdll.RtlFreeHeap(00cb0000,00000000,00cb3338) ret=00a03c6a 0010:Ret ntdll.RtlFreeHeap() retval=00000001 ret=00a03c6a 0010:Call ntdll.RtlAllocateHeap(00cb0000,00000000,00000010) ret=00a0371b 0010:Ret ntdll.RtlAllocateHeap() retval=00cb0a90 ret=00a0371b .. 0010:Call KERNEL32.ExitProcess(ffffffff) ret=004026cb 0010:Call PE DLL (proc=0xa27e65,module=0xa00000 L"an2setup.dll",reason=PROCESS_DETACH,res=0x1) --- quote ---
CD Checks as usual.
1. verify if DriveType == CDROM (GetDriveTypeA() retval must be 0x5) 2. verify volume label using GetVolumeInformationA() - though I can only guess this because I dont see the code. Maybe other values too: serial number, filesystem type, flags... 3. check if free disk space == 0 using GetDiskSpaceFreeA(), must be 0 for CDROM
Attached is a little program which mimics the info gathering calls.
Please compile and run it on your CDROM drive letter (probably "e:\"). If no argument is given, the info is retrieved from "c:\".
Report back with the info gathered.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #10 from Gregor Münch greg87@online.de 2007-10-11 16:45:20 --- Thx for your help, here is the output:
drive type: 5 volume name: AN2R_CD1 serial number: 854468447 max. filename len: 221 filesystem type: CDFS filesystem flags: 0x80000 total space: 639408128 total space left: 0
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #11 from Anastasius Focht focht@gmx.net 2007-10-11 17:38:42 --- Hello,
output looks fine to me. Could you send me the files "an2setup.exe" and "an2setup.dll"? Just .zip them together and send to my email address you see hovering over my nick.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #12 from Gregor Münch greg87@online.de 2007-10-21 10:22:16 --- Am afraid this wont work because the installer exe is 500MBs big. :( Also the requested dll seems not to be on the cd, or must be somehow "cloacked".
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #13 from Anastasius Focht focht@gmx.net 2007-10-21 11:19:23 --- Hello,
the dll will be sufficient. When the dialog box appears that CD is damaged or the like, don't dismiss the dialog yet. Make a backup copy from "C:\Programme\JoWooD\AquaNox 2 Revelation\an2setup.dll". If you dismiss the dialog, the dll will be removed.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #14 from Gregor Münch greg87@online.de 2007-10-28 13:42:20 --- The file really exists:
Scanning -> C:\Programme\JoWooD\an2setup.exe File Type : Exe, Size : 740819 (0B4DD3h) Bytes - -> File has 56787 (0DDD3h) bytes of appended data starting at offset 0A7000h [!] SecuROM Detected - Version 4.83.55 - - Scan Took : 0.926 Seconds
I can run games with SecuRom v7 so it seems that there are some other problems.
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #15 from Martin Bosner cleric@x-ion.de 2008-01-05 02:20:45 --- Created an attachment (id=10053) --> (http://bugs.winehq.org/attachment.cgi?id=10053) crashlog from the latest patch
http://bugs.winehq.org/show_bug.cgi?id=9956
Martin Bosner cleric@x-ion.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10053|0 |1 is obsolete| |
--- Comment #16 from Martin Bosner cleric@x-ion.de 2008-01-05 02:21:54 --- (From update of attachment 10053) Sorry but somehow i am jumping between bugs (seems to be a workflow bug in bugzilla....)
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #17 from Gregor Münch greg87@online.de 2008-03-24 11:20:30 --- I still cant install the game in current git. So whats up here?
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #18 from Dan Kegel dank@kegel.com 2008-03-24 11:23:48 --- It looks like we're blocked until you can get a copy of the game to Anastasius, offhand...
http://bugs.winehq.org/show_bug.cgi?id=9956
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, testcase
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #19 from Austin English austinenglish@gmail.com 2008-10-23 15:08:57 --- Is this still an issue in current (1.1.6 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #20 from Gregor Münch greg87@online.de 2008-10-27 14:03:38 --- Tested with wine-1.1.7. No change.
http://bugs.winehq.org/show_bug.cgi?id=9956
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #21 from Austin English austinenglish@gmail.com 2009-01-15 10:54:19 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If still present, update version field to earliest known version of wine that had this bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=9956
--- Comment #22 from Austin English austinenglish@gmail.com 2009-07-21 13:46:55 --- Is this still an issue in current (1.1.26 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9956
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #23 from Austin English austinenglish@gmail.com 2010-04-29 18:20:01 --- No response in over 6 months, and no download available. Marking abandoned.
If this is still an issue in current (1.1.43 or newer) wine, and you can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=9956
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Austin English austinenglish@gmail.com 2010-04-29 18:27:30 --- Closing.