http://bugs.winehq.org/show_bug.cgi?id=18059
Summary: Unity Indie Trial exits silently Product: Wine Version: 1.1.19 Platform: PC URL: http://unity3d.com/unity/download OS/Version: Linux Status: NEW Keywords: download, obfuscation Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jeffz@jeffz.name
Created an attachment (id=20458) --> (http://bugs.winehq.org/attachment.cgi?id=20458) terminal outptut
Installed in a clean prefix, attempted to run Unity.exe which failed due to depending on wmvcore.dll, installed wmp9 using winetricks.
Attempting to start Unity.exe (the Editor) produces a trial dialog, after clicking try the application exits.
Looking at a +relay,+seh,+tid log, there are mentions of "paceap.com" which appears to be some sort of copy protection mechanism, could be related to the crash.
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2009-04-15 07:37:02 --- Created an attachment (id=20459) --> (http://bugs.winehq.org/attachment.cgi?id=20459) +relay,+seh,+tid log
http://bugs.winehq.org/show_bug.cgi?id=18059
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name 2009-04-15 07:59:43 --- this is amusing... the developers of Pace Anti-Piracy kindly emit some debugging information from their copy protection using OutputDebugStringA
0034:Call KERNEL32.OutputDebugStringA(0032f1fc "Could not start task attrib.exe: failed to launch process: File not found\n\n") ret=005cd6b3 0034:Ret KERNEL32.OutputDebugStringA() retval=00000000 ret=005cd6b3 0034:Call KERNEL32.OutputDebugStringA(0032f2c8 "Couldn't change permissions\n \n(Filename: ..\..\Editor\Src\Application.cpp Line: 1703)\n\n") ret=005cd6b3 0034:Ret KERNEL32.OutputDebugStringA() retval=00000000 ret=005cd6b3
Using a native attrib.exe gets past this and the IDE starts.
http://bugs.winehq.org/show_bug.cgi?id=18059
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|obfuscation |
http://bugs.winehq.org/show_bug.cgi?id=18059
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Summary|Unity Indie Trial exits |Unity Indie Trial exits |silently |because attrib.exe is | |missing
http://bugs.winehq.org/show_bug.cgi?id=18059
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18059
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tsalacinski@gmail.com
--- Comment #3 from Austin English austinenglish@gmail.com 2009-05-27 18:58:35 --- *** Bug 18662 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=18059
Jon Dufresne jon.dufresne@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jon.dufresne@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #4 from EA Durbin ead1234@hotmail.com 2009-08-13 05:18:18 --- Created an attachment (id=23043) --> (http://bugs.winehq.org/attachment.cgi?id=23043) patch
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #5 from Jeff Zaroyko jeffz@jeffz.name 2009-08-13 06:33:41 --- (In reply to comment #4)
Created an attachment (id=23043)
--> (http://bugs.winehq.org/attachment.cgi?id=23043) [details]
patch
You should use wmain instead of main and just return 0 instead of calling exit.
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #6 from EA Durbin ead1234@hotmail.com 2009-08-15 23:18:27 --- Created an attachment (id=23097) --> (http://bugs.winehq.org/attachment.cgi?id=23097) patches to add attrib.exe application
http://bugs.winehq.org/show_bug.cgi?id=18059
EA Durbin ead1234@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23097|0 |1 is obsolete| |
--- Comment #7 from EA Durbin ead1234@hotmail.com 2009-08-15 23:20:30 --- Created an attachment (id=23098) --> (http://bugs.winehq.org/attachment.cgi?id=23098) patches
corrected the mime type
http://bugs.winehq.org/show_bug.cgi?id=18059
EA Durbin ead1234@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ead1234@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #8 from Jeff Zaroyko jeffz@jeffz.name 2009-08-16 00:07:15 --- (In reply to comment #7)
Created an attachment (id=23098)
--> (http://bugs.winehq.org/attachment.cgi?id=23098) [details]
patches
corrected the mime type
some more issues:
in patch 2, you should just use one call to printf or just puts, one call per line is not necessary, just do as such:
printf("foo\n" "bar\n" "baz\n");
why does usage return 1? I see that you propagate it as the return value on incorrect usage, attrib.exe still returns 0 on Windows if you give an invalid option:
C:\Users\jeffz>attrib +J foo Invalid switch - +J
C:\Users\jeffz>echo %ERRORLEVEL% 0
http://bugs.winehq.org/show_bug.cgi?id=18059
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18059
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |dank@kegel.com Component|programs |cmd
--- Comment #9 from Dan Kegel dank@kegel.com 2010-01-30 15:16:33 --- Looks like EA got discouraged: http://www.winehq.org/pipermail/wine-patches/2009-August/077232.html http://www.winehq.org/pipermail/wine-patches/2009-August/077284.html
Can someone else pick up the pieces and continue?
Marking 'cmd' since the final fix will also involve removing the builtin attrib from cmd.exe.
http://bugs.winehq.org/show_bug.cgi?id=18059
--- Comment #10 from EA Durbin ead1234@hotmail.com 2010-01-30 19:54:43 --- (In reply to comment #9)
Looks like EA got discouraged: http://www.winehq.org/pipermail/wine-patches/2009-August/077232.html http://www.winehq.org/pipermail/wine-patches/2009-August/077284.html
Can someone else pick up the pieces and continue?
Marking 'cmd' since the final fix will also involve removing the builtin attrib from cmd.exe.
Yes, I got discouraged and I'm too busy with other things to keep wasting time on this and getting stuck in an endless patch submission loop.
This part is broken: + if(!(dwAttr & setAttr)) + SetFileAttributesW(path, dwAttr | setAttr); + if(dwAttr & clrAttr) + SetFileAttributesW(path, dwAttr & ~clrAttr);
And Alexandre states he would like to check if the file exists first and display an error message if it isn't, though this is redundant as FindFirstFile returns ERROR_FILE_NOT_FOUND if the file is not found and adding a separate check is wasteful, and I'm not sure the Windows version provides an error, I can't check as I removed Windoze from my machines. Anyone else is free to finish this.
http://bugs.winehq.org/show_bug.cgi?id=18059
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #11 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-05-09 06:37:17 --- Has this been fixed? A stub attrib.exe is present in git. Could you retry?
http://bugs.winehq.org/show_bug.cgi?id=18059
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com 2010-05-09 13:59:13 --- (In reply to comment #11)
Has this been fixed? A stub attrib.exe is present in git. Could you retry?
The new version on the website doesn't need winetricks wmp9, but does need http://www.winehq.org/pipermail/wine-patches/2008-December/065665.html to activate.
After that, has a bunch of wgl/d3d errors: err:wgl:internal_SetPixelFormat Couldn't set format of the window, returning failure err:d3d:context_set_pixel_format Failed to set pixel format 3 on device context 0x3d0, last error 0. err:d3d:context_create Failed to set pixel format 3 on device context 0x3d0. err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat err:wgl:internal_SetPixelFormat Couldn't set format of the window, returning failure
but a window does appear and seems satisfied with attrib.exe. The wgl/d3d errors deserve a new bug report though.
This is with wine-1.1.44-19-gd2a0188.
http://bugs.winehq.org/show_bug.cgi?id=18059
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2010-05-21 14:39:18 --- Closing bugs fixed in 1.2-rc1.