https://bugs.winehq.org/show_bug.cgi?id=46627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation CC| |focht@gmx.net
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
I have the original NFS Underground 2 as well (2 CD) and I can't reproduce/confirm this.
Tested with various Wine versions:
* Wine-Staging 4.1 (as reported here) * Wine-Staging 4.9 * Wine-Staging 5.0-rc4 * Wine 5.0-rc5
Make sure you don't reuse/share existing WINEPREFIXes with other apps/games when reporting bugs (it makes them potentially invalid).
If neither SafeDisc v2 nor v3/v4 works there seems to be a more general problem with your system (Wine build/host distro being broken).
Try vanilla Wine from https://wiki.winehq.org/Download and use a separate (new!) WINEPREFIX for each game to be tested.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/EA GAMES/Need for Speed Underground 2
$ ll total 7652 -rw-rw-r--. 1 focht focht 545656 Oct 23 2004 00000000.016 -rw-rw-r--. 1 focht focht 545656 Oct 23 2004 00000000.256 drwxrwxr-x. 65 focht focht 4096 Jan 13 22:09 CARS drwxrwxr-x. 2 focht focht 4096 Jan 13 22:09 CREDITS -rwxrwxr-x. 1 focht focht 335872 Oct 23 2004 eauninstall.exe -rw-rw-r--. 1 focht focht 43863 Jan 13 22:20 filelist.txt drwxrwxr-x. 4 focht focht 4096 Jan 13 22:09 FRONTEND drwxrwxr-x. 2 focht focht 4096 Jan 13 22:09 GLOBAL drwxrwxr-x. 2 focht focht 4096 Jan 13 22:09 LANGUAGES drwxrwxr-x. 2 focht focht 4096 Jan 13 22:09 memcard drwxrwxr-x. 2 focht focht 4096 Jan 13 22:15 MOVIES -rw-rw-r--. 1 focht focht 13502 Oct 7 2004 NFSU_icon.ico drwxrwxr-x. 2 focht focht 4096 Jan 13 22:09 NIS -rw-rw-r--. 1 focht focht 13 Oct 13 2004 SafeMode.bat drwxrwxr-x. 2 focht focht 4096 Jan 13 22:15 SDATA -rw-rw-r--. 1 focht focht 1399 Oct 13 2004 server.cfg -rw-rw-r--. 1 focht focht 286720 Oct 14 2004 server.dll drwxrwxr-x. 13 focht focht 4096 Jan 13 22:09 SOUND -rwxrwxr-x. 1 focht focht 5987982 Oct 23 2004 speed2.exe drwxrwxr-x. 2 focht focht 4096 Jan 13 22:09 SUBTITLES drwxrwxr-x. 4 focht focht 4096 Jan 13 22:03 Support drwxrwxr-x. 10 focht focht 4096 Jan 13 22:09 TRACKS
$ WINEDEBUG=+seh,+loaddll,+process wine ./speed2.exe ... 0009:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\kernelbase.dll" at 0x7b000000: PE builtin 0009:trace:loaddll:load_so_dll Loaded L"C:\windows\system32\kernel32.dll" at 0x7b420000: builtin 0009:trace:loaddll:load_native_dll Loaded L"C:\Program Files (x86)\EA GAMES\Need for Speed Underground 2\speed2.exe" at 0x400000: native ... 0009:trace:process:CreateProcessInternalW app L"C:\users\focht\Temp\~e5.0001" cmdline L""C:\users\focht\Temp\~e5.0001" 8 "C:\users\focht\Temp\""~e5.0001.dir.0000"" 0009:trace:process:RtlCreateUserProcess L"\??\C:\users\focht\Temp\~e5.0001" image L"C:\users\focht\Temp\~e5.0001" cmdline L""C:\users\focht\Temp\~e5.0001" 8 "C:\users\focht\Temp\""~e5.0001.dir.0000"" 002c:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\kernelbase.dll" at 0x7b000000: PE builtin 002c:trace:loaddll:load_so_dll Loaded L"C:\windows\system32\kernel32.dll" at 0x7b420000: builtin 002c:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\~e5.0001" at 0x400000: native 0009:trace:process:RtlCreateUserProcess L"\??\C:\users\focht\Temp\~e5.0001" pid 002b tid 002c handles 0xd8/0xdc 0009:trace:process:CreateProcessInternalW started process pid 002b tid 002c 0009:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\~e5.0001.dir.0000\~df394b.tmp" at 0x66700000: native ... 0009:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\~e5.0001.dir.0000\~decdf3.tmp" at 0x1eb0000: native ... 002f:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\~e5.0001.dir.0000\~df394b.tmp" at 0x66700000: native ... 0009:trace:loaddll:free_modref Unloaded module L"C:\users\focht\Temp\~e5.0001.dir.0000\~decdf3.tmp" : native --- snip ---
'speed2.exe' is the protected main app, being a debuggee. It raises exceptions to be handled by the child process (SafeDisc debugger).
'C:\users\focht\Temp\~e5.0001' is the SafeDisc debugger (child) process, internal name 'SecServ'.
ProtectionID scan:
--- snip --- -=[ ProtectionID v0.6.9.0 DECEMBER]=- (c) 2003-2017 CDKiLLER & TippeX Build 24/12/17-21:05:42
Scanning -> F:\speed2.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 5987982 (05B5E8Eh) Byte(s) | Machine: 0x14C (I386) Compilation TimeStamp : 0x4179F56D -> Sat 23rd Oct 2004 06:08:45 (GMT) [TimeStamp] 0x4179F56D -> Sat 23rd Oct 2004 06:08:45 (GMT) | PE Header | - | Offset: 0x00000138 | VA: 0x00400138 | - -> File has 1166990 (011CE8Eh) bytes of appended data starting at offset 0499000h [File Heuristics] -> Flag #1 : 00000000000000000100000000000111 (0x00004007) [Entrypoint Section Entropy] : 6.44 (section #6) "stxt371 " | Size : 0x34A8 (13480) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 7 (0x7) | ImageSize 0x537000 (5468160) byte(s) [ModuleReport] [IAT] Modules -> KERNEL32.dll | ADVAPI32.DLL | GDI32.DLL | USER32.DLL | VERSION.DLL | D3D9.DLL | DINPUT8.DLL | SHFOLDER.DLL | SHELL32.DLL | WS2_32.DLL | DSOUND.DLL | DDRAW.DLL | WINMM.DLL | TAPI32.DLL | NETAPI32.DLL [!] Safedisc v3.20 - v4.xx or newer [removed version] detected ! [i] removed version is Safedisc v4.00.000 - v4.00.003 [i] True Entrypoint: [0x00533159] -> Jmp .0x0075B8D1 [i] Appended data contents.... [.] o: 0x00499028 / t: <0xA8726B03> <0xEF01996C> <0x00000001> / s: 00207961 byte(s) -> ~decdf3.tmp [.] o: 0x004CBCA8 / t: <0xA8726B03> <0xEF01996C> <0x0000044C> / s: 00011923 byte(s) -> clcd32.dll [.] o: 0x004CEB62 / t: <0xA8726B03> <0xEF01996C> <0x0000044C> / s: 00004122 byte(s) -> clcd16.dll [.] o: 0x004CFBA0 / t: <0xA8726B03> <0xEF01996C> <0x0000044D> / s: 00037971 byte(s) -> mcp.dll [.] o: 0x004D901C / t: <0xA8726B03> <0xEF01996C> <0x0000000B> / s: 00005446 byte(s) -> SecDrv04.VxD [.] o: 0x004DA587 / t: <0xA8726B03> <0xEF01996C> <0x00000000> / s: 00059964 byte(s) -> ~e5.0001 [.] o: 0x004E8FEA / t: <0xA8726B03> <0xEF01996C> <0x00000000> / s: 00045056 byte(s) -> PfdRun.pfd [.] o: 0x004F4012 / t: <0xA8726B03> <0xEF01996C> <0x00000000> / s: 00794152 byte(s) -> ~df394b.tmp [CompilerDetect] -> Visual C++ 7.0 (Visual Studio 2002) - Scan Took : 0.999 Second(s) [0000003E7h (999) tick(s)] [566 of 580 scan(s) done] --- snip ---
Regards