https://bugs.winehq.org/show_bug.cgi?id=45730
Bug ID: 45730 Summary: Flåklypa Grand Prix unable to validate CD as CD-COPS crashes Product: Wine Version: 3.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: haakobja@gmail.com Distribution: ---
Created attachment 62165 --> https://bugs.winehq.org/attachment.cgi?id=62165 WINEDEBUG=+all,-relay wine FGP.exe
Hi!
I'm trying to get the game Flåklypa Grand Prix to run in Wine, but it is proving more difficult than I would like. The game uses CD-COPS DRM, and when it tries to validate the CD it fails.
From what I can see, the copy protection uses some 16 bit commands. And it is
at this point it fails.
The execution path is as follows: Start FGP.exe - Unpacks CD-COPS files to TMP - Starts UC16.exe (with some unknown parameters) - UC16.exe crashes...
https://bugs.winehq.org/show_bug.cgi?id=45730
Håkon haakobja@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Fedora
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #1 from Håkon haakobja@gmail.com --- Created attachment 62166 --> https://bugs.winehq.org/attachment.cgi?id=62166 CD-COPS 16bit executable that crashes
Added an archive containing the CD-COPS files that crashes
https://bugs.winehq.org/show_bug.cgi?id=45730
Håkon haakobja@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #62166|CD-COPS 16bit executable |WINEDEBUG=+all,-relay wine description|that crashes |UC16.exe
--- Comment #2 from Håkon haakobja@gmail.com --- Comment on attachment 62166 --> https://bugs.winehq.org/attachment.cgi?id=62166 WINEDEBUG=+all,-relay wine UC16.exe
Wine log from an execution of UC16.dll
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #3 from Håkon haakobja@gmail.com --- Created attachment 62167 --> https://bugs.winehq.org/attachment.cgi?id=62167 Archive containing the CD-COPS files that crashes
Added an archive with the CD-COPS files
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #4 from Austin English austinenglish@gmail.com --- The content of attachment 62167 has been deleted for the following reason:
Please don't attach copyrighted binaries
https://bugs.winehq.org/show_bug.cgi?id=45730
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Keywords| |win16
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- In the case of a 16-bit binary I suspect +relay (alone) will probably be more helpful, if it is not infeasible.
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #6 from Håkon haakobja@gmail.com --- Created attachment 62206 --> https://bugs.winehq.org/attachment.cgi?id=62206 WINEDEBUG=+relay wine UC16.exe
Added relay-log from a run of UC16.exe. I haven't managed to create a relay-log of FGP.exe as it crashes immediately.
Please note that for UC16.exe to be able to execute, the following min-address need to be set to 0: echo 0 > /proc/sys/vm/mmap_min_add
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- Thanks. From the log:
0031:fixme:int31:DOSVM_Int31Handler Set Processor Exception Handler Vector (0x01) 0031:Call DOS int 0x31 ret=119f:00000005 eax=05000203 ebx=00001201 ecx=0000126f edx=000000d8 esi=000008f8 edi=000041d4 ebp=0000126f esp=000000fc ds=1267 es=126f fs=0063 gs=006b ss=11a7 flags=00010202 0031:Call KERNEL32.UnhandledExceptionFilter(0054ee54) ret=7bcd59ba wine: Unhandled exception 0x80000004 in thread 31 at address 0x122f:0x00000914 (thread 0031), starting debugger...
My guess is we need to implement exception handling in interrupt 31.
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #8 from Håkon haakobja@gmail.com --- Created attachment 62207 --> https://bugs.winehq.org/attachment.cgi?id=62207 WINEDEBUG=+relay wine FGP.exe
Added relay-log for FGP.exe. I'm uncertain where UC16.exe fits in, because the FGP.exe-file did crash executing 32-bit code.
https://bugs.winehq.org/show_bug.cgi?id=45730
--- Comment #9 from Håkon haakobja@gmail.com --- Created attachment 62208 --> https://bugs.winehq.org/attachment.cgi?id=62208 Backtrace for crash during realy-logging for FGP.exe
Uploaded the backtrace for attachment 62207