https://bugs.winehq.org/show_bug.cgi?id=36993
Bug ID: 36993 Summary: MWO Installer will not run Product: Wine Version: 1.7.23 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: bbaago@gmail.com
When attempting to run the Mech warrior online installer it closes at fixme:advapi:DecryptFileW
https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #1 from Brad Baago bbaago@gmail.com --- Created attachment 49137 --> https://bugs.winehq.org/attachment.cgi?id=49137 The console log output
https://bugs.winehq.org/show_bug.cgi?id=36993
Brad Baago bbaago@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bbaago@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #2 from Austin English austinenglish@gmail.com ---
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
install winbind and retry in a clean WINEPREFIX.
https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #3 from Brad Baago bbaago@gmail.com --- I installed winbind and the error you quoted is gone but the launcher still will not start I belive its this thing: fixme:advapi:DecryptFileW thats killing it.
http://bugs.winehq.org/show_bug.cgi?id=36993
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #4 from hanska2@luukku.com --- I was just about to report this issue myself. I wanted to try the game.
Installer is downloadable here
https://mwomercs.com/game/download
https://mwomercs.com/go/download?id=b08033504ca6c88256aefc9a2d572517&fil...
should be added download field
fixme:advapi:DecryptFileW (L"C:\users\hanska\Temp\{73bcb521-8936-42d7-ad00-ec2bb399e26c}\", 00000000): stub
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=36993
Brad Baago bbaago@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://mwomercs.com/game/d | |ownload
https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #5 from Brad Baago bbaago@gmail.com --- Ok I just added the url to the bug thanks for reminding me.
http://bugs.winehq.org/show_bug.cgi?id=36993
enerider@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |enerider@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #6 from enerider@gmail.com --- Installer will not run - definitely hit the same error in advapi32 when attempting to install.
Sidestepping the installer by getting the game files from a Windows install and popping those into the prefix does result in a runnable game after .NET and DirectX installation.
http://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #7 from hanska2@luukku.com --- http://source.winehq.org/git/wine.git/blob/070356799860165d22045cf29518411c5...
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363903%28v=vs.85%2...
http://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #8 from hanska2@luukku.com --- If you have wine source code there and needed compiler libraries etc you could try this
http://www.reactos.org/pipermail/ros-diffs/2006-June/012411.html
They have implemented the function more than wine.
https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #9 from Brad Baago bbaago@gmail.com --- (In reply to hanska2 from comment #8)
If you have wine source code there and needed compiler libraries etc you could try this
http://www.reactos.org/pipermail/ros-diffs/2006-June/012411.html
They have implemented the function more than wine.
Bye the looks of it they dont have it working either
their version: BOOL WINAPI DecryptFileW(LPCWSTR lpFileName, DWORD dwReserved) { DPRINT1("%s(%S) not implemented!\n", __FUNCTION__, lpFileName); SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; } our version: BOOL WINAPI DecryptFileW(LPCWSTR lpFileName, DWORD dwReserved) { FIXME("(%s, %08x): stub\n", debugstr_w(lpFileName), dwReserved); return TRUE; }
Only real difference is ours returns true while theres returns false. From what I read here: http://technet.microsoft.com/en-ca/aa363903%28v=vs.80%29.aspx it is suppose to return 0 or false when it fails. So I changed the wine version to return false which resulted in the program closing once it hit the fixme instead of waiting for me to kill it.
Does anyone know how one would go about implementing windows encryption functions? Is it even possible?
http://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #10 from hanska2@luukku.com --- "If the function succeeds, the return value is nonzero."
So actually the function should return higher number than 0.
What's the value of TRUE by default?
https://bugs.winehq.org/show_bug.cgi?id=36993
--- Comment #11 from Brad Baago bbaago@gmail.com --- (In reply to hanska2 from comment #10)
"If the function succeeds, the return value is nonzero."
So actually the function should return higher number than 0.
What's the value of TRUE by default?
1 I beleive 0=FALSE right?
https://bugs.winehq.org/show_bug.cgi?id=36993
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #12 from Austin English austinenglish@gmail.com ---
From its installer log:
[0035:0036][2014-08-10T19:29:55]i410: Variable: ProgramFilesFolder = C:\Program Files\ [0035:0036][2014-08-10T19:29:55]i410: Variable: TempPatcherFolder = C:\Program Files\Piranha Games\MWOPatcher [0035:0036][2014-08-10T19:29:55]i410: Variable: WixBundleElevated = 1 [0035:0036][2014-08-10T19:29:55]i410: Variable: WixBundleLog = C:\users\austin\Temp\MechWarrior_Online_20140810192955.log [0035:0036][2014-08-10T19:29:55]i410: Variable: WixBundleOriginalSource = Z:\home\austin\MechWarriorOnlineInstaller.exe [0035:0036][2014-08-10T19:29:55]e000: Error 0x80070218: Failed to write message type to pipe. [0035:0036][2014-08-10T19:29:55]e000: Error 0x80070218: Failed to post terminate message to child process cache thread. [0035:0036][2014-08-10T19:29:55]e000: Error 0x80004005: Failed to run per-user mode. [0035:0036][2014-08-10T19:29:55]i007: Exit code: 0x80004005, restarting: No
looks like bug 17273.
*** This bug has been marked as a duplicate of bug 17273 ***
http://bugs.winehq.org/show_bug.cgi?id=36993
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Austin English austinenglish@gmail.com --- Closing.