https://bugs.winehq.org/show_bug.cgi?id=42188
Bug ID: 42188 Summary: Flåklypa Grand Prix (CD-COPS protection) Need full access to the first megabyte for DOS mode Product: Wine Version: 2.0-rc4 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: haakobja@gmail.com
Created attachment 56819 --> https://bugs.winehq.org/attachment.cgi?id=56819 Logfile from starting FGP.exe
Flåklypa Grand Prix is an old (2001), Norwegian PC-game with CD-Cops protection (http://www.gamecopyworld.eu/games/pc_flaklypa_gp.shtml).
It would be nice to get this game to run without cracking it.
https://bugs.winehq.org/show_bug.cgi?id=42188
Håkon haakobja@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64 Component|-unknown |-unknown Version|2.0-rc4 |2.11 CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Product|Wine |Wine-staging Distribution|--- |Fedora OS|Mac OS X |Linux
https://bugs.winehq.org/show_bug.cgi?id=42188
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |dos
--- Comment #1 from Michael Müller michael@fds-team.de --- Your problem is not a Wine Staging regression and therefore belongs to the Wine product.
Actually, it is not a real Wine bug either, but a configuration problem. The memory allocation is implemented in Wine, but your kernel denies allocating memory in this area. For security reasons, recent kernels define a minimum memory address for allocations. The limit can be changed through /proc/sys/vm/mmap_min_addr. When setting the value to zero, the error message should go away. When using SELinux, you also need to allow low area memory allocations for Wine, otherwise you will run into the same problem again.
https://bugs.winehq.org/show_bug.cgi?id=42188
--- Comment #2 from Håkon haakobja@gmail.com --- Created attachment 58609 --> https://bugs.winehq.org/attachment.cgi?id=58609 Flåklypa Grand Prix +all debug log mmap_zero allowed
Thanks :)
Now I've got past this hurdle, but it still fails. Now I get the following error message:
fixme:winediag:start_process Wine Staging 2.11 is a testing version containing experimental patches. fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. err:fixup:apply_relocations No implementation for KERNEL.0, setting to 0xdeadbeef fixme:int31:DOSVM_Int31Handler Get Processor Exception Handler Vector (0x01) fixme:int31:DOSVM_Int31Handler Set Processor Exception Handler Vector (0x01) fixme:int31:DOSVM_Int31Handler Set Processor Exception Handler Vector (0x01) fixme:int31:DOSVM_Int31Handler Get Processor Exception Handler Vector (0x01) fixme:int31:DOSVM_Int31Handler Set Processor Exception Handler Vector (0x01) wine: Unhandled exception 0x80000004 in thread 31 at address 0x123f:0x00000914 (thread 0031), starting debugger... fixme:dbghelp:addr_to_linear Failed to linearize address 11e7:62f2 (mode 0) fixme:dbghelp:addr_to_linear Unsupported (yet) mode (ffffffff) -auto: cpu_i386.c:468: i386_stack_walk: Assertion `0' failed. winedbg: Internal crash at 0xf7759c79
https://bugs.winehq.org/show_bug.cgi?id=42188
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Flåklypa Grand Prix |Flåklypa Grand Prix |(CD-COPS protection) Need |(CD-COPS protection) needs |full access to the first |support for DOS protected |megabyte for DOS mode |mode exception handlers
--- Comment #3 from Michael Müller michael@fds-team.de --- The next problem is easily visible in the log. The application tries to setup a protected mode exception handler (int 0x31 - AX 0x203) for debug exceptions (0x1), but this is not yet implemented in Wine. Afterwards the application triggers a single step exception that should be forwarded to the registered exception handler. Wine ignores this and can't handle the exception itself, eventually terminating the application.
I don't think it would be terrible difficult to implement this in Wine, but I fear the chances are low that someone capable of implementing this owns the game. Writing tests for DOS functions is also quite difficult.
https://bugs.winehq.org/show_bug.cgi?id=42188
--- Comment #4 from Håkon haakobja@gmail.com --- I'm willing to provide my backup cd if that would help to implement a fix for this. I think this would make other games with CD-COPS protection work.
My backup CD is shared here: https://drive.google.com/open?id=0B5VWV-0xS7RIcHQ2bTJpTnRWZzA
https://bugs.winehq.org/show_bug.cgi?id=42188
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX CC| |infyquest@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Vijay Kamuju infyquest@gmail.com --- DOS support is removed from wine since version 3.1. Hence marking as wont fix. Please use dosbox
https://bugs.winehq.org/show_bug.cgi?id=42188
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #6 from André H. nerv@dawncrow.de --- closing wontfix